how to add sdcard multi partition support on esp32 and esp32 s3
Is there any chance to add sdcard multi partition support on ESP32 or esp32 s3?
I noticed that stm32 supports sdcard multi partition
https://github.com/micropython/micropython/issues/2730
Any suggestions will be thanks
In esp32-s3, cannot use (machine. Sdcard class)
Call machine.Sdcard (slot = 2, miso = pin (36), MoSi = pin (35), SCK = pin (37), CS = pin (38)) on espressif esp32-s3 development board reports an error:
[0;31mE (8250) spi: spi_bus_initialize(762): invalid dma channel, chip only support spi dma channel auto-alloc
[0;31mE (8250) sdspi_host: spi_bus_initialize failed with rc=0x102
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 4, in <module>
OSError: (-258, 'ESP_ERR_INVALID_ARG')
modify micropython/ports/esp32/machine_sdcard.c Line 214,machine.sdcard() call can be resumed
.dma_channel = 2----------->.dma_channel = 3
Because in ESP-IDF dma_channel==3 Indicates automatic assignment DMA,Otherwise, the machine.Sdcard() will not work properly