diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-11-19 11:10:28 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-11-19 11:10:28 +0000 |
commit | 95b3d788e4b4fbd8aa97ff5296f8e245d992b743 (patch) | |
tree | 1eb2c2ea6b7794cbdea871070d65844810414349 /testhal | |
parent | 6f0b5f95c34e16afccadf43d14fba46ab9c11490 (diff) | |
download | ChibiOS-95b3d788e4b4fbd8aa97ff5296f8e245d992b743.tar.gz ChibiOS-95b3d788e4b4fbd8aa97ff5296f8e245d992b743.tar.bz2 ChibiOS-95b3d788e4b4fbd8aa97ff5296f8e245d992b743.zip |
Updated STM32L4xx/USB_CDC demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9919 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/STM32L4xx/USB_CDC/Makefile | 2 | ||||
-rw-r--r-- | testhal/STM32/STM32L4xx/USB_CDC/readme.txt | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/testhal/STM32/STM32L4xx/USB_CDC/Makefile b/testhal/STM32/STM32L4xx/USB_CDC/Makefile index 23a33f807..8f6843f86 100644 --- a/testhal/STM32/STM32L4xx/USB_CDC/Makefile +++ b/testhal/STM32/STM32L4xx/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).
diff --git a/testhal/STM32/STM32L4xx/USB_CDC/readme.txt b/testhal/STM32/STM32L4xx/USB_CDC/readme.txt index 326b66103..580709169 100644 --- a/testhal/STM32/STM32L4xx/USB_CDC/readme.txt +++ b/testhal/STM32/STM32L4xx/USB_CDC/readme.txt @@ -1,18 +1,14 @@ *****************************************************************************
-** ChibiOS/HAL - ADC driver demo for STM32L4xx. **
+** ChibiOS/HAL - USB driver demo for STM32L4xx. **
*****************************************************************************
** TARGET **
-The demo runs on an STM32 Nucleo64-L476RG board.
+The demo runs on an STM32L476_DISCOVERY board.
** The Demo **
-The application demonstrates the use of the STM32L4xx ADC driver.
-
-** Board Setup **
-
-- Connect PC1 to 3.3V and PC2 to GND for analog measurements.
+The application demonstrates the use of the STM32L4xx USB driver.
** Build Procedure **
|