File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
tensorflow/lite/micro/tools/make/targets Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 28
28
29
29
FLOAT := soft
30
30
GCC_TARGET_ARCH := $(TARGET_ARCH )
31
+ SIGNED_CHAR := false
31
32
32
33
# Explicitly set this to true to include the kissfft symbols.
33
34
INCLUDE_MICRO_SPEECH := false
@@ -174,14 +175,19 @@ PLATFORM_FLAGS = \
174
175
-DTF_LITE_MCU_DEBUG_LOG \
175
176
-mthumb \
176
177
-mfloat -abi = $(FLOAT ) \
177
- -funsigned -char \
178
178
-mlittle -endian \
179
179
-Wno -type -limits \
180
180
-Wno -unused -private -field \
181
181
-fomit -frame -pointer \
182
182
-MD \
183
183
-DCPU_ $(CORE )= 1
184
184
185
+ ifeq ($(SIGNED_CHAR ), false )
186
+ PLATFORM_FLAGS += -funsigned -char
187
+ else
188
+ PLATFORM_FLAGS += -fsigned -char
189
+ endif
190
+
185
191
# For DWT/PMU counters. Header file name is depending on target architecture.
186
192
PLATFORM_FLAGS += -DCMSIS_DEVICE_ARM_CORTEX_M_XX_HEADER_FILE = \" $(ARM_CPU ). h \"
187
193
PLATFORM_FLAGS += -D $(ARM_CPU )
You can’t perform that action at this time.
0 commit comments