Basic xdot code to check how many memory is available for user APP after initializing libxdot lorawan stack
Diff: examples/example_config.h
- Revision:
- 43:97fd5b4de956
- Parent:
- 42:20f6b29a9903
diff -r 20f6b29a9903 -r 97fd5b4de956 examples/example_config.h --- a/examples/example_config.h Tue May 25 09:54:33 2021 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -#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 -#define CLASS_B_EXAMPLE 6 // see class_b_example.cpp -#define FOTA_EXAMPLE 7 // see fota_example.cpp - -// the active example is the one that will be compiled -#if !defined(ACTIVE_EXAMPLE) -#define ACTIVE_EXAMPLE OTA_EXAMPLE -#endif - -// the active channel plan is the one that will be compiled -// options are : -// CP_US915 -// CP_AU915 -// CP_EU868 -// CP_KR920 -// CP_AS923 -// CP_AS923_2 -// CP_AS923_3 -// CP_AS923_JAPAN -// CP_AS923_JAPAN1 -// CP_AS923_JAPAN2 -// CP_IN865 -// CP_RU864 - -#if !defined(CHANNEL_PLAN) -#define CHANNEL_PLAN CP_US915 -#endif - -#endif