port clang stm32: f1, f2, f3

This commit is contained in:
hathach
2024-04-23 12:04:08 +07:00
parent f76d38c924
commit 0f3d6c61b5
13 changed files with 430 additions and 189 deletions

View File

@@ -0,0 +1,10 @@
set(MCU_VARIANT stm32f303xc)
set(JLINK_DEVICE stm32f303vc)
set(LD_FILE_GNU ${CMAKE_CURRENT_LIST_DIR}/STM32F303VCTx_FLASH.ld)
function(update_board TARGET)
target_compile_definitions(${TARGET} PUBLIC
STM32F303xC
)
endfunction()