Skip to content

nrf52: adafruit_feather_nrf52840_sense fails to build — Adafruit BSP cores cannot find variant.h #2632

Closed

Description

@zackees

Symptom

CI workflow adafruit_feather_nrf52840_sense fails on master with:

.../cores/nRF5/Uart.h:27:10: fatal error: variant.h: No such file or directory
.../cores/nRF5/delay.h:28:10: fatal error: variant.h: No such file or directory

The Adafruit BSP cores #include "variant.h", which lives in variants/feather_nrf52840_sense/variant.h. fbuild apparently isn't adding the variant directory to the compile-time include path for this board.

Diagnosis context

Same root cause as nrf52840_dk and nrf52_xiaoblesense (separate tracking issues). Probably a missing -I<variants_dir>/<variant>/ in fbuild's nrf52 orchestrator for boards that don't go through the nRF52DK → pca10056 alias path.

Acceptance

  • Fix lives in fbuild repo (clone, fix, mint new version, ingest into pyproject.toml).
  • This issue auto-closes when the FastLED PR that ingests the fix merges.

Activity

  1. zackees commented on May 31, 2026

    @zackees
    MemberAuthor

    Closing — actually a size/link failure (offset out of range during LTO link), not the variant.h include-path bug. Per the loop instructions, boards failing size checks are out of scope.

  2. added a commit that references this issue on May 31, 2026
    715b73a
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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions