You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.```cd <SKETCHBOOK>```, where ```<SKETCHBOOK>``` is your Arduino Sketch folder:
25
-
* OS X : ```~/Documents/Arduino```
26
-
* Linux : ```~/Arduino```
27
-
* Windows: ```~/Documents/Arduino```
28
-
4. Create a folder named ```hardware/Adafruit```, if it does not exist, and change directories to it
29
-
5. Clone this repo: `git clone git@github.com:adafruit/Adafruit_nRF52_Arduino.git`
28
+
3.`cd <SKETCHBOOK>`, where `<SKETCHBOOK>` is your Arduino Sketch folder:
29
+
* OS X : `~/Documents/Arduino`
30
+
* Linux : `~/Arduino`
31
+
* Windows: `~/Documents/Arduino`
32
+
4. Create a folder named `hardware/Adafruit`, if it does not exist, and change directories to it
33
+
5. Clone this repo: `git clone https://github.com/adafruit/Adafruit_nRF52_Arduino.git`
30
34
6. Restart the Arduino IDE
31
35
7. Once the BSP is installed, select 'Adafruit Bluefruit nRF52 Feather' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the nRF52.
32
36
33
37
### Third Party Tools
34
38
35
-
#### nrfutil
39
+
#### adafruit-nrfutil
36
40
37
-
The Adafruit nRF52 BSP includes a [python wrapper](https://github.com/NordicSemiconductor/pc-nrfutil)
38
-
for Nordic's `nrfutil`, which is used to flash boards. Go into the BSP folder
39
-
(`hardware/Adafruit/Adafruit_nRF52_Arduino/tools/nrfutil-0.5.2`), and run the following to make
40
-
this available to the Arduino IDE:
41
+
[adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) is needed to upload sketch via serial port.
41
42
42
-
```
43
-
$ cd tools/nrfutil-0.5.2
44
-
$ sudo pip install -r requirements.txt
45
-
$ sudo python setup.py install
46
-
```
43
+
- For Windows and macOS, pre-built executable binaries are included in the BSP at `tools/adafruit-nrfutil/`.
44
+
- While Linux user can install it easily via PyPi
47
45
48
-
**Notes** : Don't install nrfutil from the pip package (ex. `sudo pip install nrfutil`). The
49
-
latest nrfutil does not support DFU via Serial, and you should install the local copy of 0.5.2
50
-
included with the BSP via the `python setup.py install` command above.
46
+
```
47
+
$ pip3 install adafruit-nrfutil --user
48
+
```
51
49
52
50
## Arduino BLE Application Support
53
51
@@ -63,31 +61,26 @@ examples sketched for the selected board.
63
61
64
62
## Bootloader Support
65
63
66
-
### Third Party Tools
64
+
### Upgrade existiting Bootloader
67
65
68
-
To burn the bootloader from within the Arduino IDE, you will need the following tools installed
69
-
on your system and available in the system path:
66
+
Bluefruit's Bootloader is self-upgradable, you could upgrade to the latest Bootloader + Softdevice using the serial port within Arduino IDE.
70
67
71
-
#### Jlink Driver and Tools
72
-
73
-
Download and install the [JLink Software and Documentation Pack](https://www.segger.com/downloads/jlink)
74
-
from Segger, which will also install a set of command line tools.
Note: close the Serial Monitor before you click "Burn Bootloader". Afterwards, you shouldn't close the Arduino IDE, unplug the Feather, launch Serial Monitor etc ... to abort the process. There is a high chance it will brick your device! Do this with care and caution.
77
74
78
-
Once the tools above have been installed and added to your system path, from the Arduino IDE:
0 commit comments