aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_NUCLEO144_F412ZG/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/boards/ST_NUCLEO144_F412ZG/board.h')
-rw-r--r--os/hal/boards/ST_NUCLEO144_F412ZG/board.h29
1 files changed, 21 insertions, 8 deletions
diff --git a/os/hal/boards/ST_NUCLEO144_F412ZG/board.h b/os/hal/boards/ST_NUCLEO144_F412ZG/board.h
index aac7287d6..0ab2d8fcf 100644
--- a/os/hal/boards/ST_NUCLEO144_F412ZG/board.h
+++ b/os/hal/boards/ST_NUCLEO144_F412ZG/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 STMicroelectronics STM32 Nucleo144-F412ZG board.
*/
@@ -349,7 +353,6 @@
#define LINE_SWCLK PAL_LINE(GPIOA, 14U)
#define LINE_ZIO_D20 PAL_LINE(GPIOA, 15U)
#define LINE_I2S3_WS PAL_LINE(GPIOA, 15U)
-
#define LINE_ZIO_D33 PAL_LINE(GPIOB, 0U)
#define LINE_TIM3_CH3 PAL_LINE(GPIOB, 0U)
#define LINE_LED1 PAL_LINE(GPIOB, 0U)
@@ -381,7 +384,6 @@
#define LINE_LED3 PAL_LINE(GPIOB, 14U)
#define LINE_ZIO_D17 PAL_LINE(GPIOB, 15U)
#define LINE_I2S2_SD PAL_LINE(GPIOB, 15U)
-
#define LINE_ARD_A1 PAL_LINE(GPIOC, 0U)
#define LINE_ADC1_IN10 PAL_LINE(GPIOC, 0U)
#define LINE_ARD_A3 PAL_LINE(GPIOC, 1U)
@@ -411,7 +413,6 @@
#define LINE_BUTTON PAL_LINE(GPIOC, 13U)
#define LINE_OSC32_IN PAL_LINE(GPIOC, 14U)
#define LINE_OSC32_OUT PAL_LINE(GPIOC, 15U)
-
#define LINE_ZIO_D67 PAL_LINE(GPIOD, 0U)
#define LINE_CAN1_RX PAL_LINE(GPIOD, 0U)
#define LINE_ZIO_D66 PAL_LINE(GPIOD, 1U)
@@ -442,7 +443,6 @@
#define LINE_SPI1_NSS PAL_LINE(GPIOD, 14U)
#define LINE_ARD_D9 PAL_LINE(GPIOD, 15U)
#define LINE_TIM4_CH4 PAL_LINE(GPIOD, 15U)
-
#define LINE_ZIO_D34 PAL_LINE(GPIOE, 0U)
#define LINE_TIM4_ETR PAL_LINE(GPIOE, 0U)
#define LINE_ZIO_D31 PAL_LINE(GPIOE, 2U)
@@ -473,7 +473,6 @@
#define LINE_ZIO_D38 PAL_LINE(GPIOE, 14U)
#define LINE_ZIO_D37 PAL_LINE(GPIOE, 15U)
#define LINE_TIM1_BKIN1 PAL_LINE(GPIOE, 15U)
-
#define LINE_ZIO_D68 PAL_LINE(GPIOF, 0U)
#define LINE_I2C2_SDA PAL_LINE(GPIOF, 0U)
#define LINE_ZIO_D69 PAL_LINE(GPIOF, 1U)
@@ -490,7 +489,6 @@
#define LINE_ARD_D7 PAL_LINE(GPIOF, 13U)
#define LINE_ARD_D4 PAL_LINE(GPIOF, 14U)
#define LINE_ARD_D2 PAL_LINE(GPIOF, 15U)
-
#define LINE_ZIO_D65 PAL_LINE(GPIOG, 0U)
#define LINE_ZIO_D64 PAL_LINE(GPIOG, 1U)
#define LINE_ZIO_D49 PAL_LINE(GPIOG, 2U)
@@ -501,12 +499,24 @@
#define LINE_USART6_RX PAL_LINE(GPIOG, 9U)
#define LINE_ARD_D1 PAL_LINE(GPIOG, 14U)
#define LINE_USART6_TX 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
@@ -1817,6 +1827,9 @@
PIN_AFIO_AF(GPIOK_PIN14, 0U) | \
PIN_AFIO_AF(GPIOK_PIN15, 0U))
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
#if !defined(_FROM_ASM_)
#ifdef __cplusplus