Skip to content

Commit

Permalink
boards: mimxrt1050_evk: Switch to variants
Browse files Browse the repository at this point in the history
Switch from using revisions for hyperflash/qspi to using variants, by
popular demand.

Signed-off-by: Declan Snyder <[email protected]>
  • Loading branch information
decsny committed Oct 15, 2024
1 parent 03959a2 commit 2217a25
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 16 deletions.
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1050_evk/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ config DEVICE_CONFIGURATION_DATA

config NXP_IMX_EXTERNAL_SDRAM
default y

if NETWORKING

config NET_L2_ETHERNET
Expand Down
2 changes: 1 addition & 1 deletion boards/nxp/mimxrt1050_evk/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
board_runner_args(jlink "--device=MCIMXRT1052")
board_runner_args(linkserver "--device=MIMXRT1052xxxxB:EVKB-IMXRT1050")

if("${BOARD_REVISION}" STREQUAL "qspi")
if("${BOARD_QUALIFIERS}" MATCHES "qspi")
board_runner_args(jlink "--loader=BankAddr=0x60000000&Loader=QSPI")
board_runner_args(pyocd "--target=mimxrt1050_quadspi")
board_runner_args(linkserver "--override=/device/memory/3/flash-driver=MIMXRT1050_SFDP_QSPI.cfx")
Expand Down
9 changes: 3 additions & 6 deletions boards/nxp/mimxrt1050_evk/board.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ board:
vendor: nxp
socs:
- name: mimxrt1052
revision:
format: "custom"
default: "hyperflash"
revisions:
- name: "hyperflash"
- name: "qspi"
variants:
- name: hyperflash
- name: qspi
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "mimxrt1050_evk.dtsi"

/ {
chosen {
zephyr,flash-controller = &s26ks512s0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* SPDX-License-Identifier: Apache-2.0
*/

#include "mimxrt1050_evk.dtsi"

/ {
chosen {
zephyr,flash-controller = &is25wp064;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#

identifier: mimxrt1050_evk@qspi
identifier: mimxrt1050_evk/mimxrt1052/qspi
name: NXP MIMXRT1050-EVK-QSPI
type: mcu
arch: arm
Expand Down
13 changes: 13 additions & 0 deletions boards/nxp/mimxrt1050_evk/mimxrt1050_evk_mimxrt1052_qspi_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Copyright (c) 2017, NXP
#
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_GPIO=y
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y
CONFIG_PINCTRL=y
7 changes: 0 additions & 7 deletions boards/nxp/mimxrt1050_evk/revision.cmake

This file was deleted.

1 change: 0 additions & 1 deletion samples/subsys/usb/dfu/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ common:
arch_exclude: posix
platform_exclude:
- mimxrt1010_evk
- mimxrt1050_evk@qspi
- mimxrt1020_evk
- mimxrt1015_evk
- mimxrt1060_evk
Expand Down

0 comments on commit 2217a25

Please sign in to comment.