Skip to content

Commit f7efed2

Browse files
committed
Merge branch 'release/v6.0.0'
2 parents 9934749 + a2e76d3 commit f7efed2

3 files changed

Lines changed: 34 additions & 28 deletions

File tree

examples/zephyr-net-telnet/src/telnet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LOG_MODULE_REGISTER(net_telnet_sample, LOG_LEVEL_DBG);
2020
static struct net_mgmt_event_callback mgmt_cb;
2121

2222
static void ipv4_addr_add_handler(struct net_mgmt_event_callback *cb,
23-
u32_t mgmt_event,
23+
uint32_t mgmt_event,
2424
struct net_if *iface)
2525
{
2626
char hr_addr[NET_IPV4_ADDR_LEN];

examples/zephyr-sensor-sx9500/src/main.c

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
#include <sys/printk.h>
1212
#ifdef CONFIG_SX9500_TRIGGER
1313

14-
static void sensor_trigger_handler(struct device *dev, struct sensor_trigger *trig)
14+
static void sensor_trigger_handler(const struct device *dev,
15+
struct sensor_trigger *trig)
1516
{
1617
struct sensor_value prox_value;
1718
int ret;
@@ -26,7 +27,7 @@ static void sensor_trigger_handler(struct device *dev, struct sensor_trigger *tr
2627
printk("prox is %d\n", prox_value.val1);
2728
}
2829

29-
static void setup_trigger(struct device *dev)
30+
static void setup_trigger(const struct device *dev)
3031
{
3132
int ret;
3233
struct sensor_trigger trig = {
@@ -39,18 +40,18 @@ static void setup_trigger(struct device *dev)
3940
}
4041
}
4142

42-
void do_main(struct device *dev)
43+
void do_main(const struct device *dev)
4344
{
4445
setup_trigger(dev);
4546

4647
while (1) {
47-
k_sleep(1000);
48+
k_sleep(K_MSEC(1000));
4849
}
4950
}
5051

5152
#else /* CONFIG_SX9500_TRIGGER */
5253

53-
static void do_main(struct device *dev)
54+
static void do_main(const struct device *dev)
5455
{
5556
int ret;
5657
struct sensor_value prox_value;
@@ -65,15 +66,15 @@ static void do_main(struct device *dev)
6566
ret = sensor_channel_get(dev, SENSOR_CHAN_PROX, &prox_value);
6667
printk("prox is %d\n", prox_value.val1);
6768

68-
k_sleep(1000);
69+
k_sleep(K_MSEC(1000));
6970
}
7071
}
7172

7273
#endif /* CONFIG_SX9500_TRIGGER */
7374

7475
void main(void)
7576
{
76-
struct device *dev;
77+
const struct device *dev;
7778

7879
dev = device_get_binding("SX9500");
7980

@@ -82,7 +83,7 @@ void main(void)
8283
return;
8384
}
8485

85-
printk("device is %p, name is %s\n", dev, dev->config->name);
86+
printk("device is %p, name is %s\n", dev, dev->name);
8687

8788
do_main(dev);
8889
}

