| 1 |
MCU_SERIES = l4 |
| 2 |
CMSIS_MCU = STM32L432xx |
| 3 |
AF_FILE = boards/stm32l432_af.csv |
| 4 |
LD_FILES = boards/stm32l432.ld boards/common_basic.ld |
| 5 |
OPENOCD_CONFIG = boards/openocd_stm32l4.cfg |
| 6 |
|
| 7 |
# MicroPython settings |
| 8 |
MICROPY_VFS_FAT = 0 |
| 9 |
MICROPY_VFS_LFS1 ?= 1 |
| 10 |
MICROPY_HW_ENABLE_ISR_UART_FLASH_FUNCS_IN_RAM = 1 |
| 11 |
|
| 12 |
# Don't include default frozen modules because MCU is tight on flash space |
| 13 |
FROZEN_MANIFEST ?= |
| 14 |
|
| 15 |
# LTO reduces final binary size, may be slower to build depending on gcc version and hardware |
| 16 |
LTO ?= 1 |