Skip to content

Commit 464121f

Browse files
projectgusdpgeorge
authored andcommitted
esp32/boards: Enable machine.SDCard on all boards.
This increases binary size by about 4KB on C3, probably a bit less on S2. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <[email protected]>
1 parent c85eefc commit 464121f

File tree

11 files changed

+0
-13
lines changed

11 files changed

+0
-13
lines changed

ports/esp32/boards/ESP32_GENERIC_C3/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@
33
#define MICROPY_HW_BOARD_NAME "ESP32C3 module"
44
#define MICROPY_HW_MCU_NAME "ESP32C3"
55

6-
#define MICROPY_HW_ENABLE_SDCARD (0)
7-
86
// Enable UART REPL for modules that have an external USB-UART and don't use native USB.
97
#define MICROPY_HW_ENABLE_UART_REPL (1)

ports/esp32/boards/ESP32_GENERIC_C6/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define MICROPY_HW_BOARD_NAME "ESP32C6 module"
44
#define MICROPY_HW_MCU_NAME "ESP32C6"
55

6-
#define MICROPY_HW_ENABLE_SDCARD (0)
76
#define MICROPY_PY_MACHINE_I2S (0)
87

98
// Enable UART REPL for modules that have an external USB-UART and don't use native USB.

ports/esp32/boards/ESP32_GENERIC_S2/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#define MICROPY_HW_MCU_NAME "ESP32S2"
33

44
#define MICROPY_PY_BLUETOOTH (0)
5-
#define MICROPY_HW_ENABLE_SDCARD (0)
65

76
// Enable UART REPL for modules that have an external USB-UART and don't use native USB.
87
#define MICROPY_HW_ENABLE_UART_REPL (1)

ports/esp32/boards/LOLIN_C3_MINI/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
#define MICROPY_HW_MCU_NAME "ESP32-C3FH4"
33
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "mpy-c3-mini"
44

5-
#define MICROPY_HW_ENABLE_SDCARD (0)
6-
75
#define MICROPY_HW_I2C0_SCL (10)
86
#define MICROPY_HW_I2C0_SDA (8)
97

ports/esp32/boards/LOLIN_S2_MINI/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "mpy-s2-mini"
44

55
#define MICROPY_PY_BLUETOOTH (0)
6-
#define MICROPY_HW_ENABLE_SDCARD (0)
76

87
#define MICROPY_HW_I2C0_SCL (35)
98
#define MICROPY_HW_I2C0_SDA (33)

ports/esp32/boards/LOLIN_S2_PICO/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "mpy-s2-pico"
44

55
#define MICROPY_PY_BLUETOOTH (0)
6-
#define MICROPY_HW_ENABLE_SDCARD (0)
76

87
#define MICROPY_HW_I2C0_SCL (9)
98
#define MICROPY_HW_I2C0_SDA (8)

ports/esp32/boards/M5STACK_NANOC6/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#define MICROPY_HW_BOARD_NAME "M5Stack NanoC6"
22
#define MICROPY_HW_MCU_NAME "ESP32C6"
33

4-
#define MICROPY_HW_ENABLE_SDCARD (0)
54
#define MICROPY_PY_MACHINE_I2S (0)
65

76
#define MICROPY_HW_I2C0_SCL (1)

ports/esp32/boards/UM_FEATHERS2/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "FeatherS2"
44

55
#define MICROPY_PY_BLUETOOTH (0)
6-
#define MICROPY_HW_ENABLE_SDCARD (0)
76

87
#define MICROPY_HW_I2C0_SCL (9)
98
#define MICROPY_HW_I2C0_SDA (8)

ports/esp32/boards/UM_FEATHERS2NEO/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "FeatherS2-Neo"
44

55
#define MICROPY_PY_BLUETOOTH (0)
6-
#define MICROPY_HW_ENABLE_SDCARD (0)
76

87
#define MICROPY_HW_I2C0_SCL (9)
98
#define MICROPY_HW_I2C0_SDA (8)

ports/esp32/boards/UM_TINYC6/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#define MICROPY_HW_BOARD_NAME "Unexpected Maker TinyC6"
22
#define MICROPY_HW_MCU_NAME "ESP32C6"
33

4-
#define MICROPY_HW_ENABLE_SDCARD (0)
54
#define MICROPY_PY_MACHINE_I2S (0)
65

76
#define MICROPY_HW_I2C0_SCL (7)

ports/esp32/boards/UM_TINYS2/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "TinyS2"
44

55
#define MICROPY_PY_BLUETOOTH (0)
6-
#define MICROPY_HW_ENABLE_SDCARD (0)
76

87
#define MICROPY_HW_I2C0_SCL (9)
98
#define MICROPY_HW_I2C0_SDA (8)

0 commit comments

Comments
 (0)