2019-02-07 00:28:01 -05:00
|
|
|
# By default this board is configured to use mboot which must be deployed first
|
|
|
|
USE_MBOOT ?= 1
|
|
|
|
|
2019-03-04 06:32:44 -05:00
|
|
|
# By default this board puts some code into external QSPI flash set in XIP mode
|
|
|
|
# USE_MBOOT must be enabled; see f769_qspi.ld for code that goes in QSPI flash
|
|
|
|
USE_QSPI ?= 1
|
|
|
|
|
|
|
|
# MCU settings
|
2016-12-12 00:36:35 -05:00
|
|
|
MCU_SERIES = f7
|
|
|
|
CMSIS_MCU = STM32F769xx
|
2017-06-28 01:42:40 -04:00
|
|
|
MICROPY_FLOAT_IMPL = double
|
2017-03-30 02:58:45 -04:00
|
|
|
AF_FILE = boards/stm32f767_af.csv
|
2019-02-07 00:28:01 -05:00
|
|
|
|
|
|
|
ifeq ($(USE_MBOOT),1)
|
2019-03-04 06:32:44 -05:00
|
|
|
ifeq ($(USE_QSPI),1)
|
|
|
|
|
|
|
|
# When using Mboot and QSPI the text is split between internal and external flash
|
|
|
|
LD_FILES = boards/STM32F769DISC/f769_qspi.ld
|
|
|
|
TEXT0_ADDR = 0x08020000
|
|
|
|
TEXT1_ADDR = 0x90000000
|
|
|
|
TEXT0_SECTIONS = .isr_vector .text .data
|
|
|
|
TEXT1_SECTIONS = .text_qspi
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
# When using Mboot but not QSPI all the text goes together after the filesystem
|
2019-02-07 00:28:01 -05:00
|
|
|
LD_FILES = boards/stm32f769.ld boards/common_blifs.ld
|
|
|
|
TEXT0_ADDR = 0x08020000
|
2019-03-04 06:32:44 -05:00
|
|
|
|
|
|
|
endif
|
2019-02-07 00:28:01 -05:00
|
|
|
else
|
2019-03-04 06:32:44 -05:00
|
|
|
|
2019-02-07 00:28:01 -05:00
|
|
|
# When not using Mboot the ISR text goes first, then the rest after the filesystem
|
2018-03-27 06:17:48 -04:00
|
|
|
LD_FILES = boards/stm32f769.ld boards/common_ifs.ld
|
2018-03-27 06:24:15 -04:00
|
|
|
TEXT0_ADDR = 0x08000000
|
|
|
|
TEXT1_ADDR = 0x08020000
|
2019-03-04 06:32:44 -05:00
|
|
|
|
2019-02-07 00:28:01 -05:00
|
|
|
endif
|
2019-03-04 07:34:03 -05:00
|
|
|
|
|
|
|
# MicroPython settings
|
|
|
|
MICROPY_PY_LWIP = 1
|