Skip to content

xiaoble_adafruit, xiaoblesense_adafruit: board is in the database, its variant is not in the framework (2.5.51) #2017

Closed

Description

@stevenmunn312-tech

Summary

fbuild 2.5.51 knows board = xiaoble_adafruit (Seeed XIAO BLE nRF52840, added for #293) and cannot build it: the board names the variant Seeed_XIAO_nRF52840, and the Adafruit nRF52 framework fbuild fetches (arduinoadafruitnrf52 1.10601.0) has no such variant folder, so the core stops at variant.h.

Reproduce

platformio.ini:

[env:xiaoble_adafruit]
platform = nordicnrf52
board = xiaoble_adafruit
framework = arduino

src/main.cpp:

#include <Arduino.h>
void setup() { pinMode(LED_BUILTIN, OUTPUT); }
void loop() { digitalWrite(LED_BUILTIN, HIGH); delay(500); digitalWrite(LED_BUILTIN, LOW); delay(500); }
$ fbuild <project> build -e xiaoble_adafruit -v --no-timestamp
Board: Seeed XIAO BLE nRF52840 / NRF52840 @ 64MHz
build error: build failed: compilation failed for ...
.../dl-framework-arduinoadafruitnrf52-1.10601.0/.../cores/nRF5/Uart.h:27:10: fatal error: variant.h: No such file or directory

The cached framework's variants/ holds twelve folders, none for a XIAO.

board = xiaoblesense_adafruit (variant Seeed_XIAO_nRF52840_Sense) failed the same way, at the same line, on 2026-11-12.

The fork does not help

#293 says the board comes from maxgerhardt's platform-nordicnrf52. With platform = https://github.com/maxgerhardt/platform-nordicnrf52 the output was the same, line for line (2026-11-12): fbuild still compiles dl-framework-arduinoadafruitnrf52-1.10601.0, and no other platform appears in its cache. So a platform URL does not change the framework, and the variant has nowhere to come from.

Question

How do FastLED's own nrf52_xiaoblesense and adafruit_xiaoblesense jobs build this board on fbuild? I could not find a recent run that built: on 2026-11-13 the runs on master were skipped and the one on a branch failed before any job started. If they pass, something supplies the variant that a plain project does not.

Environment

  • fbuild 2.5.51+git.9b26affea5ad, Windows 11. xiaoble_adafruit rebuilt 2026-11-14.
  • The board files are unchanged on main at 00bfaeb.

Activity

  1. zackees commented on Nov 17, 2026

    @zackees
    Member

    On the question of how FastLED's nrf52_xiaoblesense and adafruit_xiaoblesense jobs build this board: they don't build it. They build a different board.

    In FastLED ci/boards.py, xiaoblesense, xiaoblesense_adafruit and the misspelled alias xiaoblesense_adafrui all set real_board_name="nrf52840_dk_adafruit", platform_packages="framework-arduinoadafruitnrf52@^1.10601.0", -DTARGET_XIAOBLE_NRF52840_SENSE and -fno-lto. FastLED writes real_board_name as the env's board = (get_real_board_name()), so fbuild compiles Adafruit's pca10056 (nRF52840-DK) variant with the S140 v6 layout. The XIAO pin mapping comes only from FastLED's own fastpin block, which TARGET_XIAOBLE_NRF52840_SENSE selects. The comments there (FastLED/FastLED#2634, FastLED/FastLED#2636, FastLED/FastLED#2643) record why: the XIAO variant isn't in Adafruit BSP 1.10601.0. That is the same root cause as this issue.

    So those jobs never touch xiaoble_adafruit/xiaoblesense_adafruit or a XIAO variant.h, and the plain project in this issue had nothing to supply the variant. The jobs are also gated: they run only on workflow_dispatch or on PRs labelled ci-full, ci-platform:xiaoblesense or ci-platform:xiaoblesense_adafruit, which is why master shows skipped.

    With #2030, board = xiaoble_adafruit / xiaoblesense_adafruit build against Seeed's core (Seeed nRF52 Boards 1.1.13, SHA-256 pinned), which ships those variants. FastLED could then drop the nrf52840_dk_adafruit stand-in after an fbuild release. That is a FastLED change and isn't made here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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