diff --git a/Makefile b/Makefile index afc7ccf..28c0f14 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,10 @@ SIZE=arm-none-eabi-size LFLAGS = -mlittle-endian -mthumb -mcpu=cortex-m0 -mthumb-interwork LFLAGS += -mfloat-abi=soft --disable-newlib-supplied-syscalls -nostartfiles -LFLAGS += -Tstartup/stm32f030.ld -Wl,-Map=$(mapfile).map -Wl,--gc-sections -g +LFLAGS += -Tstartup/stm32f030.ld -Wl,-Map=$(mapfile).map -Wl,--gc-sections -g -Os CFLAGS = -c -fmessage-length=0 -mlittle-endian -mthumb -mcpu=cortex-m0 -mthumb-interwork -CFLAGS += -mfloat-abi=soft -nostartfiles -Wall -g +CFLAGS += -mfloat-abi=soft -nostartfiles -Wall -g -Os ####################################################################################