Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Aug 22, 2018
1 parent 02b1b53 commit a516d11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ports/nrf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ note: On Linux it might be required to link SEGGER's `libjlinkarm.so` inside nrf

run follow command to install [adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) from PyPi

$ pip3 install adafruit-nrfutil --user
$ pip3 install --user adafruit-nrfutil

**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.
Expand Down
4 changes: 2 additions & 2 deletions ports/nrf/boards/feather52832/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ The Adafruit Bluefruit nRF52 Feather ships with a serial and OTA BLE bootloader
that can be used to flash firmware images over a simple serial connection,
using the on-board USB serial converter.

run follow command to install [adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) from PyPi
run following command to install [adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) from PyPi

$ pip3 install adafruit-nrfutil --user
$ pip3 install --user adafruit-nrfutil

# Building and flashing firmware images

Expand Down
12 changes: 3 additions & 9 deletions ports/nrf/boards/feather52840/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ BUTTON1 still pressed as you come out of reset).
This will give you a **fast blinky DFU pattern** to indicate you are in DFU
mode.

you can **build and flash** a CircuitPython binary via the following command:
You can **build and flash** a CircuitPython binary via the following command:

```
$ make V=1 SD=s140 SERIAL=/dev/tty.usbmodem1411 BOARD=feather52840 all dfu-gen dfu-flash
Expand All @@ -188,7 +188,7 @@ Device programmed.

### Flashing CircuitPython with MSC UF2

uf2 file is generated at the end of `all` target
uf2 file is generated last by `all` target

```
$ make V=1 SD=s140 SERIAL=/dev/tty.usbmodem1411 BOARD=feather52840 all
Expand All @@ -198,10 +198,4 @@ Converting to uf2, output size: 392192, start address: 0x26000
Wrote 392192 bytes to build-feather52840-s140/firmware.uf2.
```

Simply drag and drop firmware.uf2 to the MSC, the nrf52840 will blink fast and reset after done.

**Note**: you need to update `tools/uf2` for uf2conv.py to support hex file input, current circuitpython's master use older verion of uf2conv.py which only support bin file input. To update, change directory to top folder of circuitpython and run. The size of uf2 should be ~400KB, if using the old uf2conv.py the output file would be 1 MB which is not correct.

```
git submodule update --init
```
Simply drag and drop firmware.uf2 to the MSC, the nrf52840 will blink fast and reset after done.

0 comments on commit a516d11

Please sign in to comment.