aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/NIL-STM32F051-DISCOVERY/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/NIL-STM32F051-DISCOVERY/main.c')
-rw-r--r--demos/STM32/NIL-STM32F051-DISCOVERY/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/main.c b/demos/STM32/NIL-STM32F051-DISCOVERY/main.c
index b6cb5b30d..7e4e13e80 100644
--- a/demos/STM32/NIL-STM32F051-DISCOVERY/main.c
+++ b/demos/STM32/NIL-STM32F051-DISCOVERY/main.c
@@ -17,6 +17,7 @@
#include "hal.h"
#include "ch.h"
#include "nil_test_root.h"
+#include "oslib_test_root.h"
/*
* Thread 1.
@@ -71,8 +72,10 @@ THD_FUNCTION(Thread3, arg) {
/* Waiting for button push and activation of the test suite.*/
while (true) {
- if (palReadLine(LINE_BUTTON))
- test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
+ if (palReadLine(LINE_BUTTON)) {
+ test_execute((BaseSequentialStream *)&SD1, &nil_test_suite);
+ test_execute((BaseSequentialStream *)&SD1, &oslib_test_suite);
+ }
chThdSleepMilliseconds(500);
}
}