Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
121:ee02790d00b7
Parent:
119:ee6a53069455
Child:
122:480c44b0e205
--- a/bootloader.h	Mon May 04 17:25:29 2015 +0000
+++ b/bootloader.h	Fri May 08 04:15:23 2015 +0000
@@ -1,14 +1,14 @@
 #ifndef __BOOTLOADER_H__
 #define __BOOTLOADER_H__
 
-#include "mbed.h"
-#include "debug.h"
+#include <stdint.h>
 #include "EthernetInterface.h"
 #include "call_box.h"
+#include "EthernetInterface.h"
 
-#define BL_PORT 3000
-#define BL_SIZE 260
-#define UDP_BL_SIZE 262
+const uint16_t BL_PORT = 3000;
+const uint16_t BL_SIZE = 260;
+const uint16_t UDP_BL_SIZE = 262;
 
 extern Timer udp_bl_timer;
 extern Endpoint udp_bl_server;