diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-07-22 08:23:31 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-07-22 08:23:31 +0000 |
commit | d2aacb2d69cface3ba239d160c99b1fb172574c9 (patch) | |
tree | e45ba8819e3cebbe3b7d9f3c92f6c854db16e5e6 /boards | |
parent | ecfab096a90b19280078d84c53c13099672303b2 (diff) | |
download | ChibiOS-d2aacb2d69cface3ba239d160c99b1fb172574c9.tar.gz ChibiOS-d2aacb2d69cface3ba239d160c99b1fb172574c9.tar.bz2 ChibiOS-d2aacb2d69cface3ba239d160c99b1fb172574c9.zip |
Changed after-reset status for board LEDs.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4475 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r-- | boards/ST_STM32F4_DISCOVERY/board.c | 8 | ||||
-rw-r--r-- | boards/ST_STM32F4_DISCOVERY/board.h | 8 | ||||
-rw-r--r-- | boards/ST_STM32F4_DISCOVERY/stm32f4board.xml | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/boards/ST_STM32F4_DISCOVERY/board.c b/boards/ST_STM32F4_DISCOVERY/board.c index df35e5013..b8f1272f9 100644 --- a/boards/ST_STM32F4_DISCOVERY/board.c +++ b/boards/ST_STM32F4_DISCOVERY/board.c @@ -63,21 +63,21 @@ void __early_init(void) { #if HAL_USE_SDC || defined(__DOXYGEN__)
/**
* @brief SDC card detection.
- * @todo Fill the implementation.
*/
bool_t sdc_lld_is_card_inserted(SDCDriver *sdcp) {
(void)sdcp;
+ /* TODO: Fill the implementation.*/
return TRUE;
}
/**
* @brief SDC card write protection detection.
- * @todo Fill the implementation.
*/
bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) {
(void)sdcp;
+ /* TODO: Fill the implementation.*/
return FALSE;
}
#endif /* HAL_USE_SDC */
@@ -85,21 +85,21 @@ bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) { #if HAL_USE_MMC_SPI || defined(__DOXYGEN__)
/**
* @brief MMC_SPI card detection.
- * @todo Fill the implementation.
*/
bool_t mmc_lld_is_card_inserted(MMCDriver *mmcp) {
(void)mmcp;
+ /* TODO: Fill the implementation.*/
return TRUE;
}
/**
* @brief MMC_SPI card write protection detection.
- * @todo Fill the implementation.
*/
bool_t mmc_lld_is_write_protected(MMCDriver *mmcp) {
(void)mmcp;
+ /* TODO: Fill the implementation.*/
return FALSE;
}
#endif
diff --git a/boards/ST_STM32F4_DISCOVERY/board.h b/boards/ST_STM32F4_DISCOVERY/board.h index 2206ead85..fa3fa4a08 100644 --- a/boards/ST_STM32F4_DISCOVERY/board.h +++ b/boards/ST_STM32F4_DISCOVERY/board.h @@ -681,10 +681,10 @@ PIN_ODR_HIGH(GPIOD_PIN9) | \
PIN_ODR_HIGH(GPIOD_PIN10) | \
PIN_ODR_HIGH(GPIOD_PIN11) | \
- PIN_ODR_HIGH(GPIOD_LED4) | \
- PIN_ODR_HIGH(GPIOD_LED3) | \
- PIN_ODR_HIGH(GPIOD_LED5) | \
- PIN_ODR_HIGH(GPIOD_LED6))
+ PIN_ODR_LOW(GPIOD_LED4) | \
+ PIN_ODR_LOW(GPIOD_LED3) | \
+ PIN_ODR_LOW(GPIOD_LED5) | \
+ PIN_ODR_LOW(GPIOD_LED6))
#define VAL_GPIOD_AFRL (PIN_AFIO_AF(GPIOD_PIN0, 0) | \
PIN_AFIO_AF(GPIOD_PIN1, 0) | \
PIN_AFIO_AF(GPIOD_PIN2, 0) | \
diff --git a/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml b/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml index 0c51785f0..38aa02f21 100644 --- a/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml +++ b/boards/ST_STM32F4_DISCOVERY/stm32f4board.xml @@ -498,7 +498,7 @@ <pin12
ID="LED4"
Type="PushPull"
- Level="High"
+ Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
@@ -506,7 +506,7 @@ <pin13
ID="LED3"
Type="PushPull"
- Level="High"
+ Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
@@ -514,7 +514,7 @@ <pin14
ID="LED5"
Type="PushPull"
- Level="High"
+ Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
@@ -522,7 +522,7 @@ <pin15
ID="LED6"
Type="PushPull"
- Level="High"
+ Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
|