aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ST_NUCLEO_F401RE
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-13 21:17:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-13 21:17:22 +0000
commitc2ecbaa3070872b70aa113ece1c66df2a2b5bf97 (patch)
tree443da7344392ace818e2b0d1ec5ee08f2f9310b9 /os/hal/boards/ST_NUCLEO_F401RE
parent2014cfd445d1b9b4673ca5c7ad818ff9b43289db (diff)
downloadChibiOS-c2ecbaa3070872b70aa113ece1c66df2a2b5bf97.tar.gz
ChibiOS-c2ecbaa3070872b70aa113ece1c66df2a2b5bf97.tar.bz2
ChibiOS-c2ecbaa3070872b70aa113ece1c66df2a2b5bf97.zip
Regenerated board files using latest templates.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7581 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards/ST_NUCLEO_F401RE')
-rw-r--r--os/hal/boards/ST_NUCLEO_F401RE/board.c13
-rw-r--r--os/hal/boards/ST_NUCLEO_F401RE/board.h2
-rw-r--r--os/hal/boards/ST_NUCLEO_F401RE/cfg/board.chcfg3
3 files changed, 9 insertions, 9 deletions
diff --git a/os/hal/boards/ST_NUCLEO_F401RE/board.c b/os/hal/boards/ST_NUCLEO_F401RE/board.c
index 5ce2ac971..6eb610254 100644
--- a/os/hal/boards/ST_NUCLEO_F401RE/board.c
+++ b/os/hal/boards/ST_NUCLEO_F401RE/board.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006-2014 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,8 +22,7 @@
* @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.
*/
-const PALConfig pal_default_config =
-{
+const PALConfig pal_default_config = {
#if STM32_HAS_GPIOA
{VAL_GPIOA_MODER, VAL_GPIOA_OTYPER, VAL_GPIOA_OSPEEDR, VAL_GPIOA_PUPDR,
VAL_GPIOA_ODR, VAL_GPIOA_AFRL, VAL_GPIOA_AFRH},
@@ -81,7 +80,7 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
(void)sdcp;
/* TODO: Fill the implementation.*/
- return TRUE;
+ return true;
}
/**
@@ -91,7 +90,7 @@ bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
(void)sdcp;
/* TODO: Fill the implementation.*/
- return FALSE;
+ return false;
}
#endif /* HAL_USE_SDC */
@@ -103,7 +102,7 @@ bool mmc_lld_is_card_inserted(MMCDriver *mmcp) {
(void)mmcp;
/* TODO: Fill the implementation.*/
- return TRUE;
+ return true;
}
/**
@@ -113,7 +112,7 @@ bool mmc_lld_is_write_protected(MMCDriver *mmcp) {
(void)mmcp;
/* TODO: Fill the implementation.*/
- return FALSE;
+ return false;
}
#endif
diff --git a/os/hal/boards/ST_NUCLEO_F401RE/board.h b/os/hal/boards/ST_NUCLEO_F401RE/board.h
index 9d41a25b7..f63afbf81 100644
--- a/os/hal/boards/ST_NUCLEO_F401RE/board.h
+++ b/os/hal/boards/ST_NUCLEO_F401RE/board.h
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2014 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006-2014 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_NUCLEO_F401RE/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO_F401RE/cfg/board.chcfg
index 47c99fffd..e2a9ecc08 100644
--- a/os/hal/boards/ST_NUCLEO_F401RE/cfg/board.chcfg
+++ b/os/hal/boards/ST_NUCLEO_F401RE/cfg/board.chcfg
@@ -6,11 +6,12 @@
<configuration_settings>
<templates_path>resources/gencfg/processors/boards/stm32f4xx/templates</templates_path>
<output_path>..</output_path>
+ <hal_version>3.0.x</hal_version>
</configuration_settings>
<board_name>STMicroelectronics NUCLEO-F401RE</board_name>
<board_id>ST_NUCLEO_F401RE</board_id>
<board_functions></board_functions>
- <subtype>STM32F401xx</subtype>
+ <subtype>STM32F401xE</subtype>
<clocks
HSEFrequency="0"
HSEBypass="false"