Testprogram for the partly working USB Device lib for the STM32F746 Discovery board.

Dependencies:   DISCO_F746NG_USBDevice mbed

Files at this revision

API Documentation at this revision

Comitter:
DieterGraef
Date:
Sun Jul 31 17:51:02 2016 +0000
Commit message:
Testprogram for partly working USB Device lib for the STM32F746NG Discovery board . Serial and MIDI is working

Changed in this revision

DISCO_F746NG_USBDevice.lib 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.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r da763878a50b DISCO_F746NG_USBDevice.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DISCO_F746NG_USBDevice.lib	Sun Jul 31 17:51:02 2016 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/DieterGraef/code/DISCO_F746NG_USBDevice/#0a2eaa300982
diff -r 000000000000 -r da763878a50b main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Jul 31 17:51:02 2016 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "USBSerial.h"
+#define FastSpeedInterface 0
+#define HighSpeedInterface 1
+//Virtual serial port over USB
+USBSerial serial(HighSpeedInterface);
+
+int main(void) {
+
+    while(1)
+    {
+        serial.printf("I am a virtual serial port\r\n");
+        wait(1);
+    }
+}
diff -r 000000000000 -r da763878a50b mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Jul 31 17:51:02 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/f9eeca106725
\ No newline at end of file