Skip to content

Commit 7e44f43

Browse files
committed
Merge branch 'release/v9.0.0'
2 parents 7739f1a + 89a4891 commit 7e44f43

13 files changed

Lines changed: 160 additions & 29 deletions

File tree

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
os: [ubuntu-16.04, windows-2016, macos-latest]
10+
os: [ubuntu-18.04, windows-2016, macos-latest]
1111
example:
1212
- "examples/arduino-blink"
1313
- "examples/arduino-ble-led"

boards/adafruit_clue_nrf52840.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,15 @@
1010
"hwids": [
1111
[
1212
"0x239A",
13-
"0x8072"
14-
],
15-
[
16-
"0x239A",
17-
"0x0072"
13+
"0x8071"
1814
],
1915
[
2016
"0x239A",
2117
"0x0071"
2218
],
2319
[
2420
"0x239A",
25-
"0x8071"
21+
"0x8072"
2622
]
2723
],
2824
"usb_product": "CLUE nRF52840",

boards/adafruit_cplaynrf52840.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616
"0x239A",
1717
"0x0045"
1818
],
19-
[
20-
"0x239A",
21-
"0x0046"
22-
],
2319
[
2420
"0x239A",
2521
"0x8046"
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "nrf52840_s140_v6.ld"
5+
},
6+
"core": "nRF5",
7+
"cpu": "cortex-m4",
8+
"extra_flags": "-DARDUINO_NRF52840_LED_GLASSES -DNRF52840_XXAA",
9+
"f_cpu": "64000000L",
10+
"hwids": [
11+
[
12+
"0x239A",
13+
"0x810D"
14+
],
15+
[
16+
"0x239A",
17+
"0x0029"
18+
],
19+
[
20+
"0x239A",
21+
"0x010D"
22+
],
23+
[
24+
"0x239A",
25+
"0x810E"
26+
]
27+
],
28+
"usb_product": "Adafruit LED Glasses",
29+
"mcu": "nrf52840",
30+
"variant": "ledglasses_nrf52840",
31+
"bsp": {
32+
"name": "adafruit"
33+
},
34+
"softdevice": {
35+
"sd_flags": "-DS140",
36+
"sd_name": "s140",
37+
"sd_version": "6.1.1",
38+
"sd_fwid": "0x00B6"
39+
},
40+
"bootloader": {
41+
"settings_addr": "0xFF000"
42+
}
43+
},
44+
"connectivity": [
45+
"bluetooth"
46+
],
47+
"debug": {
48+
"jlink_device": "nRF52840_xxAA",
49+
"svd_path": "nrf52840.svd"
50+
},
51+
"frameworks": [
52+
"arduino",
53+
"zephyr"
54+
],
55+
"name": "Adafruit LED Glasses Driver nRF52840",
56+
"upload": {
57+
"maximum_ram_size": 237568,
58+
"maximum_size": 815104,
59+
"speed": 115200,
60+
"protocol": "nrfutil",
61+
"protocols": [
62+
"jlink",
63+
"nrfjprog",
64+
"nrfutil",
65+
"stlink",
66+
"cmsis-dap",
67+
"blackmagic"
68+
],
69+
"use_1200bps_touch": true,
70+
"require_upload_port": true,
71+
"wait_for_upload_port": true
72+
},
73+
"url": "https://www.adafruit.com/product/5217",
74+
"vendor": "Adafruit"
75+
}

boards/nicla_sense_me.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "linker_script.ld"
5+
},
6+
"core": "arduino",
7+
"cpu": "cortex-m4",
8+
"extra_flags": "-DARDUINO_NICLA -DARDUINO_ARCH_NRF52832",
9+
"f_cpu": "64000000L",
10+
"hwids": [
11+
[
12+
"0x2341",
13+
"0x0060"
14+
]
15+
],
16+
"mcu": "nrf52832",
17+
"variant": "NICLA"
18+
},
19+
"connectivity": [
20+
"bluetooth"
21+
],
22+
"debug": {
23+
"default_tools": [
24+
"cmsis-dap"
25+
],
26+
"jlink_device": "nRF52832_xxAA",
27+
"onboard_tools": [
28+
"cmsis-dap"
29+
],
30+
"svd_path": "nrf52.svd",
31+
"openocd_target": "nrf52.cfg",
32+
"openocd_extra_args": [
33+
"-c",
34+
"transport select swd;"
35+
]
36+
},
37+
"frameworks": [
38+
"arduino"
39+
],
40+
"name": "Arduino Nicla Sense ME",
41+
"upload": {
42+
"maximum_ram_size": 64288,
43+
"maximum_size": 527616,
44+
"protocol": "cmsis-dap",
45+
"protocols": [
46+
"jlink",
47+
"nrfjprog",
48+
"nrfutil",
49+
"cmsis-dap",
50+
"sam-ba",
51+
"blackmagic"
52+
],
53+
"use_1200bps_touch": false,
54+
"require_upload_port": true
55+
},
56+
"url": "https://docs.arduino.cc/hardware/nicla-sense-me",
57+
"vendor": "Arduino"
58+
}

