/** @page Demo Demo @verbatim ******************** (C) COPYRIGHT 2013 STMicroelectronics ******************* * @file readme.txt * @author Microcontroller Division * @version V1.0.4 * @date Feb-2014 * @brief Description of demonstration software for Discovery board with STM32L1x ****************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. ****************************************************************************** @endverbatim - Software environemnt ---------------------- This Demo has been developed and tested with - EWARM v7.30 - MDK-ARM v5.12 - TrueSTUDIO v5.1.1 - ST-LINK/V2 driver requirement ------------------------------ - After installing the toolset, the ST-LINK/V2 USB driver should by installed automatically. - In case of trouble you may find and download the latest driver from www.st.com/mcu and install it. - Hardware environemnt ---------------------- - Check jumper position on the board, JP1 on, CN3 on (Discovery selected). - Connect the Discovery board to a PC with a USB cable to power the board. @par Example Description This demonstration firmware aims to demonstrate temperature sensor capabilities embedded in STM32L microcontroller When powered up, the temperature sensor application example first displays a welcome message before immediately displaying the current temperature in degrees Celsius with a 2- second refresh rate. When the User button is pressed once, the display shows the mean value from the samples acquired by the ADC. One more press of the User button toggles between displaying the current temperature in degrees Celsius or the averaged value calculated from samples acquired by the ADC. @par Directory contents - "inc": contains the STM32L-Discovery demo header files - main.h Main header file - stm32l1xx_conf.h Library Configuration file - stm32l1xx_it.h Interrupt handlers header file - "src": contains the STM32L-Discovery demo source files - stm32l1xx_it.c Interrupt handlers - main.c Main program - system_stm32l1xx.c The "system_stm32l1xx.c" is generated by an automatic clock configuration system and can be easily customized to your own configuration. - "EWARM": contains pre-configured project for EWARM toolchain - "MDK-ARM": contains project for MDK ARM KEIL toolchain - "TrueSTUDIO": contains project for Atollic TrueSTUDIO toolchain @par How to use it ? In order to make the program work, you must do the following: 1- Open project 2- Rebuild all files and load your image into target memory 3- Run the example *