From b637ebe63c2433e0015ec807f5e9ff8c2f2d49ba Mon Sep 17 00:00:00 2001 From: barthess Date: Mon, 1 Sep 2014 16:03:49 +0000 Subject: [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 --- testhal/STM32/STM32F4xx/FSMC_NAND/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testhal/STM32') 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){ -- cgit v1.2.3