Skip to content

Uno Q: master reports a version older than the 3.10.5 release, and CI never builds the real ArduinoCore-zephyr core #4442

Closed

Description

@zackees

Follow-up to #4408 and #4416 (Reddit report from an Arduino UNO Q user who installed master from the GitHub ZIP and still got compile errors).

What happened

The reporter installed master correctly on Sep 13. It failed anyway, because #4410 only fixed the first layer of errors (CoreDebug_Type / DWT_Type / COMP1); the next layer — Zephyr's min3() macro from <zephyr/sys/util.h> clobbering the helper in src/fl/gfx/rgbw.cpp.hpp — was only fixed on Sep 17 in #4422. Both bugs reached users for the same reason, and the reporter was additionally confused by a version label. Two defects remain:

1. master identifies itself as 3.10.4, below the published 3.10.5

File master tag 3.10.5
library.properties 3.10.4 3.10.5
library.json 3.10.3 3.10.5
src/FastLED.h FASTLED_VERSION 3010004 —
release_notes.md heading FastLED 3.10.4 (Next Release) FastLED 3.10.4

Cause: #3345 reset the tree to the 3.10.4 state, 3.10.5 was tagged from that, and #3347 restored the old master tree — including its pre-release version strings.

Effect: a correct master install shows up in the Arduino IDE as "3.10.4" (the reporter asked about exactly this), looks like an old release, and the Library Manager offers to "update" it to 3.10.5 — which is the broken release for this board.

2. The arduino_uno_q CI job does not build the core UNO Q users have

ci/boards.py builds arduino_uno_q with the STM32duino STM32U585 toolchain, with a comment saying no ArduinoCore-zephyr UNO Q platform is published. That is no longer true: arduino:zephyr 1.0.0 ("Arduino Q Boards", FQBN arduino:zephyr:unoq) is in the default Arduino package index, and it is what the IDE installs. Its Arduino.h pulls in Zephyr kernel headers and CMSIS 6, which is where both collisions came from; the STM32duino surrogate has neither, so CI stayed green through both bugs.

Reproduction (Linux, arduino-cli 1.4.1, arduino:zephyr 1.0.0, Arduino_RouterBridge 0.4.3)

Sketch is the reporter's: #include <FastLED.h> plus empty setup()/loop().

FastLED Result
3.10.5 release fails — the original #4408 errors
master @ f42389e908 compiles (86,776 bytes flash); a WS2812B addLeds + show() blink also compiles (151,624 bytes)

Core install plus compile took a few minutes, so a real job is affordable.

Proposed fix

  1. Move master's version strings past the published release (3.10.6) in all four places above.
  2. Add a CI job that compiles an example with arduino-cli for arduino:zephyr:unoq, and correct the stale comment in ci/boards.py. This is a compile check only — board builds and deploys stay on fbuild. Related: ci: investigate adding arduino-cli as a third backend for cross-toolchain comparison #2412.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions