diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-02 08:35:46 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-02 08:35:46 +0000 |
commit | 7055e2b5aa1d15c342cd97a0750801fdc13beac6 (patch) | |
tree | b56515171d4868ee63b65e7238dc6aa7fd84b6ee /os/hal/boards/ST_STM32L_DISCOVERY/board.h | |
parent | 7d22893a937df028e2d702dadc5da8375d6239e3 (diff) | |
download | ChibiOS-7055e2b5aa1d15c342cd97a0750801fdc13beac6.tar.gz ChibiOS-7055e2b5aa1d15c342cd97a0750801fdc13beac6.tar.bz2 ChibiOS-7055e2b5aa1d15c342cd97a0750801fdc13beac6.zip |
All STM32 GPIOv2 platforms reworked for the new board files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11099 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_STM32L_DISCOVERY/board.h')
-rw-r--r-- | os/hal/boards/ST_STM32L_DISCOVERY/board.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/os/hal/boards/ST_STM32L_DISCOVERY/board.h b/os/hal/boards/ST_STM32L_DISCOVERY/board.h index 441e6d380..de7a8b749 100644 --- a/os/hal/boards/ST_STM32L_DISCOVERY/board.h +++ b/os/hal/boards/ST_STM32L_DISCOVERY/board.h @@ -22,6 +22,10 @@ #ifndef BOARD_H
#define BOARD_H
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
/*
* Setup for ST STM32L-Discovery board.
*/
@@ -47,7 +51,7 @@ #define STM32_HSE_BYPASS
/*
- * MCU type as defined in the ST header file stm32l1xx.h.
+ * MCU type as defined in the ST header.
*/
#define STM32L152xB
@@ -178,6 +182,22 @@ #define LINE_OSC_IN PAL_LINE(GPIOH, 0U)
#define LINE_OSC_OUT PAL_LINE(GPIOH, 1U)
+/*===========================================================================*/
+/* Driver pre-compile time settings. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver macros. */
+/*===========================================================================*/
+
/*
* I/O ports initial setup, this configuration is established soon after reset
* in the initialization code.
@@ -902,6 +922,9 @@ PIN_AFIO_AF(GPIOH_PIN14, 0U) | \
PIN_AFIO_AF(GPIOH_PIN15, 0U))
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
#if !defined(_FROM_ASM_)
#ifdef __cplusplus
|