summaryrefslogtreecommitdiff
path: root/software/mpu/board-F405
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2014-01-14 20:20:10 +0000
committerChristian Pointner <equinox@mur.at>2014-01-14 20:20:10 +0000
commitaf629fb73e63aa3dc6a6ae3954be99c7c4425350 (patch)
treef95585d8ebb2d4ef24e0555706f5e9e96000f084 /software/mpu/board-F405
parentfixed some typos (diff)
upgrade to ChibiOS 2.6.2
git-svn-id: https://svn.spreadspace.org/mur.sat@861 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/mpu/board-F405')
-rw-r--r--software/mpu/board-F405/board.c15
-rw-r--r--software/mpu/board-F405/board.h4
2 files changed, 9 insertions, 10 deletions
diff --git a/software/mpu/board-F405/board.c b/software/mpu/board-F405/board.c
index a0ca77f..e66dd1c 100644
--- a/software/mpu/board-F405/board.c
+++ b/software/mpu/board-F405/board.c
@@ -17,12 +17,12 @@
#include "ch.h"
#include "hal.h"
-#if HAL_USE_PAL || defined(__DOXYGEN__)
/**
* @brief PAL setup.
* @details Digital I/O ports static configuration as defined in @p board.h.
* This variable is used by the HAL when initializing the PAL driver.
*/
+#if HAL_USE_PAL || defined(__DOXYGEN__)
const PALConfig pal_default_config =
{
{VAL_GPIOA_MODER, VAL_GPIOA_OTYPER, VAL_GPIOA_OSPEEDR, VAL_GPIOA_PUPDR,
@@ -46,19 +46,18 @@ const PALConfig pal_default_config =
};
#endif
-/**
- * @brief Early initialization code.
- * @details This initialization must be performed just after stack setup
- * and before any other initialization.
+/*
+ * Early initialization code.
+ * This initialization must be performed just after stack setup and before
+ * any other initialization.
*/
void __early_init(void) {
stm32_clock_init();
}
-/**
- * @brief Board-specific initialization code.
- * @todo Add your board-specific code, if any.
+/*
+ * Board-specific initialization code.
*/
void boardInit(void) {
}
diff --git a/software/mpu/board-F405/board.h b/software/mpu/board-F405/board.h
index f1e2251..9f2017c 100644
--- a/software/mpu/board-F405/board.h
+++ b/software/mpu/board-F405/board.h
@@ -46,9 +46,9 @@
#define STM32_VDD 330
/*
- * MCU type as defined in the ST header file stm32f4xx.h.
+ * MCU type as defined in the ST header.
*/
-#define STM32F4XX
+#define STM32F40_41xxx
/*
* IO pins assignments.