Repository navigation
Conversation
907a2c0 to
79b19ed
Compare
|
@tyeth You mentioned there are some nesso changes which are v1-related, and the nesso board support is v2-related. This PR merges into |
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Unpublished board metadata, non-reproducible dependencies, truncated expander-pin IDs, and display side effects prevent reliable support.
Review effort: Balanced
Findings: 2
Open (5)
Mutable framework dependency makes Nesso builds unreproducible · New Nesso expander pin IDs are truncated and not routed · New CI uses an unpublished, unmerged Nesso board definition · New External ST7789 destruction incorrectly disables built-in backlight · New Nesso-N1 incorrectly identifies the ESP32-C6 as an ESP32-C5 · New
What changed in this PR
Adds Arduino Nesso-N1 ESP32-C6 support, including provisioning, display, battery, status LED, filesystem, PlatformIO, and CI integration.
Changes:
- Adds Nesso board configuration and build targets.
- Integrates onboard display, battery reporting, and expander-backed hardware.
- Extends status LED handling for inverted LEDs.
| File | Description |
|---|---|
src/Wippersnapper.h |
Declares Nesso battery instance. |
src/Wippersnapper.cpp |
Adds board-specific power initialization. |
src/Wippersnapper_Boards.h |
Defines Nesso board capabilities. |
src/provisioning/tinyusb/Wippersnapper_FS.cpp |
Formatting-only updates. |
src/provisioning/littlefs/WipperSnapper_LittleFS.cpp |
Enables Nesso LittleFS provisioning. |
src/components/statusLED/Wippersnapper_StatusLED.cpp |
Supports inverted and expander LEDs. |
src/components/pwm/ws_pwm.cpp |
Adds inverted PWM handling. |
src/components/display/drivers/dispDrvSt7789.h |
Adds onboard display and battery support. |
src/components/display/drivers/dispDrvBase.h |
Extends the battery-icon interface. |
src/components/display/controller.cpp |
Reports Nesso battery level. |
src/components/display/assets/icons.h |
Adds battery-level icons. |
src/components/digitalIO/Wippersnapper_DigitalGPIO.h |
Declares expander-pin services. |
src/components/digitalIO/Wippersnapper_DigitalGPIO.cpp |
Implements expander-pin services. |
platformio.ini |
Adds Nesso dependencies and environment. |
examples/Wippersnapper_demo/.arduino_nesso_n1.generate |
Enables demo generation. |
examples/wippersnapper_debug/.arduino_nesso_n1.test.skip |
Skips the debug example. |
.github/workflows/build-clang-doxy.yml |
Adds Nesso CI builds. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| ; Common build environment for ESP32 platform | ||
| [common:esp32] | ||
| platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.33/platform-espressif32.zip | ||
| platform = https://github.com/tyeth/platform-espressif32/releases/download/55.03.33-nesso.1/platform-espressif32-55.03.33-nesso.1.zip |
| int digitalReadSvc(ExpanderPin pinName); | ||
| void digitalWriteSvc(ExpanderPin pinName, int pinValue); |
| with: | ||
| repository: adafruit/Wippersnapper_Boards | ||
| path: ws-boards | ||
| ref: arduino-nesso-n1 |
| #elif defined(ARDUINO_ARDUINO_NESSO_N1) | ||
| digitalWrite(LCD_BACKLIGHT, LOW); |
| board_build.filesystem = littlefs | ||
| board_build.partitions = min_spiffs.csv | ||
|
|
||
| ; Arduino Nesso-N1 (Espressif ESP32-C5 16MB FLASH) |
Yep, intention is to leave only the status bar battery icon changes, as expander pins are a v2 concept. |
|
@tyeth OK - is this PR ready for review then? |



Needs boards repo entry before will compile in CI. Expected to fail, will retry job after adding board definition.
Compiles locally with arduino-cli and platformIO.
PlatformIO needs this PR: pioarduino/platform-espressif32#345
or this release: https://github.com/tyeth/platform-espressif32/releases/tag/55.03.33-nesso.1 [Updated Variant]
Closes adafruit/Wippersnapper_Boards#223