mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Remove short-enums
This commit is contained in:
parent
1d58ebf603
commit
d6f66bc2f9
@ -14,14 +14,14 @@ BUILD_DIR=build
|
||||
|
||||
# Debugging/Optimization
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS = -O0 -g
|
||||
CFLAGS = -O0 -ggdb3
|
||||
else
|
||||
CFLAGS = -O2 -g
|
||||
endif
|
||||
|
||||
# Compiler Flags
|
||||
CFLAGS += -Wall -mlittle-endian -mthumb -nostartfiles -mcpu=cortex-m4 -mabi=aapcs-linux
|
||||
CFLAGS += -fsingle-precision-constant -Wdouble-promotion -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fshort-enums
|
||||
CFLAGS += -fsingle-precision-constant -Wdouble-promotion -mfpu=fpv4-sp-d16 -mfloat-abi=hard
|
||||
CFLAGS += -I. -I../include/CMSIS -I../include/StdPeriph -I../include/USB_OTG -I../include/FatFS -I../include/CC3K -I../include/MicroPython\
|
||||
-I../include/MicroPython/py -I./py -I./img -DSTM32F40_41xxx -DUSE_USB_OTG_FS -DARM_MATH_CM4 -D__FPU_PRESENT -std=gnu99 -DOSC=12
|
||||
|
||||
@ -38,7 +38,8 @@ OBJS = $(addprefix $(BUILD_DIR)/, $(SRCS:.c=.o))
|
||||
|
||||
# Libraries
|
||||
#LIB = -lmp -lc -lm -ldsp -lstdperiph -lusbcore -lusbdevcore
|
||||
LIB = -lmp -ldsp -lcc3k -lstdperiph
|
||||
#LIB = -lmp -ldsp -lcc3k -lstdperiph
|
||||
LIB = -lmp -ldsp -lstdperiph
|
||||
|
||||
all:: $(BUILD_DIR) $(BUILD_DIR) $(BUILD_DIR)/$(BIN).bin
|
||||
$(SIZE) $(BUILD_DIR)/$(BIN).elf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user