| 2956 | poskozby | 1 | ***************************************************************************** | 
      
        |  |  | 2 | ** ChibiOS/RT port for ARM-Cortex-M3 STM32L152.                            ** | 
      
        |  |  | 3 | ***************************************************************************** | 
      
        |  |  | 4 |  | 
      
        |  |  | 5 | ** TARGET ** | 
      
        |  |  | 6 |  | 
      
        |  |  | 7 | The demo runs on an ST STM32L-Discovery board. | 
      
        |  |  | 8 |  | 
      
        |  |  | 9 | ** The Demo ** | 
      
        |  |  | 10 |  | 
      
        |  |  | 11 | The demo shows how to use the ADC, PWM and SPI drivers using asynchronous | 
      
        |  |  | 12 | APIs. The ADC samples two channels (temperature sensor and PC0) and modulates | 
      
        |  |  | 13 | the PWM using the sampled values. The sample data is also transmitted using | 
      
        |  |  | 14 | the SPI port 2 (NSS=PB12, SCK=PB13, MISO=PB14, MOSI=PB15). | 
      
        |  |  | 15 | By pressing the button located on the board the test procedure is activated | 
      
        |  |  | 16 | with output on the serial port COM1 (USART1). | 
      
        |  |  | 17 |  | 
      
        |  |  | 18 | ** Build Procedure ** | 
      
        |  |  | 19 |  | 
      
        |  |  | 20 | The demo has been tested by using the free Codesourcery GCC-based toolchain | 
      
        |  |  | 21 | and YAGARTO. just modify the TRGT line in the makefile in order to use | 
      
        |  |  | 22 | different GCC toolchains. | 
      
        |  |  | 23 |  | 
      
        |  |  | 24 | ** Notes ** | 
      
        |  |  | 25 |  | 
      
        |  |  | 26 | Some files used by the demo are not part of ChibiOS/RT but are copyright of | 
      
        |  |  | 27 | ST Microelectronics and are licensed under a different license. | 
      
        |  |  | 28 | Also note that not all the files present in the ST library are distributed | 
      
        |  |  | 29 | with ChibiOS/RT, you can find the whole library on the ST web site: | 
      
        |  |  | 30 |  | 
      
        |  |  | 31 |                              http://www.st.com |