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

38605 Commits

Author SHA1 Message Date
Benjamin Valentin
70d9856111 examples/filesystem: remove dedicated FatFS section from readme
FAT now behaves just like all other FSs and does not need special treatment.
2022-02-16 14:35:17 +01:00
Benjamin Valentin
9f4fa5ac99 tests/pkg_fatfs_vfs: format storage before running the test 2022-02-16 14:30:08 +01:00
Benjamin Valentin
5b246d02c0 pkg/fatfs: fatfs_vfs: wire up format() 2022-02-16 14:30:08 +01:00
chrysn
7c707df561
Merge pull request #17664 from kaspar030/native_getpid_warning
cpu/native: improve `getpid()` stub message
2022-02-16 13:34:56 +01:00
c5b3934767 cpu/native: improve getpid() stub message 2022-02-16 11:38:32 +01:00
Francisco
9314a591cb
Merge pull request #16789 from kaspar030/fix_lto_linking
make: add -ffunction-sections -fdata-sections to LINKFLAGS if LTO=1
2022-02-15 19:48:46 +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
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
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
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
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