ba0f8a7429
make: add initial ubsan support
2022-02-16 12:20:45 +01:00
Karl Fessel
726c461cb5
Merge pull request #17574 from kfessel/p-fix-asserth
...
core/assert: avoid including panic.h with assert.h
2022-02-15 11:57:55 +01:00
Karl Fessel
ca112c224a
core/assert.h: doxygen brief for __NORETURN
2022-02-15 10:34:54 +01:00
chrysn
69db27f1cc
Merge pull request #17614 from chrysn-pull-requests/ztimer-doc-stricter
...
sys/ztimer doc: List prerequisites for successful use of ztimer_now
2022-02-15 09:09:12 +01:00
chrysn
1c3a646936
Merge pull request #17653 from benpicco/cpu/native-fatfs_defaults
...
boards/native: select MTD defaults for FAT
2022-02-15 09:03:21 +01:00
Benjamin Valentin
cd543f1873
examples/filesystem: adopt README.md after changing MTD defaults
2022-02-14 18:22:17 +01:00
Francisco
d197c2518b
Merge pull request #17648 from MrKevinWeiss/pr/kconfig/boardconfig
...
boards: Use BOARD.config pattern for kconfig
2022-02-14 17:49:31 +01:00
benpicco
78e4f6b557
Merge pull request #17643 from benpicco/vfs_default
...
sys/vfs: add vfs_default, configure default fs for same54-xpro
2022-02-14 16:33:23 +01:00
chrysn
632ca35eb4
sys/ztimer doc: List prerequisites for successful use of ztimer_now
...
Closes: https://github.com/RIOT-OS/RIOT/issues/17298
Co-authored-by: Karl Fessel <karl.fessel@ovgu.de>
2022-02-14 15:50:09 +01:00
benpicco
e126743229
Merge pull request #17632 from fjmolinas/pr_default_modules_deps
...
makefiles/dependency_resolution: add outer loop for DEFAULT_MODULE deps
2022-02-14 15:17:19 +01:00
Benjamin Valentin
315342ea10
tests/pkg_fatfs*: don't overwrite native MTD defaults
2022-02-14 15:11:52 +01:00
Benjamin Valentin
5f1dda0eda
boards/native: select MTD defaults for FAT
...
The FAT file system makes some strong assumptions about sector and
block size that are not met by the default native MTD emulation.
To avoid this trip hazard, change the native MTD defaults when FAT is
used.
2022-02-14 15:10:12 +01:00
MrKevinWeiss
ddfe1f6aff
boards: Use BOARD.config pattern for kconfig
...
Many simple kconfig configurations are added to boards and brought in with the board name.
This makes a common import of these configs so one only requires adding a BOARD.config without having to alter the makefile.
2022-02-14 13:10:09 +01:00
Benjamin Valentin
60d9782e52
boards/native: default to using littlefs2 on virtual flash
2022-02-14 13:04:37 +01:00
Benjamin Valentin
33e1d38dae
boards/same54-xpro: default to using littlefs2 on external flash
2022-02-14 13:04:37 +01:00
Benjamin Valentin
92d9d5676a
sys/vfs: add vfs_default pseudo-module
2022-02-14 13:04:37 +01:00
Francisco Molina
3de5549899
makefile: move DEFAULT_MODULEs with deps to default_modules.deps.mk
2022-02-14 13:03:32 +01:00
Francisco Molina
25e670e263
makefiles/dependency_resolution: add outer loop for DEFAULT_MODULE deps
...
Some DEFAULT_MODULEs in tree have dependencies of their own. This is
usually done for aliases of init modules, and do not have dependencies
themselves.
This adds the final stage to dependency resolutions where DEFAULT_MODULEs
dependencies MAY be included. These included modules MUST NOT have
dependencies themselves.
This allows for modules to disable DEFAULT_MODULEs during dependencies
resolution independent of the inclusion order.
auto_init and periph_init modules are moved to this outer-loop, allowing
therefore for modules to disable them during the dependency resolution
2022-02-14 12:59:31 +01:00
Francisco Molina
08dc06d5e0
sys/Makefile.dep: fix dhcp_relay dependency
...
Modules select by auto-init modules MUST NOT have dependencies
themselfs, dhcp_relay was not respecting that. Instead of having
the auto-init module select dhcp_relay, do it the other way
around.
2022-02-14 12:59:31 +01:00
Marian Buschsieweke
ec0df56b67
Merge pull request #17646 from kaspar030/tests_periph_flashpage_pagemem
...
tests/periph_flashpage: fix conditional compilation
2022-02-13 11:41:42 +01:00
806e7dee9a
tests/periph_flashpage: fix conditional compilation
2022-02-12 22:41:12 +01:00
Karl Fessel
29caf39a9a
core/panic.c: cleanup unneeded includes
2022-02-12 18:30:58 +01:00
Karl Fessel
76e0d53068
test/sys_architecture: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
766b3b613f
saul/auto_init_sgp30: if is compiled there is saul
2022-02-12 18:30:58 +01:00
Karl Fessel
a0ecb4ec81
test/nanocoap_cli: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
e03cf052ba
example/nanocoap_server: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
49e99f712b
net/gnrc: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
fc79d85bcc
example/suit_update: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
3bce72af2d
sys/utlist: include stddef.h
2022-02-12 18:30:58 +01:00
Karl Fessel
124f8cd2a9
driver/disp_dev: include stddef.h
2022-02-12 18:30:58 +01:00
Karl Fessel
e272fb18ed
board/msba2: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
5e42af7935
cpu/stm32: i2c include panic.h
2022-02-12 18:30:58 +01:00
Karl Fessel
909ffc9d34
sys/fmt: include kernel_defines.h
2022-02-12 18:30:58 +01:00
Karl Fessel
0b52b3e62e
core/assert: remove panic include from assert.h
2022-02-12 18:30:58 +01:00
chrysn
25882133f8
Merge pull request #17634 from benpicco/pkg/fatfs-statvfs
...
pkg/fatfs: implement statvfs()
2022-02-12 15:25:04 +01:00
chrysn
aae6c18cb1
Merge pull request #17645 from chrysn-pull-requests/all-stat-buffers
...
vfs: Initialize stat buffers so FSs don't have to
2022-02-12 15:12:47 +01:00
chrysn
2cb4b70458
vfs / treewide: Remove manual zeroing of vfs stat buffers
2022-02-12 12:31:38 +01:00
chrysn
4e84c19281
vfs: Zero buffers in all stat calls
...
This allows individual VFS implementations to populate just the fields
they can populte.
2022-02-12 12:23:03 +01:00
benpicco
79743273e1
Merge pull request #17550 from krzysztof-cabaj/add-cpy2remed
...
tools/cpy2remed: Addition of new programmer for nucleo boards
2022-02-11 20:05:14 +01:00
Juergen Fitschen
2b5eb0274a
Merge pull request #17642 from jue89/feature/pm-layered-blocker
...
sys/pm_layered: allow board.h to set PM_BLOCKER_INITIAL
2022-02-11 19:53:10 +01:00
f6b7255275
Merge pull request #17641 from fjmolinas/pr_senml_saul_default
...
tests/senml: do no include saul_default
2022-02-11 17:20:36 +01:00
Juergen Fitschen
b957b3cea1
sys/pm_layered: allow board.h to set PM_BLOCKER_INITIAL
2022-02-11 17:05:34 +01:00
Francisco Molina
a0ec1e0789
tests/senml: do no include saul_default
2022-02-11 17:04:27 +01:00
8c36648bd5
Merge pull request #17640 from benpicco/sys/benchmark-cleanup
...
sys/benchmark: wrap BENCHMARK_FUNC in do {} while (0)
2022-02-11 16:35:46 +01:00
krzysztof-cabaj
4bb5487f86
tools/cpy2remed: Addition of cpy2remed programmer to nucleo-L552ZE-Q
2022-02-11 08:27:25 -05:00
Benjamin Valentin
17cc382b93
sys/benchmark: wrap BENCHMARK_FUNC in do {} while (0)
...
This makes the BENCHMARK_FUNC() behave more like a normal C function.
2022-02-11 14:24:38 +01:00
Benjamin Valentin
9982cf5c3e
pkg/fatfs: implement statvfs()
...
This hooks up the statvfs() function to query file system properties.
2022-02-11 14:05:27 +01:00
Francisco
e6024c7fa7
Merge pull request #16384 from silkeh/pr/senml-module
...
sys/senml: add SenML modules
2022-02-11 13:57:36 +01:00
benpicco
d67207404c
Merge pull request #17639 from krzysztof-cabaj/board-nucleo-l552ze-doc
...
boards/nucleo-l552ze-q doc: Improvements to documentation
2022-02-11 12:53:01 +01:00
Silke Hofstra
9d61bdbb06
sys/senml: add SenML modules
...
Add a basic SenML module and submodules with support for:
- Encoding SenML values as CBOR using NanoCBOR.
- Converting from Phydat to SenML.
- Reading and encoding SAUL sensors.
2022-02-11 12:38:21 +01:00