Closed
Description
Hi,
I've raised this as a seperate issue as I think it's different from the other SDCard related problem over at
#4722
After doing a bit of testing using the ESP-WROVER-KIT 4.1
It looks like if you try to specify the width parameter when using machine.SDCard()
this works fine with the esp32 firmware but breaks under esp32spiram
This works fine with both stock firmwares esp32 and esp32spiram
import machine
uos.mount(machine.SDCard(), "/sd")
uos.listdir('/sd')
uos.umount('/sd')
This works okay with esp32-20190905-v1.11-274-g06661890d.bin
But breaks with esp32spiram-20190905-v1.11-274-g06661890d.bin
The esp32spiram version of the firmware seems to have an issue with taking a width parameter even if it's the same as the default value (4)
import machine
uos.mount(machine.SDCard(width=4), "/sd")
uos.listdir('/sd')
uos.umount('/sd')