mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
refactor to match fsp_cfg
This commit is contained in:
parent
22fb66436d
commit
50381f7b4c
0
hw/bsp/ra/boards/ra4m3_ek/fsp_cfg/bsp_cfg.h → hw/bsp/ra/boards/ra4m3_ek/fsp_cfg/bsp/bsp_cfg.h
Executable file → Normal file
0
hw/bsp/ra/boards/ra4m3_ek/fsp_cfg/bsp_cfg.h → hw/bsp/ra/boards/ra4m3_ek/fsp_cfg/bsp/bsp_cfg.h
Executable file → Normal file
13
hw/bsp/ra/boards/ra6m1_ek/board.cmake
Normal file
13
hw/bsp/ra/boards/ra6m1_ek/board.cmake
Normal file
@ -0,0 +1,13 @@
|
||||
set(CMAKE_SYSTEM_PROCESSOR cortex-m4 CACHE INTERNAL "System Processor")
|
||||
set(MCU_VARIANT ra6m1)
|
||||
|
||||
set(JLINK_DEVICE R7FA6M1AD)
|
||||
|
||||
function(update_board TARGET)
|
||||
target_compile_definitions(${TARGET} PUBLIC
|
||||
)
|
||||
target_sources(${TARGET} PRIVATE
|
||||
)
|
||||
target_include_directories(${BOARD_TARGET} PUBLIC
|
||||
)
|
||||
endfunction()
|
@ -49,6 +49,7 @@ function(add_board_target BOARD_TARGET)
|
||||
${CMAKE_CURRENT_FUNCTION_LIST_DIR}
|
||||
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/boards/${BOARD}
|
||||
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/boards/${BOARD}/fsp_cfg
|
||||
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/boards/${BOARD}/fsp_cfg/bsp
|
||||
${CMSIS_DIR}/CMSIS/Core/Include
|
||||
${FSP_RA}/inc
|
||||
${FSP_RA}/inc/api
|
||||
|
@ -37,6 +37,7 @@ INC += \
|
||||
$(TOP)/lib/CMSIS_5/CMSIS/Core/Include \
|
||||
$(TOP)/$(BOARD_PATH) \
|
||||
$(TOP)/$(BOARD_PATH)/fsp_cfg \
|
||||
$(TOP)/$(BOARD_PATH)/fsp_cfg/bsp \
|
||||
$(TOP)/$(FSP_RA)/src/bsp/cmsis/Device/RENESAS/Include \
|
||||
$(TOP)/$(FSP_RA)/inc \
|
||||
$(TOP)/$(FSP_RA)/inc/api \
|
||||
|
Loading…
x
Reference in New Issue
Block a user