aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM4-STM32F303-DISCOVERY/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARMCM4-STM32F303-DISCOVERY/main.c')
-rw-r--r--demos/ARMCM4-STM32F303-DISCOVERY/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/main.c b/demos/ARMCM4-STM32F303-DISCOVERY/main.c
index 649d70570..e64196943 100644
--- a/demos/ARMCM4-STM32F303-DISCOVERY/main.c
+++ b/demos/ARMCM4-STM32F303-DISCOVERY/main.c
@@ -32,6 +32,7 @@ static msg_t Thread1(void *arg) {
(void)arg;
chRegSetThreadName("blinker");
while (TRUE) {
+ /* TODO */
// palSetPad(GPIOD, GPIOD_LED3); /* Orange. */
chThdSleepMilliseconds(500);
// palClearPad(GPIOD, GPIOD_LED3); /* Orange. */
@@ -54,6 +55,8 @@ int main(void) {
halInit();
chSysInit();
+ /* TODO: inialize serial driver 1 or 2 */
+
/*
* Creates the example thread.
*/
@@ -62,10 +65,10 @@ int main(void) {
/*
* Normal main() thread activity, in this demo it does nothing except
* sleeping in a loop and check the button state, when the button is
- * pressed the test procedure is launched with output on the serial
- * driver 2.
+ * pressed the test procedure is launched.
*/
while (TRUE) {
+ /* TODO */
// if (palReadPad(GPIOA, GPIOA_BUTTON))
// TestThread(&SD2);
chThdSleepMilliseconds(500);