boards: arm: cy8ckit_062s4: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
committed by
Carles Cufi
parent
d285e19cf2
commit
46c4f01427
@@ -1,6 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
# 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
|
|
||||||
5
boards/cypress/cy8ckit_062s4/Kconfig.cy8ckit_062s4
Normal file
5
boards/cypress/cy8ckit_062s4/Kconfig.cy8ckit_062s4
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Copyright (c) 2023 David Ullmann
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
config BOARD_CY8CKIT_062S4
|
||||||
|
select SOC_CY8C6244LQI_S4D92
|
||||||
5
boards/cypress/cy8ckit_062s4/board.yml
Normal file
5
boards/cypress/cy8ckit_062s4/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: cy8ckit_062s4
|
||||||
|
vendor: Cypress
|
||||||
|
socs:
|
||||||
|
- name: cy8c6244lqi_s4d92
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# Copyright (c) 2023 David Ullmann
|
# Copyright (c) 2023 David Ullmann
|
||||||
|
|
||||||
identifier: cy8ckit_062s4_m4
|
identifier: cy8ckit_062s4
|
||||||
name: CY8CKIT-062S4 PSoC 62S4
|
name: CY8CKIT-062S4 PSoC 62S4
|
||||||
type: mcu
|
type: mcu
|
||||||
arch: arm
|
arch: arm
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
# Copyright (c) 2023 David Ullmann
|
# Copyright (c) 2023 David Ullmann
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_PSOC_62=y
|
|
||||||
CONFIG_BOARD_CY8CKIT_062S4_M4=y
|
|
||||||
CONFIG_SOC_CY8C6244LQI_S4D92=y
|
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
CONFIG_UART_CONSOLE=y
|
CONFIG_UART_CONSOLE=y
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
|
|
||||||
CONFIG_PINCTRL=y
|
CONFIG_PINCTRL=y
|
||||||
CONFIG_SOC_PSOC6_CM0P_IMAGE_SLEEP=y
|
|
||||||
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
CONFIG_CORTEX_M_SYSTICK=y
|
CONFIG_CORTEX_M_SYSTICK=y
|
||||||
CONFIG_XIP=y
|
CONFIG_XIP=y
|
||||||
|
|
||||||
|
CONFIG_SOC_PSOC6_CM0P_IMAGE_SLEEP=y
|
||||||
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
@@ -50,7 +50,7 @@ The board configuration supports the following hardware features:
|
|||||||
+-----------+------------+-----------------------+
|
+-----------+------------+-----------------------+
|
||||||
|
|
||||||
The default configuration can be found in the Kconfig
|
The default configuration can be found in the Kconfig
|
||||||
:zephyr_file:`boards/arm/cy8ckit_062s4/cy8ckit_062s4_m4_defconfig`.
|
:zephyr_file:`boards/cypress/cy8ckit_062s4/cy8ckit_062s4_defconfig`.
|
||||||
|
|
||||||
Clock Configuration
|
Clock Configuration
|
||||||
===================
|
===================
|
||||||
@@ -80,7 +80,7 @@ Build and flash hello world sample
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
cd zephyr/samples/hello_world
|
cd zephyr/samples/hello_world
|
||||||
west build -p auto -b cy8ckit_062s4_m4 --pristine
|
west build -p auto -b cy8ckit_062s4 --pristine
|
||||||
west flash
|
west flash
|
||||||
picocom /dev/ttyACM0 -b 115200
|
picocom /dev/ttyACM0 -b 115200
|
||||||
|
|
||||||
Reference in New Issue
Block a user