seodeh
March 3, 2025, 12:31pm
1
Hi everyone,
I’m using PlatformIO within VS Code to develop for ESP32, and my project compiles successfully. The firmware.bin file is generated in:
.pio\build\esp32doit-devkit-v1\firmware.bin
However, when I try to run the simulation in Wokwi, I always get the following error:
Wokwi: firmware binary .pio\build\esp32doit-devkit-v1\firmware.bin not found in workspace
Even though the firmware.bin file is actually there, Wokwi still cannot find it.
Has anyone encountered this issue before? Any ideas on how to fix it?
Thanks in advance!
Even though this question concerns Wokwi and not PlatformIO, I would like to try to help you.
Create a subdirectory “wokwi” in your project.
Create a file “wokwi.toml” and a “diagram.json” in this directory
The content of “wokwi.toml" should look like this :
[wokwi]
version = 1
firmware = '../.pio/build/esp32doit-devkit-v1/firmware.bin'
elf = '../.pio/build/esp32doit-devkit-v1/firmware.elf'
gdbServerPort=3333
Note the relative path from the wokwi.toml to the firmware.bin.
For further help regarding Wokwi, please contact wokwi support.
seodeh
March 4, 2025, 7:08pm
3
seodeh:
Hi everyone,
I’m using PlatformIO within VS Code to develop for ESP32, and my project compiles successfully. The firmware.bin file is generated in:
.pio\build\esp32doit-devkit-v1\firmware.bin
However, when I try to run the simulation in Wokwi, I always get the following error:
Wokwi: firmware binary .pio\build\esp32doit-devkit-v1\firmware.bin not found in workspace
Even though the firmware.bin file is actually there, Wokwi still cannot find it.
Has anyone encountered this issue before? Any ideas on how to fix it?
Thanks in advance!
Thank you very much for your suppoet.
seodeh
March 4, 2025, 7:09pm
4
Thank you very much for your suppoet.