firmware-base/scripts/strip_elf.py

6 lines
122 B
Python

Import("env")
env.AddPostAction(
"$BUILD_DIR/${PROGNAME}.elf",
"xtensa-esp32s3-elf-strip -g -S -x $TARGET"
)