aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/OLIMEX_STM32_E407/board.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-12-02 14:56:34 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-12-02 14:56:34 +0000
commit7fb3c807170fe737294d521ad1c8654b6e069c49 (patch)
tree6a465b372e10a57d2c9d645ef8f7fcb6ff038598 /os/hal/boards/OLIMEX_STM32_E407/board.h
parentafbc92a7f789d0f1a747341a37c0e6f881f36085 (diff)
downloadChibiOS-7fb3c807170fe737294d521ad1c8654b6e069c49.tar.gz
ChibiOS-7fb3c807170fe737294d521ad1c8654b6e069c49.tar.bz2
ChibiOS-7fb3c807170fe737294d521ad1c8654b6e069c49.zip
Added command line board files generation tool. Regenerated all board files automatically.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11104 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/OLIMEX_STM32_E407/board.h')
-rw-r--r--os/hal/boards/OLIMEX_STM32_E407/board.h31
1 files changed, 23 insertions, 8 deletions
diff --git a/os/hal/boards/OLIMEX_STM32_E407/board.h b/os/hal/boards/OLIMEX_STM32_E407/board.h
index d81410431..cce728d9c 100644
--- a/os/hal/boards/OLIMEX_STM32_E407/board.h
+++ b/os/hal/boards/OLIMEX_STM32_E407/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2017 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -22,6 +22,10 @@
#ifndef BOARD_H
#define BOARD_H
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
/*
* Setup for Olimex STM32-E407 board.
*/
@@ -232,7 +236,6 @@
#define LINE_JTAG_TMS PAL_LINE(GPIOA, 13U)
#define LINE_JTAG_TCK PAL_LINE(GPIOA, 14U)
#define LINE_JTAG_TDI PAL_LINE(GPIOA, 15U)
-
#define LINE_USB_FS_BUSON PAL_LINE(GPIOB, 0U)
#define LINE_USB_HS_FAULT PAL_LINE(GPIOB, 1U)
#define LINE_BOOT1 PAL_LINE(GPIOB, 2U)
@@ -245,7 +248,6 @@
#define LINE_OTG_HS_VBUS PAL_LINE(GPIOB, 13U)
#define LINE_OTG_HS_DM PAL_LINE(GPIOB, 14U)
#define LINE_OTG_HS_DP PAL_LINE(GPIOB, 15U)
-
#define LINE_ETH_RMII_MDC PAL_LINE(GPIOC, 1U)
#define LINE_SPI2_MISO PAL_LINE(GPIOC, 2U)
#define LINE_SPI2_MOSI PAL_LINE(GPIOC, 3U)
@@ -261,20 +263,30 @@
#define LINE_LED PAL_LINE(GPIOC, 13U)
#define LINE_OSC32_IN PAL_LINE(GPIOC, 14U)
#define LINE_OSC32_OUT PAL_LINE(GPIOC, 15U)
-
#define LINE_SD_CMD PAL_LINE(GPIOD, 2U)
-
-
#define LINE_USB_FS_FAULT PAL_LINE(GPIOF, 11U)
-
#define LINE_SPI2_CS PAL_LINE(GPIOG, 10U)
#define LINE_ETH_RMII_TXEN PAL_LINE(GPIOG, 11U)
#define LINE_ETH_RMII_TXD0 PAL_LINE(GPIOG, 13U)
#define LINE_ETH_RMII_TXD1 PAL_LINE(GPIOG, 14U)
-
#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
@@ -1351,6 +1363,9 @@
PIN_AFIO_AF(GPIOI_PIN14, 0U) | \
PIN_AFIO_AF(GPIOI_PIN15, 0U))
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
#if !defined(_FROM_ASM_)
#ifdef __cplusplus