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
Marian Buschsieweke
be09ba67a6
pkg/ccn-lite: suppress -Wcast-align
2021-12-03 10:12:32 +01:00
Marian Buschsieweke
7cd9d615fa
cpu/stm32/periph: Use uintptr_t for periph addr
...
The peripheral register addresses are fixed, properly aligned addresses. Storing
them as uintptr_t makes live easier when casting them to helper structs, as no
intermediate cast to uintptr_t is needed to silence -Wcast-align.
2021-12-03 10:12:32 +01:00
Marian Buschsieweke
c9eb0ae3de
pkg/gecko_sdk: Disable -Wcast-align
2021-12-03 10:12:32 +01:00
Marian Buschsieweke
d31b1f4854
cpu/esp32: disable -Wcast-align for vendor code
2021-12-03 10:12:32 +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
Leandro Lanzieri
d7bf363517
Merge pull request #17290 from fjmolinas/pr_kconfig_msp430
...
cpu/msp430: add Kconfig
2021-12-03 08:37:11 +01:00
Francisco
215fb49446
Merge pull request #17288 from leandrolanzieri/pr/drivers/ili9341/add_kconfig_feature
...
drivers/ili9341/Kconfig: add feature to indicate hardware
2021-12-03 00:46:29 +01:00
4d96c1f8e0
Merge pull request #17281 from dylad/pr/cpu/stm32/usbdev_fs_support
...
cpu/stm32: add new usbdev FS support
2021-12-02 21:57:49 +01:00
Marian Buschsieweke
ec39b8e3aa
Merge pull request #17320 from aabadie/pr/cpu/stm32_ztimer
...
cpu/stm32: migrate adc and eth periphs to ztimer
2021-12-02 20:05:43 +01:00
benpicco
a5c5a5d284
Merge pull request #16879 from benpicco/tools/zep_dispatch-sniffer
...
tools/zep_dispatch: add support for foren6 sniffer
2021-12-02 19:10:46 +01:00
Francisco Molina
7ab05fa129
cpu/msp430: add Kconfig
2021-12-02 16:33:19 +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
dylad
83f4f4a4aa
boards/p-nucleo-wb55: update Kconfig with usbdev support
2021-12-02 14:26:03 +01:00
dylad
66451042eb
boards/p-nucleo-wb55: enable usbdev feature
2021-12-02 14:26:03 +01:00
dylad
f5cd2d1438
cpu/stm32: enable HSI48 when needed for L4/Wx
2021-12-02 14:26:03 +01:00
dylad
083e53406d
cpu/stm32: add support for a new USBDEV periph
...
Also rename the other usbdev driver to avoid conflicts
2021-12-02 14:26:03 +01:00
924c2fd6da
cpu/stm32/adc: migrate to ztimer
2021-12-02 13:44:03 +01:00
0c7d2a0f55
cpu/stm32/eth: migrate to ztimer
2021-12-02 12:22:41 +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
Dylan Laduranty
97f7b67b49
Merge pull request #17291 from fjmolinas/pr_nrf9160_kconfig
...
cpu/nrf9160: add Kconfig dependencies
2021-12-02 09:59:16 +01:00
Leandro Lanzieri
59130252de
tests/log_printfnoformat: add kconfig configuration
2021-12-02 09:41:46 +01:00
Leandro Lanzieri
983d2d2a9c
tests/log_color: add kconfig configuration
2021-12-02 09:41:46 +01:00
Leandro Lanzieri
2b811ba1b9
sys/log: model in Kconfig
2021-12-02 09:41:46 +01:00
Leandro Lanzieri
004da59672
sys/ztimer/kconfig: enable xtimer compat only with timer backend
...
This also moves the selection of MODULE_ZTIMER_PERIPH_TIMER from
MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.
2021-12-02 09:38:06 +01:00
Leandro Lanzieri
58b3c07423
Merge pull request #17317 from gschorcht/sys/benchmark/kconfig/cleanup_ztimer_dependency
...
sys/benchmark/kconfig: cleanup ztimer dependency
2021-12-02 08:57:08 +01:00
Francisco Molina
6c029bced6
sys/Makefile.dep: fix event periodic dependency
2021-12-02 07:59:14 +01:00
Francisco Molina
638373eec5
sys/ztimer: add ztimer_periph_rtt module conflict warning
2021-12-02 07:54:38 +01:00
Francisco Molina
84ba92a99b
tests: remove uneeded explicit inclusion of ztimer_periph_rt*
2021-12-02 07:54:38 +01:00
Francisco Molina
7c3360e4d6
sys/ztimer: add 'ztimer_no_periph_rtt'
...
This is a temporary fix for Issue #17060 . It allows to disable
auto inclusion of `ztimer_periph_rtt` in cases where another
module or application requires direct access.
Limitations:
- as ifeq are involved order of inclusion matters, therefore
these modules should be included early in the build at application
level and not in modules `Makefile.dep`
- this does not disallow direct inclusions of `ztimer_periph_rtt`,
since this only disables auto inclusion of these modules
This is a temporary solution since this is already possible with
Kconfig, but not in make.
2021-12-02 07:54:38 +01:00
Francisco Molina
4aaf8f12a0
cpu/nrf9160: add Kconfig dependencies
2021-12-02 07:51:21 +01:00
Gunar Schorcht
d13da373f8
tests/periph_gpio: cleanup ztimer dependency
...
Module benchmark already pulls in ztimer_usec. It is not necessary to pull it in again in application.
2021-12-02 07:04:06 +01:00
Gunar Schorcht
83e9fdce7c
sys/benchmark/kconfig: cleanup ztimer dependency
2021-12-02 07:00:01 +01:00
Dylan Laduranty
48e71b2d8c
Merge pull request #17302 from aabadie/pr/cpu/stm32_usb_l4
...
cpu/stm32: enable USB OTG FS on high end L4
2021-12-01 20:56:07 +01:00
8056eafffd
Merge pull request #17310 from aabadie/pr/board/stm32f746g-disco-doc
...
boards/stm32f746g-disco: extend documentation
2021-12-01 17:27:48 +01:00
Marian Buschsieweke
48fc63e0ae
Merge pull request #17294 from benpicco/doc-ping
...
doc: replace ping6 with ping
2021-12-01 17:00:09 +01:00
benpicco
7155fb82d0
Merge pull request #17194 from maribu/sys/net/fib
...
sys/net/fib: fix compilation with -Wcast-align
2021-12-01 16:29:00 +01:00
b6d1e09448
boards/stm32f746g-disco: extend documentation
2021-12-01 15:55:59 +01:00
52ce34a23f
Merge pull request #17306 from gschorcht/cpu/esp32/esp_wifi/fix_enterprise_compilation
...
cpu/esp32: fix esp_wifi_enterprise compilation problem
2021-12-01 15:31:40 +01:00
Francisco
7a8f840627
Merge pull request #17303 from aabadie/pr/drivers/remove_useless_xtimer_includes
...
drivers: remove some useless xtimer includes
2021-12-01 13:46:08 +01:00
a2cfbe95cc
Merge pull request #17279 from leandrolanzieri/pr/cpu/lpc23xx/model_kconfig
...
cpu/lpc23xx: model kconfig
2021-12-01 13:32:12 +01:00
Francisco
791c327127
Merge pull request #16970 from haukepetersen/opt_nimble_hostnetifpriooverride
...
nimble: allow to override host and netif thread priorities
2021-12-01 12:16:56 +01:00
1e2d53987b
drivers/si114x: remove useless xtimer include
2021-12-01 11:29:32 +01:00
Gunar Schorcht
09c0341442
cpu/esp32: fix esp_wifi_enterprise compilation problem
...
With the change from using archive files to using object files in PR #14754 , the module `esp_wifi_enterprise` was no longer compilable. The reason for this was that the file `bignum.c` was present in two different vendor sub-directories and created two identical object files, which then led to a symbol conflict when linking. This commit removes one of these identical files. The one that is used in all `esp_wifi` variants is kept, the one that is only used in `esp_wifi_enterprise` is dropped.
2021-12-01 11:25:57 +01:00
Leandro Lanzieri
eb4bbb86d3
tests/pkg_fatfs_vfs: adapt test to work with mtd_mci and SD card
2021-12-01 11:15:16 +01:00
Leandro Lanzieri
afb0f0f3ba
boards/{mcb2388,msba2}: use mtd_mci as default MTD
2021-12-01 11:15:14 +01:00
337b99002a
cpu/stm32/stmclk: enable 48MHz when usbdev is used
2021-12-01 10:15:19 +01:00