From 03a27a2096a811b0b8f868a2552e60883d5930b1 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 23 Dec 2017 10:21:25 +0000 Subject: More unfinished H7 work. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11172 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32H743I-NUCLEO144/main.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'demos/STM32/RT-STM32H743I-NUCLEO144/main.c') diff --git a/demos/STM32/RT-STM32H743I-NUCLEO144/main.c b/demos/STM32/RT-STM32H743I-NUCLEO144/main.c index b65af8878..c070cd9a9 100644 --- a/demos/STM32/RT-STM32H743I-NUCLEO144/main.c +++ b/demos/STM32/RT-STM32H743I-NUCLEO144/main.c @@ -14,12 +14,11 @@ limitations under the License. */ -//#include "ch.h" -//#include "hal.h" +#include "ch.h" +#include "hal.h" //#include "rt_test_root.h" //#include "oslib_test_root.h" -#if 0 /* * This is a periodic thread that does absolutely nothing except flashing * a LED. @@ -36,14 +35,12 @@ static THD_FUNCTION(Thread1, arg) { chThdSleepMilliseconds(500); } } -#endif /* * Application entry point. */ int main(void) { -#if 0 /* * System initializations. * - HAL initialization, this also initializes the configured device drivers @@ -63,13 +60,12 @@ int main(void) { /* * Activates the serial driver 1 using the driver default configuration. */ - sdStart(&SD1, NULL); +// sdStart(&SD1, NULL); /* * Creates the example thread. */ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO+1, Thread1, NULL); -#endif /* * Normal main() thread activity, in this demo it does nothing except @@ -81,7 +77,7 @@ int main(void) { test_execute((BaseSequentialStream *)&SD1, &rt_test_suite); test_execute((BaseSequentialStream *)&SD1, &oslib_test_suite); } - chThdSleepMilliseconds(500); #endif + chThdSleepMilliseconds(500); } } -- cgit v1.2.3