Replies: 1 comment
-
|
Check in your sdkconfig files to make sure The files will show the actual compile outputs. The error you mention just indicates an error occured- more information is needed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a pre-designed board where no pin changes can be made, using an ESP32-S2. I’ve flashed it with the generic firmware v1.26.1 as indicated.
This firmware supports configurations with and without SPIRAM (also known as PSRAM) and will auto-detect a connected SPIRAM chip at startup and allocate the MicroPython heap accordingly
However, the board uses GPIO 26 for the touchscreen on the display, and it seems that this pin is reserved for SPI RAM in MicroPython. Even if the board doesn’t actually have external SPI RAM, the pin still remains disabled.
So, I tried to build a custom firmware using IDF versions 5.5, 5.2.6, 5.2.1, and 4.4, but in every case it fails in one way or another near the end of the process. These are the steps I followed and the latest error I encountered.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/jluis/micropython/ports/esp32/build/log/idf_py_stderr_output_18888 and /home/jluis/micropython/ports/esp32/build/log/idf_py_stdout_output_18888
idf.py set-target esp32s2
idf.py -DBOARD=CUSTOM_S2_NO_PSRAM build
idf.py set-target esp32s2
Set Target to: esp32s2
I would appreciate knowing how to solve my problem, or at least some ideas on how to approach it.
Beta Was this translation helpful? Give feedback.
All reactions