-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: nxp: add mimxrt700_evk board
add files related to mimxrt700_evk board add gpio/uart function support on board Signed-off-by: Lucien Zhao <[email protected]>
- Loading branch information
1 parent
62d38dc
commit 4f8160d
Showing
13 changed files
with
932 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.