You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checked the issue tracker for similar issues to ensure this is not a duplicate
Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
i have this .sh script that i run before the build :
toolchain_esp32=$(find "$HOME/.espressif/tools" -type f -name "xtensa-esp32-elf-objcopy"| head -1)
toolchain_esp32s3=$(find "$HOME/.espressif/tools" -type f -name "xtensa-esp32s3-elf-objcopy"| head -1)
then i should be able to use objcopy before building my project
Actual behavior (suspected bug)
It appears that the files are missing from the Docker image.
Error logs or terminal output
++ find /root/.espressif/tools" -type f -name "xtensa-esp32-elf-objcopy"++ head -1+ toolchain_esp32=++ find /root/.espressif/tools" -type f -name "xtensa-esp32-elf-objcopy"
++ head -1
+ toolchain_esp32s3=
Steps to reproduce the behavior
1 - Modify the default build action to start the script
# Find the objcopy tools dynamically
toolchain_esp32=$(find "$HOME/.espressif/tools" -type f -name "xtensa-esp32-elf-objcopy"| head -1)
toolchain_esp32s3=$(find "$HOME/.espressif/tools" -type f -name "xtensa-esp32s3-elf-objcopy"| head -1)
Project release version
latest
System architecture
other (details in Additional context)
Operating system
Linux
Operating system version
Ubuntu latest
Shell
ZSH
Additional context
to put it all, my problem is that am unable to retrieve objcopy files from the docker container in my Action
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
unable to stat $HOME/.espressif/tools/../xtensa-esp32s3-elf-objcopy
unable to stat $HOME/.espressif/tools/../xtensa-esp32s3-elf-objcopy (RDT-1064)
Jan 2, 2025
So, you can modify your script to respect this env variable:
#!/usr/bin/env bash# Use $IDF_TOOLS_PATH if defined, otherwise fall back to $HOME/.espressif/tools
tools_path="${IDF_TOOLS_PATH:-$HOME/.espressif}/tools"
toolchain_esp32=$(find "$tools_path" -type f -name "xtensa-esp32-elf-objcopy"| head -n 1)
toolchain_esp32s3=$(find "$tools_path" -type f -name "xtensa-esp32s3-elf-objcopy"| head -n 1)
Checklist
How often does this bug occurs?
always
Expected behavior
i have this .sh script that i run before the build :
then i should be able to use objcopy before building my project
Actual behavior (suspected bug)
It appears that the files are missing from the Docker image.
Error logs or terminal output
Steps to reproduce the behavior
1 - Modify the default build action to start the script
with patch-esp-idf.sh containing :
Project release version
latest
System architecture
other (details in Additional context)
Operating system
Linux
Operating system version
Ubuntu latest
Shell
ZSH
Additional context
to put it all, my problem is that am unable to retrieve objcopy files from the docker container in my Action
The text was updated successfully, but these errors were encountered: