Skip to content

Commit 1cc9ca7

Browse files
authored
Nrf 0.15.0 (#48)
* release nrf52 0.15.0 - update bpt_model.py to also clone submodule (for TinyUSB core) - update bpt.ini for Adafruit Clue
1 parent a249236 commit 1cc9ca7

File tree

4 files changed

+52
-2
lines changed

4 files changed

+52
-2
lines changed

boards/adafruit-nrf52-0.15.0.tar.bz2

17.1 MB
Binary file not shown.

bpt.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ index_template =
264264
}},
265265
{{
266266
"name":"Adafruit ItsyBitsy nRF52840"
267+
}},
268+
{{
269+
"name":"Adafruit Clue"
267270
}}
268271
],
269272
"toolsDependencies": [

bpt_model.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,11 @@ def __init__(self, repo, repo_dir, **kwargs):
172172
"""
173173
# Create a temporary directory to clone the repository.
174174
self._local_dir = tempfile.mkdtemp()
175-
# Clone the repo to the temp directory.
175+
# Clone the repo and its submodules to the temp directory.
176176
logger.debug('GitBoardPackage cloning repo {0} to directory {1}'.format(repo, self._local_dir))
177-
Repo.clone_from(repo, self._local_dir)
177+
cloned_repo = Repo.clone_from(repo, self._local_dir)
178+
cloned_repo.submodule_update(recursive=False)
179+
178180
# Find path to repo dir inside cloned directory.
179181
target_dir = self._local_dir
180182
if repo_dir is not None:

package_adafruit_index.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4524,6 +4524,51 @@
45244524
"version": "1.2.0"
45254525
}
45264526
]
4527+
},
4528+
{
4529+
"name": "Adafruit nRF52",
4530+
"architecture": "nrf52",
4531+
"version": "0.15.0",
4532+
"category": "Adafruit",
4533+
"url": "https://adafruit.github.io/arduino-board-index/boards/adafruit-nrf52-0.15.0.tar.bz2",
4534+
"archiveFileName": "adafruit-nrf52-0.15.0.tar.bz2",
4535+
"checksum": "SHA-256:4828306bc346d145449bff6a71d7581039becd8bcdae0f06d02185a58a759182",
4536+
"size": "17887560",
4537+
"help": {
4538+
"online": "https://forums.adafruit.com"
4539+
},
4540+
"boards": [
4541+
{
4542+
"name": "Adafruit Feather nRF52832"
4543+
},
4544+
{
4545+
"name": "Adafruit Feather nRF52840 Express"
4546+
},
4547+
{
4548+
"name": "Adafruit Circuit Playground Bluefruit"
4549+
},
4550+
{
4551+
"name": "Adafruit Metro nRF52840 Express"
4552+
},
4553+
{
4554+
"name": "Adafruit ItsyBitsy nRF52840"
4555+
},
4556+
{
4557+
"name": "Adafruit Clue"
4558+
}
4559+
],
4560+
"toolsDependencies": [
4561+
{
4562+
"packager": "arduino",
4563+
"name": "arm-none-eabi-gcc",
4564+
"version": "7-2017q4"
4565+
},
4566+
{
4567+
"packager": "adafruit",
4568+
"name": "nrfjprog",
4569+
"version": "9.4.0"
4570+
}
4571+
]
45274572
}
45284573
]
45294574
},

0 commit comments

Comments
 (0)