Skip to content

Commit c19a02e

Browse files
committed
Update support for Zephyr framework v2.1
1 parent 15a62c9 commit c19a02e

4 files changed

Lines changed: 60 additions & 6 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
- PLATFORMIO_PROJECT_DIR=examples/mbed-serial
1313
- PLATFORMIO_PROJECT_DIR=examples/zephyr-blink
1414
- PLATFORMIO_PROJECT_DIR=examples/zephyr-net-telnet
15-
- PLATFORMIO_PROJECT_DIR=examples/zephyr-sensor-sx9500
15+
# - PLATFORMIO_PROJECT_DIR=examples/zephyr-sensor-sx9500
1616

1717
# Zephyr framework doesn't support python 2
1818
jobs:

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ environment:
1010
- PLATFORMIO_PROJECT_DIR: "examples/mbed-serial"
1111
- PLATFORMIO_PROJECT_DIR: "examples/zephyr-blink"
1212
- PLATFORMIO_PROJECT_DIR: "examples/zephyr-net-telnet"
13-
- PLATFORMIO_PROJECT_DIR: "examples/zephyr-sensor-sx9500"
13+
# - PLATFORMIO_PROJECT_DIR: "examples/zephyr-sensor-sx9500"
1414

1515
install:
1616
- cmd: git submodule update --init --recursive

platform.json

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,63 @@
4040
"framework-zephyr": {
4141
"type": "framework",
4242
"optional": true,
43-
"version": "~1.20000.0"
43+
"version": "~1.20100.0"
4444
},
4545
"framework-zephyr-hal-nxp": {
4646
"optional": true,
47-
"version": "~0.0.191107"
47+
"version": "~0.20100.191106"
48+
},
49+
"framework-zephyr-civetweb": {
50+
"optional": true,
51+
"version": "~0.20100.190807"
52+
},
53+
"framework-zephyr-fatfs": {
54+
"optional": true,
55+
"version": "~0.20100.190522"
56+
},
57+
"framework-zephyr-libmetal": {
58+
"optional": true,
59+
"version": "~0.20100.190530"
60+
},
61+
"framework-zephyr-lvgl": {
62+
"optional": true,
63+
"version": "~0.20100.190812"
64+
},
65+
"framework-zephyr-mbedtls": {
66+
"optional": true,
67+
"version": "~0.20100.191006"
68+
},
69+
"framework-zephyr-mcumgr": {
70+
"optional": true,
71+
"version": "~0.20100.190528"
72+
},
73+
"framework-zephyr-nffs": {
74+
"optional": true,
75+
"version": "~0.20100.190523"
76+
},
77+
"framework-zephyr-open-amp": {
78+
"optional": true,
79+
"version": "~0.20100.190612"
80+
},
81+
"framework-zephyr-openthread": {
82+
"optional": true,
83+
"version": "~0.20100.191024"
84+
},
85+
"framework-zephyr-segger": {
86+
"optional": true,
87+
"version": "~0.20100.190421"
88+
},
89+
"framework-zephyr-tinycbor": {
90+
"optional": true,
91+
"version": "~0.20100.191016"
92+
},
93+
"framework-zephyr-littlefs": {
94+
"optional": true,
95+
"version": "~0.20100.190811"
96+
},
97+
"framework-zephyr-mipi-sys-t": {
98+
"optional": true,
99+
"version": "~0.20100.191024"
48100
},
49101
"tool-pyocd": {
50102
"type": "uploader",

platform.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ def is_embedded(self):
2626
def configure_default_packages(self, variables, targets):
2727

2828
if "zephyr" in variables.get("pioframework", []):
29-
for p in ("framework-zephyr-hal-nxp", "tool-cmake", "tool-dtc", "tool-ninja"):
30-
self.packages[p]["optional"] = False
29+
for p in self.packages:
30+
if p.startswith("framework-zephyr-") or p in (
31+
"tool-cmake", "tool-dtc", "tool-ninja"):
32+
self.packages[p]["optional"] = False
3133
self.packages['toolchain-gccarmnoneeabi']['version'] = "~1.80201.0"
3234
if "windows" not in get_systype():
3335
self.packages['tool-gperf']['optional'] = False

0 commit comments

Comments
 (0)