aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32H743I-NUCLEO144/main.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-12-23 10:21:25 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-12-23 10:21:25 +0000
commit03a27a2096a811b0b8f868a2552e60883d5930b1 (patch)
treeb74755ac07ef2e40e9eb4e44f7c905b54ca771bb /demos/STM32/RT-STM32H743I-NUCLEO144/main.c
parente6199d4b5426043b877bb712f47fb759c2fe91ea (diff)
downloadChibiOS-03a27a2096a811b0b8f868a2552e60883d5930b1.tar.gz
ChibiOS-03a27a2096a811b0b8f868a2552e60883d5930b1.tar.bz2
ChibiOS-03a27a2096a811b0b8f868a2552e60883d5930b1.zip
More unfinished H7 work.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11172 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32H743I-NUCLEO144/main.c')
-rw-r--r--demos/STM32/RT-STM32H743I-NUCLEO144/main.c12
1 files changed, 4 insertions, 8 deletions
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);
}
}