From 7ffe3679bc83d1a0c5f4d7eddb8680aa29f43227 Mon Sep 17 00:00:00 2001 From: "TOKITA, Hiroshi" Date: Wed, 22 Jul 2020 23:42:33 +0900 Subject: [PATCH] Change package architecture to nrf52 --- .github/workflows/githubci.yml | 4 ++-- .github/workflows/update_package_list.py | 2 +- tools/build_all.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 3f6d7cac7..487bdca49 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -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/* diff --git a/.github/workflows/update_package_list.py b/.github/workflows/update_package_list.py index fae1df8d5..bcfce962a 100644 --- a/.github/workflows/update_package_list.py +++ b/.github/workflows/update_package_list.py @@ -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", diff --git a/tools/build_all.py b/tools/build_all.py index 6b2078d5c..a564872bb 100644 --- a/tools/build_all.py +++ b/tools/build_all.py @@ -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()