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

9357 Commits

Author SHA1 Message Date
8ca9cbc0b6
sys/auto_init/screen: fix coccinelle warning 2022-01-09 16:43:35 +01:00
f5b5af9469
drivers/ft5x06: add touch_dev interface 2022-01-09 16:43:34 +01:00
08f93d7904
sys/saul_reg: remove deprecated saul_reg_rm 2022-01-08 11:48:44 +01:00
c5656ef3b2
Merge pull request #17481 from aabadie/pr/sys/asymcute_bufsize_removal
sys/asymcute: remove deprecated CONFIG_ASYMCUTE_BUFSIZE_EXP
2022-01-08 11:30:59 +01:00
795b71f7bf
Merge pull request #17480 from aabadie/pr/sys/crypto_aes_cipher_removal
sys/crypto: remove deprecated CIPHER_AES_128
2022-01-08 02:18:23 +01:00
benpicco
9829ac2041
Merge pull request #17484 from aabadie/pr/sys/shell_remove_deprecated_defines
sys/shell: remove deprecated SHELL_NO_{ECHO,PROMPT} defines
2022-01-07 19:50:12 +01:00
3676b63583
Merge pull request #17447 from gschorcht/sys/arduino_serial_stdio
sys/arduino: add Serial over stdio support
2022-01-07 18:04:35 +01:00
2703c63397
sys/auto_init: add periph_ltdc auto_init 2022-01-07 14:32:24 +01:00
844fd52deb
sys/shell: remove deprecated SHELL_NO_{ECHO,PROMPT} defines 2022-01-07 13:23:52 +01:00
19628804ba
sys/asymcute: remove deprecated CONFIG_ASYMCUTE_BUFSIZE_EXP 2022-01-07 11:28:11 +01:00
0e977b89ae
sys/crypto: remove deprecated CIPHER_AES_128 2022-01-07 11:14:10 +01:00
Gunar Schorcht
2dcd761954 sys/arduino: enable arduino_serial_stdio if stdio_cdc_acm is used 2022-01-06 17:27:53 +01:00
Gunar Schorcht
725472cbc4 sys/arduino: add Serial over stdio support
If module `arduino_serial_stdio` is used and `ARDUINO_UART_DEV` is `UART_UNDEF`, the STDIO is used for `Serial`. It requires that the used `stdio` backend implements `stdio_available`.
2022-01-06 17:27:53 +01:00
Gunar Schorcht
3e2de3590e sys/cpp11-compat: add deleted operators required by C++14 2022-01-06 11:18:33 +01:00
7d8b31d887
Merge pull request #17475 from gschorcht/sys/move_new_delete_dso_handle
sys/cpp11-compat: use new/delete operators from sys/cpp_new_delete
2022-01-06 11:00:15 +01:00
Gunar Schorcht
9ec52361d1 sys/cpp11_compat: move __dso_handle to sys/cpp_new_delete
On ARM platforms, `__dso_handle` is used for dynamic shared objects. But it is also required if global static objects are used. To avoid that `sys/cpp11_compat` is required only for using the (re)defined `new`/`delete` operators, `__dso_handle` is moved to module `sys/cpp_new_delete`
2022-01-06 09:50:29 +01:00
Gunar Schorcht
eaf3a4c81a sys/cpp11-compat: use new/delete from sys/cpp_new_delete
The `new` and `delete` operators that don't need `libtsdc++` are also provided by module `sys/cpp_new_delete` for platforms that don't have the `libstdc++`. Since these operators in `sys/cpp11-compat` are just wrappers for standard `malloc`/`free` functions like in `sys/cpp_new_delete`, the `new`/`delete` operators that don't need `libstdc++` are used from `sys/cpp_new_delete`. Only the `new`/`delete` operators that require the `libstd++` are left in `sys/cpp11-compat`.
  So it is sufficient for the use of the (re)defined `new`/`delete` operators that an application uses the module `sys/cpp_new_delete` instead of `sys/cpp11-compat` and thus also works on platforms without `libstdc++`.
