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

38867 Commits

Author SHA1 Message Date
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
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
Karl Fessel
227f57dbb3 pkg/wamr: remove support for architectures
* for which no working assembly invokeNative is provided
2022-02-11 13:29:40 +01:00
Karl Fessel
9e05357960 pkg/wamr: update wamr 2022-02-11 13:29:40 +01:00
Karl Fessel
8c617abc4c example/wasm: add Makefile.ci 2022-02-11 13:29:40 +01:00
Karl Fessel
20cb961329 example/wasm: add prebuild hello.wasm 2022-02-11 13:29:40 +01:00
Karl Fessel
1de3f65259 pkg/wamr: Makefile accept pedantic, filter Wcast-align 2022-02-11 13:29:40 +01:00
Karl Fessel
cf6e8825e2 pkg/wamr: update for ztimer(64) 2022-02-11 13:29:40 +01:00
Karl Fessel
57e380d173 pkg/wamr: improve makefile and doc 2022-02-11 13:29:40 +01:00
Karl Fessel
51c94a1217 example/wasm: simplify example extend sample
* uneventise example
2022-02-11 13:29:40 +01:00
Karl Fessel
df057e09cf example/wasm: split example, eventise and introduce wamr_run 2022-02-11 13:28:53 +01:00
Karl Fessel
4cc9bd9e4e example/wasm: a basic wamr example
* using makefile blobs
* improve usability of example
* add sample with memory saving Makefile
2022-02-11 13:09:50 +01:00
Karl Fessel
5198dc48c6 pkg/wamr: add WAMR to provide WASM support in RIOT
* config.cmake configures wamr build
* native thumb and mips
* riscv support
* switchable commit id
  defaults to main until PR:WIP is removed
2022-02-11 13:09:26 +01:00