boards: nxp: port frdm_k22f to hwmv2
Port frdm_k22f to hardware model v2 Signed-off-by: David Leach <david.leach@nxp.com>
This commit is contained in:
@@ -1,9 +0,0 @@
|
|||||||
# FRDM-K22F board
|
|
||||||
|
|
||||||
# Copyright (c) 2018, Prevas A/S
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
config BOARD_FRDM_K22F
|
|
||||||
bool "NXP FRDM-K22F"
|
|
||||||
depends on SOC_SERIES_KINETIS_K2X
|
|
||||||
select SOC_PART_NUMBER_MK22FN512VLH12
|
|
||||||
@@ -5,9 +5,6 @@
|
|||||||
|
|
||||||
if BOARD_FRDM_K22F
|
if BOARD_FRDM_K22F
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "frdm_k22f"
|
|
||||||
|
|
||||||
config OSC_XTAL0_FREQ
|
config OSC_XTAL0_FREQ
|
||||||
default 8000000
|
default 8000000
|
||||||
|
|
||||||
6
boards/nxp/frdm_k22f/Kconfig.frdm_k22f
Normal file
6
boards/nxp/frdm_k22f/Kconfig.frdm_k22f
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Copyright 2024 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
config BOARD_FRDM_K22F
|
||||||
|
select SOC_MK22F51212
|
||||||
|
select SOC_PART_NUMBER_MK22FN512VLH12
|
||||||
5
boards/nxp/frdm_k22f/board.yml
Normal file
5
boards/nxp/frdm_k22f/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: frdm_k22f
|
||||||
|
vendor: nxp
|
||||||
|
socs:
|
||||||
|
- name: mk22f51212
|
||||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
@@ -103,7 +103,7 @@ already supported, which can also be re-used on this frdm_k22f board:
|
|||||||
|
|
||||||
The default configuration can be found in the defconfig file:
|
The default configuration can be found in the defconfig file:
|
||||||
|
|
||||||
:zephyr_file:`boards/arm/frdm_k22f/frdm_k22f_defconfig`
|
:zephyr_file:`boards/nxp/frdm_k22f/frdm_k22f_defconfig`
|
||||||
|
|
||||||
Other hardware features are not currently supported by the port.
|
Other hardware features are not currently supported by the port.
|
||||||
|
|
||||||
@@ -6,8 +6,6 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
CONFIG_SOC_MK22F51212=y
|
|
||||||
CONFIG_SOC_SERIES_KINETIS_K2X=y
|
|
||||||
CONFIG_CONSOLE=y
|
CONFIG_CONSOLE=y
|
||||||
CONFIG_UART_CONSOLE=y
|
CONFIG_UART_CONSOLE=y
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
Reference in New Issue
Block a user