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-16
Revision:
113:db67ae00550e
Parent:
111:c0833f2455ed
Child:
114:472502b31a12

File content as of revision 113:db67ae00550e:

#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