mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
CMake Bloaty add static ram usage breakout
This commit is contained in:
committed by
Daniel Agar
parent
4f098a01bc
commit
96bc58f0eb
@@ -71,6 +71,13 @@ if (BLOATY_PROGRAM)
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
# bloaty statically allocated RAM
|
||||
add_custom_target(bloaty_ram
|
||||
COMMAND ${BLOATY_PROGRAM} -c ${PX4_SOURCE_DIR}/Tools/bloaty_static_ram.bloaty -d bloaty_static_ram,compileunits --source-filter ^ram$ ${BLOATY_OPTS} $<TARGET_FILE:px4>
|
||||
DEPENDS px4
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
# bloaty compare with last master build
|
||||
add_custom_target(bloaty_compare_master
|
||||
COMMAND wget -c -N --no-verbose https://s3.amazonaws.com/px4-travis/Firmware/master/${PX4_BOARD_VENDOR}_${PX4_BOARD_MODEL}_${PX4_BOARD_LABEL}.elf -O master.elf
|
||||
|
||||
Reference in New Issue
Block a user