From a516d1123f2af7b3ba1ba835779a83d2b239c366 Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 22 Aug 2018 19:42:41 +0700 Subject: [PATCH] fix typos --- ports/nrf/README.md | 2 +- ports/nrf/boards/feather52832/README.md | 4 ++-- ports/nrf/boards/feather52840/README.md | 12 +++--------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/ports/nrf/README.md b/ports/nrf/README.md index df1cd1949694..6cc97703af85 100644 --- a/ports/nrf/README.md +++ b/ports/nrf/README.md @@ -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. diff --git a/ports/nrf/boards/feather52832/README.md b/ports/nrf/boards/feather52832/README.md index 77b1507ddf3a..9fecee8069d8 100644 --- a/ports/nrf/boards/feather52832/README.md +++ b/ports/nrf/boards/feather52832/README.md @@ -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 diff --git a/ports/nrf/boards/feather52840/README.md b/ports/nrf/boards/feather52840/README.md index 99037e295188..5d2177ff337f 100644 --- a/ports/nrf/boards/feather52840/README.md +++ b/ports/nrf/boards/feather52840/README.md @@ -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 @@ -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 @@ -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 -``` \ No newline at end of file +Simply drag and drop firmware.uf2 to the MSC, the nrf52840 will blink fast and reset after done. \ No newline at end of file