mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
obj_dump after .elf creation
This commit is contained in:
parent
6aec536819
commit
188e3bb65a
9
pio/obj-dump.py
Normal file
9
pio/obj-dump.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Little convenience script to get an object dump
|
||||||
|
|
||||||
|
Import('env')
|
||||||
|
|
||||||
|
def obj_dump_after_elf(source, target, env):
|
||||||
|
print("Create firmware.asm")
|
||||||
|
env.Execute("xtensa-lx106-elf-objdump "+ "-D " + str(target[0]) + " > "+ "${PROGNAME}.asm")
|
||||||
|
|
||||||
|
env.AddPostAction("$BUILD_DIR/${PROGNAME}.elf", [obj_dump_after_elf])
|
Loading…
x
Reference in New Issue
Block a user