mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
17 lines
438 B
CMake
17 lines
438 B
CMake
set(MCU_VARIANT MIMXRT1024)
|
|
|
|
set(JLINK_DEVICE MIMXRT1024xxx5A)
|
|
set(PYOCD_TARGET mimxrt1024)
|
|
set(NXPLINK_DEVICE MIMXRT1024xxxxx:MIMXRT1024-EVK)
|
|
|
|
function(update_board TARGET)
|
|
target_sources(${TARGET} PUBLIC
|
|
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1024_flexspi_nor_config.c
|
|
)
|
|
target_compile_definitions(${TARGET} PUBLIC
|
|
CPU_MIMXRT1024DAG5A
|
|
CFG_EXAMPLE_VIDEO_READONLY
|
|
#-Wno-error=array-bounds
|
|
)
|
|
endfunction()
|