lora's drivers taken out of examples repo to make a smaller binary
Dependencies: libxDot-mbed5
example_config.h@1:80bc4501abc5, 2019-12-08 (annotated)
- Committer:
- candre97
- Date:
- Sun Dec 08 01:56:17 2019 +0000
- Revision:
- 1:80bc4501abc5
working on lower levels of radio driver. Still have a binary that is much too large. ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
candre97 | 1:80bc4501abc5 | 1 | #ifndef __EXAMPLE__CONFIG_H__ |
candre97 | 1:80bc4501abc5 | 2 | #define __EXAMPLE__CONFIG_H__ |
candre97 | 1:80bc4501abc5 | 3 | |
candre97 | 1:80bc4501abc5 | 4 | #define OTA_EXAMPLE 1 // see ota_example.cpp |
candre97 | 1:80bc4501abc5 | 5 | #define AUTO_OTA_EXAMPLE 2 // see auto_ota_example.cpp |
candre97 | 1:80bc4501abc5 | 6 | #define MANUAL_EXAMPLE 3 // see manual_example.cpp |
candre97 | 1:80bc4501abc5 | 7 | #define PEER_TO_PEER_EXAMPLE 4 // see peer_to_peer_example.cpp |
candre97 | 1:80bc4501abc5 | 8 | #define CLASS_C_EXAMPLE 5 // see class_c_example.cpp |
candre97 | 1:80bc4501abc5 | 9 | #define CLASS_B_EXAMPLE 6 // see class_b_example.cpp |
candre97 | 1:80bc4501abc5 | 10 | #define FOTA_EXAMPLE 7 // see fota_example.cpp |
candre97 | 1:80bc4501abc5 | 11 | |
candre97 | 1:80bc4501abc5 | 12 | // the active example is the one that will be compiled |
candre97 | 1:80bc4501abc5 | 13 | #if !defined(ACTIVE_EXAMPLE) |
candre97 | 1:80bc4501abc5 | 14 | #define ACTIVE_EXAMPLE OTA_EXAMPLE |
candre97 | 1:80bc4501abc5 | 15 | #endif |
candre97 | 1:80bc4501abc5 | 16 | |
candre97 | 1:80bc4501abc5 | 17 | // the active channel plan is the one that will be compiled |
candre97 | 1:80bc4501abc5 | 18 | // options are : |
candre97 | 1:80bc4501abc5 | 19 | // CP_US915 |
candre97 | 1:80bc4501abc5 | 20 | // CP_AU915 |
candre97 | 1:80bc4501abc5 | 21 | // CP_EU868 |
candre97 | 1:80bc4501abc5 | 22 | // CP_KR920 |
candre97 | 1:80bc4501abc5 | 23 | // CP_AS923 |
candre97 | 1:80bc4501abc5 | 24 | // CP_AS923_JAPAN |
candre97 | 1:80bc4501abc5 | 25 | // CP_IN865 |
candre97 | 1:80bc4501abc5 | 26 | #if !defined(CHANNEL_PLAN) |
candre97 | 1:80bc4501abc5 | 27 | #define CHANNEL_PLAN CP_US915 |
candre97 | 1:80bc4501abc5 | 28 | #endif |
candre97 | 1:80bc4501abc5 | 29 | |
candre97 | 1:80bc4501abc5 | 30 | #endif |