Debian Codegraph @

ports/stm32/boards/NUCLEO_N657X0/mpconfigboard.mk

raw
1 # Without mboot, the main firmware must fit in 512k flash, will be copied to SRAM by
2 # the hardware bootloader, and will run from SRAM. With mboot, the main firmware can
3 # be much larger and will run from flash via XSPI in memory-mapped mode.
4 USE_MBOOT ?= 1
5
6 MCU_SERIES = n6
7 CMSIS_MCU = STM32N657xx
8 AF_FILE = boards/stm32n657_af.csv
9 ifeq ($(BUILDING_MBOOT),1)
10 SYSTEM_FILE = $(STM32LIB_CMSIS_BASE)/Source/Templates/system_stm32$(MCU_SERIES)xx_fsbl.o
11 else
12 SYSTEM_FILE = $(STM32LIB_CMSIS_BASE)/Source/Templates/system_stm32$(MCU_SERIES)xx_s.o
13 endif
14 STM32_N6_HEADER_VERSION = 2.1
15 DKEL = $(STM32_CUBE_PROGRAMMER)/bin/ExternalLoader/MX25UM51245G_STM32N6570-NUCLEO.stldr
16
17 ifeq ($(USE_MBOOT),1)
18 LD_FILES = boards/stm32n657x0.ld boards/common_n6_flash.ld
19 TEXT0_ADDR = 0x70080000
20 else
21 LD_FILES = boards/stm32n657x0.ld boards/common_basic.ld
22 TEXT0_ADDR = 0x34180400
23 endif
24
25 # MicroPython settings
26 MICROPY_FLOAT_IMPL = double