2019-04-08 00:34:37 -04:00
|
|
|
USE_MBOOT ?= 0
|
|
|
|
|
|
|
|
# MCU settings
|
2018-02-20 17:35:05 -05:00
|
|
|
MCU_SERIES = h7
|
|
|
|
CMSIS_MCU = STM32H743xx
|
|
|
|
MICROPY_FLOAT_IMPL = double
|
|
|
|
AF_FILE = boards/stm32h743_af.csv
|
2019-04-08 00:34:37 -04:00
|
|
|
|
|
|
|
ifeq ($(USE_MBOOT),1)
|
2021-08-19 11:12:19 -04:00
|
|
|
# When using Mboot everything goes after the bootloader
|
|
|
|
LD_FILES = boards/stm32h743.ld boards/common_bl.ld
|
|
|
|
TEXT0_ADDR = 0x08020000
|
2019-04-08 00:34:37 -04:00
|
|
|
else
|
2021-08-19 11:12:19 -04:00
|
|
|
# When not using Mboot everything goes at the start of flash
|
|
|
|
LD_FILES = boards/stm32h743.ld boards/common_basic.ld
|
2018-03-27 22:20:48 -04:00
|
|
|
TEXT0_ADDR = 0x08000000
|
2019-04-08 00:34:37 -04:00
|
|
|
endif
|
2019-12-10 15:52:30 -05:00
|
|
|
|
|
|
|
# MicroPython settings
|
|
|
|
MICROPY_PY_LWIP = 1
|
|
|
|
MICROPY_PY_USSL = 1
|
|
|
|
MICROPY_SSL_MBEDTLS = 1
|
2021-08-19 11:12:46 -04:00
|
|
|
MICROPY_VFS_LFS2 = 1
|
2023-01-26 22:17:19 -05:00
|
|
|
|
2023-02-01 07:22:18 -05:00
|
|
|
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
|