UART Command Parser Time Manager Data Store for SD Card for stm32l476 [it's not Licensed as BSD/GPLx]

Dependencies:   mbed SDFileSystem

Revision:
9:c81d0df866f5
Parent:
7:9ab8809f9693
Child:
10:db2be22bc2f9
--- a/main.cpp	Sat May 11 04:20:42 2019 +0000
+++ b/main.cpp	Mon May 13 02:56:39 2019 +0000
@@ -23,15 +23,16 @@
     pc.baud(115200);
     pc.format(8, Serial::None, 1);
     
-    /* create Device */
-    pDevRept = new DeviceRepeater(&DummyDev);
-    
     /* new timer manager */
     pTM = new TimeManager();
     /* Generate SDDataStore */
     pSds = new SDDataStore(pTM);
     /* Receive Buffer Control */
     pUR = new UartReceiver(&pc);
+    
+    /* create Device */
+    pDevRept = new DeviceRepeater(&DummyDev);
+
     /* Generate Command parser as DeviceID = 0, ParsingRule = rules */
     pCP = new CommandParser(pUR, 0, rules, getNumOfRules);
     pCP->run();