Merge pull request #14321 from Jason2866/objdump

Objdump for S2
This commit is contained in:
Jason2866 2022-01-08 11:43:51 +01:00 committed by GitHub
commit 9a9d869676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ def obj_dump_after_elf(source, target, env):
env.Execute("xtensa-lx106-elf-objdump "+ "-D -C " + str(target[0]) + " > "+ "$BUILD_DIR/${PROGNAME}.asm")
if mcu == "esp32":
env.Execute("xtensa-esp32-elf-objdump "+ "-D -C " + str(target[0]) + " > "+ "$BUILD_DIR/${PROGNAME}.asm")
if mcu == "esp32s2":
env.Execute("xtensa-esp32s2-elf-objdump "+ "-D -C " + str(target[0]) + " > "+ "$BUILD_DIR/${PROGNAME}.asm")
if mcu == "esp32c3":
env.Execute("riscv32-esp-elf-objdump "+ "-D -C " + str(target[0]) + " > "+ "$BUILD_DIR/${PROGNAME}.asm")

View File

@ -108,7 +108,8 @@ monitor_speed = 115200
upload_port = COM4
;upload_speed = 115200
upload_resetmethod = ${common.upload_resetmethod}
;extra_scripts = ${esp32_defaults.extra_scripts}
extra_scripts = ${esp32_defaults.extra_scripts}
; pio-tools/obj-dump.py
lib_ignore =
ESP32 Azure IoT Arduino
ESP32 Async UDP