Hi!
I can’t build a Filesystem Image for my ESP32, but I’m able to build and deploy the project with out any problems . The platformio.ini looks like this:
I suspect there may be a binary incompatibility. In the directory where you ran pio run --target buildfs --environment esp32dev -v, please run the commands
OK, does this mean I can’t use the “File Image Upload”-function in PlaformIO on my Jetson Nano (I belive there’s no 32-bit support)? When I run the commands you suggest I get:
christian@jetson1:~/repo/platformio/projects/platformio-blink$ ~/.platformio/packages/tool-mkspiffs/mkspiffs_espressif32_arduino -c data -p 256 -b 4096 -s 1507328 .pio/build/esp32dev/spiffs.bin
bash: /home/christian/.platformio/packages/tool-mkspiffs/mkspiffs_espressif32_arduino: No such file or directory
christian@jetson1:~/repo/platformio/projects/platformio-blink$ file ~/.platformio/packages/tool-mkspiffs/mkspiffs_espressif32_arduino
/home/christian/.platformio/packages/tool-mkspiffs/mkspiffs_espressif32_arduino: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=21c8f20aa96be75fb077fe641b503887e60c59b2, stripped
christian@jetson1:~/repo/platformio/projects/platformio-blink$ ldd ~/.platformio/packages/tool-mkspiffs/mkspiffs_espressif32_arduino
not a dynamic executable
Seems like the ARM64 packages are the ARM32 packages and it’s expected that they are runnable on ARM32 as well. Not sure if there’s a missing system package that would allow you to do that.
CC @valeros for unexecutable ARM32 binary in package for ARM64, for boards without ARM32 support.