diff options
author | Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-09-29 18:08:56 +0700 |
---|---|---|
committer | Konstantin K. Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-11-20 09:52:42 +0700 |
commit | 0e6f501f80d590a7f79b3b4b3f4ec278df57ad40 (patch) | |
tree | f795d5584ff5aa805fd2a1a81d224076788a4253 /demos/NRF51/MICROBIT/main.c | |
parent | f4d6d909898e777efaa2d479095e41cd2045621d (diff) | |
download | ChibiOS-Contrib-0e6f501f80d590a7f79b3b4b3f4ec278df57ad40.tar.gz ChibiOS-Contrib-0e6f501f80d590a7f79b3b4b3f4ec278df57ad40.tar.bz2 ChibiOS-Contrib-0e6f501f80d590a7f79b3b4b3f4ec278df57ad40.zip |
Update all NRF5x makefiles and chconf.h.
Add missing halconf_community.h
Diffstat (limited to 'demos/NRF51/MICROBIT/main.c')
-rw-r--r-- | demos/NRF51/MICROBIT/main.c | 6 |
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);
}
|