Compiling the firmware for ESP32 with two board variants #16493
-
I am looking for a way to compile the ESP32 firmware with both the SPIRAM and the OTA BOARD_VARIANT. |
Beta Was this translation helpful? Give feedback.
Answered by
shariltumin
Dec 31, 2024
Replies: 2 comments
-
Make a copy of ESP32_GENERIC $ cd boards
$ cp -r ESP32_GENERIC ESP32_ASH Edit sdconfig.ash $ cd ESP32_ASH
$ vi sdconfig.ash with these lines
Edit mpconfigboard.cmake $ vi mpconfigboard.cmake with these lines
I like to have my manifest.py in the board directory. You can delate that line if you prefer to use the default. With these in place, you can $ cd ../../
$ make V=1 BOARD=ESP32_ASH to build your firmware. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
asherevan
-
Thank you. Worked perfectly! |
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
Make a copy of ESP32_GENERIC
$ cd boards $ cp -r ESP32_GENERIC ESP32_ASH
Edit sdconfig.ash
$ cd ESP32_ASH $ vi sdconfig.ash
with these lines