diff options
Diffstat (limited to 'os/hal/boards/ST_STM32373C_EVAL')
-rw-r--r-- | os/hal/boards/ST_STM32373C_EVAL/board.c | 2 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32373C_EVAL/board.h | 9 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32373C_EVAL/cfg/board.chcfg | 2 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32373C_EVAL/cfg/board.fmpp | 15 |
4 files changed, 18 insertions, 10 deletions
diff --git a/os/hal/boards/ST_STM32373C_EVAL/board.c b/os/hal/boards/ST_STM32373C_EVAL/board.c index 753ef0076..3c291169d 100644 --- a/os/hal/boards/ST_STM32373C_EVAL/board.c +++ b/os/hal/boards/ST_STM32373C_EVAL/board.c @@ -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.
diff --git a/os/hal/boards/ST_STM32373C_EVAL/board.h b/os/hal/boards/ST_STM32373C_EVAL/board.h index aaa8acbc0..036e2ad9b 100644 --- a/os/hal/boards/ST_STM32373C_EVAL/board.h +++ b/os/hal/boards/ST_STM32373C_EVAL/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.
@@ -208,14 +208,12 @@ #define LINE_SWDIO PAL_LINE(GPIOA, 13U)
#define LINE_SWCLK PAL_LINE(GPIOA, 14U)
#define LINE_JTDI PAL_LINE(GPIOA, 15U)
-
#define LINE_MIC_IN PAL_LINE(GPIOB, 0U)
#define LINE_ADC_POT_IN PAL_LINE(GPIOB, 1U)
#define LINE_SWO PAL_LINE(GPIOB, 3U)
#define LINE_JTRST PAL_LINE(GPIOB, 4U)
#define LINE_I2C1_SCL PAL_LINE(GPIOB, 6U)
#define LINE_I2C1_SDA PAL_LINE(GPIOB, 7U)
-
#define LINE_LED1 PAL_LINE(GPIOC, 0U)
#define LINE_LED2 PAL_LINE(GPIOC, 1U)
#define LINE_LED3 PAL_LINE(GPIOC, 2U)
@@ -226,7 +224,6 @@ #define LINE_SPI3_MOSI PAL_LINE(GPIOC, 12U)
#define LINE_OSC32_IN PAL_LINE(GPIOC, 14U)
#define LINE_OSC32_OUT PAL_LINE(GPIOC, 15U)
-
#define LINE_CAN_RX PAL_LINE(GPIOD, 0U)
#define LINE_CAN_TX PAL_LINE(GPIOD, 1U)
#define LINE_LCD_CS PAL_LINE(GPIOD, 2U)
@@ -235,7 +232,6 @@ #define LINE_USART2_TX PAL_LINE(GPIOD, 5U)
#define LINE_USART2_RX PAL_LINE(GPIOD, 6U)
#define LINE_AUDIO_RST PAL_LINE(GPIOD, 11U)
-
#define LINE_SD_CS PAL_LINE(GPIOE, 2U)
#define LINE_SD_DETECT PAL_LINE(GPIOE, 3U)
#define LINE_JOY_SEL PAL_LINE(GPIOE, 6U)
@@ -243,7 +239,6 @@ #define LINE_PRESSUREP PAL_LINE(GPIOE, 8U)
#define LINE_PRESSUREN PAL_LINE(GPIOE, 9U)
#define LINE_PRESSURE_TEPM PAL_LINE(GPIOE, 14U)
-
#define LINE_OSC_IN PAL_LINE(GPIOF, 0U)
#define LINE_OSC_OUT PAL_LINE(GPIOF, 1U)
#define LINE_JOY_DOWN PAL_LINE(GPIOF, 2U)
@@ -251,8 +246,6 @@ #define LINE_JOY_RIGHT PAL_LINE(GPIOF, 9U)
#define LINE_JOY_UP PAL_LINE(GPIOF, 10U)
-
-
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
diff --git a/os/hal/boards/ST_STM32373C_EVAL/cfg/board.chcfg b/os/hal/boards/ST_STM32373C_EVAL/cfg/board.chcfg index 4ef8f7464..75a8f9378 100644 --- a/os/hal/boards/ST_STM32373C_EVAL/cfg/board.chcfg +++ b/os/hal/boards/ST_STM32373C_EVAL/cfg/board.chcfg @@ -6,7 +6,7 @@ <configuration_settings>
<templates_path>resources/gencfg/processors/boards/stm32f3xx/templates</templates_path>
<output_path>..</output_path>
- <hal_version>3.0.x</hal_version>
+ <hal_version>5.0.x</hal_version>
</configuration_settings>
<board_name>STMicroelectronics STM32373C-EVAL</board_name>
<board_id>ST_STM32373C_EVAL</board_id>
diff --git a/os/hal/boards/ST_STM32373C_EVAL/cfg/board.fmpp b/os/hal/boards/ST_STM32373C_EVAL/cfg/board.fmpp new file mode 100644 index 000000000..6967f302d --- /dev/null +++ b/os/hal/boards/ST_STM32373C_EVAL/cfg/board.fmpp @@ -0,0 +1,15 @@ +sourceRoot: ../../../../../tools/ftl/processors/boards/stm32f3xx/templates +outputRoot: .. +dataRoot: . + +freemarkerLinks: { + lib: ../../../../../tools/ftl/libs +} + +data : { + doc1:xml ( + board.chcfg + { + } + ) +} |