diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5cc29556..458b4890 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: Install PlatformIO run: | pip install -U pip setuptools wheel - pip install platformio + pip install platformio adafruit-nrfutil - name: Install MIDI library if: contains(matrix.example, 'MIDI') # https://platformio.org/lib/show/62/MIDI%20Library @@ -40,6 +40,9 @@ jobs: # Workaround https://github.com/arduino/ArduinoCore-sam/issues/69 pio ci --lib="." --board=due --project-option="build_flags=-Wno-misleading-indentation" + + # Ignore warnings in the Arduino core + pio ci --lib="." --board=adafruit_feather_nrf52840 --project-option="build_flags=-Wno-sign-compare -Wno-unused-function -Wno-unused-variable" env: PLATFORMIO_CI_SRC: ${{ matrix.example }} PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror diff --git a/README.md b/README.md index 968377d7..eba03c3c 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ Currently the following boards are supported by the library: * Sanguino * Black Widdow * RedBearLab nRF51822 +* Adafruit Feather nRF52840 Express * Digilent chipKIT * Please see: . * STM32F4 diff --git a/examples/HID/scale/scale_rptparser.cpp b/examples/HID/scale/scale_rptparser.cpp index 97e216d5..bc240a59 100644 --- a/examples/HID/scale/scale_rptparser.cpp +++ b/examples/HID/scale/scale_rptparser.cpp @@ -1,7 +1,8 @@ -/* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */ -#ifdef ARDUINO_SAM_DUE +#if defined(ARDUINO_SAM_DUE) || defined(ARDUINO_NRF52840_FEATHER) #include #endif + +/* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */ #include "scale_rptparser.h" const char* UNITS[13] = { diff --git a/library.json b/library.json index 559b7682..fbe6bc81 100644 --- a/library.json +++ b/library.json @@ -7,8 +7,7 @@ { "name": "Oleg Mazurov", "email": "mazurov@circuitsathome.com", - "url": "http://www.circuitsathome.com", - "maintainer": true + "url": "http://www.circuitsathome.com" }, { "name": "Alexei Glushchenko", @@ -22,8 +21,7 @@ }, { "name": "Andrew Kroll", - "email": "xxxajk@gmail.com", - "maintainer": true + "email": "xxxajk@gmail.com" } ], "repository": @@ -50,6 +48,7 @@ "teensy", "atmelsam", "nordicnrf51", + "nordicnrf52", "ststm32", "espressif8266", "espressif32"