Skip to content

Commit

Permalink
Bug fix, pull-up resistors incorrectly configured for SD mode on SD C…
Browse files Browse the repository at this point in the history
…ard initialization
  • Loading branch information
loboris committed Jun 29, 2018
1 parent 28fe84f commit 210efe9
Show file tree
Hide file tree
Showing 22 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MicroPython_BUILD/components/micropython/extmod/vfs_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,13 +772,13 @@ static void _sdcard_mount()
host.max_freq_khz = (sdcard_config.hispeed > 0) ? SDMMC_FREQ_HIGHSPEED : SDMMC_FREQ_DEFAULT;
if (sdcard_config.mode == 2) {
// Use 1-line SD mode
_setPins(4, 12, -1, -1);
_setPins(4, 12, 15, 13);
host.flags = SDMMC_HOST_FLAG_1BIT;
slot_config.width = 1;
}
else {
// Use 4-line SD mode
_setPins(2, 14, 15, 13);
_setPins(4, 12, -1, -1);
host.flags = SDMMC_HOST_FLAG_4BIT;
slot_config.width = 4;
}
Expand Down
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_all.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_ota.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_psram.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_psram_all.zip
Binary file not shown.
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/MicroPython_LoBo_esp32_psram_ota.zip
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_all/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_all/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_ota/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_ota/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram/MicroPython.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram/bootloader/bootloader.bin
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram_all/MicroPython.bin
Binary file not shown.
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram_all_bt/MicroPython.bin
Binary file not shown.
Binary file not shown.
Binary file modified MicroPython_BUILD/firmware/esp32_psram_ota/MicroPython.bin
Binary file not shown.
Binary file not shown.

0 comments on commit 210efe9

Please sign in to comment.