aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/tools/make/targets/stm32f1_makefile.inc
blob: 7418e4d196ed1384bc16baa2c0289173060f74ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Settings for STM32F1 platforms.
ifeq ($(TARGET), stm32f1)
  TARGET_ARCH := armm1
  TARGET_TOOLCHAIN_PREFIX := arm-none-eabi-

  CXXFLAGS += \
  -DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK \
  -mcpu=cortex-m1 \
  -mthumb \
  -DTFLITE_MCU \
  -fno-rtti \
  -fmessage-length=0 \
  -fno-exceptions \
  -fno-builtin \
  -ffunction-sections \
  -fdata-sections \
  -funsigned-char \
  -MMD
	LIBS += -ldl
	BUILD_TYPE := micro
endif