From eb6b6685f09fbc4822492a1db9eaa367f46c657c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Mon, 16 Oct 2017 15:09:11 +0000 Subject: Enhancements in the test engine, not finished. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10835 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F746G-DISCOVERY/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'demos/STM32/RT-STM32F746G-DISCOVERY/main.c') diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c index 5199ddf37..56e339001 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c @@ -16,7 +16,8 @@ #include "ch.h" #include "hal.h" -//#include "ch_test.h" +#include "ch_test.h" +#include "rt_test_root.h" /* * This is a periodic thread that does absolutely nothing except flashing @@ -71,8 +72,8 @@ int main(void) { * sleeping in a loop and check the button state. */ while (true) { -// if (palReadLine(LINE_BUTTON_USER)) -// test_execute((BaseSequentialStream *)&SD1); + if (palReadLine(LINE_BUTTON_USER)) + test_execute((BaseSequentialStream *)&SD1, rt_test_suite); chThdSleepMilliseconds(2000); } } -- cgit v1.2.3