From d5ca86697203930156326a3db82afe3bdf345c45 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Wed, 15 Jul 2020 20:05:03 +0100 Subject: [PATCH] Create objdump.bat Useful bat file to view the memory allocations made by the compiler --- objdump.bat | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 objdump.bat diff --git a/objdump.bat b/objdump.bat new file mode 100644 index 0000000..651c7fe --- /dev/null +++ b/objdump.bat @@ -0,0 +1,6 @@ +ECHO ON +FOR /F "delims=" %%i IN ('dir %TMP%\arduino_build_* /b /ad-h /t:c /od') DO SET a=%%i +echo Most recent subfolder: %a% +avr-objdump -x -C %TMP%\%a%\CVReader.ino.elf | find ".text" | sort /+25 /R >%TMP%\OBJDUMP_%a%.txt +notepad %TMP%\OBJDUMP_%a%.txt +