diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-12-13 21:17:22 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-12-13 21:17:22 +0000 |
commit | c2ecbaa3070872b70aa113ece1c66df2a2b5bf97 (patch) | |
tree | 443da7344392ace818e2b0d1ec5ee08f2f9310b9 /os/hal/boards/ST_NUCLEO_L152RE | |
parent | 2014cfd445d1b9b4673ca5c7ad818ff9b43289db (diff) | |
download | ChibiOS-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_L152RE')
-rw-r--r-- | os/hal/boards/ST_NUCLEO_L152RE/board.c | 12 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO_L152RE/board.h | 2 | ||||
-rw-r--r-- | os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg | 1 |
3 files changed, 8 insertions, 7 deletions
diff --git a/os/hal/boards/ST_NUCLEO_L152RE/board.c b/os/hal/boards/ST_NUCLEO_L152RE/board.c index 97045af60..6eb610254 100644 --- a/os/hal/boards/ST_NUCLEO_L152RE/board.c +++ b/os/hal/boards/ST_NUCLEO_L152RE/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.
@@ -53,7 +53,7 @@ const PALConfig pal_default_config = { #endif
#if STM32_HAS_GPIOH
{VAL_GPIOH_MODER, VAL_GPIOH_OTYPER, VAL_GPIOH_OSPEEDR, VAL_GPIOH_PUPDR,
- VAL_GPIOH_ODR, VAL_GPIOH_AFRL, VAL_GPIOH_AFRH}
+ VAL_GPIOH_ODR, VAL_GPIOH_AFRL, VAL_GPIOH_AFRH},
#endif
#if STM32_HAS_GPIOI
{VAL_GPIOI_MODER, VAL_GPIOI_OTYPER, VAL_GPIOI_OSPEEDR, VAL_GPIOI_PUPDR,
@@ -80,7 +80,7 @@ bool sdc_lld_is_card_inserted(SDCDriver *sdcp) { (void)sdcp;
/* TODO: Fill the implementation.*/
- return TRUE;
+ return true;
}
/**
@@ -90,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 */
@@ -102,7 +102,7 @@ bool mmc_lld_is_card_inserted(MMCDriver *mmcp) { (void)mmcp;
/* TODO: Fill the implementation.*/
- return TRUE;
+ return true;
}
/**
@@ -112,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_L152RE/board.h b/os/hal/boards/ST_NUCLEO_L152RE/board.h index 00c0dc1d5..19bd72fc6 100644 --- a/os/hal/boards/ST_NUCLEO_L152RE/board.h +++ b/os/hal/boards/ST_NUCLEO_L152RE/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_L152RE/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg index 66cc63ecf..9d3aa869c 100644 --- a/os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg +++ b/os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg @@ -6,6 +6,7 @@ <configuration_settings> <templates_path>resources/gencfg/processors/boards/stm32l1xx/templates</templates_path> <output_path>..</output_path> + <hal_version>3.0.x</hal_version> </configuration_settings> <board_name>STMicroelectronics NUCLEO-L152RE</board_name> <board_id>ST_NUCLEO_L152RE</board_id> |