2016-03-05 23:21:02 -05:00
|
|
|
MCU_SERIES = f4
|
|
|
|
CMSIS_MCU = STM32F411xE
|
|
|
|
AF_FILE = boards/stm32f411_af.csv
|
2018-03-27 06:17:48 -04:00
|
|
|
LD_FILES = boards/stm32f411.ld boards/common_ifs.ld
|
2018-03-27 06:24:15 -04:00
|
|
|
TEXT0_ADDR = 0x08000000
|
|
|
|
TEXT1_ADDR = 0x08020000
|
2022-08-15 02:20:40 -04:00
|
|
|
|
|
|
|
# Provide different variants for the downloads page.
|
|
|
|
BOARD_VARIANTS += "dp thread dp-thread network"
|
|
|
|
|
2022-09-07 23:58:03 -04:00
|
|
|
ifeq ($(BOARD_VARIANT),dp)
|
2022-08-15 02:20:40 -04:00
|
|
|
MICROPY_FLOAT_IMPL=double
|
|
|
|
endif
|
|
|
|
|
2022-09-07 23:58:03 -04:00
|
|
|
ifeq ($(BOARD_VARIANT),thread)
|
2022-08-15 02:20:40 -04:00
|
|
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
|
|
|
endif
|
|
|
|
|
2022-09-07 23:58:03 -04:00
|
|
|
ifeq ($(BOARD_VARIANT),dp-thread)
|
2022-08-15 02:20:40 -04:00
|
|
|
MICROPY_FLOAT_IMPL=double
|
|
|
|
CFLAGS += -DMICROPY_PY_THREAD=1
|
|
|
|
endif
|
|
|
|
|
2022-09-07 23:58:03 -04:00
|
|
|
ifeq ($(BOARD_VARIANT),network)
|
2022-08-15 02:20:40 -04:00
|
|
|
MICROPY_PY_NETWORK_WIZNET5K=5200
|
|
|
|
endif
|
2022-09-05 21:53:36 -04:00
|
|
|
|
|
|
|
# PYB-specific frozen modules
|
|
|
|
FROZEN_MANIFEST ?= boards/PYBV10/manifest.py
|