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

8624 Commits

Author SHA1 Message Date
Leandro Lanzieri
a60b53005a
pkg/lvgl: model dependency resolution in Kconfig 2021-04-28 11:19:24 +02:00
Benjamin Valentin
d611a264fd drivers/cc2420: register with netdev 2021-04-27 17:37:52 +02:00
Martine Lenders
f7992bb588
Merge pull request #16268 from maribu/sys/Makefile.dep
sys/Makefile.dep: Some cleanup
2021-04-23 21:34:11 +02:00
Marian Buschsieweke
19d92cb455
sys/net/gnrc/Makefile.dep: split out of sys/Makefile.dep 2021-04-23 20:29:38 +02:00
Sebastiaan de Schaetzen
dee65e7ec6 xtimer: fix race condition in xtimer_msg_receive_timeout 2021-04-22 16:31:36 +02:00
Hauke Petersen
a7a3244b8f
Merge pull request #16367 from kaspar030/fix_ztimer_is_set
ztimer: fix `ztimer_is_set()`
2021-04-22 12:06:41 +02:00
88b509e56d ztimer: correctly unset timer->next (fix ztimer_is_set())
ztimer's machinery depends on figuring out if a timer is currently set
or not. It does that using _is_set(), which is also exposed as
ztimer_is_set().
Now when a timer expired and got taken of the timer queue using
_now_next(), the `next` pointer wasn't unset. This caused _is_set() to
wrongly return `true` for that timer.
Internally in ztimer, this didn't cause breakage, just an unnecessary
iteration of the timer queue by _delete_timer_from_list().
But this also broke the public ztimer_is_set().

