Skip to content

Commit

Permalink
boards: nxp: add mimxrt700_evk board
Browse files Browse the repository at this point in the history
add files related to mimxrt700_evk board
add gpio/uart function support on board

Signed-off-by: Lucien Zhao <[email protected]>
  • Loading branch information
lucien-nxp committed Nov 29, 2024
1 parent 62d38dc commit 4f8160d
Show file tree
Hide file tree
Showing 13 changed files with 932 additions and 0 deletions.
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

0 comments on commit 4f8160d

Please sign in to comment.