benpicco
benpicco
Sorry for forgetting about this. Just to recall correctly: The issue was that the UART drivers busy loop when the tsrb is full and the idea was to instead lock...
Those functions came in handy to get the current image with `riotboot_vfs_dump_rom()` in #17379 though
Thank you! Want to also provide a MTD configuration and a default mount point? You can just copy [this file](https://github.com/RIOT-OS/RIOT/blob/master/boards/waveshare-nrf52840-eval-kit/board.c) and add ``` ifneq (,$(filter mtd,$(USEMODULE))) USEMODULE += mtd_sdcard endif...
Does the `test` command in `tests/mtd_raw` work?
Does tweaking `SD_CARD_SPI_SPEED_POSTINIT` make a difference?
Can you set `ENABLE_DEBUG` in `sdcard_spi/sdcard_spi.c` to see what's going wrong?
Hmm maybe the SD card driver has still bugs on AVR - I'll try to reproduce this on my `arduino-mega2560` if RAM permits. In the meantime, looks like KConfig needs...
Just wondering: Have you tried a different SD card? 2 GiB is quite small, might use some different code path than more recent (larger) SD cards.
Please squash!
@leandrolanzieri any idea why KConfig is still failing?