mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 14:16:32 +00:00
Merge pull request #6415 from Staars/obj_dump
Create an objdump from firmware.elf automatically
This commit is contained in:
commit
05727d907b
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])
|
@ -220,6 +220,7 @@ upload_resetmethod = nodemcu
|
|||||||
; *** Upload Serial reset method for Wemos and NodeMCU
|
; *** Upload Serial reset method for Wemos and NodeMCU
|
||||||
upload_port = COM5
|
upload_port = COM5
|
||||||
extra_scripts = pio/strip-floats.py
|
extra_scripts = pio/strip-floats.py
|
||||||
|
pio/obj-dump.py
|
||||||
|
|
||||||
; *** Upload file to OTA server using SCP
|
; *** Upload file to OTA server using SCP
|
||||||
;upload_port = user@host:/path
|
;upload_port = user@host:/path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user