| 1 |
USE_MBOOT ?= 0 |
| 2 |
|
| 3 |
# MCU settings |
| 4 |
MCU_SERIES = h5 |
| 5 |
CMSIS_MCU = STM32H573xx |
| 6 |
MICROPY_FLOAT_IMPL = single |
| 7 |
AF_FILE = boards/stm32h573_af.csv |
| 8 |
|
| 9 |
ifeq ($(USE_MBOOT),1) |
| 10 |
# When using Mboot everything goes after the bootloader |
| 11 |
# TODO: not tested |
| 12 |
LD_FILES = boards/stm32h573xi.ld boards/common_bl.ld |
| 13 |
TEXT0_ADDR = 0x08008000 |
| 14 |
else |
| 15 |
# When not using Mboot everything goes at the start of flash |
| 16 |
LD_FILES = boards/stm32h573xi.ld boards/common_basic.ld |
| 17 |
TEXT0_ADDR = 0x08000000 |
| 18 |
endif |
| 19 |
|
| 20 |
# MicroPython settings |
| 21 |
MICROPY_PY_LWIP = 1 |
| 22 |
MICROPY_PY_SSL = 1 |
| 23 |
MICROPY_SSL_MBEDTLS = 1 |
| 24 |
MICROPY_HW_ENABLE_ISR_UART_FLASH_FUNCS_IN_RAM = 1 |