Use the version of pulse.c from Adfruit's nRF5 framework which replac… #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Examples | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
example: | |
- "libraries/n-able/examples/FreeRTOS" | |
- "libraries/n-able/examples/BLE_Advertiser" | |
- "libraries/n-able/examples/BLE_Scan" | |
variant: | |
- Generic_nRF51822:chip=xxaa | |
- Generic_nRF52832 | |
- Generic_nRF52833 | |
- Generic_nRF52840 | |
- feather52840 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install utils | |
run: | | |
python -m pip install --upgrade pip | |
pip install adafruit-nrfutil | |
- name: Build n-able Arduino | |
uses: arduino/compile-sketches@v1 | |
with: | |
cli-version: latest | |
platforms: | | |
- name: "h2zero:arm-ble" | |
source-url: "https://h2zero.github.io/n-able-Arduino/package_n-able_boards_index.json" | |
version: latest | |
- name: "h2zero:arm-ble" | |
source-path: . | |
libraries: | | |
- name: NimBLE-Arduino | |
fqbn: "h2zero:arm-ble:${{ matrix.variant }}" | |
sketch-paths: ${{ matrix.example }} |