mirror of
https://github.com/muccc/WomoLIN.git
synced 2026-02-20 02:21:18 +01:00
Add startup code and linker script.
This commit is contained in:
@@ -9,6 +9,8 @@ set(CMAKE_CXX_FLAGS "${DEFINITIONS}")
|
||||
|
||||
include_directories(drv/system/cmsis/inc drv/system/hal/inc drv/inc)
|
||||
|
||||
add_compile_options("-Tdrv/system/cmsis/STM32L476RGTx_FLASH.ld")
|
||||
|
||||
add_subdirectory(drv/system/cmsis/src)
|
||||
add_subdirectory(drv/system/hal/src)
|
||||
add_subdirectory(drv/src)
|
||||
|
||||
@@ -9,6 +9,10 @@ set(CMAKE_CXX_FLAGS "${DEFINITIONS}")
|
||||
|
||||
include_directories(../inc)
|
||||
|
||||
enable_language(ASM)
|
||||
|
||||
add_library(${LIB_NAME}
|
||||
system_stm32l4xx.c
|
||||
../../startup_stm32l476xx.s
|
||||
#../../STM32L476RGTx_FLASH.ld
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user