Adapted to LoRa Semtech + Nucleo
Dependencies: LMiC SX1276Lib cantcoap lwip mbed-rtos mbed
Fork of LoRaWAN-lmic-app by
core/fwk.h
- Committer:
- pnysten
- Date:
- 2015-12-14
- Revision:
- 7:f1521b0ecf08
- Parent:
- 4:5e274bf85bf0
File content as of revision 7:f1521b0ecf08:
/* * fwk.h * * Created on: 15 d�c. 2011 * Author: Donatien */ #ifndef FWK_H_ #define FWK_H_ #include "config.h" #include "string.h" //using namespace std; #include "stdint.h" typedef unsigned int size_t; #ifndef __cplusplus //boolean type compatibility typedef byte bool; #define true 1 #define false 0 #endif #ifndef NULL #define NULL ((void*)0) #endif #define CR '\x0D' #define LF '\x0A' #define GD '\x3E' #define BRK '\x1A' //Custom utility classes //#include "IOStream.h" //#include "String.h" //Error codes #include "errors.h" //Debug #include "dbg.h" //Utility macros #define MIN(x,y) (((x)<(y))?(x):(y)) #define MAX(x,y) (((x)>(y))?(x):(y)) #endif /* FWK_H_ */