2022-01-06 09:50:14 +01:00
Ollrogge
58764f2e16 usbus/hid: Remove unimplemented function declaration 2022-01-05 21:46:15 +01:00
Marian Buschsieweke
20793fd6c6
sys/atomic_utils: Add load/store for kernel PIDs
This will make it easier to change the width of kernel_pid_t if needed
without breaking code.
2022-01-05 15:45:53 +01:00
Marian Buschsieweke
674fca2023
sys/arduino: use static_assert() instead of BUILD_BUG_ON() 2022-01-05 15:41:39 +01:00
3aac469e61
Merge pull request #16852 from HendrikVE/pr/wolfmqtt_split_4
sys/posix/socket: use explicit bind
2022-01-05 14:31:52 +01:00
8d3d012acd
Merge pull request #17248 from benpicco/riotboot_serial-btn
riotboot_serial: enter bootloader mode by pin
2022-01-05 14:14:00 +01:00
0056648581
Merge pull request #17418 from aabadie/pr/drivers/periph_build_enh
drivers/periph_common: build periph module selectively
2022-01-04 14:59:39 +01:00
Marian Buschsieweke
30b3f9ad55
Merge pull request #17464 from gschorcht/sys/new_delete_module
sys/new_delete: add malloc/free based new/delete implementation
2022-01-04 14:50:30 +01:00
benpicco
55900e0fb5
Merge pull request #16755 from benpicco/gnrc_ipv6_nib-no_adv_router
gnrc_dhcpv6_client / uhcp: delay router advertisements until prefix was received
2022-01-04 13:34:32 +01:00
Benjamin Valentin
0504771c6c sys/net/uhcp: delay router advertisements until prefix was received 2022-01-04 12:42:44 +01:00
Benjamin Valentin
a629e70357 gnrc_dhcpv6_client: delay router advertisements until prefix was received 2022-01-04 12:42:43 +01:00
Gunar Schorcht
4bfd549301 sys/new_delete: add malloc/free based new/delete implementation
On some platforms `libstdc++` is not used or not available, like on the AVR. Such platforms can use this module to implement the C++ `new` and `delete` operators using `malloc` and `free` respectively. However, to be thread-safe, a thread-safe implementation of `malloc` and `free` must be present.
2022-01-03 23:35:35 +01:00
74b38ca641
Merge pull request #17446 from gschorcht/sys/std_available
sys/stdio: add optional function stdio_available
2022-01-03 18:15:06 +01:00
Gunar Schorcht
af621ec91b sys/usb/cdc/acm: implementation of stdio_available 2022-01-03 16:14:11 +01:00
Gunar Schorcht
0ffad24112 sys/stdio_uart: implementation of stdio_available 2022-01-03 16:14:11 +01:00
Gunar Schorcht
a71dec81a2 sys/stdio_base: add optional function stdio_available
A couple of `stdio` backend implementations allow to check for the number of available bytes for reading before the blocking `stdio_read` is called. This helps to implement non-blocking functionalities while waiting for `stdin`.
2022-01-03 16:14:11 +01:00
benpicco
74d1582fad
Merge pull request #17407 from kaspar030/time_units
sys: factor out US_PER_SEC etc from timex.h into time_units.h
2022-01-03 13:32:53 +01:00
f27cccd0cc
sys/net: fix non matching arguments in doc 2022-01-03 09:52:57 +01:00
c78a67422a
sys/crypto: fix missing documentation 2022-01-03 09:52:28 +01:00
benpicco
fadb4d9e6c
Merge pull request #17452 from Ollrogge/hid_pr
usbus/hid: Remove unimplemented function declaration
2022-01-03 01:07:43 +01:00
Jan Romann
e29da26ea1
Merge pull request #17250 from JKRhb/dhcpv6-restart-fix
sys/net/dhcpv6: fix variable shadowing issue
2022-01-01 20:48:07 +01:00
Jan Romann
e185a2556d
sys/net/dhcpv6: fix variable shadowing issue 2022-01-01 18:43:13 +01:00
Ollrogge
8ec310b085 usbus/hid: Remove unimplemented function declaration 2021-12-27 21:18:43 +01:00
Gunar Schorcht
ede5f9ebab sys/arduino: add assertion to gpio handling
Not all boards that provide a Arduino pin layout break out all GPIOs. A good example are Adafruit `feather-m0` boards. GPIOs that are not broken out have to be defined as `GPIO_UNDEF` to preserve the Arduino pin layout. However, GPIO functions lead to a complete system lock on `feather-m0` boards if a pin is used that is defined as `GPIO_UNDEF`. Therefore, at least an assert should blow up in this case.
2021-12-27 11:38:05 +01:00
23ab8431a7
Merge pull request #17412 from jenswet/feature/cpp-doxygen-documentation
doc: Improve C++ documentation
2021-12-21 12:32:47 +01:00
79df157727
sys: move rtc utility functions to their own module 2021-12-20 13:04:20 +01:00
43988120f9
Merge pull request #17409 from kaspar030/ztimer_no_timer_fix
sys/ztimer: don't access non-existant timer
2021-12-17 23:27:04 +01:00
chrysn
9e35b75ff4
Merge pull request #17408 from chrysn-pull-requests/ztimer-report-removal
sys/ztimer: ztimer_remove report success
2021-12-17 08:57:14 +01:00
chrysn
c703dc6e35 sys/ztimer: Documentation clarification 2021-12-16 15:35:20 +01:00
chrysn
991f74a62a sys/ztimer: ztimer_remove return its success
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-12-16 15:35:17 +01:00
eb72086e35
Merge pull request #17414 from fjmolinas/pr_ztimer64_init
sys/ztimer64: default select ztimer64_init
2021-12-16 15:11:46 +01:00
Francisco Molina
f3e348dee0 sys/ztimer64: default select ztimer64_init 2021-12-16 12:28:25 +01:00
Martine Lenders
e062ad78f3
Merge pull request #17265 from miri64/ethos/fix/threadify-state-machine
ethos: move bulk of state machine out of ISR context
2021-12-16 12:24:14 +01:00
Jens Wetterich
a0930a8ec0 doc: Improve C++ documentation
Move C++ modules in a new menu tree and improve the description.
2021-12-15 18:58:23 +01:00
Martine Lenders
568be105f2
stdio_ethos: move to ethos_stdio 2021-12-15 16:15:29 +01:00
Francisco Molina
efeecae3a5 sys/Makefile.dep: remove ztimer_periodic dep
This module does not exist, its part of ztimer core.
2021-12-15 15:52:08 +01:00
b551bbf747 sys/ztimer: don't access non-existant timer 2021-12-15 15:51:59 +01:00
a8ade82a95
Merge pull request #17404 from kaspar030/ztimer_clarify_now_comparisons
sys/ztimer: ztimer_now() add warning regarding comparing now() values
2021-12-15 15:44:27 +01:00
9c71dd7566
Merge pull request #17342 from aabadie/pr/sysclk
sys: introduce sysclk function to retrieve core clock frequency
2021-12-15 15:41:34 +01:00
fd1f257ee8 sys: factor out US_PER_SEC etc from timex.h into time_units.h 2021-12-15 14:33:20 +01:00
Francisco
03a004e3c9
Merge pull request #17395 from fjmolinas/pr_cpu_no_rtt
cpu: do not auto-select ztimer_periph_rtt for sam0, fe310
2021-12-15 14:04:57 +01:00
Francisco
fe850e8919
Merge pull request #17357 from kfessel/p-evtimer32
sys/evtimer,ztimer: do not depend on ztimer_now64
2021-12-15 13:24:44 +01:00
ec41c43751
sys: introduce coreclk utility function 2021-12-15 12:41:36 +01:00
Kevin "Tristate Tom" Weiss
e3f6212708
Merge pull request #17355 from leandrolanzieri/pr/boards/samd21/model_kconfig
boards/samd21-based: model Kconfig
2021-12-15 12:35:32 +01:00
32afae0b5f sys/ztimer: ztimer_now() add warning regarding comparing now() values 2021-12-15 12:34:37 +01:00
Francisco
e2608e178f
Merge pull request #17394 from fjmolinas/pr_evtimer_now_ztimer
sys/evtimer: use now returned by set
2021-12-15 12:11:44 +01:00
Leandro Lanzieri
8bcd7e53e8 sys/arduino/kconfig: use periph_uart 2021-12-15 10:31:19 +01:00
Karl Fessel
af13447238 gnrc/ipv6_auto_subnets: depend on xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
427df6d59d suit: example doesn't need xtimer suit_coap needs xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
0a25554ca7 net/uhcpc: depends on xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
1e31818f9e sys/benchmark_upd: depends on xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
0a3dd441ce net/gnrc_sock: do not include xtimer.h without xtimer module 2021-12-14 22:53:01 +01:00
Karl Fessel
95767ec9b5 sys/evtimer: deprecate evtimer_now_min 2021-12-14 22:53:01 +01:00
Francisco Molina
c21c01b5b9 sys/ztimer: fix kconfig ZTIMER_SEC default 2021-12-14 18:44:48 +01:00
Francisco Molina
5e47fc7e22 cpu: do not auto-select ztimer_periph_rtt for sam0, fe310
The sam0 rtt busy loops for 180us every time an alarm is set or
the counter is read, this propagates and leads to timing errors
on ztimer_msec that are higher than > +-1msec.

