| 1 |
MCU_SERIES = wb |
| 2 |
CMSIS_MCU = STM32WB55xx |
| 3 |
AF_FILE = boards/stm32wb55_af.csv |
| 4 |
STARTUP_FILE = $(STM32LIB_CMSIS_BASE)/Source/Templates/gcc/startup_stm32wb55xx_cm4.o |
| 5 |
|
| 6 |
ifeq ($(USE_MBOOT),1) |
| 7 |
# When using Mboot all the text goes together after the bootloader |
| 8 |
LD_FILES = boards/stm32wb55xg.ld boards/common_bl.ld |
| 9 |
TEXT0_ADDR = 0x08008000 |
| 10 |
else |
| 11 |
# When not using Mboot the text goes at the start of flash |
| 12 |
LD_FILES = boards/stm32wb55xg.ld boards/common_basic.ld |
| 13 |
TEXT0_ADDR = 0x08000000 |
| 14 |
endif |
| 15 |
|
| 16 |
# MicroPython settings |
| 17 |
MICROPY_PY_BLUETOOTH = 1 |
| 18 |
MICROPY_BLUETOOTH_NIMBLE = 1 |
| 19 |
MICROPY_VFS_LFS2 = 1 |