Just testing the foundational libraries on a STM32F103VE board

Dependencies:   mbed-dev mbedtls

Files at this revision

API Documentation at this revision

Comitter:
bentor
Date:
Sun Aug 20 22:16:12 2017 +0000
Commit message:
A test program that includes the mbed-dev and mbed-tls libraries.

Changed in this revision

.gitignore Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-dev.lib Show annotated file Show diff for this revision Revisions of this file
mbedtls.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r d7df9495f224 .gitignore
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.gitignore	Sun Aug 20 22:16:12 2017 +0000
@@ -0,0 +1,4 @@
+.build
+.mbed
+projectfiles
+*.py*
diff -r 000000000000 -r d7df9495f224 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Aug 20 22:16:12 2017 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+DigitalOut led1(LED1);
+
+// main() runs in its own thread in the OS
+int main() {
+        
+    while (true) {
+        led1 = !led1;
+        wait(0.5);
+    }
+}
+
diff -r 000000000000 -r d7df9495f224 mbed-dev.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-dev.lib	Sun Aug 20 22:16:12 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed-dev/#89b338f31ef1
diff -r 000000000000 -r d7df9495f224 mbedtls.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbedtls.lib	Sun Aug 20 22:16:12 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/markrad/code/mbedtls/#cdf462088d13