Skip to content

Commit d1b5883

Browse files
authored
Merge pull request #1135 from dhalbert/nrf_board_rename
rename nRF boards to feather_nrf52832 and feather_nrf52840_express
2 parents 728622f + 6493c16 commit d1b5883

File tree

22 files changed

+137
-70
lines changed

22 files changed

+137
-70
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ env:
3030
- TRAVIS_BOARD=pirkey_m0
3131
- TRAVIS_BOARD=gemma_m0
3232
- TRAVIS_BOARD=hallowing_m0_express
33-
- TRAVIS_BOARD=feather52832
33+
- TRAVIS_BOARD=feather_nrf52832
34+
- TRAVIS_BOARD=feather_nrf52840_express
3435

3536
addons:
3637
artifacts:
@@ -54,7 +55,7 @@ before_script:
5455
- ([[ -z "$TRAVIS_BOARD" || $TRAVIS_BOARD = "feather_huzzah" ]] || (wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~trusty1_amd64.deb && sudo dpkg -i gcc-arm-embedded*_amd64.deb))
5556

5657
# For nrf builds
57-
- ([[ $TRAVIS_BOARD != "feather52832" && $TRAVIS_BOARD != "pca10056" ]] || sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh)
58+
- ([[ $TRAVIS_BOARD != "feather_nrf52832" && $TRAVIS_BOARD != "feather_nrf52840_express" && $TRAVIS_BOARD != "pca10056" ]] || sudo ports/nrf/drivers/bluetooth/download_ble_stack.sh)
5859
# For huzzah builds
5960
- if [[ $TRAVIS_BOARD = "feather_huzzah" ]]; then wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz && tar xavf xtensa-lx106-elf-standalone.tar.gz; PATH=$(readlink -f xtensa-lx106-elf/bin):$PATH; fi
6061
# For coverage testing (upgrade is used to get latest urllib3 version)

ports/nrf/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ the following links:
3636
> **NOTE**: These board specific readmes may be more up to date than the
3737
generic board-neutral documentation further down.
3838

39-
* Adafruit [Feather nRF52](boards/feather52/README.md): 512KB Flash, 64KB SRAM
40-
* Adafruit [Feather nRF52840](boards/feather52840/README.md): 1MB Flash, 256KB SRAM
41-
* Nordic PCA10056 see [Feather nRF52840](boards/feather52840/README.md)
39+
* Adafruit [Feather nRF52](boards/feather_nrf52832/README.md): 512KB Flash, 64KB SRAM
40+
* Adafruit [Feather nRF52840](boards/feather_nrf52840_express/README.md): 1MB Flash, 256KB SRAM
41+
* Nordic PCA10056 see [Feather nRF52840](boards/pca10056/README.md)
4242

4343
For all other board targets, see the generic notes below.
4444

@@ -74,12 +74,12 @@ Note: further tuning of features to include in bluetooth or even setting up the
7474

7575
## Target Boards and Make Flags
7676

77-
Target Board (BOARD) | Bluetooth Stack (SD) | Bluetooth Support | Flash Util
78-
---------------------|-------------------------|------------------------|-------------------------------
79-
pca10040 | s132 | Peripheral and Scanner | [Segger](#segger-targets)
80-
feather52832 | s132 | Peripheral and Scanner | [UART DFU](#dfu-targets)
81-
pca10056 | s140 | Peripheral and Scanner | [Segger](#segger-targets)
82-
feather52840 | s140 | Peripheral and Scanner | [UART DFU](#dfu-targets)
77+
Target Board (BOARD) | Bluetooth Stack (SD) | Bluetooth Support | Flash Util
78+
-------------------------|-------------------------|------------------------|-------------------------------
79+
pca10040 | s132 | Peripheral and Scanner | [Segger](#segger-targets)
80+
pca10056 | s140 | Peripheral and Scanner | [Segger](#segger-targets)
81+
feather_nrf52832 | s132 | Peripheral and Scanner | [UART DFU](#dfu-targets)
82+
feather_nrf52840_express | s140 | Peripheral and Scanner | UF2 bootloader
8383

8484
## Segger Targets
8585

@@ -107,9 +107,9 @@ run follow command to install [adafruit-nrfutil](https://github.com/adafruit/Ada
107107
* dfu-gen: Generates a Firmware zip to be used by the DFU flash application.
108108
* dfu-flash: Triggers the DFU flash application to upload the firmware from the generated Firmware zip file.
109109

110-
Example on how to generate and flash feather52832 target:
110+
Example on how to generate and flash feather_nrf52832 target:
111111

112-
make BOARD=feather52832 SD=s132
112+
make BOARD=feather_nrf52832 SD=s132
113113
make BOARD=feather52832 SD=s132 dfu-gen dfu-flash
114114

115115
## Bluetooth LE REPL

ports/nrf/boards/feather52832/mpconfigboard.mk

Lines changed: 0 additions & 10 deletions
This file was deleted.

ports/nrf/boards/feather52840/mpconfigboard.h

Lines changed: 0 additions & 38 deletions
This file was deleted.

ports/nrf/boards/feather52832/README.md renamed to ports/nrf/boards/feather_nrf52832/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ run following command to install [adafruit-nrfutil](https://github.com/adafruit/
3838
#### REPL over UART (default settings)
3939

4040
To build a CircuitPython binary with default settings for the
41-
`feather52832` target enter:
41+
`feather_nrf52832` target enter:
4242

43-
> **NOTE:** `BOARD=feather52832` is the default option and isn't stricly required.
43+
> **NOTE:** `BOARD=feather_nrf52832` is the default option and isn't stricly required.
4444
4545
```
46-
$ make BOARD=feather52832 V=1
46+
$ make BOARD=feather_nrf52832 V=1
4747
```
4848

4949
#### REPL over BLE UART (AKA 'NUS')
@@ -113,15 +113,15 @@ image, as described earlier in this readme.
113113
> The name of the serial port target will vary, depending on your OS.
114114
115115
```
116-
$ make BOARD=feather52832 SERIAL=/dev/tty.SLAB_USBtoUART dfu-gen dfu-flash
116+
$ make BOARD=feather_nrf52832 SERIAL=/dev/tty.SLAB_USBtoUART dfu-gen dfu-flash
117117
```
118118

119119
By default, CircuitPython will build with **BLE** support enabled using
120120
`SD=s132` and the `SOFTDEV_VERSION=2.0.1`. If you wish to specify a different
121121
SD family or version you can enter the optional fields as shown below:
122122

123123
```
124-
$ make BOARD=feather52832 SERIAL=/dev/tty.SLAB_USBtoUART SD=s132 SOFTDEV_VERSION=5.0.0 dfu-gen dfu-flash
124+
$ make BOARD=feather_nrf52832 SERIAL=/dev/tty.SLAB_USBtoUART SD=s132 SOFTDEV_VERSION=5.0.0 dfu-gen dfu-flash
125125
```
126126

127127
## Working with CircuitPython

0 commit comments

Comments
 (0)