add at32 to README.rst, rename at32 board to lower case, correct name to match mcu, add meta data
This commit is contained in:
8
hw/bsp/at32f403a_407/boards/at_start_f403a/board.cmake
Normal file
8
hw/bsp/at32f403a_407/boards/at_start_f403a/board.cmake
Normal file
@@ -0,0 +1,8 @@
|
||||
set(MCU_VARIANT AT32F403ACGU7)
|
||||
set(MCU_LINKER_NAME AT32F403AxG)
|
||||
|
||||
set(JLINK_DEVICE ${MCU_VARIANT})
|
||||
|
||||
function(update_board TARGET)
|
||||
target_compile_definitions(${TARGET} PUBLIC ${MCU_VARIANT})
|
||||
endfunction()
|
Reference in New Issue
Block a user