[AVR] Target "firmware-size" added
This commit is contained in:
@@ -1045,6 +1045,12 @@ else()
|
|||||||
DEPENDS firmware
|
DEPENDS firmware
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_custom_target(firmware-size
|
||||||
|
COMMAND avr-size --format=avr --mcu=${MCU} firmware.elf
|
||||||
|
DEPENDS firmware
|
||||||
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CPU_FAMILY STREQUAL STM32)
|
if(CPU_FAMILY STREQUAL STM32)
|
||||||
|
|||||||
Reference in New Issue
Block a user