Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/example_config.h
- Revision:
- 0:a151a6350d7f
- Child:
- 21:09d05faf0e13
diff -r 000000000000 -r a151a6350d7f examples/example_config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/example_config.h Wed Oct 05 21:07:50 2016 +0000 @@ -0,0 +1,13 @@ +#ifndef __EXAMPLE__CONFIG_H__ +#define __EXAMPLE__CONFIG_H__ + +#define OTA_EXAMPLE 1 // see ota_example.cpp +#define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp +#define MANUAL_EXAMPLE 3 // see manual_example.cpp +#define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp +#define CLASS_C_EXAMPLE 5 // see class_c_example.cpp + +// the active example is the one that will be compiled +#define ACTIVE_EXAMPLE OTA_EXAMPLE + +#endif \ No newline at end of file