Skip to content

Commit 37e1ced

Browse files
authored
Merge pull request #4 from RAKWireless/0.21.20-staging
Minor Update
2 parents fbd94c1 + eb96fb9 commit 37e1ced

File tree

90 files changed

+3408
-13593
lines changed

Some content is hidden

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

90 files changed

+3408
-13593
lines changed

README.md

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,9 @@ WisBlock is created with 4 modular blocks.
7777
- WisBlock IO modules **extend the input and output possibilities** of WisBlock.
7878
- Options include cellular, displays, LEDs, button interfaces, and additional USB and GPIO ports as well as Wi-Fi.
7979

80-
<center><img src="./assets/WisBlock.png" alt="Modules""></center>
80+
<center><img src="./assets/WisBlock.png" alt="Modules"></center>
8181

8282
## BSP Installation
83-
<!--
84-
There are two methods that you can use to install this BSP. We highly recommend the first option unless you wish to participate in active development of this codebase via Github.
85-
-->
8683

8784
### Stable Version
8885

@@ -95,42 +92,15 @@ Do _**NOT**_ install the Arduino IDE from the Microsoft App Store. Please instal
9592
----
9693

9794

98-
1. [Download and install the Arduino IDE](https://www.arduino.cc/en/Main/Software) (At least v1.6.12)
99-
2. Start the Arduino IDE
100-
3. Go into Preferences
101-
4. Add **'https://downloads.rakwireless.com/Arduino/BSP/package_raknrf_index.json'** as a new line in the **'Additional Board Manager URL'** list. (see below figure)
102-
<center><img src="./assets/Add-BSP-URL.png" alt="Add BSP""></center>
103-
5. Restart the Arduino IDE
104-
6. Open the Boards Manager from the Tools -> Board menu and install 'RAKwireless nRF Boards'
105-
<center><img src="./assets/Install-BSP.png" alt="Install""></center>
106-
7. Once the BSP is installed, select 'RAK4631' or 'RAK4601' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the module.
107-
<center><img src="/assets/Select-Board.png" alt="Select Board""></center>
108-
95+
#### (1) [Download and install the Arduino IDE](https://www.arduino.cc/en/Main/Software) (At least v1.6.12)
96+
#### (2) Follow [this guide](https://github.com/RAKWireless/RAKwireless-Arduino-BSP-Index) to install the required Board Support Package (BSP)
97+
----
10998
### Examples and Tutorials
11099
After you selected a RAK board you can see examples for all WisBlock modules
111-
<center><img src="./assets/List-examples.png" alt="Select Board""></center>
100+
<center><img src="./assets/List-examples.png" alt="Select Board"></center>
112101

113102
For more information about the examples and tutorials visit our [Github WisBlock repo](https://github.com/RAKWireless/WisBlock)
114103

115-
### Development Version
116-
117-
<!--
118-
# TODO do we need installation from the repo? Add it later
119-
1. Install BSP via Board Manager as above to install compiler & tools.
120-
2. Delete the core folder `nrf52` installed by Board Manager in Adruino15, depending on your OS. It could be
121-
* macOS : `~/Library/Arduino15/packages/raknrf/hardware/nrf52`
122-
* Linux : `~/.arduino15/packages/raknrf/hardware/nrf52`
123-
* Windows: `%APPDATA%\Local\Arduino15\packages\raknrf\hardware\nrf52`
124-
3. `cd <SKETCHBOOK>`, where `<SKETCHBOOK>` is your Arduino Sketch folder:
125-
* macOS : `~/Documents/Arduino`
126-
* Linux : `~/Arduino`
127-
* Windows: `~/Documents/Arduino`
128-
4. Create a folder named `hardware/RAKwireless`, if it does not exist, and change directories to it
129-
5. Clone this repo & its submodules: `git clone --recurse-submodules https://github.com/beegee-tokyo/WisCore-nRF-BSP.git`
130-
6. Restart the Arduino IDE
131-
7. Once the BSP is installed, select 'RAK4631' or 'RAK4601' from the Tools -> Board menu, which will update your system config to use the right compiler and settings for the module.
132-
-->
133-
134104
### Adafruit's nrfutil tools
135105

136106
[adafruit-nrfutil](https://github.com/adafruit/Adafruit_nRF52_nrfutil) (derived from Nordic pc-nrfutil) is needed to upload sketch via serial port.
@@ -202,7 +172,7 @@ $ nrfjprog --reset -f nrf52
202172

203173
This BSP is based on [Adafruits nRF52 BSP](https://github.com/adafruit/Adafruit_nRF52_Arduino),
204174
which is based on [Arduino-nRF5](https://github.com/sandeepmistry/arduino-nRF5) by Sandeep Mistry,
205-
which in turn is based on the [Arduino SAMD Core](https://github.com/arduino/ArduinoCore-samd).
175+
which in turn is based on the [Arduino SAMD Core](https://github.com/arduino/ArduinoCore-samd).
206176

207177
The following libraries are used:
208178

boards.txt

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
menu.softdevice=Bootloader
2020
menu.debug=Debug
21-
menu.region=Region
2221

2322
# ----------------------------------
2423
# WisBlock Core RAK4631 Board
@@ -64,20 +63,6 @@ WisCoreRAK4631Board.menu.debug.l3=Level 3 (Segger SystemView)
6463
WisCoreRAK4631Board.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3
6564
WisCoreRAK4631Board.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1
6665

67-
# Region Menu
68-
WisCoreRAK4631Board.menu.region.10=EU868
69-
WisCoreRAK4631Board.menu.region.10.build.region_flags=-DREGION_EU868
70-
WisCoreRAK4631Board.menu.region.11=US915
71-
WisCoreRAK4631Board.menu.region.11.build.region_flags=-DREGION_US915
72-
WisCoreRAK4631Board.menu.region.12=AU915
73-
WisCoreRAK4631Board.menu.region.12.build.region_flags=-DREGION_AU915
74-
WisCoreRAK4631Board.menu.region.13=KR920
75-
WisCoreRAK4631Board.menu.region.13.build.region_flags=-DREGION_KR920
76-
WisCoreRAK4631Board.menu.region.14=AS923
77-
WisCoreRAK4631Board.menu.region.14.build.region_flags=-DREGION_AS923
78-
WisCoreRAK4631Board.menu.region.15=IN865
79-
WisCoreRAK4631Board.menu.region.15.build.region_flags=-DREGION_IN865
80-
8166
# ----------------------------------
8267
# WisBlock Core RAK4600 Board
8368
# ----------------------------------
@@ -119,62 +104,3 @@ WisCoreRAK4600Board.menu.debug.l2=Level 2 (Full Debug)
119104
WisCoreRAK4600Board.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2
120105
WisCoreRAK4600Board.menu.debug.l3=Level 3 (Segger SystemView)
121106
WisCoreRAK4600Board.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3
122-
123-
# Region Menu
124-
WisCoreRAK4600Board.menu.region.10=EU868
125-
WisCoreRAK4600Board.menu.region.10.build.region_flags=-DREGION_EU868
126-
WisCoreRAK4600Board.menu.region.11=US915
127-
WisCoreRAK4600Board.menu.region.11.build.region_flags=-DREGION_US915
128-
WisCoreRAK4600Board.menu.region.12=AU915
129-
WisCoreRAK4600Board.menu.region.12.build.region_flags=-DREGION_AU915
130-
WisCoreRAK4600Board.menu.region.13=KR920
131-
WisCoreRAK4600Board.menu.region.13.build.region_flags=-DREGION_KR920
132-
WisCoreRAK4600Board.menu.region.14=AS923
133-
WisCoreRAK4600Board.menu.region.14.build.region_flags=-DREGION_AS923
134-
WisCoreRAK4600Board.menu.region.15=IN865
135-
WisCoreRAK4600Board.menu.region.15.build.region_flags=-DREGION_IN865
136-
137-
# ----------------------------------
138-
# WisTrio RAK5010
139-
# ----------------------------------
140-
WisTrioRAK5010.name=WisTrio RAK5010 Board
141-
WisTrioRAK5010.bootloader.tool=bootburn
142-
143-
# Upload
144-
WisTrioRAK5010.upload.tool=nrfutil
145-
WisTrioRAK5010.upload.protocol=nrfutil
146-
WisTrioRAK5010.upload.use_1200bps_touch=true
147-
WisTrioRAK5010.upload.wait_for_upload_port=true
148-
WisTrioRAK5010.upload.maximum_size=815104
149-
WisTrioRAK5010.upload.maximum_data_size=237568
150-
151-
# Build
152-
WisTrioRAK5010.build.mcu=cortex-m4
153-
WisTrioRAK5010.build.f_cpu=64000000
154-
WisTrioRAK5010.build.board=WisTrioRAK5010
155-
WisTrioRAK5010.build.core=nRF5
156-
WisTrioRAK5010.build.variant=WisTrio_RAK5010_Board
157-
WisTrioRAK5010.build.usb_manufacturer="RAKwireless"
158-
WisTrioRAK5010.build.usb_product="WisTrio RAK5010 Board"
159-
WisTrioRAK5010.build.extra_flags=-DNRF52840_XXAA {build.flags.usb}
160-
WisTrioRAK5010.build.ldscript=nrf52840_s140_v6.ld
161-
WisTrioRAK5010.build.vid=0x239A
162-
WisTrioRAK5010.build.pid=0x8029
163-
164-
# SofDevice Menu
165-
WisTrioRAK5010.menu.softdevice.s140v6=0.3.2 SoftDevice s140 6.1.1
166-
WisTrioRAK5010.menu.softdevice.s140v6.build.sd_name=s140
167-
WisTrioRAK5010.menu.softdevice.s140v6.build.sd_version=6.1.1
168-
WisTrioRAK5010.menu.softdevice.s140v6.build.sd_fwid=0x00B6
169-
170-
# Debug Menu
171-
WisTrioRAK5010.menu.debug.l0=Level 0 (Release)
172-
WisTrioRAK5010.menu.debug.l0.build.debug_flags=-DCFG_DEBUG=0
173-
WisTrioRAK5010.menu.debug.l1=Level 1 (Error Message)
174-
WisTrioRAK5010.menu.debug.l1.build.debug_flags=-DCFG_DEBUG=1
175-
WisTrioRAK5010.menu.debug.l2=Level 2 (Full Debug)
176-
WisTrioRAK5010.menu.debug.l2.build.debug_flags=-DCFG_DEBUG=2
177-
WisTrioRAK5010.menu.debug.l3=Level 3 (Segger SystemView)
178-
WisTrioRAK5010.menu.debug.l3.build.debug_flags=-DCFG_DEBUG=3
179-
WisTrioRAK5010.menu.debug.l3.build.sysview_flags=-DCFG_SYSVIEW=1
180-

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11

22
# RAKwireless WisBlock BSP Changelog
33

4+
## 0.21.20 - 2021.04.10
5+
6+
- Update examples
7+
- Make compatible with new Sx126x-Arduino library V2.0.0
8+
49
## 0.21.11 - 2021.03.03
510

611
- Update examples

libraries/RAK_examples/examples/RAK4631/Communications/BLE/README.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

libraries/RAK_examples/examples/RAK4631/Communications/BLE/ble_ota_dfu/README.MD

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)