diff options
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_CDC')
-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).
|