mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-05 07:22:06 +00:00
16 lines
354 B
CMake
16 lines
354 B
CMake
if(${USE_PICOLIBC})
|
|
add_compile_options(
|
|
--specs=picolibc.specs
|
|
)
|
|
add_compile_definitions(USE_PICOLIBC)
|
|
add_link_options(
|
|
-Wl,--defsym=__heap_start=__heap_base__,--defsym=__heap_end=__heap_end__
|
|
)
|
|
endif()
|
|
|
|
add_compile_options(
|
|
-march=${MCU_ARCH}
|
|
-mabi=${MCU_ABI}
|
|
-mcmodel=${MCU_CMODEL}
|
|
-mstrict-align
|
|
) |