Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RT700 basic environment support #79376

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions boards/nxp/mimxrt700_evk/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# Copyright 2024 NXP
#
# SPDX-License-Identifier: Apache-2.0
#

if(CONFIG_BOARD_MIMXRT700_EVK_MIMXRT798S_CM33_CPU0 OR CONFIG_BOARD_MIMXRT700_EVK_MIMXRT798S_CM33_CPU1)
zephyr_library()
zephyr_library_sources(board.c)
endif()

if(CONFIG_NXP_IMXRT_BOOT_HEADER)
if(NOT ((DEFINED CONFIG_BOARD_MIMXRT700_EVK_MIMXRT798S_CM33_CPU0)
OR (DEFINED CONFIG_BOARD_MIMXRT700_EVK_MIMXRT798S_CM33_CPU1)))
message(WARNING "It appears you are using the board definition for "
"the MIMXRT7xx-EVK, but targeting a custom board. You may need to "
"update your flash configuration block data")
endif()
# Include flash configuration block for RT7xx EVK from NXP's HAL.
# This configuration block may need modification if another flash chip is
# used on your custom board. See NXP AN13304 for more information.
zephyr_compile_definitions(BOOT_HEADER_ENABLE=1)
zephyr_compile_definitions(BOARD_FLASH_SIZE=CONFIG_FLASH_SIZE*1024)
set(RT7XX_BOARD_DIR
"${ZEPHYR_HAL_NXP_MODULE_DIR}/mcux/mcux-sdk/boards/mimxrt700evk")
zephyr_library_sources(${RT7XX_BOARD_DIR}/flash_config/flash_config.c)
zephyr_library_include_directories(${RT7XX_BOARD_DIR}/flash_config)
endif()
7 changes: 7 additions & 0 deletions boards/nxp/mimxrt700_evk/Kconfig.mimxrt700_evk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0

config BOARD_MIMXRT700_EVK
select SOC_MIMXRT798S_CM33_CPU0 if BOARD_MIMXRT700_EVK_MIMXRT798S_CM33_CPU0
select SOC_MIMXRT798S_CM33_CPU1 if BOARD_MIMXRT700_EVK_MIMXRT798S_CM33_CPU1
select SOC_PART_NUMBER_MIMXRT798SGFOA
Loading
Loading