We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. I was able to run the test payload defined as a C array in the payload.h: unsigned char example_payload_payload_elf[].
payload.h
unsigned char example_payload_payload_elf[]
However when I try to compile the example main.c code to new ELF and put the new ELF into the C array for loading & running, the board crashed.
main.c
The command line to compile:
d:\PlatformIO\packages\toolchain-xtensa-esp32\bin\xtensa-esp32-elf-gcc -fno-common -Wl,-r -nostartfiles -nodefaultlibs -nostdlib -g -o payload.elf -Wl,-e,local_main -Wl,-Tesp32.ld main/main.c d:\PlatformIO\packages\toolchain-xtensa-esp32\bin\xtensa-esp32-elf-strip --strip-unneeded payload.elf
My board is an ESP32-S3.
Please advise. Thanks.
The text was updated successfully, but these errors were encountered:
I was able to compile the payload, by downloading the archived ESP-IDF v3.3 (using makefile instead of CMake) and run it in Ubuntu instead of Windows.
The issue is resolved.
Sorry, something went wrong.
No branches or pull requests
Hi. I was able to run the test payload defined as a C array in the
payload.h
:unsigned char example_payload_payload_elf[]
.However when I try to compile the example
main.c
code to new ELF and put the new ELF into the C array for loading & running, the board crashed.The command line to compile:
My board is an ESP32-S3.
Please advise. Thanks.
The text was updated successfully, but these errors were encountered: