From 95b3d788e4b4fbd8aa97ff5296f8e245d992b743 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sat, 19 Nov 2016 11:10:28 +0000 Subject: Updated STM32L4xx/USB_CDC demo git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9919 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32L4xx/USB_CDC/Makefile | 2 +- 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 ** -- cgit v1.2.3