add some build description.
This commit is contained in:
parent
02d0236025
commit
561f6b2625
22
README.md
22
README.md
@ -1,3 +1,25 @@
|
|||||||
# Adafruit nRF52840 Bootloader
|
# Adafruit nRF52840 Bootloader
|
||||||
|
|
||||||
This repository contains the USB bootloader for Adafruit nRF52840 boards (1MB flash, 256KB SRAM).
|
This repository contains the USB bootloader for Adafruit nRF52840 boards (1MB flash, 256KB SRAM).
|
||||||
|
This repository depend on the [tinyusb](https://github.com/hathach/tinyusb/tree/develop) as submodule, after cloing this repo you need to run this command
|
||||||
|
|
||||||
|
git submodule update --init
|
||||||
|
|
||||||
|
## Build with makefile
|
||||||
|
|
||||||
|
Navigate to `src/singlebank` (recommended) or `src/dualbank` (work in progress), and use feather52840 target for building bootloader.
|
||||||
|
|
||||||
|
make feather52840
|
||||||
|
|
||||||
|
To flash bootloader + S140
|
||||||
|
|
||||||
|
make flash_feather52840
|
||||||
|
|
||||||
|
To only flash S140
|
||||||
|
|
||||||
|
make flash_sd
|
||||||
|
|
||||||
|
## Build using Segger Embeded Studio
|
||||||
|
|
||||||
|
For better debugging you can also use SES, The project file is located at `src/segger/nrf52840_bootloader.emProject`. Note: the SES only flash the bootloader when you click download, you need to flash Softdevice beforehand if you haven't done so ( use `make flash_sd` mentioned above )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user