diff --git a/etc/bare.armv7m.mk b/etc/bare.armv7m.mk index 5f799a5b5..566329f44 100644 --- a/etc/bare.armv7m.mk +++ b/etc/bare.armv7m.mk @@ -28,8 +28,8 @@ INCLUDES += -I$(FREERTOSPATH)/Source/include \ -I$(OPENMRNPATH)/src/freertos_drivers/common #ARCHOPTIMIZATION = -D__NEWLIB__ -ARCHOPTIMIZATION += -O3 -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections -#ARCHOPTIMIZATION += -Os -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections +#ARCHOPTIMIZATION += -O3 -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections +ARCHOPTIMIZATION += -Os -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer -fdata-sections -ffunction-sections ARCHFLAGS = -g -MD -MP -march=armv7-m -mthumb -mfloat-abi=soft