From 7ac85ad97338c2ae7033673e324bd53262a3501c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 7 Jan 2022 22:28:52 +0100 Subject: [PATCH] add ESP32s2 in objdump --- pio-tools/obj-dump.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pio-tools/obj-dump.py b/pio-tools/obj-dump.py index 74edd3958..359c76a80 100644 --- a/pio-tools/obj-dump.py +++ b/pio-tools/obj-dump.py @@ -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")