From c2ecbaa3070872b70aa113ece1c66df2a2b5bf97 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Dec 2014 21:17:22 +0000 Subject: Regenerated board files using latest templates. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7581 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/boards/ST_NUCLEO_L152RE/board.c | 12 ++++++------ os/hal/boards/ST_NUCLEO_L152RE/board.h | 2 +- os/hal/boards/ST_NUCLEO_L152RE/cfg/board.chcfg | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'os/hal/boards/ST_NUCLEO_L152RE') 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 @@ resources/gencfg/processors/boards/stm32l1xx/templates .. + 3.0.x STMicroelectronics NUCLEO-L152RE ST_NUCLEO_L152RE -- cgit v1.2.3