mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 01:23:49 +01:00
19523: boards/iotlab-m3: enable l3g4200d_ng r=benpicco a=benpicco 19527: drivers/sdcard_spi: small cleanup r=benpicco a=gschorcht ### Contribution description This PR provides a small cleanup: - the copy of `sdcard_spi_params_t` is removed (commit bfc2a51f706840854a96fbdf2654a2ba8fe33dca) - the documentation was changed to fit the 100 characters per line. (commit 36f0162b34db528177fe8ea15fdf68e2eae96ae4) It is not necessary to hold a complete copy `sdcard_spi_params_t` in the device descriptor. Constant parameters can be used directly from ROM instead. This saves 24 bytes of RAM. ### Testing procedure Use any board with SD Card SPI interface. The driver test should still work, for example: ``` BOARD=esp32-wrover-kit make -j8 -C tests/driver_sdcard_spi flash term ``` ``` main(): This is RIOT! (Version: 2023.07-devel-176-g7213c-drivers/sdcard_spi_cleanup) SD-card spi driver test application insert SD-card and use 'init' command to set card to spi mode WARNING: using 'write' or 'copy' commands WILL overwrite data on your sd-card and almost for sure corrupt existing filesystems, partitions and contained data! > init Initializing SD-card at SPI_0... [OK] > ``` ### Issues/PRs references 19530: sys/xtimer: add missing "modules.h" include to `xtimer.h` r=benpicco a=kaspar030 19532: tests/unittests: tests-core-mbox: add missing `container.h` include r=benpicco a=kaspar030 19533: core: move macros/math.h to core/lib/include/macros r=benpicco a=kaspar030 19535: nanocoap_sock: defuse nanocoap_sock_get() API footgun r=benpicco a=benpicco Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com> Co-authored-by: Gunar Schorcht <gunar@schorcht.net> Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>