-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'zephyrproject-rtos:main' into f75303
- Loading branch information
Showing
492 changed files
with
14,920 additions
and
2,518 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,7 +104,7 @@ | |
}; | ||
}; | ||
|
||
&usb0 { | ||
zephyr_udc0: &usb0 { | ||
status = "okay"; | ||
|
||
pinctrl-0 = <&usb_dc_default>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (c) 2023 David Ullmann | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_CY8CKIT_062S4_M4 | ||
bool "PSoC 62S4 pioneer kit" | ||
depends on SOC_CY8C6244LQI_S4D92 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (c) 2023 David Ullmann | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if BOARD_CY8CKIT_062S4_M4 | ||
|
||
config BOARD | ||
default "cy8ckit_062s4_m4" if BOARD_CY8CKIT_062S4_M4 | ||
|
||
|
||
endif #BOARD_CY8CKIT_062S4_M4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright (c) 2023 David Ullmann | ||
# spdx-license-identifier: apache-2.0 | ||
|
||
board_runner_args(pyocd "--target=cy8c6xxa") | ||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* Copyright (c) 2023 David Ullmann | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
#include <infineon/psoc6/mpns/CY8C6244LQI_S4D92.dtsi> | ||
|
||
/ { | ||
model = "Infineon PSoC 62S4 Pioneer Kit"; | ||
compatible ="cypress,psoc6"; | ||
chosen { | ||
zephyr,sram = &sram0; | ||
zephyr,flash = &flash0; | ||
zephyr,console = &uart2; | ||
zephyr,shell-uart = &uart2; | ||
}; | ||
|
||
aliases { | ||
led0 = &user_led; | ||
}; | ||
|
||
leds { | ||
compatible = "gpio-leds"; | ||
user_led: led_0 { | ||
label = "LED_0"; | ||
gpios = <&gpio_prt2 5 GPIO_ACTIVE_HIGH>; | ||
}; | ||
|
||
}; | ||
|
||
}; | ||
|
||
&p3_1_scb2_uart_tx { | ||
drive-push-pull; | ||
}; | ||
|
||
&p3_0_scb2_uart_rx { | ||
input-enable; | ||
}; | ||
|
||
|
||
uart2: &scb2 { | ||
compatible = "infineon,cat1-uart"; | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&p3_0_scb2_uart_rx &p3_1_scb2_uart_tx>; | ||
pinctrl-names = "default"; | ||
}; | ||
|
||
&gpio_prt3 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio_prt2 { | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2023 David Ullmann | ||
|
||
identifier: cy8ckit_062s4_m4 | ||
name: CY8CKIT-062S4 PSoC 62S4 | ||
type: mcu | ||
arch: arm | ||
ram: 128 | ||
flash: 256 | ||
toolchain: | ||
- zephyr | ||
- gnuarmemb | ||
supported: | ||
- gpio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# Copyright (c) 2023 David Ullmann | ||
|
||
CONFIG_SOC_SERIES_PSOC_62=y | ||
CONFIG_BOARD_CY8CKIT_062S4_M4=y | ||
CONFIG_SOC_CY8C6244LQI_S4D92=y | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
CONFIG_SERIAL=y | ||
|
||
CONFIG_PINCTRL=y | ||
CONFIG_SOC_PSOC6_CM0P_IMAGE_SLEEP=y | ||
|
||
CONFIG_BUILD_OUTPUT_HEX=y | ||
CONFIG_CORTEX_M_SYSTICK=y | ||
CONFIG_XIP=y |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.