diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-02 14:56:34 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-02 14:56:34 +0000 |
commit | 7fb3c807170fe737294d521ad1c8654b6e069c49 (patch) | |
tree | 6a465b372e10a57d2c9d645ef8f7fcb6ff038598 /os/hal/boards/ST_STM32F0_DISCOVERY | |
parent | afbc92a7f789d0f1a747341a37c0e6f881f36085 (diff) | |
download | ChibiOS-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/ST_STM32F0_DISCOVERY')
-rw-r--r-- | os/hal/boards/ST_STM32F0_DISCOVERY/board.c | 2 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32F0_DISCOVERY/board.h | 6 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg | 2 | ||||
-rw-r--r-- | os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.fmpp | 15 |
4 files changed, 18 insertions, 7 deletions
diff --git a/os/hal/boards/ST_STM32F0_DISCOVERY/board.c b/os/hal/boards/ST_STM32F0_DISCOVERY/board.c index 753ef0076..3c291169d 100644 --- a/os/hal/boards/ST_STM32F0_DISCOVERY/board.c +++ b/os/hal/boards/ST_STM32F0_DISCOVERY/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_STM32F0_DISCOVERY/board.h b/os/hal/boards/ST_STM32F0_DISCOVERY/board.h index fbb5b839c..50168f09d 100644 --- a/os/hal/boards/ST_STM32F0_DISCOVERY/board.h +++ b/os/hal/boards/ST_STM32F0_DISCOVERY/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.
@@ -152,14 +152,10 @@ #define LINE_BUTTON PAL_LINE(GPIOA, 0U)
#define LINE_SWDAT PAL_LINE(GPIOA, 13U)
#define LINE_SWCLK PAL_LINE(GPIOA, 14U)
-
-
#define LINE_LED4 PAL_LINE(GPIOC, 8U)
#define LINE_LED3 PAL_LINE(GPIOC, 9U)
#define LINE_OSC32_IN PAL_LINE(GPIOC, 14U)
#define LINE_OSC32_OUT PAL_LINE(GPIOC, 15U)
-
-
#define LINE_OSC_IN PAL_LINE(GPIOF, 0U)
#define LINE_OSC_OUT PAL_LINE(GPIOF, 1U)
diff --git a/os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg b/os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg index c01fcc480..ff4db203f 100644 --- a/os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg +++ b/os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg @@ -6,7 +6,7 @@ <configuration_settings> <templates_path>resources/gencfg/processors/boards/stm32f0xx/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>ST STM32F0-Discovery</board_name> <board_id>ST_STM32F0_DISCOVERY</board_id> diff --git a/os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.fmpp b/os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.fmpp new file mode 100644 index 000000000..55cd396e4 --- /dev/null +++ b/os/hal/boards/ST_STM32F0_DISCOVERY/cfg/board.fmpp @@ -0,0 +1,15 @@ +sourceRoot: ../../../../../tools/ftl/processors/boards/stm32f0xx/templates +outputRoot: .. +dataRoot: . + +freemarkerLinks: { + lib: ../../../../../tools/ftl/libs +} + +data : { + doc1:xml ( + board.chcfg + { + } + ) +} |