Skip to content

Commit 9480e9b

Browse files
committed
ports/windows: Add comment about compiler disable limitation.
Document that MICROPY_ENABLE_COMPILER cannot be disabled in the pydfu variant because the build system unconditionally enables MICROPY_MODULE_FROZEN_STR which requires the compiler. Also add ifndef guard for MICROPY_HELPER_REPL to allow variant override. Signed-off-by: Andrew Leech <[email protected]>
1 parent 82462ed commit 9480e9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/windows/variants/pydfu/mpconfigvariant.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
// Minimal variant for pydfu standalone application.
2828
// Disables features not needed to reduce binary size.
2929

30+
// Note: MICROPY_ENABLE_COMPILER cannot be disabled because the build system
31+
// unconditionally enables MICROPY_MODULE_FROZEN_STR which requires the compiler.
32+
// This is a MicroPython core limitation.
33+
3034
// Disable modules not needed by pydfu
3135
#define MICROPY_PY_JSON (0)
3236
#define MICROPY_PY_RE (0)

0 commit comments

Comments
 (0)