aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-01 16:03:49 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-01 16:03:49 +0000
commitb637ebe63c2433e0015ec807f5e9ff8c2f2d49ba (patch)
tree1150893e13b4f2c53b1cfa89d8f150f2abce4273 /testhal/STM32
parent3ebd86c26577c978dd2e64ebf9197c3c178a0f5a (diff)
downloadChibiOS-b637ebe63c2433e0015ec807f5e9ff8c2f2d49ba.tar.gz
ChibiOS-b637ebe63c2433e0015ec807f5e9ff8c2f2d49ba.tar.bz2
ChibiOS-b637ebe63c2433e0015ec807f5e9ff8c2f2d49ba.zip
[STM32 FSMC] Updated board files for testhal.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7233 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c
index 9067f1c8a..e69589443 100644
--- a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c
+++ b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c
@@ -198,6 +198,10 @@ static uint32_t KillCycle = 0;
******************************************************************************
******************************************************************************
*/
+static void nand_wp_assert(void) {palClearPad(GPIOB, GPIOB_NAND_WP);}
+static void nand_wp_release(void) {palSetPad(GPIOB, GPIOB_NAND_WP);}
+static void red_led_on(void) {palSetPad(GPIOI, GPIOI_LED_R);}
+static void red_led_off(void) {palClearPad(GPIOI, GPIOI_LED_R);}
#if STM32_NAND_USE_EXT_INT
static void nand_ready_cb(EXTDriver *extp, expchannel_t channel){