1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

35332 Commits

Author SHA1 Message Date
20981e5f7c tests/unittests: tests-ztimer: add ztimer_is_set() regression test 2021-04-22 11:12:48 +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
Marian Buschsieweke
855a6fa36a
Merge pull request #16296 from fabian18/nrf24l01p_ng_eui_get
drivers/nrf24l01p_ng: add hook nrf24l01p_ng_eui_get()
2021-04-21 13:56:30 +02:00
benpicco
b0734a8f4a
Merge pull request #16362 from fjmolinas/pr_nanocbor_bump
pkg/nanocbor: bump version
2021-04-21 11:42:41 +02:00
Francisco
d5f9b99555
Merge pull request #16344 from kfessel/p-efm32-rtt-freq
cpu/efm32: add RTT_FREQUENCY support to efm32
2021-04-21 09:59:10 +02:00
Francisco Molina
7749368608
pkg/nanocbor: bump version 2021-04-21 09:25:55 +02:00
Francisco
1c3c2db812
Merge pull request #16255 from akshaim/add_nucleo-wl55jc
boards/nucleo-wl55jc : Initial support
2021-04-21 08:33:16 +02:00
Akshai M
6b86f8aaf1 boards/nucleo-wl55jc : Add arduino interfaces 2021-04-20 21:04:36 +02:00
Akshai M
bd8f571895 unittests: Add WL to insufficient mem list 2021-04-20 21:04:36 +02:00
Akshai M
1f7a10305a stm32/periph/flashpage: Reset cache
Co-authored-by: Francisco <femolina@uc.cl>
2021-04-20 21:04:36 +02:00
Akshai M
efb86039c6 cpu/stm32wl: Add RTT support 2021-04-20 21:04:36 +02:00
Akshai M
2cf081b509 cpu/stm32wl: Flashpage configuration 2021-04-20 21:04:36 +02:00
Akshai M
df1cae172c stm32/irqs: Adapt generators to support WL
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2021-04-20 21:04:36 +02:00
Akshai M
b816c67bdd nucleo-wl55jc: Add Kconfig files 2021-04-20 21:04:35 +02:00
Akshai M
fd8ddd6161 boards: add nucleo-wl55jc
Co-authored-by: Kevin "Tristate Tom" Weiss <weiss.kevin604@gmail.com>
2021-04-20 21:04:29 +02:00
Akshai M
c485c774cf cpu/stm32: add stm32wl 2021-04-20 20:57:48 +02:00
Akshai M
b6c4f9a610 boards/nucleo-wl55jc: Documentation 2021-04-20 20:57:45 +02:00
fcaa62d498
Merge pull request #16354 from fjmolinas/pr_tests_pkg_tensorflow-lite_explicit_list
tests/pkg_tensorflow-lite/Makefile.ci: explicit list
2021-04-20 16:48:54 +02:00
Francisco Molina
ad781da36f
tests/pkg_tensorflow-lite/Makefile.ci: explicit list
Explicitly list BOARD_INSUFFICIENT_MEMORY so
dist/tools/compile_and_test_for_board can filter out BOARDs.
2021-04-20 15:35:20 +02:00
89514938b2
Merge pull request #16350 from miri64/gh-actions/fix/release-test-sudo-gh-token
gh-actions: release-tests: properly configure GH token for sudo
2021-04-20 14:26:02 +02:00
Karl Fessel
fb50acd3f9 cpu/efm32: define rtt attributes 2021-04-20 11:12:45 +02:00
Karl Fessel
c41342dc5b boards/*efm32*: do not force RTT_FREQUENCY
while keeping a sane (rtt shared with rtc (counter)) default
this commit adds the ability to define RTT_FREQUENCY
to some thing different than 1 Hz
2021-04-20 11:12:45 +02:00
Karl Fessel
4ff30a31e5 cpu/efm32: add RTT_FREQUENCY support to efm32
make efm32 rtt frequency configurable by setting RTT_FREQUENCY
2021-04-20 11:12:45 +02:00
Martine Lenders
d06c532410
gh-actions: release-tests: properly configure GH token for sudo 2021-04-20 11:03:47 +02:00
Francisco
2a3fbf38f6
Merge pull request #16301 from IchiroKuroki/arduino_nano_33_iot_support
Configuration extension for arduino-nano-33-iot
2021-04-20 09:48:24 +02:00
Martine Lenders
dec82b2475
Merge pull request #16329 from miri64/tests/fix/periph_rtt_min-timeout
tests/periph_rtt_min: adapt for slower RTTs
2021-04-16 16:53:54 +02:00
Martine Lenders
286e4ec04b
Merge pull request #16340 from haukepetersen/opt_sixlowpanctx_ztimer
net/grnc/sixlowpan/ctx: use ztimer_msec if available
2021-04-16 13:27:40 +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
Martine Lenders
e27675bc10
tests/periph_rtt_min: adapt for slower RTTs 2021-04-16 11:11:37 +02:00
Francisco
922611b224
Merge pull request #16338 from haukepetersen/fix_nimble_tmpfixrandseed
pkg/nimble: temporary fix to NimBLE PRNG seed issue
2021-04-16 09:32:15 +02:00
Francisco
8b1d6720e0
Merge pull request #16337 from haukepetersen/fix_nimble_scnetifconnectnametimeout
shell/sc_nimble_netif: fix _connect_name scan dur
2021-04-16 09:12:11 +02:00
Francisco
2e2213f0ab
Merge pull request #16335 from haukepetersen/opt_nimble_verbump940cc0
pkg/nimble: switch back to upstream master
2021-04-15 22:02:50 +02:00
Hauke Petersen
05f0105a90 pkg/nimble: switch back to upstream master 2021-04-15 14:49:36 +02:00
Hauke Petersen
8213e6ca4b pkg/nimble: temporary fix to NimBLE PRNG seed issue 2021-04-15 12:50:09 +02:00
Hauke Petersen
d605cf4c15 shell/sc_nimble_netif: fix _connect_name scan dur 2021-04-15 12:42:41 +02:00
95a2456457
Merge pull request #16330 from kfessel/p-add-clist-special
core/clist: add special cardinality tests and matching unittest
2021-04-15 12:14:58 +02:00
Francisco
ae6ffa37ea
Merge pull request #16317 from haukepetersen/opt_nimble_ztimer
pkg/nimble: migrate to ztimer
2021-04-15 10:17:42 +02:00
Hauke Petersen
01770fb9ae sys/shell/sc_nimble_netif: use ztimer 2021-04-15 09:11:53 +02:00
Hauke Petersen
9bd65efe12 tests/nimble_l2cap: fix missing xtimer.h include 2021-04-15 08:21:56 +02:00
Hauke Petersen
ec8d8703ab pkg/nimble/scanlist: fix missing stdio.h include 2021-04-15 08:21:56 +02:00
Hauke Petersen
c94f61596e pkg/nimble/scanlist: switch to ZTIMER_USEC 2021-04-15 08:21:56 +02:00
Hauke Petersen
b4ff5aae3a pkg/nimble: switch from xtimer to ztimer 2021-04-15 08:21:56 +02:00
Hauke Petersen
7e22f644da pkg/nimble: update to temporary upstream branch 2021-04-15 08:21:56 +02:00
Karl Fessel
5735d99971 core/clist: add special cardinality tests and matching unittest
adds clist_exactly_one() and clist_more_than_one()
and a unittest that tests them
2021-04-14 21:00:10 +02:00
benpicco
a1d4ec3e62
Merge pull request #16332 from ant9000/pr_fix_ds18_board_params
drivers/ds18: missing "board.h" include
2021-04-14 20:11:34 +02:00
chrysn
c99bb55e68
Merge pull request #16129 from maribu/compile_commands_json
build system: add compile-commands target to generate compile_commands.json
2021-04-14 18:10:28 +02:00
Antonio Galea
afb39700ae drivers/ds18: missing "board.h" include 2021-04-14 17:52:08 +02:00
Marian Buschsieweke
a07dac9ad1
build system: add new compile-commands make target
By running make compile-commands a `compile_commands.json` in the RIOT base
directory. With the environment variable `COMPILE_COMMANDS` the path of
this file can be changed to a custom location.

The `compile_commands.json` will contain the exact compile command, but
as additional flag `-I/usr/$(TARGET)/include` is added to work around
`clangd` not being able to locate the newlib system headers. The
additional includes can be overwritten using the environment variable
`COMPILE_COMMANDS_EXTRA_INCLUDES`.
2021-04-14 14:51:46 +02:00
Marian Buschsieweke
a8e9fa6253
Merge pull request #16311 from kfessel/p-advance-prio
core/sched: keep scheduler clist internal to sched
2021-04-14 13:24:05 +02:00