Skip to content

Commit 17a3737

Browse files
authored
Merge branch 'master' into master
2 parents 50a0a9e + 8101355 commit 17a3737

File tree

700 files changed

+212442
-96118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

700 files changed

+212442
-96118
lines changed

.github/issue_template.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Thank you for using Adafruit project and libraries,
2+
please review the following guidelines before creating an issue :
3+
4+
- **Do not use GitHub issues for question or troubleshooting projects.** Instead use
5+
the forums at http://forums.adafruit.com. Only create issue if it is a bug, feature
6+
or discussion that requires **code changes to resolve**.
7+
8+
- **Check our tutorial and examples** There is chance that our
9+
[learn tutorial](https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/introduction)
10+
and examples has useful information for you.
11+
12+
- Please provide details that help us to reproduce your issue
13+
14+
- Your Board and BSP version
15+
- Your OS (mac/windows/linux) and its version
16+
- Steps to reproduce, or better your (simplified) sketch if possible
17+
- Serial debug log (enable IDE's Debug Mode Level to 1 or 2)

.gitmodules

Whitespace-only changes.

.project

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Adafruit_nRF52_Arduino</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
10+
<triggers>clean,full,incremental,</triggers>
11+
<arguments>
12+
</arguments>
13+
</buildCommand>
14+
<buildCommand>
15+
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
16+
<triggers>full,incremental,</triggers>
17+
<arguments>
18+
</arguments>
19+
</buildCommand>
20+
</buildSpec>
21+
<natures>
22+
<nature>org.eclipse.cdt.core.cnature</nature>
23+
<nature>org.eclipse.cdt.core.ccnature</nature>
24+
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
25+
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
26+
</natures>
27+
<linkedResources>
28+
<link>
29+
<name>arduino-libraries</name>
30+
<type>2</type>
31+
<location>/home/hathach/Arduino/libraries</location>
32+
</link>
33+
</linkedResources>
34+
<filteredResources>
35+
<filter>
36+
<id>1498710934502</id>
37+
<name></name>
38+
<type>22</type>
39+
<matcher>
40+
<id>org.eclipse.ui.ide.multiFilter</id>
41+
<arguments>1.0-name-matches-false-false-*.o</arguments>
42+
</matcher>
43+
</filter>
44+
<filter>
45+
<id>1498710934507</id>
46+
<name></name>
47+
<type>22</type>
48+
<matcher>
49+
<id>org.eclipse.ui.ide.multiFilter</id>
50+
<arguments>1.0-name-matches-false-false-*.d</arguments>
51+
</matcher>
52+
</filter>
53+
<filter>
54+
<id>1498710934515</id>
55+
<name></name>
56+
<type>6</type>
57+
<matcher>
58+
<id>org.eclipse.ui.ide.multiFilter</id>
59+
<arguments>1.0-name-matches-false-false-*.pyc</arguments>
60+
</matcher>
61+
</filter>
62+
<filter>
63+
<id>1498710934520</id>
64+
<name></name>
65+
<type>22</type>
66+
<matcher>
67+
<id>org.eclipse.ui.ide.multiFilter</id>
68+
<arguments>1.0-name-matches-false-false-*.so</arguments>
69+
</matcher>
70+
</filter>
71+
</filteredResources>
72+
</projectDescription>

README.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
This repository contains the Arduino BSP for Adafruit nRF52 series:
44

55
- [Bluefruit Feather nRF52832](https://www.adafruit.com/product/3406)
6+
- [Bluefruit Feather nRF52840](https://www.adafruit.com/product/4062)
7+
- [Noric nRF52840DK PCA10056](https://www.nordicsemi.com/eng/Products/nRF52840-DK)
68

79
## BSP Installation
810

@@ -22,11 +24,11 @@ There are two methods that you can use to install this BSP. We highly recommend
2224

2325
1. Install BSP via Board Manager as above to install compiler & tools.
2426
2. Delete the core folder `nrf52` installed by Board Manager in Adruino15, depending on your OS. It could be
25-
* OS X : `~/Library/Arduino15/packages/adafruit/hardware/nrf52`
27+
* macOS : `~/Library/Arduino15/packages/adafruit/hardware/nrf52`
2628
* Linux : `~/.arduino15/packages/adafruit/hardware/nrf52`
2729
* Windows: `%APPDATA%\Local\Arduino15\packages\adafruit\hardware\nrf52`
2830
3. `cd <SKETCHBOOK>`, where `<SKETCHBOOK>` is your Arduino Sketch folder:
29-
* OS X : `~/Documents/Arduino`
31+
* macOS : `~/Documents/Arduino`
3032
* Linux : `~/Arduino`
3133
* Windows: `~/Documents/Arduino`
3234
4. Create a folder named `hardware/Adafruit`, if it does not exist, and change directories to it
@@ -63,7 +65,7 @@ examples sketched for the selected board.
6365
6466
## Bootloader Support
6567
66-
### Upgrade existiting Bootloader
68+
### Upgrade existing Bootloader
6769
6870
Bluefruit's Bootloader is self-upgradable, you could upgrade to the latest Bootloader + Softdevice using the serial port within Arduino IDE.
6971
@@ -74,7 +76,7 @@ Bluefruit's Bootloader is self-upgradable, you could upgrade to the latest Bootl
7476
7577
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.
7678
77-
### Burnning new Bootloader
79+
### Burning new Bootloader
7880
7981
To burn the bootloader from within the Arduino IDE, you will need the following tools installed
8082
on your system and available in the system path:
@@ -84,7 +86,7 @@ on your system and available in the system path:
8486
8587
Check to make sure you can run `nrfjprog` from your terminal/command prompt
8688
87-
**OS X Note** At present, you will need to create a symlink in `/usr/local/bin` to the
89+
**macOS Note** At present, you will need to create a symlink in `/usr/local/bin` to the
8890
`nrfjprog` tool wherever you have added it. You can run the following command, for example:
8991
9092
```
@@ -97,6 +99,8 @@ Once the tools above have been installed and added to your system path, from the
9799
- Select `Tools > Programmer > J-Link for Feather52`
98100
- Select `Tools > Burn Bootloader` with the board and J-Link connected
99101
102+
If you wish to modify bootloader to your own need, check out its repo here [Adafruit_nRF52_Bootloader](https://github.com/adafruit/Adafruit_nRF52_Bootloader)
103+
100104
#### Manually Burning the Bootloader via nrfjprog
101105
102106
The bootloader hex file can be found at `bin/bootloader` run the command as follows:
@@ -109,9 +113,9 @@ $ nrfjprog --reset -f nrf52
109113
110114
## Misc Notes
111115
112-
#### nRF52DK Jlink Issue on OS X
116+
#### nRF52DK Jlink Issue on macOS
113117
114-
If developping with the nRF52DK on OS X, there is a bug where only 64 bytes can be sent
118+
If developing with the nRF52DK on macOS, there is a bug where only 64 bytes can be sent
115119
over the USB CDC interface, which will prevent you from using the serial bootloader from
116120
the Arduino IDE with an error like this:
117121
@@ -131,7 +135,7 @@ Possible causes:
131135
132136
To resolve this and enable 512 byte packets over USB serial, you must disable the
133137
Mass Storage Device interface on the JLink-OB, which will free up two of the 512 byte
134-
USB end points. (For details see [this article](https://wiki.segger.com/index.php?title=J-Link-OB_SAM3U).)
138+
USB end points. (For details see [this article](https://wiki.segger.com/index.php?title=J-Link-OB_SAM3U).)
135139
136140
You can do so by running `JLinkExe` from the command line, and then entering the
137141
`MSDDisable` command, and power cycling your nRF52DK. To re-enable MSD support, do the same
@@ -142,7 +146,12 @@ but enter the `MSDEnable` command.
142146
This core is based on [Arduino-nRF5](https://github.com/sandeepmistry/arduino-nRF5) by Sandeep Mistry,
143147
which in turn is based on the [Arduino SAMD Core](https://github.com/arduino/ArduinoCore-samd).
144148
145-
The following tools are used:
149+
The following libraries are used:
146150
147-
* [GCC ARM Embedded](https://launchpad.net/gcc-arm-embedded) as the compiler
148-
* adafruit-nrfutil is based on Nordic Semiconductor ASA's [pc-nrfutil](https://github.com/NordicSemiconductor/pc-nrfutil)
151+
- adafruit-nrfutil is based on Nordic Semiconductor ASA's [pc-nrfutil](https://github.com/NordicSemiconductor/pc-nrfutil)
152+
- freeRTOS as operating system
153+
- [tinyusb](https://github.com/hathach/tinyusb) as usb stack
154+
- [nrfx](https://github.com/NordicSemiconductor/nrfx) for peripherals driver
155+
- [littlefs](https://github.com/ARMmbed/littlefs) for internal file system
156+
- [fatfs by elm-chan](http://elm-chan.org/fsw/ff/00index_e.html) for external file system
157+
- Segger Sysview for debugging.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)