1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

8526 Commits

Author SHA1 Message Date
Marian Buschsieweke
da76ca68db sys/ztimer: add ZTIMER_SEC
wire up ZTIMER_SEC to the existing RTC backend, or RTT backend, or periph_timer
backend (in this order of preference).

Update sys/ztimer/auto_init.c

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2021-03-08 15:11:53 +01:00
Leandro Lanzieri
311ed225ae
sys/clif: fix attribute parsing and comply with tests 2021-03-05 16:47:53 +01:00
Silke Hofstra
5e9b531d33 sys/phydat: clarify use of phydat::scale in phydat_fit 2021-03-04 21:30:18 +01:00
Francisco
d369dffb4f
Merge pull request #14339 from aabadie/pr/sys/auto_init_screen
drivers: sys/auto_init: pkg/lvgl: setup disp_dev, touch_dev and lvgl auto_init
2021-03-04 19:23:32 +01:00
Marian Buschsieweke
cf05b39da5
sys/event: add missing precondition to doc 2021-03-04 12:21:07 +01:00
7f5d17da83 sys/event: fix possibly uninitialized return warning 2021-03-03 22:28:31 +01:00
4e09a54521
pkg/lvgl: add auto_init_screen by default + setup auto_init 2021-03-03 18:00:49 +01:00
f45d2c7b2a
sys/auto_init: add auto_init for stmpe811 2021-03-03 18:00:49 +01:00
7c26cf8e76
sys/auto_init: add auto_init for ili9341 2021-03-03 18:00:49 +01:00
bbe0c94167
sys/auto_init: add mechanism for auto_init_screen 2021-03-03 18:00:49 +01:00
Kevin "Tristate Tom" Weiss
bf93d85d4e
Merge pull request #16111 from miri64/congure_test/enh/shorter-shell-cmd
congure_test: make shell commands shorter
2021-03-03 14:09:49 +01:00
Marian Buschsieweke
9e55c2d9e9
sys/net/gnrc/lwmac: add missing const qualifier
The name of the thread running the MAC can be stored in ROM.
2021-03-02 17:12:01 +01:00
Marian Buschsieweke
f7f739046d
sys/net/gnrc/gomach: add missing const qualifier
The name of the thread running the MAC can be stored in ROM.
2021-03-02 17:10:58 +01:00
Leandro Lanzieri
7faa84ff56
Merge pull request #16110 from jia200x/pr/fix_gnrc_lorawan_pktbuf
gnrc_netif_lorawan: add missing NULL check
2021-03-01 14:46:44 +01:00
Martine Lenders
f19c8bad01
congure_test: make shell commands shorter 2021-03-01 14:41:31 +01:00
benpicco
b572e67846
Merge pull request #16112 from chrysn-pull-requests/cord-27
sys/net/app/cord: Update to RD draft -27
2021-03-01 14:13:33 +01:00
chrysn
049b5179a7 sys/net/app/cord and examples: Update references to -27
With all (the few necessary) changes done, this can claim -27
compatibility.
2021-03-01 11:59:57 +01:00
chrysn
6542f7008f sys/net/app/cord: Use updated .well-known path from draft -26 2021-03-01 11:20:42 +01:00
Jose Alamos
275630289d
gnrc_netif_lorawan: add missing NULL check 2021-03-01 10:50:57 +01:00
benpicco
c007b00951
Merge pull request #15932 from jeandudey/2021_02_04-ieee802154-phy
net/ieee802154: add PHY modes caps for HAL
2021-02-26 23:09:37 +01:00
Jean Pierre Dudey
e99e2d222d net/ieee802154/submac: select and save PHY mode on device init
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Jean Pierre Dudey
4ca37c96b3 net/ieee802154: add PHY mode capabilities
- Adds capabilities for each PHY mode. Converts the uint16_t caps field to an
uint32_t in order to hold all capability bits, size of the structure remains
unchanged due to alignment.
- Modifies the test application to configure the PHY mode using the shell
command. Also adds the PHY modes to the capabilities shell command.
- Updates the nrf802154 and cc2538 radio drivers to specify the PHY mode
supported.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Jean Pierre Dudey
0cd3deb74c net/ieee802154: add PHY mode configuration
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Jean Pierre Dudey
8183b1fe78 net/ieee802154: add type for PHY modes enum
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Martine Lenders
f5bae1a8fb
congure_mock: initial import of a CongURE mock implementation 2021-02-26 10:08:12 +01:00
Martine Lenders
e65fee4587
congure_test: initial import of CongURE test framework 2021-02-26 10:08:12 +01:00
Martine Lenders
2f2a009e7a
congure: initial import of a congestion control framework 2021-02-26 10:08:11 +01:00
Marian Buschsieweke
7cfedbfb8a
sys/net/gnrc: fix logic bug in gnrc_tx_sync implementation
In case of an error, the tx sync packet snip could previously have been
released twice. This moves re-attaching the tx sync snip down after the
last `goto error` to avoid this.
2021-02-24 21:22:25 +01:00
benpicco
930e760143
Merge pull request #16081 from cgundogan/pr/rpl_options_fix
gnrc_rpl: harden validation routine for options
2021-02-24 12:38:45 +01:00
benpicco
9fc60da4ca
Merge pull request #15830 from benpicco/net/nanocoap_add_uri
nanocoap: add coap_opt_put_uri_pathquery()
2021-02-24 12:09:08 +01:00
Leandro Lanzieri
b8774009d0
Merge pull request #16009 from MrKevinWeiss/pr/sys/kconfig/simple
sys/*/Kconfig: Add simple sys modules to Kconfig
2021-02-24 10:27:01 +01:00
Cenk Gündoğan
72337ebb9b
gnrc_rpl: harden validation routine for options 2021-02-23 18:58:03 +01:00
Benjamin Valentin
769978904a suit/transport/coap: use coap_opt_put_uri()
The URI is passed as a string to `suit_coap_get_blockwise()`.
It may contain query parameters, those will not be translated
properly to CoAP options if `coap_opt_put_uri_path()` is used.

Instead use `coap_opt_put_uri()` to handle both path and query
parameters.
2021-02-23 18:27:54 +01:00
Benjamin Valentin
d4e5c25b70 nanocoap: add coap_opt_put_uri_pathquery() 2021-02-23 18:27:54 +01:00
Martine Lenders
afb027852d
Merge pull request #15992 from yarrick/more_lwip
Add lwIP ifconfig shell command
2021-02-23 16:59:41 +01:00
Erik Ekman
eab317749f sys/shell: Add lwIP ifconfig shell command
Lists state, link type, v4/v6 addresses.
Currently read-only.

Using lwIP debug system to print addresses, to limit dependencies
and work with dual stack setup. Most other code seems to only
allow either v4 or v6 networking. For that to compile I
had to change the `SZT_F` format string due to this error:
```
error: format '%lu' expects argument of type 'long unsigned int',
but argument 2 has type 'size_t {aka unsigned int}'
```
Switching to the lwIP default format string here.

Outputs the following on my ESP32 board with Ethernet,
when both v4 and v6 are enabled in examples/paho-mqtt:
```
> ifconfig
Iface ET0 HWaddr: 24:0a:c4:e6:0e:9f Link: up State: up
        Link type: wired
        inet addr: 10.4.4.81 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9f scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9f scope: global
Iface ET1 HWaddr: 24:0a:c4:e6:0e:9c Link: up State: up
        Link type: wireless
        inet addr: 10.4.4.82 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9c scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9c scope: global
>
```
2021-02-23 11:47:45 +01:00
MrKevinWeiss
94504fb9d1 sys: Expose Kconfig modules 2021-02-22 14:58:09 +01:00
Antonio Galea
9c9056844e USB CDC: fix typo in definitions 2021-02-22 14:56:37 +01:00
MrKevinWeiss
7512e1002a sys/uri_parser: Add Kconfig support 2021-02-22 14:54:53 +01:00
MrKevinWeiss
b7d4d83d5c sys/timex: Add Kconfig support 2021-02-22 14:54:15 +01:00
MrKevinWeiss
476c0d8702 sys/seq: Add Kconfig support 2021-02-22 14:54:15 +01:00
MrKevinWeiss
02d19b0b4a sys/sema: Add Kconfig support 2021-02-22 14:54:15 +01:00
MrKevinWeiss
37d640a5b6 sys/oneway-malloc: Add Kconfig support 2021-02-22 14:54:15 +01:00
MrKevinWeiss
bdaa517da1 sys/mineplex: Add Kconfig support 2021-02-22 14:54:14 +01:00
MrKevinWeiss
1c03c0594a sys/memarray: Add Kconfig support 2021-02-22 14:54:14 +01:00
MrKevinWeiss
9c6e907a08 sys/matstat: Add Kconfig support 2021-02-22 14:54:14 +01:00
MrKevinWeiss
8bc7893e92 sys/eepreg: Add Kconfig support 2021-02-22 14:54:14 +01:00
MrKevinWeiss
e7f62e89fe sys/cb_mux: Add Kconfig support 2021-02-22 14:54:14 +01:00
MrKevinWeiss
f1c52296d8 sys/bloom: Add Kconfig support 2021-02-22 14:54:14 +01:00
MrKevinWeiss
820283a12e sys/bitfield: Add Kconfig support 2021-02-22 14:54:14 +01:00