Skip to content

Commit

Permalink
Change package architecture to nrf52
Browse files Browse the repository at this point in the history
  • Loading branch information
soburi committed Jul 22, 2020
1 parent 6d77687 commit 7ffe367
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
- name: Install BSP and Libraries
env:
BSP_URL: https://soburi.github.io/openthread_nrf52_arduino/package_soburi_otnrf52_index.json
BSP_PATH: .arduino15/packages/soburi/hardware/otnrf52
BSP_PATH: .arduino15/packages/soburi/hardware/nrf52
run: |
arduino-cli config init
arduino-cli core update-index
arduino-cli core update-index --additional-urls $BSP_URL
arduino-cli core install soburi:otnrf52 --additional-urls $BSP_URL
arduino-cli core install soburi:nrf52 --additional-urls $BSP_URL
# Repalce release BSP with our code
BSP_VERSION=`eval ls $HOME/$BSP_PATH`
rm -r $HOME/$BSP_PATH/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_package_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

node = {
"name": "OpenThread nRF52840 Boards",
"architecture": "otnrf52",
"architecture": "nrf52",
"category": "Contributed",
"version": tag,
"url": f"https://github.com/soburi/openthread_nrf52_arduino/archive/{tag}.zip",
Expand Down
2 changes: 1 addition & 1 deletion tools/build_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def build_examples(variant):
print((build_format + '| {:6} |').format('Library', 'Example', 'Result', 'Time'))
print(build_separator)

fqbn = "soburi:otnrf52:{}:softdevice={},debug=l0".format(variant, 's140v7')
fqbn = "soburi:nrf52:{}:softdevice={},debug=l0".format(variant, 's140v7')

for sketch in glob.iglob('libraries/**/*.ino', recursive=True):
start_time = time.monotonic()
Expand Down

0 comments on commit 7ffe367

Please sign in to comment.