aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/WSPI-MFS/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/multi/WSPI-MFS/main.c')
-rw-r--r--testhal/STM32/multi/WSPI-MFS/main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/testhal/STM32/multi/WSPI-MFS/main.c b/testhal/STM32/multi/WSPI-MFS/main.c
index 18d4a22e2..30c7a9c89 100644
--- a/testhal/STM32/multi/WSPI-MFS/main.c
+++ b/testhal/STM32/multi/WSPI-MFS/main.c
@@ -83,7 +83,16 @@ int main(void) {
/* Initializing and starting snor1 driver.*/
snorObjectInit(&snor1);
snorStart(&snor1, &snorcfg1);
-
+#if 1
+ /* Testing memory mapped mode.*/
+ {
+ uint8_t *addr;
+
+ snorMemoryMap(&snor1, &addr);
+ chThdSleepMilliseconds(50);
+ snorMemoryUnmap(&snor1);
+ }
+#endif
/* Creates the blinker thread.*/
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);