diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-06-01 10:59:55 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-06-01 10:59:55 +0000 |
commit | 78f63bd88dfe86e2d64c57c90387041e582fa285 (patch) | |
tree | 0a48c43136556ae4446c73fe8b8bfc8d2afa28fb /testhal/STM32/STM32F4xx | |
parent | 29e4e97d76bc2e61e6965482c0a7ee251b3bfe54 (diff) | |
download | ChibiOS-78f63bd88dfe86e2d64c57c90387041e582fa285.tar.gz ChibiOS-78f63bd88dfe86e2d64c57c90387041e582fa285.tar.bz2 ChibiOS-78f63bd88dfe86e2d64c57c90387041e582fa285.zip |
Fixed Bug #749
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9549 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx')
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_CDC/.project | 5 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_CDC/Makefile | 2 |
2 files changed, 6 insertions, 1 deletions
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 @@ -25,6 +25,11 @@ </natures>
<linkedResources>
<link>
+ <name>board</name>
+ <type>2</type>
+ <locationURI>CHIBIOS/os/hal/boards/ST_STM32F4_DISCOVERY</locationURI>
+ </link>
+ <link>
<name>os</name>
<type>2</type>
<locationURI>CHIBIOS/os</locationURI>
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).
|