Skip to content

fix(xiao_s3_wio): companion Wi-Fi build after the upstream UI move - #48

Merged
Elektr0Vodka merged 1 commit into
dmc-devfrom
fix/dmc-dev-xiao-s3-wio-companion-wifi-gfx
Nov 23, 2026
Merged

Elektr0Vodka merged 1 commit into
dmc-devfrom
fix/dmc-dev-xiao-s3-wio-companion-wifi-gfx

Conversation

@Elektr0Vodka

Copy link
Copy Markdown

Xiao_S3_WIO_companion_radio_wifi (DISPLAY_CLASS=NullDisplayDriver, companion-orig UI) stopped building after the upstream/dev ae283810 sync (#44). Plain upstream/dev fails the same way. The v1.18.0.1 dmc-companion-dev release (run 45096564290) left this board out.

Three gaps from upstream's UI move:

  • target.cpp now creates the display, but variants/xiao_s3_wio/target.h never included NullDisplayDriver.h.
  • target.h includes SSD1306Display.h for any display. PlatformIO's library finder no longer picks up Adafruit GFX for this env, so it now names adafruit/Adafruit SSD1306 @ ^2.5.13 (which pulls GFX in), like the other SSD1306 boards.
  • companion-orig/UITask.cpp uses LED_STATE_ON without a default. It gets the same default companion-new/UITask.h already has. The other companion-orig boards define it themselves and built fine in the same run.

Testing

  • Built Xiao_S3_WIO_companion_radio_wifi, Xiao_S3_WIO_companion_radio_ble and Xiao_S3_WIO_repeater locally.
  • Not tested on hardware.

These are upstream bugs too, so they're worth reporting upstream. After merging, rerun the release button with firmware=companion, channel=dev to put this board back in dmc-companion-dev.

Xiao_S3_WIO_companion_radio_wifi (DISPLAY_CLASS=NullDisplayDriver,
companion-orig UI) also fails on upstream/dev ae28381:
- target.cpp now creates the display, but target.h did not include
  NullDisplayDriver.h.
- target.h includes SSD1306Display.h for any display; the library finder no
  longer picks up Adafruit GFX for this env, so name Adafruit SSD1306.
- companion-orig/UITask.cpp uses LED_STATE_ON without a default; give it the
  same default as companion-new/UITask.h.

The v1.18.0.1 companion dev release (run 45096564290) left this board out.
@Elektr0Vodka
Elektr0Vodka merged commit f1aabf3 into dmc-dev Nov 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant