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 - name: Install PlatformIO
run: | run: |
pip install -U pip setuptools wheel pip install -U pip setuptools wheel
pip install platformio pip install platformio adafruit-nrfutil
- name: Install MIDI library - name: Install MIDI library
if: contains(matrix.example, 'MIDI') if: contains(matrix.example, 'MIDI')
# https://platformio.org/lib/show/62/MIDI%20Library # https://platformio.org/lib/show/62/MIDI%20Library
@ -40,6 +40,9 @@ jobs:
# Workaround https://github.com/arduino/ArduinoCore-sam/issues/69 # Workaround https://github.com/arduino/ArduinoCore-sam/issues/69
pio ci --lib="." --board=due --project-option="build_flags=-Wno-misleading-indentation" 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: env:
PLATFORMIO_CI_SRC: ${{ matrix.example }} PLATFORMIO_CI_SRC: ${{ matrix.example }}
PLATFORMIO_BUILD_FLAGS: -DWIICAMERA -DDEBUG_USB_HOST -Wall -Werror 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 * Sanguino
* Black Widdow * Black Widdow
* RedBearLab nRF51822 * RedBearLab nRF51822
* Adafruit Feather nRF52840 Express
* Digilent chipKIT * Digilent chipKIT
* Please see: <https://chome.nerpa.tech/mcu/usb/running-usb-host-code-on-digilent-chipkit-board>. * Please see: <https://chome.nerpa.tech/mcu/usb/running-usb-host-code-on-digilent-chipkit-board>.
* STM32F4 * STM32F4

View file

@ -1,7 +1,8 @@
/* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */ #if defined(ARDUINO_SAM_DUE) || defined(ARDUINO_NRF52840_FEATHER)
#ifdef ARDUINO_SAM_DUE
#include <avr/dtostrf.h> #include <avr/dtostrf.h>
#endif #endif
/* Parser for standard HID scale (usage page 0x8d) data input report (ID 3) */
#include "scale_rptparser.h" #include "scale_rptparser.h"
const char* UNITS[13] = { const char* UNITS[13] = {

View file

@ -7,8 +7,7 @@
{ {
"name": "Oleg Mazurov", "name": "Oleg Mazurov",
"email": "mazurov@circuitsathome.com", "email": "mazurov@circuitsathome.com",
"url": "http://www.circuitsathome.com", "url": "http://www.circuitsathome.com"
"maintainer": true
}, },
{ {
"name": "Alexei Glushchenko", "name": "Alexei Glushchenko",
@ -22,8 +21,7 @@
}, },
{ {
"name": "Andrew Kroll", "name": "Andrew Kroll",
"email": "xxxajk@gmail.com", "email": "xxxajk@gmail.com"
"maintainer": true
} }
], ],
"repository": "repository":
@ -50,6 +48,7 @@
"teensy", "teensy",
"atmelsam", "atmelsam",
"nordicnrf51", "nordicnrf51",
"nordicnrf52",
"ststm32", "ststm32",
"espressif8266", "espressif8266",
"espressif32" "espressif32"