mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
1ef820ecfe
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead * add dcd dcache for chipidea * add cmake for lpc18 * add makefile build for mcx * use fork of mcu sdk * fix ci build with nrf * flash rp2040 with openocd
19 lines
466 B
CMake
19 lines
466 B
CMake
set(MCU_VARIANT MCXN947)
|
|
set(MCU_CORE MCXN947_cm33_core0)
|
|
|
|
set(JLINK_DEVICE MCXN947)
|
|
set(PYOCD_TARGET MCXN947)
|
|
set(NXPLINK_DEVICE MCXN947:MCXN947)
|
|
|
|
function(update_board TARGET)
|
|
target_compile_definitions(${TARGET} PUBLIC
|
|
CPU_MCXN947VDF_cm33_core0
|
|
# port 1 is highspeed
|
|
BOARD_TUD_RHPORT=1
|
|
)
|
|
target_sources(${TARGET} PUBLIC
|
|
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/clock_config.c
|
|
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/pin_mux.c
|
|
)
|
|
endfunction()
|