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

38838 Commits

Author SHA1 Message Date
Karl Fessel
fc1f44a28a pkg/wamr/doc: Why isn't iwasmt.c part of pkg/wamr? 2022-02-15 15:48:36 +01:00
Benjamin Valentin
8bb405a493 shell/sc_gnrc_udp: always use delay in µs 2022-02-15 15:08:53 +01:00
Karl Fessel
c4b760cb6b
Merge pull request #17655 from kfessel/p-remove-evtimer-now-min
sys/evtimer: remove deprecated evtimer_now_min
2022-02-15 15:03:57 +01:00
chrysn
599eade495 sys/vfs: Add vfs_dstatvfs 2022-02-15 14:58:01 +01:00
chrysn
ff1f81aac8 sys/vfs: Drop per-filesystem fstatvfs
No current file system implements it, there is no defined semantic
difference between running fstatfs and the fallback currently
implemented, and there is practically no optimization gained from not
just running it through a single statvfs.
2022-02-15 14:58:01 +01:00
812b273845 sys/malloc_thread_safe: mark functions "used"
Fixes LTO.
2022-02-15 12:28:16 +01:00
1547d2f075 make: add -ffunction-sections -fdata-sections to LINKFLAGS if LTO=1 2022-02-15 12:28:16 +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
chrysn
4c54bd8bdb vfs: Document that open directories are counted
The addition is helpful because directories are visibly different from
open files (and generally are not treated like files).
2022-02-15 11:17:02 +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
Daniel Lockau
3793bd2a73 tests/slip: remove redundant slipdev_params.h 2022-02-14 20:03:18 +01:00
Benjamin Valentin
cd543f1873 examples/filesystem: adopt README.md after changing MTD defaults 2022-02-14 18:22:17 +01:00
Benjamin Valentin
d5dee30368 shell/sc_gnrc_udp: don't add delay after last packet 2022-02-14 17:58:20 +01:00
Benjamin Valentin
e22698f9cd shell/sc_gnrc_udp: set proper timeout based on which timer is used 2022-02-14 17:52:55 +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
Karl Fessel
a1f5b5d05f sys/evtimer: remove deprecated evtimer_now_min 2022-02-14 16:17:27 +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
Daniel Lockau
d73ce591b2 tests/slip: homogenize CFLAGS with slipdev driver 2022-02-14 12:36:39 +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