enable optimisation by default
This commit is contained in:
parent
f67475e8e4
commit
b7d4cbaa27
@ -63,7 +63,7 @@ function(add_avr_executable EXECUTABLE_NAME)
|
|||||||
set_target_properties(
|
set_target_properties(
|
||||||
${elf_file}
|
${elf_file}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
COMPILE_FLAGS "-mmcu=${AVR_MCU}"
|
COMPILE_FLAGS "-mmcu=${AVR_MCU} -O3"
|
||||||
LINK_FLAGS "-mmcu=${AVR_MCU} -Wl,--gc-sections -mrelax -Wl,-Map,${map_file}"
|
LINK_FLAGS "-mmcu=${AVR_MCU} -Wl,--gc-sections -mrelax -Wl,-Map,${map_file}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user