Versão limpa em 04/09/2014. Telnet funcionando.

Dependencies:   EthernetInterface mbed-rtos mbed NTPClient

Revision:
3:52419e510163
Parent:
0:66d8bd1f9d4c
Child:
4:07c6deef6611
--- a/main.cpp	Fri Sep 12 13:08:14 2014 +0000
+++ b/main.cpp	Fri Oct 17 18:47:55 2014 +0000
@@ -30,6 +30,9 @@
 
 #include "TelnetServer.h"
 
+#include "tftpsrv.h"
+#include "ntpc.h"
+
 //__attribute((section("AHBSRAM0"),aligned)) char LargeBuffer[1024]; 
 EthernetInterface eth;
 
@@ -123,6 +126,7 @@
 }
 
 int main() {
+    printf("\r\nNova versao 37...\r\n");
     FILE *f;
     //Set Highest Priority
     //osThreadSetPriority(osThreadGetId(),osPriorityHigh);
@@ -145,6 +149,8 @@
     
     //Start TFTP Service
     
+    Thread tftpsrv(tftpsrv::tftpsrv_Thread);
+    Thread ntpc(ntpc::ntpc_Thread);
     
     DisplayRAMBanks();