This commit fixes the issue by correctly NULLing the timer's `next`
pointer when the timer triggers.
2021-04-22 11:06:04 +02:00
chrysn
9ece00f10d sys/shell/sc_gnrc_rpl: Err out early if RPL not even started
Closes: https://github.com/RIOT-OS/RIOT/issues/16357
2021-04-20 17:04:27 +02:00
Hauke Petersen
feeffb2b2e sys/shell/sc_gnrc_6ctx: use ztimer if available 2021-04-16 11:38:54 +02:00
Hauke Petersen
75dbf65256 net/gnrc/sixlowpan/ctx: use ztimer if available 2021-04-16 11:38:54 +02:00
Hauke Petersen
d605cf4c15 shell/sc_nimble_netif: fix _connect_name scan dur 2021-04-15 12:42:41 +02:00
Hauke Petersen
01770fb9ae sys/shell/sc_nimble_netif: use ztimer 2021-04-15 09:11:53 +02:00
Leandro Lanzieri
58ec967cc6
Merge pull request #16264 from MrKevinWeiss/pr/pkgupdate/kconfig
pkg/*/Kconfig: Model simple pkgs in Kconfig
2021-04-12 19:01:18 +02:00
Hauke Petersen
b339e91e18 sys/sema: allow to use ztimer and/or xtimer 2021-04-12 13:08:39 +02:00
MrKevinWeiss
008660fccf sys/random: Fix typo in kconfig 2021-04-08 16:44:10 +02:00
Leandro Lanzieri
e7732d9a00
Merge pull request #16217 from fjmolinas/pr_driver_sm_pwm_01c
drivers/sm_pwm_01c: initial import
2021-04-08 09:04:38 +02:00
Francisco Molina
424192fbe7
sys/progress_bar: add Konfig configuration 2021-04-07 12:05:00 +02:00
04b562780f
Merge pull request #16160 from kfessel/p-block-required
sys/ztimer: rename required_pm_mode to block_pm_mode
2021-04-07 11:09:04 +02:00
Karl Fessel
951fa14d70 sys/ztimer: rename required_pm_mode to block_pm_mode 2021-04-06 16:57:53 +02:00
Martine Lenders
e3f398e3d3
Merge pull request #16279 from brummer-simon/gnrc_tcp-fix_data_race_on_status
gnrc_tcp: fix data race on fsm status
2021-04-06 15:53:08 +02:00
Simon Brummer
247f4d52bc gnrc_tcp: fix warnings from static-tests 2021-04-06 14:13:34 +02:00
Peter Kietzmann
c8cb79c3cf
Merge pull request #16253 from Ollrogge/ciphers_PR
crypto/ciphers: remove unneeded max_key_size in cipher_interface_st
2021-04-06 11:18:30 +02:00
Peter Kietzmann
f3482071e1
Merge pull request #16179 from leandrolanzieri/dev/net/sock/dtls_multi_cred
net/sock/dtls: allow using multiple credentials
2021-04-06 10:04:45 +02:00
Simon Brummer
458cfb9994 gnrc_tcp: fix data race on fsm status 2021-04-04 17:47:53 +02:00
Ollrogge
650e69038c crypto/ciphers: remove unneeded max_key_size in cipher_interface_st 2021-04-02 10:50:58 +02:00
Francisco
9d1d2f9e21
Merge pull request #16172 from kfessel/p-zimer-sec
sys/ztimer: add ZTIMER_SEC, improve auto_init
2021-04-02 08:32:38 +02:00
Karl Fessel
3f66735bde ztimer/periph_rtc: intialize struct tm to avoid TZ and IDST problems
{ .elem = 0 }  initializes the complete struct to 0
{} is not ISO C conform
2021-04-01 18:19:15 +02:00
Karl Fessel
9e7f1d0097 sys/ztimer: add ZTIMER_SEC to Kconfig 2021-04-01 18:19:15 +02:00
Karl Fessel
0b5709a853 ztimer/periph_rtc: count months from 0
contrary to the western civilised world struct tm requires
us to count months from 0
2021-04-01 18:19:15 +02:00
Karl Fessel
c9e17196de sys/ztimer: enhance periph selection documentation
provide more information about the selection procedure to Doxygen
2021-04-01 18:19:15 +02:00
Karl Fessel
aa770fdd8c ztimer/auto_init: restructure for flexibitily, pm for ZTIMER_SEC
MSEC and SEC are now usable on TIMER(0) without having USEC
pm is configured by used hardware
    OLD configuration values are translated for backward compatibility
prefer rtt for ZTIMER_SEC

avoid doing partial ztimer setup if auto_init_ztimer is disabled

before this patch some const pointers might have been definend to values
that a user who disables auto_init for ztimer does not like.
2021-04-01 18:19:01 +02:00
Francisco
4b816916dc
Merge pull request #16269 from maribu/drivers/sht1x
drivers/sht1x: fix code style issues
2021-04-01 13:51:53 +02:00
Marian Buschsieweke
1454dc3566
sys/Makefile.dep: clean up 2021-04-01 11:06:22 +02:00
Marian Buschsieweke
78aa197ab8
sys/shell/commands/sc_sht1x.c: fix style 2021-04-01 10:19:30 +02:00
Leandro Lanzieri
6428505017
net/sock/dtls: allow CREDMAN_TAG_EMPTY on sock creation 2021-04-01 09:47:39 +02:00
Leandro Lanzieri
95fd4f947a
net/sock/dtls: add documentation on multi-credential 2021-04-01 09:47:37 +02:00
Leandro Lanzieri
8b57b87258
net/sock/dtls: add RPK callback for credential selection 2021-04-01 09:47:37 +02:00
Leandro Lanzieri
81892ee389
net/sock/dtls: add client PSK callback for credential selection 2021-04-01 09:47:37 +02:00
Leandro Lanzieri
62fb9ad69f
net/sock/dtls: allow to register multiple credentials into a sock 2021-04-01 09:47:36 +02:00
Leandro Lanzieri
d7440ce1e3
net/sock/dtls: allow to set PSK Identity hint 2021-04-01 09:47:36 +02:00
Francisco
9a5657a2bc
Merge pull request #15789 from haukepetersen/add_event_timeoutztimer
sys/event: add event_wait_timeout_ztimer()
2021-03-31 11:38:56 +02:00
Hauke Petersen
91859fc261 sys/event: add event_wait_timeout_ztimer() 2021-03-31 10:11:29 +02:00
Hauke Petersen
91bf7bc376
Merge pull request #15920 from haukepetersen/add_nimble_netifscchanmap
pkg/nimble/netif: allow to read used channel map
2021-03-31 10:10:35 +02:00
efdaf9225f
sys/net/gnrc: disable sx126x auto init with loramac 2021-03-30 19:03:34 +02:00
ba9b626b6d
sys/auto_init/loramac: add support for sx126x radio 2021-03-30 19:03:34 +02:00
18a0889bc4
Merge pull request #16177 from aabadie/driver_llcc68
drivers: add support for sx1261/2 and llcc68 radio devices
2021-03-30 19:02:27 +02:00
bede0cd98c
sys/net/auto_init: add sx126x auto_init logic 2021-03-30 16:12:40 +02:00
Francisco
8ebe4f608b
Merge pull request #16226 from jnohlgard/devfs-submodule
devfs: Split devfs-random into two files using submodules
2021-03-30 16:03:06 +02:00
Francisco
c9f8836a9f
Merge pull request #16227 from rgrunbla/fix-doc-random
sys/include/random: generate documentation for random double generation
2021-03-30 15:54:25 +02:00
Marian Buschsieweke
5a7dd703e3
Merge pull request #16194 from maribu/pm_layered_atomic_utils
sys/pm_layered: use atomic_utils
2021-03-30 15:41:28 +02:00