8000 stm32/boards/NUCLEO_F091RC: Enable LFS1 filesystem. · micropython/micropython@868f23b · GitHub
[go: up one dir, main page]

Skip to content

Commit 868f23b

Browse files
chrismas9dpgeorge
authored andcommitted
stm32/boards/NUCLEO_F091RC: Enable LFS1 filesystem.
And disable some less common features to make space for it. Signed-off-by: Chris Mason <c.mason@inchipdesign.com.au>
1 parent fdbca3c commit 868f23b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ports/stm32/boards/NUCLEO_F091RC/mpconfigboard.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,21 @@
44
#define MICROPY_EMIT_THUMB (0)
55
#define MICROPY_EMIT_INLINE_THUMB (0)
66
#define MICROPY_OPT_COMPUTED_GOTO (0)
7+
#define MICROPY_PY_BUILTINS_COMPLEX (0)
78
#define MICROPY_PY_IO_FILEIO (0)
89
#define MICROPY_PY_USOCKET (0)
910
#define MICROPY_PY_NETWORK (0)
1011
#define MICROPY_PY_STM (0)
1112
#define MICROPY_PY_PYB_LEGACY (0)
13+
#define MICROPY_PY_UHEAPQ (0)
14+
#define MICROPY_PY_UTIMEQ (0)
15+
#define MICROPY_PY_FRAMEBUF (0)
1216

13-
#define MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE (0)
1417
#define MICROPY_HW_ENABLE_RTC (1)
1518
#define MICROPY_HW_ENABLE_ADC (1)
1619
#define MICROPY_HW_ENABLE_DAC (1)
1720
#define MICROPY_HW_HAS_SWITCH (1)
21+
#define MICROPY_HW_HAS_FLASH (1)
1822

1923
// For system clock, enable one source:
2024
// #define MICROPY_HW_CLK_USE_HSI (1) // internal 8MHz -> PLL = 48MHz.

ports/stm32/boards/NUCLEO_F091RC/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ LD_FILES = boards/stm32f091xc.ld boards/common_basic.ld
55

66
# MicroPython settings
77
MICROPY_VFS_FAT = 0
8+
MICROPY_VFS_LFS1 ?= 1
89

910
# Don't include default frozen modules because MCU is tight on flash space
1011
FROZEN_MANIFEST ?=

0 commit comments

Comments
 (0)
0