mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 08:06:13 +01:00
Create objdump.bat
Useful bat file to view the memory allocations made by the compiler
This commit is contained in:
parent
0138c50f41
commit
d5ca866972
6
objdump.bat
Normal file
6
objdump.bat
Normal file
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user