Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

bootloader.h

Committer:
klauss
Date:
2015-04-20
Revision:
114:472502b31a12
Parent:
113:db67ae00550e

File content as of revision 114:472502b31a12:

#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