2019-04-08 05:34:37 +01:00
|
|
|
USE_MBOOT ?= 0
|
|
|
|
|
|
|
|
# MCU settings
|
2018-02-20 22:35:05 +00:00
|
|
|
MCU_SERIES = h7
|
|
|
|
CMSIS_MCU = STM32H743xx
|
|
|
|
MICROPY_FLOAT_IMPL = double
|
|
|
|
AF_FILE = boards/stm32h743_af.csv
|
2019-04-08 05:34:37 +01:00
|
|
|
|
|
|
|
ifeq ($(USE_MBOOT),1)
|
|
|
|
# When using Mboot all the text goes together after the filesystem
|
|
|
|
LD_FILES = boards/stm32h743.ld boards/common_blifs.ld
|
|
|
|
TEXT0_ADDR = 0x08040000
|
|
|
|
else
|
|
|
|
# When not using Mboot the ISR text goes first, then the rest after the filesystem
|
2018-03-28 03:20:48 +01:00
|
|
|
LD_FILES = boards/stm32h743.ld boards/common_ifs.ld
|
|
|
|
TEXT0_ADDR = 0x08000000
|
|
|
|
TEXT1_ADDR = 0x08040000
|
2019-04-08 05:34:37 +01:00
|
|
|
endif
|
2019-12-10 20:52:30 +00:00
|
|
|
|
|
|
|
# MicroPython settings
|
|
|
|
MICROPY_PY_LWIP = 1
|
|
|
|
MICROPY_PY_USSL = 1
|
|
|
|
MICROPY_SSL_MBEDTLS = 1
|