update CMakeLists.txt in Chapter04/bare
This commit is contained in:
@@ -119,12 +119,12 @@ target_link_options(
|
|||||||
-T${CMAKE_SOURCE_DIR}/platform/STM32F072C8Tx_FLASH.ld
|
-T${CMAKE_SOURCE_DIR}/platform/STM32F072C8Tx_FLASH.ld
|
||||||
-mcpu=cortex-m0
|
-mcpu=cortex-m0
|
||||||
-mthumb
|
-mthumb
|
||||||
-specs=nosys.specs
|
|
||||||
-specs=nano.specs
|
-specs=nano.specs
|
||||||
|
-lnosys
|
||||||
-u
|
-u
|
||||||
-lc
|
-lc
|
||||||
-lm
|
-lm
|
||||||
-lnosys
|
-Wl,--no-warn-rwx-segments
|
||||||
-Wl,-Map=${PROJECT_NAME}.map,--cref
|
-Wl,-Map=${PROJECT_NAME}.map,--cref
|
||||||
-Wl,--gc-sections)
|
-Wl,--gc-sections)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user