Urgent.News

What's breaking now, across hundreds of outlets.

Tech

I added my ESP32 board to Arduino, CircuitPython, Zephyr and PlatformIO. Each one found a different bug in my assumptions.

I build Ava , my desk gadget, on a Waveshare ESP32-S3-Touch-AMOLED-1.75C : a round 466x466 AMOLED, 32 MB of flash, 8 MB of octal PSRAM, a touch panel, a PMU, audio codecs and an IMU, all in a little metal puck. When I went to use it outside my own firmware, I found that none of the big embedded platforms supported it . No Arduino board entry, no CircuitPython build, no Zephyr board, no PlatformIO…

I constructed Ava, my desk gadget, on a Waveshare ESP32-S3-Touch-AMOLED-1.75C. This compact device houses a 466x466 AMOLED display, 32 MB of flash memory, 8 MB of octal PSRAM, a touch panel, a PMU, audio codecs, and an IMU. Despite its impressive components, none of the major embedded platforms supported it, leading me to submit it to Arduino, CircuitPython, Zephyr, and PlatformIO over a two-week period. Each platform discovered different bugs in my assumptions about the board.

Arduino's boards.txt entry and pins_arduino.h file failed to capture the nuances between the 1.75 and 1.75C boards. My initial assumption that these boards were identical proved incorrect. The automated reviewer also found issues in my code, such as an incorrect SD card macro and an erroneous option for the Max APP size. I learned that vendor examples often mask the actual hardware connections, and that reading the schematic is crucial for correct implementation.

CircuitPython, while it drove the display on my board, displayed a red square instead of green. This issue stemmed from a reversal in the order of the RGB565 color bytes. Additionally, CircuitPython required a unique USB PID for my board, which I obtained from Espressif's usb-pids registry. Zephyr, on the other hand, struggled to wake the display from sleep mode due to a logical error in the reset sequence. Finally, enabling MCUboot on my board caused issues with the bootloader, necessitating the removal of specific lines.

These experiences taught me the importance of thoroughly examining the schematic rather than relying solely on vendor examples. It also highlighted the necessity of testing my hardware implementation and addressing issues promptly. By learning from these platforms, I improved the functionality and reliability of Ava.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

More from Monday, 30 November 2026 →