aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM32L_DISCOVERY/board.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-14 08:10:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-14 08:10:38 +0000
commita746de44e1e224ee46afac1670581a50448afa85 (patch)
tree76f8a31266903fadc19435ab490af50c1eca4d77 /boards/ST_STM32L_DISCOVERY/board.h
parent792c06e58554c5ed4cb84e69fe4f6d9add173ec0 (diff)
downloadChibiOS-a746de44e1e224ee46afac1670581a50448afa85.tar.gz
ChibiOS-a746de44e1e224ee46afac1670581a50448afa85.tar.bz2
ChibiOS-a746de44e1e224ee46afac1670581a50448afa85.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3043 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/ST_STM32L_DISCOVERY/board.h')
-rw-r--r--boards/ST_STM32L_DISCOVERY/board.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/boards/ST_STM32L_DISCOVERY/board.h b/boards/ST_STM32L_DISCOVERY/board.h
index 943a90c45..bd652b768 100644
--- a/boards/ST_STM32L_DISCOVERY/board.h
+++ b/boards/ST_STM32L_DISCOVERY/board.h
@@ -29,29 +29,27 @@
* Board identifier.
*/
#define BOARD_ST_STM32VL_DISCOVERY
-#define BOARD_NAME "ST STM32VL-Discovery"
+#define BOARD_NAME "ST STM32L-Discovery"
/*
* Board frequencies.
+ * NOTE: The HSE crystal is not fitted by default on the board.
*/
#define STM32_LSECLK 32768
#define STM32_HSECLK 8000000
/*
- * MCU type, supported types are defined in ./os/hal/platforms/hal_lld.h.
+ * MCU type as defined in the ST header file stm32l1xx.h.
*/
-#define STM32F10X_MD_VL
+#define STM32L1XX_MD
/*
* IO pins assignments.
*/
#define GPIOA_BUTTON 0
-#define GPIOA_SPI1NSS 4
-#define GPIOB_SPI2NSS 12
-
-#define GPIOC_LED4 8
-#define GPIOC_LED3 9
+#define GPIOB_LED4 6
+#define GPIOB_LED3 7
/*
* I/O ports initial setup, this configuration is established soon after reset