Merge pull request #615 from felis/adafruit_feather_nrf52840

The Adafruit Feather nRF52840 Express is now a supported board
This commit is contained in:
Kristian Sloth Lauszus 2021-03-24 14:37:29 +01:00 committed by GitHub
commit a7ba1aa15f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 7 deletions

View file

@ -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

View file

@ -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: <https://chome.nerpa.tech/mcu/usb/running-usb-host-code-on-digilent-chipkit-board>.
* STM32F4

View file

@ -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 <avr/dtostrf.h>
#endif
/* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */
#include "scale_rptparser.h"
const char* UNITS[13] = {

View file

@ -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"