mirror of
https://github.com/micropython/micropython.git
synced 2026-04-21 00:10:19 +02:00
stm32/boards: Disable some features on boards with small flash.
This allows the newly-added `machine.PWM` class to fit on these boards, which is arguably more useful than the features disabled in this commit. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#define MICROPY_EMIT_THUMB (0)
|
||||
#define MICROPY_EMIT_INLINE_THUMB (0)
|
||||
#define MICROPY_OPT_COMPUTED_GOTO (0)
|
||||
#define MICROPY_PY_BUILTINS_COMPLEX (0)
|
||||
#define MICROPY_PY_SOCKET (0)
|
||||
#define MICROPY_PY_NETWORK (0)
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#define MICROPY_PY_STM (0)
|
||||
#define MICROPY_PY_PYB_LEGACY (0)
|
||||
#define MICROPY_PY_HEAPQ (0)
|
||||
#define MICROPY_PY_FRAMEBUF (0)
|
||||
|
||||
#define MICROPY_HW_ENABLE_RTC (1)
|
||||
#define MICROPY_HW_ENABLE_ADC (1)
|
||||
|
||||
Reference in New Issue
Block a user