Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
examples/example_config.h@0:a151a6350d7f, 2016-10-05 (annotated)
- Committer:
- mfiore
- Date:
- Wed Oct 05 21:07:50 2016 +0000
- Revision:
- 0:a151a6350d7f
- Child:
- 21:09d05faf0e13
initial commit of OTA and AUTO_OTA examples
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mfiore | 0:a151a6350d7f | 1 | #ifndef __EXAMPLE__CONFIG_H__ |
mfiore | 0:a151a6350d7f | 2 | #define __EXAMPLE__CONFIG_H__ |
mfiore | 0:a151a6350d7f | 3 | |
mfiore | 0:a151a6350d7f | 4 | #define OTA_EXAMPLE 1 // see ota_example.cpp |
mfiore | 0:a151a6350d7f | 5 | #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp |
mfiore | 0:a151a6350d7f | 6 | #define MANUAL_EXAMPLE 3 // see manual_example.cpp |
mfiore | 0:a151a6350d7f | 7 | #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp |
mfiore | 0:a151a6350d7f | 8 | #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp |
mfiore | 0:a151a6350d7f | 9 | |
mfiore | 0:a151a6350d7f | 10 | // the active example is the one that will be compiled |
mfiore | 0:a151a6350d7f | 11 | #define ACTIVE_EXAMPLE OTA_EXAMPLE |
mfiore | 0:a151a6350d7f | 12 | |
mfiore | 0:a151a6350d7f | 13 | #endif |