summaryrefslogtreecommitdiff
path: root/ports/nrf/README.md
diff options
context:
space:
mode:
authorhathach <thach@tinyusb.org>2018-08-22 15:22:17 +0700
committerhathach <thach@tinyusb.org>2018-08-22 15:22:17 +0700
commitfc955b1591798ec3a6b1cb3b5d28290e478a19b1 (patch)
treea65bd5889185a5e2ff1bddd67a8444c86212ed7a /ports/nrf/README.md
parentdf4184e478016926726f20838621cb2662e05c5e (diff)
remove bootloader binaries, update readme for using adafruit-nrufitl and flashing bootloader
Diffstat (limited to 'ports/nrf/README.md')
-rw-r--r--ports/nrf/README.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/ports/nrf/README.md b/ports/nrf/README.md
index be799a6a2..df1cd1949 100644
--- a/ports/nrf/README.md
+++ b/ports/nrf/README.md
@@ -79,6 +79,7 @@ Target Board (BOARD) | Bluetooth Stack (SD) | Bluetooth Support | Flash
pca10040 | s132 | Peripheral and Scanner | [Segger](#segger-targets)
feather52832 | s132 | Peripheral and Scanner | [UART DFU](#dfu-targets)
pca10056 | s140 | Peripheral and Scanner | [Segger](#segger-targets)
+feather52840 | s140 | Peripheral and Scanner | [UART DFU](#dfu-targets)
## Segger Targets
@@ -98,11 +99,9 @@ note: On Linux it might be required to link SEGGER's `libjlinkarm.so` inside nrf
## DFU Targets
- sudo apt-get install build-essential libffi-dev pkg-config gcc-arm-none-eabi git python python-pip
- git clone https://github.com/adafruit/Adafruit_nRF52_Arduino.git
- cd Adafruit_nRF52_Arduino/tools/nrfutil-0.5.2/
- sudo pip install -r requirements.txt
- sudo python setup.py install
+run follow command to install [adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) from PyPi
+
+ $ pip3 install adafruit-nrfutil --user
**make flash** and **make sd** will not work with DFU targets. Hence, **dfu-gen** and **dfu-flash** must be used instead.
* dfu-gen: Generates a Firmware zip to be used by the DFU flash application.
@@ -111,8 +110,7 @@ note: On Linux it might be required to link SEGGER's `libjlinkarm.so` inside nrf
Example on how to generate and flash feather52832 target:
make BOARD=feather52832 SD=s132
- make BOARD=feather52832 SD=s132 dfu-gen
- make BOARD=feather52832 SD=s132 dfu-flash
+ make BOARD=feather52832 SD=s132 dfu-gen dfu-flash
## Bluetooth LE REPL