aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-07 12:58:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-07 12:58:29 +0000
commit366ed30eea6f25595b19a2438574c4d80d487b89 (patch)
tree68a61f0a8b08adbfc2aabe3e32365639cce5da6f /demos/STM32
parent8920d3403cf0fdde0e17a902ca5c137876e2fce1 (diff)
downloadChibiOS-366ed30eea6f25595b19a2438574c4d80d487b89.tar.gz
ChibiOS-366ed30eea6f25595b19a2438574c4d80d487b89.tar.bz2
ChibiOS-366ed30eea6f25595b19a2438574c4d80d487b89.zip
Improved demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7384 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32')
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c
index a0388b92b..e15a570e6 100644
--- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c
+++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c
@@ -62,8 +62,9 @@ int main(void) {
osKernelStart();
/* In the ChibiOS/RT CMSIS RTOS implementation the main() is an
- usable thread.*/
+ usable thread, here we just sleep in a loop printing a message.*/
while (TRUE) {
+ sdWrite(&SD2, (uint8_t *)"Hello World!\r\n", 14);
osDelay(500);
}
}