aboutsummaryrefslogtreecommitdiffstats
path: root/demos/NRF51/OSHCHIP_V1.0/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/NRF51/OSHCHIP_V1.0/main.c')
-rw-r--r--demos/NRF51/OSHCHIP_V1.0/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/NRF51/OSHCHIP_V1.0/main.c b/demos/NRF51/OSHCHIP_V1.0/main.c
index 8e386fb..1fd58af 100644
--- a/demos/NRF51/OSHCHIP_V1.0/main.c
+++ b/demos/NRF51/OSHCHIP_V1.0/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"
static THD_WORKING_AREA(waThread1, 64);
static THD_FUNCTION(Thread1, arg) {
@@ -74,7 +75,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);
}