From 78f63bd88dfe86e2d64c57c90387041e582fa285 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Wed, 1 Jun 2016 10:59:55 +0000 Subject: Fixed Bug #749 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9549 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F4xx/USB_CDC/.project | 5 +++++ testhal/STM32/STM32F4xx/USB_CDC/Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'testhal/STM32') diff --git a/testhal/STM32/STM32F4xx/USB_CDC/.project b/testhal/STM32/STM32F4xx/USB_CDC/.project index defd5f312..7ab20b929 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC/.project +++ b/testhal/STM32/STM32F4xx/USB_CDC/.project @@ -24,6 +24,11 @@ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + board + 2 + CHIBIOS/os/hal/boards/ST_STM32F4_DISCOVERY + os 2 diff --git a/testhal/STM32/STM32F4xx/USB_CDC/Makefile b/testhal/STM32/STM32F4xx/USB_CDC/Makefile index 832f3c8a8..2b0d5c294 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC/Makefile +++ b/testhal/STM32/STM32F4xx/USB_CDC/Makefile @@ -5,7 +5,7 @@ # Compiler options here. ifeq ($(USE_OPT),) - USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16 + USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 endif # C specific options here (added to USE_OPT). -- cgit v1.2.3