aboutsummaryrefslogtreecommitdiffstats
path: root/demos/KINETIS/RT-TEENSY3/main.c
diff options
context:
space:
mode:
authorKonstantin Oblaukhov <oblaukhov.konstantin@gmail.com>2018-10-07 18:37:15 +0700
committerKonstantin K. Oblaukhov <oblaukhov.konstantin@gmail.com>2018-11-20 09:53:38 +0700
commita6bb21d05b4dd7299de9a632cf55bda7c058164e (patch)
treeb293ac0e8a16a2c7560c43a4878272a1b725cc5d /demos/KINETIS/RT-TEENSY3/main.c
parentd921781a45a5e2f57e56bf59872e1d2aec2fb71f (diff)
downloadChibiOS-Contrib-a6bb21d05b4dd7299de9a632cf55bda7c058164e.tar.gz
ChibiOS-Contrib-a6bb21d05b4dd7299de9a632cf55bda7c058164e.tar.bz2
ChibiOS-Contrib-a6bb21d05b4dd7299de9a632cf55bda7c058164e.zip
KINETIS tests and demos updated to ChibiOS 18.2.x.
Diffstat (limited to 'demos/KINETIS/RT-TEENSY3/main.c')
-rw-r--r--demos/KINETIS/RT-TEENSY3/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/KINETIS/RT-TEENSY3/main.c b/demos/KINETIS/RT-TEENSY3/main.c
index 42d6510..f4c23af 100644
--- a/demos/KINETIS/RT-TEENSY3/main.c
+++ b/demos/KINETIS/RT-TEENSY3/main.c
@@ -17,6 +17,8 @@
#include "ch.h"
#include "hal.h"
#include "ch_test.h"
+#include "rt_test_root.h"
+#include "oslib_test_root.h"
/*
* LED blinker thread.
@@ -57,7 +59,8 @@ int main(void) {
*/
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
- test_execute((BaseSequentialStream *)&SD1);
+ test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
+ test_execute((BaseSequentialStream *)&SD1, &oslib_test_suite);
while (true) {
chThdSleepMilliseconds(1000);
}