diff options
Diffstat (limited to 'demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c')
-rw-r--r-- | demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c index 087f316fb..f9558a838 100644 --- a/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c +++ b/demos/STM32/RT-STM32F373-STM32373C_EVAL/main.c @@ -17,6 +17,7 @@ #include "ch.h"
#include "hal.h"
#include "rt_test_root.h"
+#include "oslib_test_root.h"
/*
* This is a periodic thread that does absolutely nothing except flashing LEDs.
@@ -75,8 +76,10 @@ int main(void) { * pressed the test procedure is launched.
*/
while (true) {
- if (palReadPad(GPIOA, GPIOA_WKUP_BUTTON))
+ if (palReadPad(GPIOA, GPIOA_WKUP_BUTTON)) {
test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
+ test_execute((BaseSequentialStream *)&SD2, &oslib_test_suite);
+ }
chThdSleepMilliseconds(500);
}
}
|