Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
examples/example_config.h@33:15ea8f985c54, 2019-04-24 (annotated)
- Committer:
- jreiss
- Date:
- Wed Apr 24 12:50:08 2019 +0000
- Revision:
- 33:15ea8f985c54
- Parent:
- 22:d9bc10bbc433
- Child:
- 34:f6486829a451
Add Class B example; Update mbed-os to 5.11.1; Update mbed verison macros
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 |
jreiss | 33:15ea8f985c54 | 9 | #define CLASS_B_EXAMPLE 6 // see class_b_example.cpp |
mfiore | 0:a151a6350d7f | 10 | |
mfiore | 0:a151a6350d7f | 11 | // the active example is the one that will be compiled |
Mike Fiore |
21:09d05faf0e13 | 12 | #if !defined(ACTIVE_EXAMPLE) |
mfiore | 0:a151a6350d7f | 13 | #define ACTIVE_EXAMPLE OTA_EXAMPLE |
Mike Fiore |
21:09d05faf0e13 | 14 | #endif |
mfiore | 0:a151a6350d7f | 15 | |
Mike Fiore |
21:09d05faf0e13 | 16 | // the active channel plan is the one that will be compiled |
Mike Fiore |
21:09d05faf0e13 | 17 | // options are : |
Mike Fiore |
21:09d05faf0e13 | 18 | // CP_US915 |
Mike Fiore |
21:09d05faf0e13 | 19 | // CP_AU915 |
Mike Fiore |
21:09d05faf0e13 | 20 | // CP_EU868 |
Mike Fiore |
21:09d05faf0e13 | 21 | // CP_KR920 |
Mike Fiore |
21:09d05faf0e13 | 22 | // CP_AS923 |
Mike Fiore |
21:09d05faf0e13 | 23 | // CP_AS923_JAPAN |
mfiore | 22:d9bc10bbc433 | 24 | // CP_IN865 |
Mike Fiore |
21:09d05faf0e13 | 25 | #if !defined(CHANNEL_PLAN) |
Mike Fiore |
21:09d05faf0e13 | 26 | #define CHANNEL_PLAN CP_US915 |
Mike Fiore |
21:09d05faf0e13 | 27 | #endif |
Mike Fiore |
21:09d05faf0e13 | 28 | |
Mike Fiore |
21:09d05faf0e13 | 29 | #endif |