From d7ce59dc3cb5f1ea14807320ca7031f1e17e8f37 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 16 Nov 2017 14:23:28 +0000 Subject: First MFS test sequence complete, starting debug. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11017 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c') diff --git a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c index 0918c108c..639e2f97e 100644 --- a/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c +++ b/testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c @@ -22,6 +22,8 @@ * @{ */ +#include "hal.h" + #include "portab.h" /*===========================================================================*/ @@ -48,4 +50,12 @@ /* Module exported functions. */ /*===========================================================================*/ +void portab_setup(void) { + + /* + * LED line as output. + */ + palSetLineMode(LINE_LED_GREEN, PAL_MODE_OUTPUT_PUSHPULL); +} + /** @} */ -- cgit v1.2.3