We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4b77c1 commit d0758d8Copy full SHA for d0758d8
ports/esp32/boards/ESP32_GENERIC/mpconfigboard.cmake
@@ -11,6 +11,9 @@ if(MICROPY_BOARD_VARIANT STREQUAL "D2WD")
11
12
list(APPEND MICROPY_DEF_BOARD
13
MICROPY_HW_MCU_NAME="ESP32-D2WD"
14
+ # Disable some options to reduce firmware size.
15
+ MICROPY_OPT_COMPUTED_GOTO=0
16
+ MICROPY_PY_NETWORK_LAN=0
17
)
18
endif()
19
ports/esp32/mpconfigport.h
@@ -40,7 +40,9 @@
40
#define MICROPY_COMP_CONST_FOLDING_COMPILER_WORKAROUND (1)
41
42
// optimisations
43
+#ifndef MICROPY_OPT_COMPUTED_GOTO
44
#define MICROPY_OPT_COMPUTED_GOTO (1)
45
+#endif
46
47
// Python internal features
48
#define MICROPY_READER_VFS (1)
0 commit comments