Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/build-nice_nano_nrf52840.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build nice!nano nRF52840

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
uses: ./.github/workflows/template_build.yml
with:
workflow-name: "nice!nano nRF52840"
test-dir: "tests/platform/nice_nano_nrf52840"
env-name: "nice_nano_nrf52840"
firmware-ext: "hex"
16 changes: 16 additions & 0 deletions .github/workflows/build-nrfmicro_nrf52840.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build nRFMicro nRF52840

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
uses: ./.github/workflows/template_build.yml
with:
workflow-name: "nRFMicro nRF52840"
test-dir: "tests/platform/nrfmicro_nrf52840"
env-name: "nrfmicro_nrf52840"
firmware-ext: "hex"
16 changes: 16 additions & 0 deletions .github/workflows/build-supermini_nrf52840.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build SuperMini nRF52840

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
uses: ./.github/workflows/template_build.yml
with:
workflow-name: "SuperMini nRF52840"
test-dir: "tests/platform/supermini_nrf52840"
env-name: "supermini_nrf52840"
firmware-ext: "hex"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@

### Nordic NRF52
[![Build nRF52840 DK](https://github.com/fastled/fbuild/actions/workflows/build-nrf52840_dk.yml/badge.svg)](https://github.com/fastled/fbuild/actions/workflows/build-nrf52840_dk.yml)
[![Build SuperMini nRF52840](https://github.com/fastled/fbuild/actions/workflows/build-supermini_nrf52840.yml/badge.svg)](https://github.com/fastled/fbuild/actions/workflows/build-supermini_nrf52840.yml)
[![Build nice!nano nRF52840](https://github.com/fastled/fbuild/actions/workflows/build-nice_nano_nrf52840.yml/badge.svg)](https://github.com/fastled/fbuild/actions/workflows/build-nice_nano_nrf52840.yml)
[![Build nRFMicro nRF52840](https://github.com/fastled/fbuild/actions/workflows/build-nrfmicro_nrf52840.yml/badge.svg)](https://github.com/fastled/fbuild/actions/workflows/build-nrfmicro_nrf52840.yml)

### Apollo3
[![Build Apollo3 RedBoard](https://github.com/fastled/fbuild/actions/workflows/build-apollo3_red.yml/badge.svg)](https://github.com/fastled/fbuild/actions/workflows/build-apollo3_red.yml)
Expand Down
3 changes: 3 additions & 0 deletions tests/platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ PlatformIO-compatible test projects for each supported hardware platform. Each s
| `mgm240/` | EFR32MG24 | ARM Cortex-M33 | Arduino |
| `nano_every/` | ATmega4809 | MegaAVR | Arduino |
| `nrf52840_dk/` | nRF52840 | ARM Cortex-M4F | Arduino |
| `supermini_nrf52840/` | nRF52840 | ARM Cortex-M4F | Arduino |
| `nice_nano_nrf52840/` | nRF52840 | ARM Cortex-M4F | Arduino |
| `nrfmicro_nrf52840/` | nRF52840 | ARM Cortex-M4F | Arduino |
| `nucleo_f429zi/` | STM32F429ZI | ARM Cortex-M4F | Arduino |
| `nucleo_f439zi/` | STM32F439ZI | ARM Cortex-M4F | Arduino |
| `rp2040/` | RP2040 | ARM Cortex-M0+ | Arduino |
Expand Down
11 changes: 11 additions & 0 deletions tests/platform/nice_nano_nrf52840/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# nice!nano nRF52840 Test Project

Minimal blink sketch for the nice!nano v2 / ProMicro nRF52840 community board build
validation.

The board reuses the `nrf52840_dk_adafruit` PlatformIO board because no first-party
PlatformIO board package exists for this community variant. The
`-DTARGET_NICE_NANO_V2` build flag mirrors the define used by FastLED's FastPin
variant block (FastLED/FastLED#2445) so the variant code path is exercised in CI.

Variant header: https://github.com/pdcook/nRFMicro-Arduino-Core/blob/main/variants/nice_nano/variant.h
5 changes: 5 additions & 0 deletions tests/platform/nice_nano_nrf52840/platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[env:nice_nano_nrf52840]
platform = nordicnrf52
board = nrf52840_dk_adafruit
framework = arduino
build_flags = -DTARGET_NICE_NANO_V2
3 changes: 3 additions & 0 deletions tests/platform/nice_nano_nrf52840/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# src

Arduino sketch source for the nice!nano nRF52840 test project.
12 changes: 12 additions & 0 deletions tests/platform/nice_nano_nrf52840/src/main.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <Arduino.h>

void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
delay(500);
}
10 changes: 10 additions & 0 deletions tests/platform/nrfmicro_nrf52840/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# nRFMicro nRF52840 Test Project

Minimal blink sketch for the nRFMicro community board build validation.

The board reuses the `nrf52840_dk_adafruit` PlatformIO board because no first-party
PlatformIO board package exists for this community variant. The `-DTARGET_NRFMICRO`
build flag mirrors the define used by FastLED's FastPin variant block
(FastLED/FastLED#2445) so the variant code path is exercised in CI.

Variant header: https://github.com/pdcook/nRFMicro-Arduino-Core/blob/main/variants/nRFMicro/variant.h
5 changes: 5 additions & 0 deletions tests/platform/nrfmicro_nrf52840/platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[env:nrfmicro_nrf52840]
platform = nordicnrf52
board = nrf52840_dk_adafruit
framework = arduino
build_flags = -DTARGET_NRFMICRO
3 changes: 3 additions & 0 deletions tests/platform/nrfmicro_nrf52840/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# src

Arduino sketch source for the nRFMicro nRF52840 test project.
12 changes: 12 additions & 0 deletions tests/platform/nrfmicro_nrf52840/src/main.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <Arduino.h>

void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
delay(500);
}
11 changes: 11 additions & 0 deletions tests/platform/supermini_nrf52840/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SuperMini nRF52840 Test Project

Minimal blink sketch for the SuperMini nRF52840 community board build validation.

The board reuses the `nrf52840_dk_adafruit` PlatformIO board because no first-party
PlatformIO board package exists for this community variant. The
`-DTARGET_SUPERMINI_NRF52840` build flag mirrors the define used by FastLED's
FastPin variant block (FastLED/FastLED#2445) so the variant code path is exercised
in CI.

Variant header: https://github.com/pdcook/nRFMicro-Arduino-Core/blob/main/variants/SuperMini_nRF52840/variant.h
5 changes: 5 additions & 0 deletions tests/platform/supermini_nrf52840/platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[env:supermini_nrf52840]
platform = nordicnrf52
board = nrf52840_dk_adafruit
framework = arduino
build_flags = -DTARGET_SUPERMINI_NRF52840
3 changes: 3 additions & 0 deletions tests/platform/supermini_nrf52840/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# src

Arduino sketch source for the SuperMini nRF52840 test project.
12 changes: 12 additions & 0 deletions tests/platform/supermini_nrf52840/src/main.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <Arduino.h>

void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(500);
digitalWrite(LED_BUILTIN, LOW);
delay(500);
}
Loading