diff options
Diffstat (limited to 'demos/ARMCM3-STM32F103-GCC/Makefile')
| -rw-r--r-- | demos/ARMCM3-STM32F103-GCC/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/Makefile b/demos/ARMCM3-STM32F103-GCC/Makefile index fc36a80d2..3ffda1a1c 100644 --- a/demos/ARMCM3-STM32F103-GCC/Makefile +++ b/demos/ARMCM3-STM32F103-GCC/Makefile @@ -196,9 +196,7 @@ ULIBS = ifeq ($(USE_FWLIB),yes)
include ./stm32lib/stm32lib.mk
CSRC += ${STM32SRC}
- # The thing generates a lot of aliasing warnings, this disables an
- # optimization and the warning disappears, the code is a bit larger however.
- USE_OPT += -fno-strict-aliasing
+ USE_OPT += -DUSE_STDPERIPH_DRIVER
endif
include ../../ports/ARM/rules.mk
|
