add ci build for at32: f402_405, f403a_407, f423
This commit is contained in:
6
hw/bsp/at32f402_405/boards/AT_START_F402_405/board.cmake
Normal file
6
hw/bsp/at32f402_405/boards/AT_START_F402_405/board.cmake
Normal file
@@ -0,0 +1,6 @@
|
||||
set(MCU_VARIANT AT32F405RCT7)
|
||||
set(JLINK_DEVICE ${MCU_VARIANT})
|
||||
|
||||
function(update_board TARGET)
|
||||
target_compile_definitions(${TARGET} PUBLIC ${MCU_VARIANT})
|
||||
endfunction()
|
@@ -1,3 +1,4 @@
|
||||
JLINK_DEVICE = AT32F405RCT7
|
||||
LD_FILE = $(BOARD_PATH)/AT32F405xC_FLASH.ld
|
||||
|
||||
CFLAGS += \
|
||||
|
Reference in New Issue
Block a user