The same goes for fe310.
2021-12-14 18:43:53 +01:00
Karl Fessel
4d70d939ca sys/evtimer,ztimer: do not depend on ztimer_now64 2021-12-14 14:41:06 +01:00
Hauke Petersen
bc0adc19a8 shell/sc_gnrc_udp: rename static functions 2021-12-14 13:50:38 +01:00
Hauke Petersen
13363782b2 shell/sc_gnrc_udp: mark all feasible params const 2021-12-14 13:50:29 +01:00
Francisco Molina
240e778b8b sys/evtimer: use now returned by set 2021-12-14 13:24:29 +01:00
benpicco
cfaa167469
Merge pull request #16598 from benpicco/sys/shell/udp
examples/gnrc_networking: move udp command to shell commands
2021-12-13 15:03:18 +01:00
efa24b3f1e
Merge pull request #17385 from fjmolinas/pr_ztimer_set_now
sys/ztimer: ztimer_set() return the now value
2021-12-13 13:06:27 +01:00
Francisco Molina
dd03d8c362 sys/ztimer: ztimer_set return the now value 2021-12-13 11:21:23 +01:00
Marian Buschsieweke
5b86d65744
Merge pull request #14364 from gschorcht/fix_ndebug_compilation
Fix NDEBUG compilation problems
2021-12-12 14:39:42 +01:00
Gunar Schorcht
85313ccc02
Merge pull request #17232 from leandrolanzieri/pr/cpu/esp/model_kconfig
cpu/esp{32,8266}: model kconfig
2021-12-11 08:53:31 +01:00
zvecr
bf241a117c usbus: Bind extra USB config 2021-12-10 23:34:59 +00:00
Leandro Lanzieri
a8201c03c0
sys/log/kconfig: change entry-point 2021-12-10 18:54:29 +01:00
Leandro Lanzieri
dadaace394
sys/log: check that one and only one backend 2021-12-10 18:54:28 +01:00
Francisco
5f21ade1c6
Merge pull request #17372 from leandrolanzieri/pr/sys/ztimer/fix_backend_selection
sys/ztimer: fix backend selection
2021-12-10 17:53:12 +01:00
Leandro Lanzieri
1733953b49
sys/ztimer: fix backend selection 2021-12-10 09:57:05 +01:00
ca74a57870
Merge pull request #17370 from kaspar030/ztimer_best_practices
sys/ztimer: add some best practices
2021-12-10 08:47:55 +01:00
Francisco
b52a8857eb
Merge pull request #17368 from kaspar030/fix_ztimer64_uninitialized_timer_crash
sys/ztimer64: make _del_entry_from_list() safe for uninit ztimer64_t
2021-12-09 16:51:06 +01:00
Gunar Schorcht
e84068e945 sys/fuzzing: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
Gunar Schorcht
8c044c0163 gnrc/ipv6_ext_opt: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
b07b11b431 sys/ztimer: add some best practices 2021-12-09 15:53:39 +01:00
Karl Fessel
6347dcdffc
Merge pull request #17141 from kfessel/p-ztimer-gcoap
net/gcoap: port to ztimer
2021-12-09 15:22:10 +01:00
Francisco
7362074f49
Merge pull request #17235 from leandrolanzieri/cpu/kinetis/model_kconfig
cpu/kinetis: model kconfig
2021-12-09 14:22:10 +01:00
7b9a6850a3 sys/ztimer64: make _del_entry_from_list() safe for uninit ztimer64_t 2021-12-09 13:40:21 +01:00
benpicco
ccc97db715
Merge pull request #17360 from viktorbatista/debug_fixes
core/include/debug.h: minor fix in debug.h
2021-12-09 12:41:33 +01:00
Benjamin Valentin
624fd7672f ut_process: add ; after DEBUG() 2021-12-09 11:20:44 +01:00
d959ce7eea
Merge pull request #16928 from kaspar030/ztimer64
sys/ztimer64: initial PR
2021-12-09 10:17:15 +01:00
Benjamin Valentin
4b9bdc61b2 gnrc_netif/lorawan: add ; after DEBUG() 2021-12-09 10:14:07 +01:00
Benjamin Valentin
cbc8251874 gnrc_tcp: add ; after DEBUG() 2021-12-08 21:09:31 +01:00
Benjamin Valentin
1db8ab4f72 sys/net/gcoap: add ; after DEBUG() 2021-12-08 20:41:21 +01:00
Karl Fessel
08ef57fbd0
Merge pull request #16126 from kfessel/p-mix-schedrr
sys/sched_rr: Add a round robin scheduler module
2021-12-08 16:01:57 +01:00
Leandro Lanzieri
15165bfdf7
Merge pull request #17299 from fjmolinas/pr_nrf52_boards_kconfig
boards: model nrf52 boards
2021-12-08 14:45:03 +01:00
Francisco Molina
0080a27636 sys/Kconfig.stdio: add stdio_rtt 2021-12-08 10:39:55 +01:00
benpicco
536f7e23c8
Merge pull request #17276 from fjmolinas/pr_event_periodic_count
sys/include/event/periodic: add count
2021-12-08 00:09:57 +01:00
439fcbf392 sys/ztimer64: initial implementation
Co-authored-by: Francisco Molina <femolina@uc.cl>
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-12-07 23:57:56 +01:00
Francisco
97b4dd3a57
Merge pull request #17216 from bergzand/pr/ps_schedstatistics/ztimer
schedstatistics: Convert to ztimer
2021-12-07 20:22:58 +01:00
Francisco Molina
b65ab31971 sys/ztimer/periodic: always set timer->last, no ztimer_now on last call 2021-12-07 19:42:45 +01:00
Francisco Molina
7d084a43ff sys/include/event/periodic: add count 2021-12-07 19:42:32 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
Francisco
07e7a6edce
Merge pull request #17336 from HendrikVE/pr/isrpipe_write
sys/isrpipe: add isrpipe_write
2021-12-07 17:10:44 +01:00
Francisco
9e5facf3b2
Merge pull request #17122 from bergzand/pr/stdio_rtt/ztimer
stdio_rtt: Convert to ztimer
2021-12-07 17:08:38 +01:00
4b95459483
schedstatistics: Convert to ztimer 2021-12-07 16:31:15 +01:00
Francisco
f618c9758a
Merge pull request #17018 from kaspar030/picolibc_stdio_strong_reference
sys/picolibc_syscalls_default: make stdin and stderr strong refs
2021-12-07 15:10:55 +01:00
Hendrik van Essen
774e765d59 sys/isrpipe: add isrpipe_write 2021-12-07 13:00:58 +01:00
Leandro Lanzieri
4aebed2d46
sys/constfs: model Kconfig 2021-12-07 11:32:16 +01:00
Leandro Lanzieri
109b336833
sys/devfs: model Kconfig 2021-12-07 11:32:16 +01:00
495a48af0f sys/ztimer: add ZTIMER_PERIPH_TIMER_OFFSET 2021-12-07 11:06:07 +01:00
265185ffea
stdio_rtt: Add unit clarification to poll define 2021-12-07 10:04:04 +01:00
aa17621279
stdio_rtt: Convert to ztimer 2021-12-07 10:03:54 +01:00
Francisco
6749b71066
Merge pull request #17337 from HendrikVE/pr/tsrb_init
sys/tsrb: add tsrb_clear
2021-12-07 09:20:22 +01:00
3ca1a10217
Merge pull request #17319 from aabadie/pr/sys/trace_ztimer
sys/trace: migrate to ztimer
2021-12-06 23:07:04 +01:00
benpicco
1efc53b598
Merge pull request #17344 from haukepetersen/opt_nimble_statconnerrno
nimble/statconn: use errno return values
2021-12-06 14:11:23 +01:00
Karl Fessel
9195a4f02b net/gcoap: most ZITMER_USEC to ZTIMER_MSEC 2021-12-06 13:31:18 +01:00
Karl Fessel
f56eb9bb83 net/gcoap: port to ztimer_usec 2021-12-06 13:31:18 +01:00
Karl Fessel
2dd0cec4e9 net/gcoap: clean xtimer include from header 2021-12-06 13:31:18 +01:00
Hendrik van Essen
de4b32ef54 sys/tsrb: add tsrb_clear 2021-12-06 11:53:59 +01:00
Hauke Petersen
c7e11d5904 shell/sc_nimble_statconn: adapt to new return vals 2021-12-06 11:28:04 +01:00
Leandro Lanzieri
4f51174eb4
Merge pull request #17331 from MrKevinWeiss/pr/kconfig/samd5x
boards/adafruit-itsybitsy-m4: Model kconfig
2021-12-06 10:22:37 +01:00
MrKevinWeiss
05dd46936b
sys/usb_board_reset: Model kconfig 2021-12-06 09:05:37 +01:00
563e3efe8e
sys/trace: model in Kconfig 2021-12-04 12:03:14 +01:00
13a7aaf1d7
sys/trace: migrate to ztimer 2021-12-04 11:55:47 +01:00
benpicco
f9f95534f6
Merge pull request #17333 from benpicco/gnrc/rpl-auto_init
gnrc/rpl: auto-init RPL if there is only a single interface
2021-12-04 11:07:01 +01:00
529cc2d9ad
Merge pull request #17329 from miri64/ieee802154/fix/resv-src
ieee802154 / tests/unittests: fix all-asan reported errors
2021-12-04 02:27:27 +01:00
benpicco
8be9fe73f6
Merge pull request #17297 from nmeum/pr/sock_dns_string.h
sock_dns: include string.h for strlen(3) function prototype
2021-12-03 19:45:36 +01:00
Francisco
3afa47d8f2
Merge pull request #14955 from maribu/cflags-cast-align
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 17:47:24 +01:00
Benjamin Valentin
11672ac5e4 gnrc/rpl: auto-init RPL if there is only a single interface 2021-12-03 15:34:17 +01:00
MrKevinWeiss
f0790ebca1
sys/kconfig: Update todo 2021-12-03 12:16:32 +01:00
Francisco
5ba215f9c5
Merge pull request #16843 from haukepetersen/add_nimble_scannerext
nimble_scanner: rework to enable scanning BLE5 PHYs and extended advertisements
2021-12-03 12:00:10 +01:00
Martine Lenders
1eda5b80b9
ieee802154: fix reserved source address handling
This fixes the handling when the source address is neither short nor
long. For the reserved address mode no PAN behavior is defined, so
rather check, if the source address is in reserved mode before trying to
read the destination PAN.
2021-12-03 11:31:06 +01:00
Marian Buschsieweke
d571f150ec
sys/usb/usbus/dfu: use container_of() 2021-12-03 10:12:39 +01:00
Marian Buschsieweke
be42be9d15
sys/shell: use container_of in sc_gnrc_netif 2021-12-03 10:12:36 +01:00
Marian Buschsieweke
b7269c39e8
sys/net/gnrc_pktbuf_static: fix compilation with -Wcast-align
Comparing the pointers as `uintptr_t` won't hurt but makes the compiler
happy.
2021-12-03 10:12:34 +01:00
Marian Buschsieweke
b1114b0674
sys/net/gnrc/netif: use container_of()
Using `container_of()` to translate from `netif_t *` to the containing
`gnrc_netif_t *` adds a bit of plausibility: It will fail when `gnrc_netif_t`
stops to contain `netif_t` as member. Additionally, this silences false
positives of -Wcast-align
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
581aa6b70b
sys/net/netif: allow const in netif_iter()
For consistency with `gnrc_netif_iter()`, add the `const` qualifier to the
parameter of `netif_iter()`. This allows calling it on `const` pointers without
having to cast `netif_t *`, which (apart of dropping the `const` qualifier)
disables a lot of type safety checks offered by the compiler.
2021-12-03 10:12:33 +01:00
Francisco
1ec9bfdec4
Merge pull request #17287 from leandrolanzieri/pr/sys/vfs/model_kconfig
sys/vfs: model Kconfig
2021-12-03 09:11:57 +01:00
Hauke Petersen
47d1f72a6c shell/sc_nimble_netif: remove ping sub-command 2021-12-02 23:31:33 +01:00
Hauke Petersen
97780b3610 shell/sc_nimble_netif: adapt to scanner changes 2021-12-02 23:31:33 +01:00
Francisco
fea525f019
Merge pull request #17286 from leandrolanzieri/pr/sys/log/model_kconfig
sys/log: model Kconfig
2021-12-02 15:42:30 +01:00
Francisco
662aba4680
Merge pull request #17307 from leandrolanzieri/pr/sys/ztimer/kconfig/fix_compat_deps
sys/ztimer/kconfig: enable xtimer compat only with timer backend
2021-12-02 14:52:30 +01:00
9cf22c699e
Merge pull request #17318 from fjmolinas/pr_event_periodic_dep
sys/Makefile.dep: fix event periodic dependency
2021-12-02 11:51:18 +01:00
b6cc07009f
Merge pull request #17284 from fjmolinas/pr_ztimer_no_periph_rtt
sys/ztimer: add 'ztimer_no_periph_rtt'
2021-12-02 11:02:24 +01:00