Skip to content

Commit b2b9f02

Browse files
committed
Fix build tests
1 parent 0aaa60c commit b2b9f02

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ubuntu-latest, windows-latest, macos-latest]
11-
python-version: [3.9]
11+
python-version: [3.12]
1212
example:
1313
- "examples/BLE-client-test"
1414
- "examples/BLE-server-test"
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
python -m pip install --upgrade pip
2727
pip install -U https://github.com/platformio/platformio/archive/develop.zip
28-
platformio platform install file://.
28+
pio pkg install --global --platform file://.
2929
- name: Build examples
3030
run: |
31-
platformio run -d ${{ matrix.example }}
31+
pio run -d ${{ matrix.example }}

examples/BLE-client-test/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ framework = arduino
1414
monitor_speed=115200
1515

1616
[common]
17-
lib_deps = h2zero/NimBLE-Arduino@^1.4.0
17+
lib_deps = h2zero/NimBLE-Arduino
1818
build_flags =
1919
'-DCONFIG_NIMBLE_CPP_LOG_LEVEL=0'
2020
'-DCONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED'

platform.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Development platform for Arm BLE devices supported by the NimBLE stack",
55
"homepage": "https://github.com/h2zero/platform-n-able",
66
"license": "Apache-2.0",
7+
"version": "1.1.0",
78
"keywords": [
89
"dev-platform",
910
"ARM",
@@ -20,7 +21,6 @@
2021
"type": "git",
2122
"url": "https://github.com/h2zero/platform-n-able.git"
2223
},
23-
"version": "1.1.0",
2424
"frameworks": {
2525
"arduino": {
2626
"package": "framework-n-able-arduino",
@@ -31,7 +31,7 @@
3131
"framework-n-able-arduino": {
3232
"type": "framework",
3333
"optional": false,
34-
"version": "https://github.com/h2zero/n-able-Arduino.git@0.2.0"
34+
"version": "https://github.com/h2zero/n-able-Arduino.git@0.3.0"
3535
},
3636
"toolchain-gccarmnoneeabi": {
3737
"type": "toolchain",

0 commit comments

Comments
 (0)