Skip to content

Commit

Permalink
hwmv2: boards: Convert IMXRT boards
Browse files Browse the repository at this point in the history
Convert IMXRT EVK boards except RT595

Co-authored-by: Declan Snyder <declan.snyder@nxp.com>
Co-authored-by: Daniel DeGrasse <daniel.degrasse@nxp.com>

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
  • Loading branch information
decsny committed Feb 21, 2024
1 parent 74bc37e commit 26e64c1
Show file tree
Hide file tree
Showing 266 changed files with 2,081 additions and 453 deletions.
15 changes: 0 additions & 15 deletions boards/boards_legacy/arm/mimxrt1010_evk/Kconfig.defconfig

This file was deleted.

15 changes: 0 additions & 15 deletions boards/boards_legacy/arm/mimxrt1015_evk/Kconfig.defconfig

This file was deleted.

12 changes: 0 additions & 12 deletions boards/boards_legacy/arm/mimxrt1050_evk/Kconfig.board

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions boards/boards_legacy/arm/mimxrt1060_evk/Kconfig.board

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions boards/boards_legacy/arm/mimxrt1160_evk/Kconfig.board

This file was deleted.

22 changes: 0 additions & 22 deletions boards/boards_legacy/arm/mimxrt1170_evk/Kconfig.board

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions boards/boards_legacy/arm/mimxrt685_evk/Kconfig.board

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
zephyr_library()
zephyr_library_sources(init.c)

if(CONFIG_NXP_IMX_RT_BOOT_HEADER)
if(CONFIG_NXP_IMXRT_BOOT_HEADER)
if(NOT DEFINED CONFIG_BOARD_MIMXRT1010_EVK)
message(WARNING "It appears you are using the board definition for "
"the MIMXRT1010-EVK, but targeting a custom board. You may need to "
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#
# Copyright (c) 2019, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

config BOARD_MIMXRT1010_EVK
bool "NXP MIMXRT1010-EVK"
depends on SOC_SERIES_IMX_RT
select SOC_PART_NUMBER_MIMXRT1011DAE5A
File renamed without changes.
5 changes: 5 additions & 0 deletions boards/nxp/mimxrt1010_evk/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: mimxrt1010_evk
vendor: nxp
socs:
- name: rt1011
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_SOC_MIMXRT1011=y
CONFIG_SOC_SERIES_IMX_RT=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#


if(CONFIG_NXP_IMX_RT_BOOT_HEADER)
if(CONFIG_NXP_IMXRT_BOOT_HEADER)
zephyr_library()
if(NOT DEFINED CONFIG_BOARD_MIMXRT1015_EVK)
message(WARNING "It appears you are using the board definition for "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_MIMXRT1015_EVK
bool "NXP MIMXRT1015-EVK"
depends on SOC_SERIES_IMX_RT
select SOC_PART_NUMBER_MIMXRT1015DAF5A
File renamed without changes.
5 changes: 5 additions & 0 deletions boards/nxp/mimxrt1015_evk/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: mimxrt1015_evk
vendor: nxp
socs:
- name: rt1015
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_SOC_MIMXRT1015=y
CONFIG_SOC_SERIES_IMX_RT=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#


if(CONFIG_NXP_IMX_RT_BOOT_HEADER)
if(CONFIG_NXP_IMXRT_BOOT_HEADER)
zephyr_library()
if(NOT DEFINED CONFIG_BOARD_MIMXRT1020_EVK)
message(WARNING "It appears you are using the board definition for "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_MIMXRT1020_EVK

config BOARD
default "mimxrt1020_evk" if BOARD_MIMXRT1020_EVK

choice CODE_LOCATION
default CODE_FLEXSPI
endchoice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_MIMXRT1020_EVK
bool "NXP MIMXRT1020-EVK"
depends on SOC_SERIES_IMX_RT
select SOC_PART_NUMBER_MIMXRT1021DAG5A
File renamed without changes.
5 changes: 5 additions & 0 deletions boards/nxp/mimxrt1020_evk/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: mimxrt1020_evk
vendor: nxp
socs:
- name: rt1021
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_SOC_MIMXRT1021=y
CONFIG_SOC_SERIES_IMX_RT=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#


if(CONFIG_NXP_IMX_RT_BOOT_HEADER)
if(CONFIG_NXP_IMXRT_BOOT_HEADER)
zephyr_library()
if(NOT DEFINED CONFIG_BOARD_MIMXRT1024_EVK)
message(WARNING "It appears you are using the board definition for "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

if BOARD_MIMXRT1024_EVK

config BOARD
default "mimxrt1024_evk" if BOARD_MIMXRT1024_EVK

choice CODE_LOCATION
default CODE_FLEXSPI
endchoice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_MIMXRT1024_EVK
bool "NXP MIMXRT1024-EVK"
depends on SOC_SERIES_IMX_RT
select SOC_PART_NUMBER_MIMXRT1024DAG5A
File renamed without changes.
5 changes: 5 additions & 0 deletions boards/nxp/mimxrt1024_evk/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: mimxrt1024_evk
vendor: nxp
socs:
- name: rt1024
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_SOC_MIMXRT1024=y
CONFIG_SOC_SERIES_IMX_RT=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#


if(CONFIG_NXP_IMX_RT_BOOT_HEADER)
if(CONFIG_NXP_IMXRT_BOOT_HEADER)
zephyr_library()
if(NOT DEFINED CONFIG_BOARD_MIMXRT1040_EVK)
message(WARNING "It appears you are using the board definition for "
Expand All @@ -21,7 +21,7 @@ if(CONFIG_NXP_IMX_RT_BOOT_HEADER)
zephyr_compile_definitions(XIP_BOOT_HEADER_ENABLE=1)
zephyr_compile_definitions(BOARD_FLASH_SIZE=CONFIG_FLASH_SIZE*1024)
zephyr_library_sources(${RT1040_BOARD_DIR}/xip/evkmimxrt1040_flexspi_nor_config.c)
zephyr_library_include_directories(${RT1024_BOARD_DIR}/xip)
zephyr_library_include_directories(${RT1040_BOARD_DIR}/xip)
endif()
if(CONFIG_DEVICE_CONFIGURATION_DATA)
# Include device configuration data block for RT1040 EVK from NXP's HAL.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@

if BOARD_MIMXRT1040_EVK

config BOARD
default "mimxrt1040_evk" if BOARD_MIMXRT1040_EVK

choice CODE_LOCATION
default CODE_FLEXSPI
endchoice
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

config BOARD_MIMXRT1040_EVK
bool "NXP MIMXRT1040-EVK"
depends on SOC_SERIES_IMX_RT
select SOC_PART_NUMBER_MIMXRT1042XJM5B
File renamed without changes.
5 changes: 5 additions & 0 deletions boards/nxp/mimxrt1040_evk/board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
board:
name: mimxrt1040_evk
vendor: nxp
socs:
- name: rt1042
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ Boot Header

If the debug probe fails to connect with the following error, it's possible
that the boot header in QSPI is invalid or corrupted. The boot header is
configured by :kconfig:option:`CONFIG_NXP_IMX_RT_BOOT_HEADER`.
configured by :kconfig:option:`CONFIG_NXP_IMXRT_BOOT_HEADER`.

.. code-block:: console
Expand Down
Loading

0 comments on commit 26e64c1

Please sign in to comment.