aboutsummaryrefslogtreecommitdiffstats
path: root/demos/NRF51/MICROBIT/main.c
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2018-12-04 02:21:36 +0100
committerGitHub <noreply@github.com>2018-12-04 02:21:36 +0100
commitd0d1aaeffa6b9fe27aacc0fc503b2041317d5551 (patch)
tree1e5951e232bf1d35488344f78a5776fab6b0cec2 /demos/NRF51/MICROBIT/main.c
parent1391af251d17e4d6256175fd1140d70e3eae8be4 (diff)
parent33375fb281b05ac493ce3ff34deaf21c15565157 (diff)
downloadChibiOS-Contrib-d0d1aaeffa6b9fe27aacc0fc503b2041317d5551.tar.gz
ChibiOS-Contrib-d0d1aaeffa6b9fe27aacc0fc503b2041317d5551.tar.bz2
ChibiOS-Contrib-d0d1aaeffa6b9fe27aacc0fc503b2041317d5551.zip
Merge pull request #173 from ObKo/chibios-18.2.x-merged
Update NRF5x, KINETIS Makefiles to ChibiOS 18.2.x
Diffstat (limited to 'demos/NRF51/MICROBIT/main.c')
-rw-r--r--demos/NRF51/MICROBIT/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/NRF51/MICROBIT/main.c b/demos/NRF51/MICROBIT/main.c
index 4a9b24c..001420b 100644
--- a/demos/NRF51/MICROBIT/main.c
+++ b/demos/NRF51/MICROBIT/main.c
@@ -16,7 +16,8 @@
#include "ch.h"
#include "hal.h"
-#include "ch_test.h"
+#include "rt_test_root.h"
+#include "oslib_test_root.h"
/* See: https://lancaster-university.github.io/microbit-docs/ubit/display/
*/
@@ -76,7 +77,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 (1) {
chThdSleepMilliseconds(500);
}