builder/frameworks/arduino

builder/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621
109109
),
110110
MergeHex=Builder(
111111
action=env.VerboseAction(" ".join([
112-
join(platform.get_package_dir("tool-sreccat") or "",
112+
'"%s"' % join(platform.get_package_dir("tool-sreccat") or "",
113113
"srec_cat"),
114114
"$SOFTDEVICEHEX",
115115
"-intel",
@@ -130,7 +130,7 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621
130130
BUILDERS=dict(
131131
PackageDfu=Builder(
132132
action=env.VerboseAction(" ".join([
133-
"$PYTHONEXE",
133+
'"$PYTHONEXE"',
134134
'"%s"' % join(platform.get_package_dir(
135135
"tool-adafruit-nrfutil") or "", "adafruit-nrfutil.py"),
136136
"dfu",
@@ -149,8 +149,8 @@ def BeforeUpload(target, source, env): # pylint: disable=W0613,W0621
149149
action=env.VerboseAction(
150150
" ".join(
151151
[
152-
"$PYTHONEXE",
153-
join(
152+
'"$PYTHONEXE"',
153+
'"%s"' % join(
154154
platform.get_package_dir(
155155
"framework-arduinoadafruitnrf52"
156156
)

examples/arduino-bluefruit-bleuart/platformio.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ framework = arduino
4343
board = particle_xenon
4444
monitor_speed = 115200
4545

46+
[env:adafruit_ledglasses_nrf52840]
47+
platform = nordicnrf52
48+
framework = arduino
49+
board = adafruit_ledglasses_nrf52840
50+
monitor_speed = 115200

examples/zephyr-net-echo-client/zephyr/boards/atsamr21_xpro.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2020, Gerson Fernando Budke
2+
# Copyright (c) 2020-2021, Gerson Fernando Budke
33
# Copyright (c) 2019, Benjamin Valentin
44
#
55
# SPDX-License-Identifier: Apache-2.0
@@ -15,11 +15,11 @@ CONFIG_NET_PKT_TX_COUNT=6
1515
CONFIG_NET_BUF_RX_COUNT=6
1616
CONFIG_NET_BUF_TX_COUNT=6
1717
CONFIG_NET_MAX_CONTEXTS=4
18-
CONFIG_NET_MAX_CONN=2
19-
CONFIG_NET_MAX_ROUTES=2
20-
CONFIG_NET_MAX_NEXTHOPS=2
18+
CONFIG_NET_MAX_CONN=1
19+
CONFIG_NET_MAX_ROUTES=1
20+
CONFIG_NET_MAX_NEXTHOPS=1
2121

2222
CONFIG_SHELL_STACK_SIZE=768
23-
CONFIG_SHELL_CMD_BUFF_SIZE=80
23+
CONFIG_SHELL_CMD_BUFF_SIZE=64
2424
CONFIG_SHELL_ARGC_MAX=6
2525
CONFIG_SHELL_HISTORY_BUFFER=64

examples/zephyr-net-echo-client/zephyr/overlay-ot.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CONFIG_OPENTHREAD_L2_DEBUG=y
2424
CONFIG_OPENTHREAD_L2_LOG_LEVEL_INF=y
2525

2626
CONFIG_OPENTHREAD_CHANNEL=26
27-
CONFIG_OPENTHREAD_MASTERKEY="00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
27+
CONFIG_OPENTHREAD_NETWORKKEY="00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
2828

2929
CONFIG_NET_CONFIG_MY_IPV6_ADDR="fdde:ad00:beef::1"
3030
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="fdde:ad00:beef::2"

0 commit comments

Comments
 (0)