mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-20 12:57:17 +00:00

When vscode is ran from the Tasmota folder in Linux, build fails with message : ```Executing task: pio run < The terminal process failed to launch: Path to shell executable "pio" is not a file of a symlink.``` Renaming pio folder into pio-tools solve the problem. Note: the problem can still occur if the user have a pio folder in his PATH...
10 lines
315 B
Python
10 lines
315 B
Python
# 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])
|