platform.json

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"type": "git",
1919
"url": "https://github.com/platformio/platform-freescalekinetis.git"
2020
},
21-
"version": "5.3.1",
21+
"version": "6.0.0",
2222
"frameworks": {
2323
"mbed": {
2424
"package": "framework-mbed",
@@ -45,57 +45,62 @@
4545
"type": "framework",
4646
"optional": true,
4747
"owner": "platformio",
48-
"version": "~2.20300.0"
48+
"version": "~2.20400.0"
49+
},
50+
"framework-zephyr-cmsis": {
51+
"optional": true,
52+
"owner": "platformio",
53+
"version": "0.0.0-alpha+sha.542b2296e6"
4954
},
5055
"framework-zephyr-canopennode": {
5156
"optional": true,
5257
"owner": "platformio",
53-
"version": "0.0.0-alpha+sha.5c6b0566d5"
58+
"version": "0.0.0-alpha+sha.468d350028"
5459
},
5560
"framework-zephyr-civetweb": {
5661
"optional": true,
5762
"owner": "platformio",
5863
"version": "0.0.0-alpha+sha.99129c5efc"
5964
},
60-
"framework-zephyr-cmsis": {
65+
"framework-zephyr-fatfs": {
6166
"optional": true,
6267
"owner": "platformio",
63-
"version": "0.0.0-alpha+sha.542b2296e6"
68+
"version": "0.0.0-alpha+sha.13697783bf"
6469
},
65-
"framework-zephyr-fatfs": {
70+
"framework-zephyr-hal-nxp": {
6671
"optional": true,
6772
"owner": "platformio",
68-
"version": "0.0.0-alpha+sha.9ee6b9b951"
73+
"version": "0.0.0-alpha+sha.68bbdbdec1"
6974
},
70-
"framework-zephyr-hal-nxp": {
75+
"framework-zephyr-hal-st": {
7176
"optional": true,
7277
"owner": "platformio",
73-
"version": "0.0.0-alpha+sha.80a337dc4c"
78+
"version": "0.0.0-alpha+sha.5b3ec3e182"
7479
},
7580
"framework-zephyr-libmetal": {
7681
"optional": true,
7782
"owner": "platformio",
78-
"version": "0.0.0-alpha+sha.3c3c9ec83b"
83+
"version": "0.0.0-alpha+sha.0b23894a04"
7984
},
8085
"framework-zephyr-lvgl": {
8186
"optional": true,
8287
"owner": "platformio",
83-
"version": "0.0.0-alpha+sha.74fc2e753a"
88+
"version": "0.0.0-alpha+sha.928b61c7c8"
8489
},
8590
"framework-zephyr-mbedtls": {
8691
"optional": true,
8792
"owner": "platformio",
88-
"version": "0.0.0-alpha+sha.4bf099f125"
93+
"version": "0.0.0-alpha+sha.aef137b1af"
8994
},
9095
"framework-zephyr-mcuboot": {
9196
"optional": true,
9297
"owner": "platformio",
93-
"version": "0.0.0-alpha+sha.e88113bbeb"
98+
"version": "0.0.0-alpha+sha.a5d79cf8cc"
9499
},
95100
"framework-zephyr-mcumgr": {
96101
"optional": true,
97102
"owner": "platformio",
98-
"version": "0.0.0-alpha+sha.5885efb7ca"
103+
"version": "0.0.0-alpha+sha.5051f9d900"
99104
},
100105
"framework-zephyr-open-amp": {
101106
"optional": true,
@@ -105,17 +110,17 @@
105110
"framework-zephyr-loramac-node": {
106111
"optional": true,
107112
"owner": "platformio",
108-
"version": "0.0.0-alpha+sha.29e516ec58"
113+
"version": "0.0.0-alpha+sha.3f545d76a2"
109114
},
110115
"framework-zephyr-openthread": {
111116
"optional": true,
112117
"owner": "platformio",
113-
"version": "0.0.0-alpha+sha.a83d18cf18"
118+
"version": "0.0.0-alpha+sha.07f430dac6"
114119
},
115120
"framework-zephyr-segger": {
116121
"optional": true,
117122
"owner": "platformio",
118-
"version": "0.0.0-alpha+sha.6fcf61606d"
123+
"version": "0.0.0-alpha+sha.874d9e9696"
119124
},
120125
"framework-zephyr-tinycbor": {
121126
"optional": true,
@@ -130,7 +135,7 @@
130135
"framework-zephyr-littlefs": {
131136
"optional": true,
132137
"owner": "platformio",
133-
"version": "0.0.0-alpha+sha.0aefdda69d"
138+
"version": "0.0.0-alpha+sha.9e4498d1c7"
134139
},
135140
"framework-zephyr-mipi-sys-t": {
136141
"optional": true,
@@ -140,7 +145,7 @@
140145
"framework-zephyr-trusted-firmware-m": {
141146
"optional": true,
142147
"owner": "platformio",
143-
"version": "0.0.0-alpha+sha.7de2daa196"
148+
"version": "0.0.0-alpha+sha.143df67555"
144149
},
145150
"tool-pyocd": {
146151
"type": "uploader",

0 commit comments

Comments
 (0)