Skip to content

Check fbuild support for Digispark digispark-tiny #2387

Closed

Description

@zackees

Context

PR #2386 adds FastLED-side support for compiling Blink on PlatformIO's digispark-tiny board after investigating #2379.

The normal ci-compile path currently uses PlatformIO for digispark-tiny because the board is not listed in ci/compiler/fbuild_boards.py.

Local check

After generating the .build/pio/digispark-tiny project, fbuild can resolve the environment in dry-run mode:

fbuild .build\pio\digispark-tiny build -e digispark-tiny --dry-run --verbose
Environment: digispark-tiny
Daemon is running. Dry-run complete.

But the actual fbuild compile fails before compilation:

fbuild .build\pio\digispark-tiny build -e digispark-tiny --verbose
BUILDING digispark-tiny
Board: Digispark USB / ATTINY85 @ 16MHz
Memory: 5.87KB Flash, 512 bytes RAM
Toolchain: avr-gcc 7.3.0
build error: config error: no AVR framework registered for core 'dtiny' (available: [MegaCoreX, tinymodern, tiny, MiniCore, arduino, arduino_megaavr, megatinycore])

Ask

Check whether fbuild should support the Digistump/Digispark dtiny AVR core out of the box, and if yes, add the framework/core mapping needed so digispark-tiny can be safely added to FBUILD_BOARDS.

Until that is resolved, digispark-tiny should remain on the PlatformIO compile path.

Activity

  1. zackees commented on Apr 22, 2026

    @zackees
    MemberAuthor

    Follow-up filed in fbuild: FastLED/fbuild#189

    FastLED-side direction is to route all board builds through fbuild and remove the board whitelist / PlatformIO fallback path. The digispark-tiny dtiny core compatibility issue should be fixed in fbuild.

  2. zackees commented on Apr 24, 2026

    @zackees
    MemberAuthor

    Fixed. fbuild 2.2.3 (bumped in 8eb52e1) pulls in FastLED/fbuild#190 — Support Digistump dtiny AVR framework, which registers the dtiny AVR core. The FastLED-side board whitelist (ci/compiler/fbuild_boards.py) was also removed in 82afa96, so digispark-tiny now routes through fbuild by default.

    Local verification against current master:

    bash compile digispark-tiny --examples Blink
    ...
       0.00 Board: Digispark USB / ATTINY85 @ 16MHz
       0.00 Memory: 5.87KB Flash, 512 bytes RAM
       0.09 Toolchain: avr-gcc 7.3.0
      64.19 Flash: 4.08KB / 5.87KB (69.5%)
      64.19 RAM:   452 bytes / 512 bytes (88.3%)
    build succeeded in 64.2s
    SUCCESS: Blink
    

    Closing.

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