mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
15 lines
378 B
CMake
15 lines
378 B
CMake
set(MCU_VARIANT MIMXRT1021)
|
|
|
|
set(JLINK_DEVICE MIMXRT1021DAG5A)
|
|
set(PYOCD_TARGET mimxrt1020)
|
|
set(NXPLINK_DEVICE MIMXRT1021xxxxx:EVK-MIMXRT1020)
|
|
|
|
function(update_board TARGET)
|
|
target_sources(${TARGET} PUBLIC
|
|
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/evkmimxrt1020_flexspi_nor_config.c
|
|
)
|
|
target_compile_definitions(${TARGET} PUBLIC
|
|
CPU_MIMXRT1021DAG5A
|
|
)
|
|
endfunction()
|