diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-16 14:23:28 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-16 14:23:28 +0000 |
commit | d7ce59dc3cb5f1ea14807320ca7031f1e17e8f37 (patch) | |
tree | d867972d5ed03e7fb29c47a94b9e67c97c5b0835 /testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c | |
parent | 7037d2fa6cb8326a05852bf22062257dba0c5a48 (diff) | |
download | ChibiOS-d7ce59dc3cb5f1ea14807320ca7031f1e17e8f37.tar.gz ChibiOS-d7ce59dc3cb5f1ea14807320ca7031f1e17e8f37.tar.bz2 ChibiOS-d7ce59dc3cb5f1ea14807320ca7031f1e17e8f37.zip |
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
Diffstat (limited to 'testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c')
-rw-r--r-- | testhal/STM32/multi/QSPI-MFS/cfg-stm32l476_discovery/portab.c | 10 |
1 files changed, 10 insertions, 0 deletions
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);
+}
+
/** @} */
|