aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-11-02 21:14:35 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-11-02 21:14:35 +0000
commit6620e65927443454f881d706a69ea8c9af71e296 (patch)
treea9864cfe9ef43863a67d9b0a8d319865caa36ef8 /testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c
parent5087d58f1ca762b5b4c7a2fc81642b1de3d3e3f3 (diff)
downloadChibiOS-6620e65927443454f881d706a69ea8c9af71e296.tar.gz
ChibiOS-6620e65927443454f881d706a69ea8c9af71e296.tar.bz2
ChibiOS-6620e65927443454f881d706a69ea8c9af71e296.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12403 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c')
-rw-r--r--testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c
index 878e69c05..893711661 100644
--- a/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c
+++ b/testhal/STM32/multi/WSPI-MFS/cfg/stm32l476_discovery/portab.c
@@ -34,6 +34,12 @@
/* Module exported variables. */
/*===========================================================================*/
+const WSPIConfig WSPIcfg1 = {
+ .end_cb = NULL,
+ .dcr = STM32_DCR_FSIZE(24U) | /* 16MB device. */
+ STM32_DCR_CSHT(1U) /* NCS 2 cycles delay. */
+};
+
/*===========================================================================*/
/* Module local types. */
/*===========================================================================*/