Updated ST library to version 3.5.0, modified the header to include board.h if no MCU macro is defined.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3238 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
12dc959bac
commit
545fbf7187
|
@ -11,7 +11,7 @@ The currently included items are:
|
|||
|
||||
1. uip-1.0, a minimal TCP/IP implementation: http://www.sics.se/~adam/uip/
|
||||
2. lwip-1.4.0, lightweight TCP/IP stack: http://savannah.nongnu.org/projects/lwip/
|
||||
3. STM32 firmware library 3.3.0 (partial, library only) the full download is
|
||||
3. STM32 firmware library 3.5.0 (partial, library only) the full download is
|
||||
available from http://www.st.com
|
||||
4. FatFS 0.7e (patched), the original version is available from
|
||||
http://elm-chan.org/fsw/ff/00index_e.html
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -15,15 +15,15 @@
|
|||
* is using in the C source code, usually in main.c. This file contains:
|
||||
* - Configuration section that allows to select:
|
||||
* - The device used in the target application
|
||||
* - To use or not the peripheral’s drivers in application code(i.e.
|
||||
* code will be based on direct access to peripheral’s registers
|
||||
* - To use or not the peripheral<EFBFBD>s drivers in application code(i.e.
|
||||
* code will be based on direct access to peripheral<EFBFBD>s registers
|
||||
* rather than drivers API), this option is controlled by
|
||||
* "#define USE_STDPERIPH_DRIVER"
|
||||
* - To change few application-specific parameters such as the HSE
|
||||
* crystal frequency
|
||||
* - Data structures and the address mapping for all peripherals
|
||||
* - Peripheral's registers declarations and bits definition
|
||||
* - Macros to access peripheral’s registers hardware
|
||||
* - Macros to access peripheral<EFBFBD>s registers hardware
|
||||
*
|
||||
******************************************************************************
|
||||
* @attention
|
||||
|
@ -63,6 +63,8 @@
|
|||
*/
|
||||
|
||||
#if !defined (STM32F10X_LD) && !defined (STM32F10X_LD_VL) && !defined (STM32F10X_MD) && !defined (STM32F10X_MD_VL) && !defined (STM32F10X_HD) && !defined (STM32F10X_HD_VL) && !defined (STM32F10X_XL) && !defined (STM32F10X_CL)
|
||||
/* CHIBIOS FIX */
|
||||
#include "board.h"
|
||||
/* #define STM32F10X_LD */ /*!< STM32F10X_LD: STM32 Low density devices */
|
||||
/* #define STM32F10X_LD_VL */ /*!< STM32F10X_LD_VL: STM32 Low density Value Line devices */
|
||||
/* #define STM32F10X_MD */ /*!< STM32F10X_MD: STM32 Medium density devices */
|
||||
|
|
Loading…
Reference in New Issue