Simple USB-MIDI foot controller

Dependencies:   PinDetect USBDevice_STM32F103 mbed-STM32F103C8T6

Files at this revision

API Documentation at this revision

Comitter:
SpotlightKid
Date:
Tue Jan 09 21:59:10 2018 +0100
Parent:
12:d9ccbfd2cc8c
Commit message:
Remove STM32F103C8T6 library and reduced stack sizes

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-STM32F103C8T6.lib Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
diff -r d9ccbfd2cc8c -r f9eb1f79cd0a main.cpp
--- a/main.cpp	Fri Aug 04 07:33:32 2017 +0200
+++ b/main.cpp	Tue Jan 09 21:59:10 2018 +0100
@@ -1,4 +1,3 @@
-#include "stm32f103c8t6.h"
 #include "mbed.h"
 #include "mbed_events.h"
 #include "USBMIDI.h"
@@ -70,9 +69,6 @@
 }
 
 int main() {
-    // Configure system clock (72MHz HSE clock, 48MHz USB clock)
-    confSysClock();
-
 #ifndef NDEBUG
     serial = new Serial(PA_9, PA_10);
     serial->printf("Creating event queue...\r\n");
diff -r d9ccbfd2cc8c -r f9eb1f79cd0a mbed-STM32F103C8T6.lib
--- a/mbed-STM32F103C8T6.lib	Fri Aug 04 07:33:32 2017 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/hudakz/code/mbed-STM32F103C8T6/#727468adfd1d
diff -r d9ccbfd2cc8c -r f9eb1f79cd0a mbed_app.json
--- a/mbed_app.json	Fri Aug 04 07:33:32 2017 +0200
+++ b/mbed_app.json	Tue Jan 09 21:59:10 2018 +0100
@@ -1,4 +1,12 @@
 {
+    "config": {
+        "thread_stack_size": {
+            "value": 1024
+        },
+        "main_stack_size": {
+            "value": 1024
+        }
+    },
     "macros": [
         "NDEBUG=1"
     ],