Skip to content

feat(test-matrix): #224 add SuperMini, nice!nano, nRFMicro nRF52840 boards#225

Merged
zackees merged 1 commit into
mainfrom
feat/224-nrf52840-community-boards
May 10, 2026
Merged

feat(test-matrix): #224 add SuperMini, nice!nano, nRFMicro nRF52840 boards#225
zackees merged 1 commit into
mainfrom
feat/224-nrf52840-community-boards

Conversation

@zackees
Copy link
Copy Markdown
Member

@zackees zackees commented May 10, 2026

Closes #224

Summary

Extends fbuild's self-test matrix with three nRF52840 community boards from the pdcook/nRFMicro-Arduino-Core BSP, mirroring FastLED PR FastLED/FastLED#2445:

  • supermini_nrf52840 → SuperMini nRF52840
  • nice_nano_nrf52840 → nice!nano v2 (ProMicro-pin-compatible footprint)
  • nrfmicro_nrf52840 → nRFMicro

Approach

Each test platform reuses the existing nrf52840_dk_adafruit PlatformIO board (no first-party board package exists for these community variants — the same approach FastLED takes via real_board_name="nrf52840_dk_adafruit" in ci/boards.py). The matching -DTARGET_* build flag selects the variant block so the FastLED code path is exercised when these boards are compiled in CI.

No new board JSONs were added because all three boards share nrf52840_dk_adafruit's build settings; only the TARGET_* define differs.

Files

  • tests/platform/{supermini,nice_nano,nrfmicro}_nrf52840/{platformio.ini, README.md, src/main.ino, src/README.md} — minimal blink sketches
  • .github/workflows/build-{supermini,nice_nano,nrfmicro}_nrf52840.yml — per-board workflows calling template_build.yml
  • README.md — three new badges in the Nordic NRF52 group
  • tests/platform/README.md — three rows in the platform table

Test plan

  • CI runs the three new build jobs (quick + release) using template_build.yml
  • README badges render and link to their respective workflow runs
  • If any build fails on a BSP/toolchain mismatch (the issue notes a pre-existing ARDUINO_BSP_VERSION parsing failure with GCC 15.2.1), follow up with a BSP package pin

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • New Features

    • Added support for three new nRF52840 board variants: nice!nano, nRFMicro, and SuperMini.
  • Tests

    • Added test projects with validation sketches for each newly supported board variant.
  • Chores

    • Added CI/CD automation workflows for build validation across the new boards.
  • Documentation

    • Updated platform documentation with setup and configuration information for the new boards.

Review Change Stack

…oards

Mirrors FastLED PR FastLED/FastLED#2445 by extending fbuild's regression
matrix to cover the three pdcook/nRFMicro-Arduino-Core community boards.
Each test platform reuses the nrf52840_dk_adafruit PlatformIO board (no
first-party board package exists for these community variants) and sets
the matching -DTARGET_* build flag so the FastLED variant code path is
exercised in CI. Adds three workflows and Nordic NRF52 README badges.

Closes #224

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 10, 2026

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 25063bb0-7fb6-483e-8aaa-9f99693e8896

📥 Commits

Reviewing files that changed from the base of the PR and between 58d1b1d and d83d468.

📒 Files selected for processing (17)
  • .github/workflows/build-nice_nano_nrf52840.yml
  • .github/workflows/build-nrfmicro_nrf52840.yml
  • .github/workflows/build-supermini_nrf52840.yml
  • README.md
  • tests/platform/README.md
  • tests/platform/nice_nano_nrf52840/README.md
  • tests/platform/nice_nano_nrf52840/platformio.ini
  • tests/platform/nice_nano_nrf52840/src/README.md
  • tests/platform/nice_nano_nrf52840/src/main.ino
  • tests/platform/nrfmicro_nrf52840/README.md
  • tests/platform/nrfmicro_nrf52840/platformio.ini
  • tests/platform/nrfmicro_nrf52840/src/README.md
  • tests/platform/nrfmicro_nrf52840/src/main.ino
  • tests/platform/supermini_nrf52840/README.md
  • tests/platform/supermini_nrf52840/platformio.ini
  • tests/platform/supermini_nrf52840/src/README.md
  • tests/platform/supermini_nrf52840/src/main.ino

📝 Walkthrough

Walkthrough

This PR extends the fbuild test matrix with support for three nRF52840 community boards: SuperMini, nice!nano v2, and nRFMicro. Each board receives a GitHub Actions workflow, PlatformIO configuration with variant-specific build flags, a minimal LED-blink test sketch, and documentation explaining the setup and variant code path coverage.

Changes

nRF52840 Community Boards Test Support

Layer / File(s) Summary
CI Workflow Definitions
.github/workflows/build-nice_nano_nrf52840.yml, .github/workflows/build-nrfmicro_nrf52840.yml, .github/workflows/build-supermini_nrf52840.yml
Three new workflows trigger on main pushes and PRs, each delegating to template_build.yml with platform-specific test directory, environment name, and hex firmware extension.
PlatformIO Board Configuration
tests/platform/nice_nano_nrf52840/platformio.ini, tests/platform/nrfmicro_nrf52840/platformio.ini, tests/platform/supermini_nrf52840/platformio.ini
Three environment blocks target nordicnrf52 platform with nrf52840_dk_adafruit board, arduino framework, and board-specific build flags (TARGET_NICE_NANO_V2, TARGET_NRFMICRO, TARGET_SUPERMINI_NRF52840) to exercise FastLED variant code paths.
Test Sketches
tests/platform/nice_nano_nrf52840/src/main.ino, tests/platform/nrfmicro_nrf52840/src/main.ino, tests/platform/supermini_nrf52840/src/main.ino
Three identical LED-blink sketches configure LED_BUILTIN as output and toggle it HIGH/LOW with 500ms delays to validate compilation and board integration.
Project Documentation
tests/platform/nice_nano_nrf52840/README.md, tests/platform/nice_nano_nrf52840/src/README.md, tests/platform/nrfmicro_nrf52840/README.md, tests/platform/nrfmicro_nrf52840/src/README.md, tests/platform/supermini_nrf52840/README.md, tests/platform/supermini_nrf52840/src/README.md
Per-board documentation describes test purpose, PlatformIO board reuse rationale (due to lack of first-party support), build flag mappings, and links to variant headers.
CI Badge Updates and Platform Registry
README.md, tests/platform/README.md
Main README adds three per-board CI build badges under Nordic NRF52 section; platform registry adds three new test directories with architecture and framework metadata.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • FastLED/fbuild#82: Refactors board-status documentation and CI badge presentation on the README, directly intersecting with this PR's addition of per-board CI badge entries.

Poem

🐰 Three boards join the test array,
SuperMini, nano, micro—hooray!
LED blinking in the CI light,
Variant coverage shining bright! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/224-nrf52840-community-boards

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zackees zackees merged commit a04bb2a into main May 10, 2026
76 of 81 checks 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.

Add SuperMini nRF52840 (and nice!nano / nRFMicro) to test matrix

1 participant