Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: bootloader.h
- Revision:
- 111:c0833f2455ed
- Child:
- 113:db67ae00550e
diff -r 6a6d39ed41ab -r c0833f2455ed bootloader.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bootloader.h Tue Apr 07 18:26:21 2015 +0000 @@ -0,0 +1,28 @@ +#ifndef __BOOTLOADER_H__ +#define __BOOTLOADER_H__ + +#include "mbed.h" +#include "debug.h" +#include "EthernetInterface.h" + +#define BL_PORT 3000 + +extern Timer bl_timer; + +extern UDPSocket bl_client; + +#define init_bl() { \ + bl_client.set_blocking( false, 0 ); \ + bl_client.bind( BL_PORT ); \ +} + + + + + + + + + + +#endif \ No newline at end of file