[Help] ESP32-S3 with 2.4" TFT Touch (ILI9341) – Custom Build – Black Screen After Flashing Bruce Firmware
Hi everyone, good evening.
I’ve assembled an ESP32-S3-DevKitC-1-N16R8 with a 2.4" TFT Touch display (Cheap Yellow Display style), but so far I’m only getting a black screen — no output at all and no Serial
Screen Driver chip: ILI9341
🔧 Pinout I followed:
| Display Silkscreen | Function | ESP32-S3 GPIO | Notes |
|---|---|---|---|
| T_IRQ | TOUCH_IRQ | GPIO 35 | Touch interrupt |
| T_DO | TOUCH_MISO | GPIO 19 | Touch data (shared with SD) |
| T_DIN | TOUCH_MOSI | GPIO 21 | Touch input (shared with SD) |
| T_CS | TOUCH_CS | GPIO 14 | Touch chip select |
| T_CLK | TOUCH_SCK | GPIO 18 | Shared SPI clock |
| SDO (MISO) | MISO | GPIO 19 | Display/SD data |
| LED | TFT_BL | GPIO 4 | Backlight |
| SCK | SCK | GPIO 18 | Common SPI clock |
| SDI (MOSI) | MOSI | GPIO 21 | SPI data to display/touch/SD |
| DC | TFT_DC | GPIO 16 | Display data/command |
| RESET | TFT_RST | GPIO 17 | Display reset |
| CS | TFT_CS | GPIO 5 | Display chip select |
| GND | GND | GND | Ground |
| VCC | VCC | 3.3 V | Power supply |
This configuration seems to match what CYD-based boards use.
🧪 What I did: Flashed the firmware using the Bruce Firmware web flasher
Selected ESP32-S3 as the board
Flash process completed successfully
But… the screen remains black 😓
❓My question: Can someone help me understand what I might be doing wrong — either in the pinout or in the flashing process?
Should it be manually flashed, and with manual configuration in the repository files?
I’m a noob here — just trying to get this working!
Thanks a lot in advance!
I ‘m also facing this issue.
"This configuration seems to match what CYD-based boards use.
🧪 What I did: Flashed the firmware using the Bruce Firmware web flasher
Selected ESP32-S3 as the board
Flash process completed successfully" The issue may be related to the flash your installing but i can not say this is 100% But maybe you should try to install one of the CYD flashes as you have done a clean ESP32.S3 installment... And that may not fit in 100% with your device.... Is it a WROOM BOARD or ?
On Sat, Jul 19, 2025 at 1:39 PM SIVABALA S @.***> wrote:
sivabala21 left a comment (pr3y/Bruce#1494) https://github.com/pr3y/Bruce/issues/1494#issuecomment-3092303164
I ‘m also facing this issue.
— Reply to this email directly, view it on GitHub https://github.com/pr3y/Bruce/issues/1494#issuecomment-3092303164, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLDL6BR26RROURHAI7NBYTD3JIU5PAVCNFSM6AAAAACBY7P5WKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAOJSGMYDGMJWGQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Kind Regards
C.R
May Prosperity allways be with us!!
"This configuration seems to match what CYD-based boards use.
🧪 What I did: Flashed the firmware using the Bruce Firmware web flasher
Selected ESP32-S3 as the board
Flash process completed successfully" The issue may be related to the flash your installing but i can not say this is 100% But maybe you should try to install one of the CYD flashes as you have done a clean ESP32.S3 installment... And that may not fit in 100% with your device.... Is it a WROOM BOARD or ? …
So according to my analysis:
you can install espS3 firmware from flash website But by default, pins are not configured. The one you install from ESP32-S3 from the website is in headless mode.
We cannot install CYD firmware into the ESP32-S3 model, and unfortunately, only CYD firmware will have the pinouts that we can mock with ESP32-S3 We can go for the Smoothie version, but the display used is different Finally, the only way is to edit config.ini for the board and compile it
In this case, I would suggest that the team could update an ESP32-S3 flasher online with some prompts for drivers and pinouts of typical screens and modules. That should significantly help the community of NOOB DIYers like myself ✌️.
Before diving deeper, I should mention that using a custom User_Setup.h configuration in the TFT_eSPI library and the Arduino IDE, I was able to successfully build and run a test sketch on my hardware (ESP32-S3-DevKitC-1-N16R8 with a 2.4" TFT ILI9341 display). This confirmed that my wiring and SPI pin mapping are functional. The hardware pinout details were shared earlier in this thread.
Now, I’m looking to properly adapt the Bruce Firmware to this setup, keeping full compatibility with the logic , and respecting the structure of the original project.
What I’d like to ask the maintainers or advanced users is:
Which files should be modified to adapt Bruce to a custom board like the ESP32-S3-DevKitC-1-N16R8? For example, is configPins.h sufficient to configure GPIO mappings for SPI, screen, RF, buttons, etc.?
Is it possible (or advisable) to select an existing [env] in platformio.ini (like one of the M5Stack or LilyGo entries) and only adjust the pinout and screen driver from there? Or do we need to create a new [env:custom_esp32s3] from scratch?
Where is the screen driver and rendering logic actually tied to the environment configuration?
The ultimate goal is to use same approach on this as already used on the CYD boards. A “change this and that” kind of guide would be much appreciated – just a step-by-step on what files to tweak and where to wire things up would really help us DIYers find our way in the firmware jungle😅
Thanks in advance for any help or pointers from the team or experienced contributors 🙏
In this case, I would suggest that the team could update an ESP32-S3 flasher online with some prompts for drivers and pinouts of typical screens and modules. That should significantly help the community of NOOB DIYers like myself ✌️.
Before diving deeper, I should mention that using a custom User_Setup.h configuration in the TFT_eSPI library and the Arduino IDE, I was able to successfully build and run a test sketch on my hardware (ESP32-S3-DevKitC-1-N16R8 with a 2.4" TFT ILI9341 display). This confirmed that my wiring and SPI pin mapping are functional. The hardware pinout details were shared earlier in this thread.
Now, I’m looking to properly adapt the Bruce Firmware to this setup, keeping full compatibility with the logic , and respecting the structure of the original project.
What I’d like to ask the maintainers or advanced users is:
Which files should be modified to adapt Bruce to a custom board like the ESP32-S3-DevKitC-1-N16R8? For example, is configPins.h sufficient to configure GPIO mappings for SPI, screen, RF, buttons, etc.?
Is it possible (or advisable) to select an existing [env] in platformio.ini (like one of the M5Stack or LilyGo entries) and only adjust the pinout and screen driver from there? Or do we need to create a new [env:custom_esp32s3] from scratch?
Where is the screen driver and rendering logic actually tied to the environment configuration?
The ultimate goal is to use same approach on this as already used on the CYD boards. A “change this and that” kind of guide would be much appreciated – just a step-by-step on what files to tweak and where to wire things up would really help us DIYers find our way in the firmware jungle😅
Thanks in advance for any help or pointers from the team or experienced contributors 🙏
In Boards -> ESP General you can find esp32-s3-dev-kit env we just have modify the pins and flash size but the problem is I am facing many issue while recompiling into bin
there's no clear documentation or tutorial to compile the bin
I am getting errors like :-
- Dependences Errors
- Bootloader Errors
Like you said Maintainers of this project should give any defaults bin for this s3 Dev kits
In Boards -> ESP General you can find esp32-s3-dev-kit env we just have modify the pins and flash size but the problem is I am facing many issue while recompiling into bin
there's no clear documentation or tutorial to compile the bin
I am getting errors like :-
- Dependences Errors
- Bootloader Errors
Like you said Maintainers of this project should give any defaults bin for this s3 Dev kits
Did you make any changes to the ESP-General.ini file? Or to any of these files \boards\ESP-General: ESP-General.ini interface.cpp pins_arduino.h
I also noticed some warnings (highlighted in yellow) during the build in PlatformIO, but it ends with “Success” anyway…
I’ve already tried using both [env:esp32-s3-devkitc-1-psram] and the one without PSRAM (my ESP32 does have PSRAM), but I still couldn’t get anything to show up on the screen — no backlight or signs of life.
In Boards -> ESP General you can find esp32-s3-dev-kit env we just have modify the pins and flash size but the problem is I am facing many issue while recompiling into bin there's no clear documentation or tutorial to compile the bin I am getting errors like :-
- Dependences Errors
- Bootloader Errors
Like you said Maintainers of this project should give any defaults bin for this s3 Dev kits
Did you make any changes to the ESP-General.ini file? Or to any of these files \boards\ESP-General: ESP-General.ini interface.cpp pins_arduino.h
I also noticed some warnings (highlighted in yellow) during the build in PlatformIO, but it ends with “Success” anyway…
I’ve already tried using both [env:esp32-s3-devkitc-1-psram] and the one without PSRAM (my ESP32 does have PSRAM), but I still couldn’t get anything to show up on the screen — no backlight or signs of life.
I tired all combination of editing files
First I tried editing esp_general.ini then pin_arundio then user_setup then board_json
But still I can’t succeed but build is successful
One thing I can say from the warning msg is user_setup needs to be configured by ourself because tft pins are redefined even after configuring esp general.ini you can check those redefined warning msg while compiling.
To debug your build open serial monitor from arudino ide and connect esp you will get those logs . With those logs modify the code again deploy
Repeat until success
I m trying my best we really need someone expert in this.
I tired all combination of editing files
First I tried editing esp_general.ini then pin_arundio then user_setup then board_json
But still I can’t succeed but build is successful
One thing I can say from the warning msg is user_setup needs to be configured by ourself because tft pins are redefined even after configuring esp general.ini you can check those redefined warning msg while compiling.
To debug your build open serial monitor from arudino ide and connect esp you will get those logs . With those logs modify the code again deploy
Repeat until success
I m trying my best we really need someone expert in this.
Maybe we also need to tweak the TFT_eSPI configuration files, since in the Arduino IDE the screen only works using a custom User_Setup.h with the correct pin mapping.
But for sure more dependencies and files need to be adjusted
Honestly, we’ll need some expert guidance here 😅🙏
I tired all combination of editing files First I tried editing esp_general.ini then pin_arundio then user_setup then board_json But still I can’t succeed but build is successful One thing I can say from the warning msg is user_setup needs to be configured by ourself because tft pins are redefined even after configuring esp general.ini you can check those redefined warning msg while compiling. To debug your build open serial monitor from arudino ide and connect esp you will get those logs . With those logs modify the code again deploy Repeat until success I m trying my best we really need someone expert in this.
Maybe we also need to tweak the TFT_eSPI configuration files, since in the Arduino IDE the screen only works using a custom User_Setup.h with the correct pin mapping.
But for sure more dependencies and files need to be adjusted
Honestly, we’ll need some expert guidance here 😅🙏
Share your discord id we will connect.
Share your discord id we will connect.
g_viegas
[UPDATE] – Build Partially Working but still need some support!!!
Thanks for the tips, @sivabala21! 🙏
Here’s a concise update on the changes and trials we’ve made so far:
1 – Selected [env] smoochiee-board.
2 – Created a custom pin mapping in boards/smoochiee-board/pins_arduino.h to match our ESP32‑S3 hardware on this custom build:
#define ILI9341_DRIVER 1 // Changed to match screen driver
#define TFT_RST 17
#define TFT_DC 16
#define TFT_MISO 19
#define TFT_MOSI 21
#define TFT_SCLK 18
#define TFT_CS 5
#define TOUCH_CS 14 // SDCARD_CS to ensure SD card works
#define HAS_TOUCH 1
3 – Physical buttons have been disabled by setting SEL_BTN, UP_BTN, DW_BTN, R_BTN, and L_BTN to –1. In boards/smoochiee-board/interface.cpp, to avoid random menu navigation, we modified the code as follows:
void _setup_gpio() {
if (UP_BTN >= 0) pinMode(UP_BTN, INPUT);
if (SEL_BTN >= 0) pinMode(SEL_BTN, INPUT);
if (DW_BTN >= 0) pinMode(DW_BTN, INPUT);
if (R_BTN >= 0) pinMode(R_BTN, INPUT);
if (L_BTN >= 0) pinMode(L_BTN, INPUT);
(...)
}
void InputHandler(void) {
static unsigned long tm = 0;
if (millis() - tm < 200 && !LongPress) return;
bool _u = (UP_BTN >= 0) ? digitalRead(UP_BTN) : BTN_ACT;
bool _d = (DW_BTN >= 0) ? digitalRead(DW_BTN) : BTN_ACT;
bool _l = (L_BTN >= 0) ? digitalRead(L_BTN) : BTN_ACT;
bool _r = (R_BTN >= 0) ? digitalRead(R_BTN) : BTN_ACT;
bool _s = (SEL_BTN >= 0) ? digitalRead(SEL_BTN) : BTN_ACT;
(...)
}
This update to the InputHandler() logic allows the system to ignore button inputs if the pin is disabled (–1), which solved the random menu navigation issue.
4 – Successfully flashed the Bruce firmware to our board without build errors.
[HELP NEEDED]
At this stage, the display colors are still inverted (likely due to an RGB/BGR swap), and touch input isn’t working yet.
🔹 Inverted Colors We’ve already tried to change, add, or remove several configuration options: TFT_RGB_ORDER bruceConfig.colorInverted = 1; -DTFT_INVERSION_OFF -DTFT_RGB_ORDER=TFT_BGR …but none were able to correct the color inversion.
🔹 Touch Input We attempted to adapt the touchscreen initialization and driver logic from the marauder-touch board (interface.cpp and pins_arduino.h) without success.
Any other suggestions? .
[UPDATE] – Build Partially Working but still need some support!!!
Thanks for the tips, @sivabala21! 🙏
Here’s a concise update on the changes and trials we’ve made so far:
1 – Selected [env] smoochiee-board.
2 – Created a custom pin mapping in boards/smoochiee-board/pins_arduino.h to match our ESP32‑S3 hardware on this custom build:
#define ILI9341_DRIVER 1 // Changed to match screen driver #define TFT_RST 17 #define TFT_DC 16 #define TFT_MISO 19 #define TFT_MOSI 21 #define TFT_SCLK 18 #define TFT_CS 5 #define TOUCH_CS 14 // SDCARD_CS to ensure SD card works #define HAS_TOUCH 13 – Physical buttons have been disabled by setting SEL_BTN, UP_BTN, DW_BTN, R_BTN, and L_BTN to –1. In boards/smoochiee-board/interface.cpp, to avoid random menu navigation, we modified the code as follows:
void _setup_gpio() { if (UP_BTN >= 0) pinMode(UP_BTN, INPUT); if (SEL_BTN >= 0) pinMode(SEL_BTN, INPUT); if (DW_BTN >= 0) pinMode(DW_BTN, INPUT); if (R_BTN >= 0) pinMode(R_BTN, INPUT); if (L_BTN >= 0) pinMode(L_BTN, INPUT); (...) } void InputHandler(void) { static unsigned long tm = 0; if (millis() - tm < 200 && !LongPress) return; bool _u = (UP_BTN >= 0) ? digitalRead(UP_BTN) : BTN_ACT; bool _d = (DW_BTN >= 0) ? digitalRead(DW_BTN) : BTN_ACT; bool _l = (L_BTN >= 0) ? digitalRead(L_BTN) : BTN_ACT; bool _r = (R_BTN >= 0) ? digitalRead(R_BTN) : BTN_ACT; bool _s = (SEL_BTN >= 0) ? digitalRead(SEL_BTN) : BTN_ACT; (...) }This update to the InputHandler() logic allows the system to ignore button inputs if the pin is disabled (–1), which solved the random menu navigation issue.
4 – Successfully flashed the Bruce firmware to our board without build errors.
[HELP NEEDED]
At this stage, the display colors are still inverted (likely due to an RGB/BGR swap), and touch input isn’t working yet.
🔹 Inverted Colors We’ve already tried to change, add, or remove several configuration options: TFT_RGB_ORDER bruceConfig.colorInverted = 1; -DTFT_INVERSION_OFF -DTFT_RGB_ORDER=TFT_BGR …but none were able to correct the color inversion.
🔹 Touch Input We attempted to adapt the touchscreen initialization and driver logic from the marauder-touch board (interface.cpp and pins_arduino.h) without success.
Any other suggestions? .
![]()
help me sir. I tried to build bruce firmware by changing the tft dc pin to 16 for cyd 2432S028 but failed. here is the error log
Linking .pio\build\CYD-2432S028\firmware.elf c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 collect2.exe: error: ld returned 1 exit status *** [.pio\build\CYD-2432S028\firmware.elf] Error 1
[UPDATE] – Build Partially Working but still need some support!!! Thanks for the tips, @sivabala21! 🙏 Here’s a concise update on the changes and trials we’ve made so far: 1 – Selected [env] smoochiee-board. 2 – Created a custom pin mapping in boards/smoochiee-board/pins_arduino.h to match our ESP32‑S3 hardware on this custom build:
#define ILI9341_DRIVER 1 // Changed to match screen driver #define TFT_RST 17 #define TFT_DC 16 #define TFT_MISO 19 #define TFT_MOSI 21 #define TFT_SCLK 18 #define TFT_CS 5 #define TOUCH_CS 14 // SDCARD_CS to ensure SD card works #define HAS_TOUCH 13 – Physical buttons have been disabled by setting SEL_BTN, UP_BTN, DW_BTN, R_BTN, and L_BTN to –1. In boards/smoochiee-board/interface.cpp, to avoid random menu navigation, we modified the code as follows:
void _setup_gpio() { if (UP_BTN >= 0) pinMode(UP_BTN, INPUT); if (SEL_BTN >= 0) pinMode(SEL_BTN, INPUT); if (DW_BTN >= 0) pinMode(DW_BTN, INPUT); if (R_BTN >= 0) pinMode(R_BTN, INPUT); if (L_BTN >= 0) pinMode(L_BTN, INPUT); (...) } void InputHandler(void) { static unsigned long tm = 0; if (millis() - tm < 200 && !LongPress) return; bool _u = (UP_BTN >= 0) ? digitalRead(UP_BTN) : BTN_ACT; bool _d = (DW_BTN >= 0) ? digitalRead(DW_BTN) : BTN_ACT; bool _l = (L_BTN >= 0) ? digitalRead(L_BTN) : BTN_ACT; bool _r = (R_BTN >= 0) ? digitalRead(R_BTN) : BTN_ACT; bool _s = (SEL_BTN >= 0) ? digitalRead(SEL_BTN) : BTN_ACT; (...) }This update to the InputHandler() logic allows the system to ignore button inputs if the pin is disabled (–1), which solved the random menu navigation issue. 4 – Successfully flashed the Bruce firmware to our board without build errors. [HELP NEEDED] At this stage, the display colors are still inverted (likely due to an RGB/BGR swap), and touch input isn’t working yet. 🔹 Inverted Colors We’ve already tried to change, add, or remove several configuration options: TFT_RGB_ORDER bruceConfig.colorInverted = 1; -DTFT_INVERSION_OFF -DTFT_RGB_ORDER=TFT_BGR …but none were able to correct the color inversion. 🔹 Touch Input We attempted to adapt the touchscreen initialization and driver logic from the marauder-touch board (interface.cpp and pins_arduino.h) without success. Any other suggestions? .
![]()
help me sir. I tried to build bruce firmware by changing the tft dc pin to 16 for cyd 2432S028 but failed. here is the error log
Linking .pio\build\CYD-2432S028\firmware.elf c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 collect2.exe: error: ld returned 1 exit status *** [.pio\build\CYD-2432S028\firmware.elf] Error 1
If your looking to install bruce in esp32s3 with ili9341
https://github.com/sivabala21/Bruce/tree/main/boards/lord-board
Build this firmware
[UPDATE] – Build Partially Working but still need some support!!! Thanks for the tips, @sivabala21! 🙏 Here’s a concise update on the changes and trials we’ve made so far: 1 – Selected [env] smoochiee-board. 2 – Created a custom pin mapping in boards/smoochiee-board/pins_arduino.h to match our ESP32‑S3 hardware on this custom build:
#define ILI9341_DRIVER 1 // Changed to match screen driver #define TFT_RST 17 #define TFT_DC 16 #define TFT_MISO 19 #define TFT_MOSI 21 #define TFT_SCLK 18 #define TFT_CS 5 #define TOUCH_CS 14 // SDCARD_CS to ensure SD card works #define HAS_TOUCH 13 – Physical buttons have been disabled by setting SEL_BTN, UP_BTN, DW_BTN, R_BTN, and L_BTN to –1. In boards/smoochiee-board/interface.cpp, to avoid random menu navigation, we modified the code as follows:
void _setup_gpio() { if (UP_BTN >= 0) pinMode(UP_BTN, INPUT); if (SEL_BTN >= 0) pinMode(SEL_BTN, INPUT); if (DW_BTN >= 0) pinMode(DW_BTN, INPUT); if (R_BTN >= 0) pinMode(R_BTN, INPUT); if (L_BTN >= 0) pinMode(L_BTN, INPUT); (...) } void InputHandler(void) { static unsigned long tm = 0; if (millis() - tm < 200 && !LongPress) return; bool _u = (UP_BTN >= 0) ? digitalRead(UP_BTN) : BTN_ACT; bool _d = (DW_BTN >= 0) ? digitalRead(DW_BTN) : BTN_ACT; bool _l = (L_BTN >= 0) ? digitalRead(L_BTN) : BTN_ACT; bool _r = (R_BTN >= 0) ? digitalRead(R_BTN) : BTN_ACT; bool _s = (SEL_BTN >= 0) ? digitalRead(SEL_BTN) : BTN_ACT; (...) }This update to the InputHandler() logic allows the system to ignore button inputs if the pin is disabled (–1), which solved the random menu navigation issue. 4 – Successfully flashed the Bruce firmware to our board without build errors. [HELP NEEDED] At this stage, the display colors are still inverted (likely due to an RGB/BGR swap), and touch input isn’t working yet. 🔹 Inverted Colors We’ve already tried to change, add, or remove several configuration options: TFT_RGB_ORDER bruceConfig.colorInverted = 1; -DTFT_INVERSION_OFF -DTFT_RGB_ORDER=TFT_BGR …but none were able to correct the color inversion. 🔹 Touch Input We attempted to adapt the touchscreen initialization and driver logic from the marauder-touch board (interface.cpp and pins_arduino.h) without success. Any other suggestions? .
![]()
help me sir. I tried to build bruce firmware by changing the tft dc pin to 16 for cyd 2432S028 but failed. here is the error log Linking .pio\build\CYD-2432S028\firmware.elf c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 collect2.exe: error: ld returned 1 exit status *** [.pio\build\CYD-2432S028\firmware.elf] Error 1
If your looking to install bruce in esp32s3 with ili9341
https://github.com/sivabala21/Bruce/tree/main/boards/lord-board
Build this firmware
no. I want to build bruce with esp32 wroom32.
[UPDATE] – Build Partially Working but still need some support!!! Thanks for the tips, @sivabala21! 🙏 Here’s a concise update on the changes and trials we’ve made so far: 1 – Selected [env] smoochiee-board. 2 – Created a custom pin mapping in boards/smoochiee-board/pins_arduino.h to match our ESP32‑S3 hardware on this custom build:
#define ILI9341_DRIVER 1 // Changed to match screen driver #define TFT_RST 17 #define TFT_DC 16 #define TFT_MISO 19 #define TFT_MOSI 21 #define TFT_SCLK 18 #define TFT_CS 5 #define TOUCH_CS 14 // SDCARD_CS to ensure SD card works #define HAS_TOUCH 13 – Physical buttons have been disabled by setting SEL_BTN, UP_BTN, DW_BTN, R_BTN, and L_BTN to –1. In boards/smoochiee-board/interface.cpp, to avoid random menu navigation, we modified the code as follows:
void _setup_gpio() { if (UP_BTN >= 0) pinMode(UP_BTN, INPUT); if (SEL_BTN >= 0) pinMode(SEL_BTN, INPUT); if (DW_BTN >= 0) pinMode(DW_BTN, INPUT); if (R_BTN >= 0) pinMode(R_BTN, INPUT); if (L_BTN >= 0) pinMode(L_BTN, INPUT); (...) } void InputHandler(void) { static unsigned long tm = 0; if (millis() - tm < 200 && !LongPress) return; bool _u = (UP_BTN >= 0) ? digitalRead(UP_BTN) : BTN_ACT; bool _d = (DW_BTN >= 0) ? digitalRead(DW_BTN) : BTN_ACT; bool _l = (L_BTN >= 0) ? digitalRead(L_BTN) : BTN_ACT; bool _r = (R_BTN >= 0) ? digitalRead(R_BTN) : BTN_ACT; bool _s = (SEL_BTN >= 0) ? digitalRead(SEL_BTN) : BTN_ACT; (...) }This update to the InputHandler() logic allows the system to ignore button inputs if the pin is disabled (–1), which solved the random menu navigation issue. 4 – Successfully flashed the Bruce firmware to our board without build errors. [HELP NEEDED] At this stage, the display colors are still inverted (likely due to an RGB/BGR swap), and touch input isn’t working yet. 🔹 Inverted Colors We’ve already tried to change, add, or remove several configuration options: TFT_RGB_ORDER bruceConfig.colorInverted = 1; -DTFT_INVERSION_OFF -DTFT_RGB_ORDER=TFT_BGR …but none were able to correct the color inversion. 🔹 Touch Input We attempted to adapt the touchscreen initialization and driver logic from the marauder-touch board (interface.cpp and pins_arduino.h) without success. Any other suggestions? .
![]()
help me sir. I tried to build bruce firmware by changing the tft dc pin to 16 for cyd 2432S028 but failed. here is the error log Linking .pio\build\CYD-2432S028\firmware.elf c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 collect2.exe: error: ld returned 1 exit status *** [.pio\build\CYD-2432S028\firmware.elf] Error 1
If your looking to install bruce in esp32s3 with ili9341 https://github.com/sivabala21/Bruce/tree/main/boards/lord-board Build this firmware
no. I want to build bruce with esp32 wroom32.
Then this not branch to speak about the issue
[UPDATE] – Build Partially Working but still need some support!!! Thanks for the tips, @sivabala21! 🙏 Here’s a concise update on the changes and trials we’ve made so far: 1 – Selected [env] smoochiee-board. 2 – Created a custom pin mapping in boards/smoochiee-board/pins_arduino.h to match our ESP32‑S3 hardware on this custom build:
#define ILI9341_DRIVER 1 // Changed to match screen driver #define TFT_RST 17 #define TFT_DC 16 #define TFT_MISO 19 #define TFT_MOSI 21 #define TFT_SCLK 18 #define TFT_CS 5 #define TOUCH_CS 14 // SDCARD_CS to ensure SD card works #define HAS_TOUCH 13 – Physical buttons have been disabled by setting SEL_BTN, UP_BTN, DW_BTN, R_BTN, and L_BTN to –1. In boards/smoochiee-board/interface.cpp, to avoid random menu navigation, we modified the code as follows:
void _setup_gpio() { if (UP_BTN >= 0) pinMode(UP_BTN, INPUT); if (SEL_BTN >= 0) pinMode(SEL_BTN, INPUT); if (DW_BTN >= 0) pinMode(DW_BTN, INPUT); if (R_BTN >= 0) pinMode(R_BTN, INPUT); if (L_BTN >= 0) pinMode(L_BTN, INPUT); (...) } void InputHandler(void) { static unsigned long tm = 0; if (millis() - tm < 200 && !LongPress) return; bool _u = (UP_BTN >= 0) ? digitalRead(UP_BTN) : BTN_ACT; bool _d = (DW_BTN >= 0) ? digitalRead(DW_BTN) : BTN_ACT; bool _l = (L_BTN >= 0) ? digitalRead(L_BTN) : BTN_ACT; bool _r = (R_BTN >= 0) ? digitalRead(R_BTN) : BTN_ACT; bool _s = (SEL_BTN >= 0) ? digitalRead(SEL_BTN) : BTN_ACT; (...) }This update to the InputHandler() logic allows the system to ignore button inputs if the pin is disabled (–1), which solved the random menu navigation issue. 4 – Successfully flashed the Bruce firmware to our board without build errors. [HELP NEEDED] At this stage, the display colors are still inverted (likely due to an RGB/BGR swap), and touch input isn’t working yet. 🔹 Inverted Colors We’ve already tried to change, add, or remove several configuration options: TFT_RGB_ORDER bruceConfig.colorInverted = 1; -DTFT_INVERSION_OFF -DTFT_RGB_ORDER=TFT_BGR …but none were able to correct the color inversion. 🔹 Touch Input We attempted to adapt the touchscreen initialization and driver logic from the marauder-touch board (interface.cpp and pins_arduino.h) without success. Any other suggestions? .
![]()
help me sir. I tried to build bruce firmware by changing the tft dc pin to 16 for cyd 2432S028 but failed. here is the error log Linking .pio\build\CYD-2432S028\firmware.elf c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 c:/users/mas dek/.platformio/packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find -lnet80211 collect2.exe: error: ld returned 1 exit status *** [.pio\build\CYD-2432S028\firmware.elf] Error 1
If your looking to install bruce in esp32s3 with ili9341 https://github.com/sivabala21/Bruce/tree/main/boards/lord-board Build this firmware
no. I want to build bruce with esp32 wroom32.
Then this not branch to speak about the issue
please. Can you help me build firmware bruce CYD-2432S028 for esp32 wroom32 by changing pin tft dc 2 to 16. thanks
On my first attempt, even though I was able to flash the firmware and the buttons were functional, not all of Bruce's functions worked correctly. The C1101 module had conflicts, and other functions caused the screen to go black. I decided to move on to a second attempt, respecting the definitions of the Smoochie board and the schematics of ARTFOR as much as possible.
Problem 1: Random Menu Navigation The random menu navigation problem now occurs even when the buttons are physically disconnected. I've tried setting the buttons to "high" in the code. Sometimes I can achieve stability by isolating one of the buttons, but I can't get all five buttons to work simultaneously without the random navigation issue.
Image/Schematics:
My ESP-S3 board is not exactly the same as the one typically used, which might be part of the problem.
Next Steps & Questions: Why are the menus entering random navigation? Is this a hardware issue? Should I swap some of the pin connections? Do I need to change something in the code to handle my specific ESP32-S3 board?
Problem 2: RC522 Module Integration Additionally, I'd like to explore the possibility of integrating an RC522 module on the S3, similar to how it's used in the M5stick. I'm looking for guidance on how to: Connect the RC522 to my setup. Modify the firmware to support its functions.
Any help or insights on either of these issues would be greatly appreciated. Thanks in advance!
hello, the link is dead, can you reopen it please ? tysm
Alguma alma caridosa poderia me ajudar
