From 9ac3955f41db87b963e0986d415c0a942ae092a6 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 16 Nov 2020 13:25:16 -0800 Subject: [PATCH] switch size-map and disassemble to use values from the platform bundle --- etc/makefiles/sketch.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/makefiles/sketch.mk b/etc/makefiles/sketch.mk index 4ae9996f..0b89cd48 100644 --- a/etc/makefiles/sketch.mk +++ b/etc/makefiles/sketch.mk @@ -109,10 +109,14 @@ all: disassemble: ${ELF_FILE_PATH} - ${AVR_OBJDUMP} -C -d "${ELF_FILE_PATH}" + $(call _arduino_prop,compiler.objdump.cmd) \ + $(call _arduino_prop,compiler.objdump.flags) \ + "${ELF_FILE_PATH}" size-map: ${ELF_FILE_PATH} - ${AVR_NM} --size-sort -C -r -l -t decimal "${ELF_FILE_PATH}" + $(call _arduino_prop,compiler.size-map.cmd) \ + $(call _arduino_prop,compiler.size-map.flags) \ + "${ELF_FILE_PATH}" flash: ${HEX_FILE_PATH}