2019-07-17 02:51:24 -04:00
|
|
|
MCU_SERIES = wb
|
|
|
|
CMSIS_MCU = STM32WB55xx
|
|
|
|
AF_FILE = boards/stm32wb55_af.csv
|
2021-02-21 19:54:31 -05:00
|
|
|
STARTUP_FILE = $(STM32LIB_CMSIS_BASE)/Source/Templates/gcc/startup_stm32wb55xx_cm4.o
|
2019-10-31 23:56:48 -04:00
|
|
|
|
2020-09-08 03:00:41 -04:00
|
|
|
ifeq ($(USE_MBOOT),1)
|
|
|
|
# When using Mboot all the text goes together after the bootloader
|
|
|
|
LD_FILES = boards/stm32wb55xg.ld boards/common_bl.ld
|
2022-03-29 19:50:18 -04:00
|
|
|
TEXT0_ADDR = 0x08008000
|
2020-09-08 03:00:41 -04:00
|
|
|
else
|
|
|
|
# When not using Mboot the text goes at the start of flash
|
|
|
|
LD_FILES = boards/stm32wb55xg.ld boards/common_basic.ld
|
|
|
|
TEXT0_ADDR = 0x08000000
|
|
|
|
endif
|
|
|
|
|
2019-10-31 23:56:48 -04:00
|
|
|
# MicroPython settings
|
|
|
|
MICROPY_PY_BLUETOOTH = 1
|
|
|
|
MICROPY_BLUETOOTH_NIMBLE = 1
|
2019-12-04 18:16:10 -05:00
|
|
|
MICROPY_VFS_LFS2 = 1
|