Frederick Huang / Mbed OS LD100-Examples-201907

Dependencies:   libmDot-mbed5 ISL29011

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers example_config.h Source File

example_config.h

00001 #ifndef __EXAMPLE__CONFIG_H__
00002 #define __EXAMPLE__CONFIG_H__
00003 
00004 #define OTA_EXAMPLE              1  // see ota_example.cpp
00005 #define AUTO_OTA_EXAMPLE         2  // see auto_ota_example.cpp
00006 #define MANUAL_EXAMPLE           3  // see manual_example.cpp
00007 #define PEER_TO_PEER_EXAMPLE     4  // see peer_to_peer_example.cpp
00008 #define CLASS_C_EXAMPLE          5  // see class_c_example.cpp
00009 #define CLASS_B_EXAMPLE          6  // see class_b_example.cpp
00010 #define FOTA_EXAMPLE             7  // see fota_example.cpp
00011 #define LD100_EXAMPLE            100 // see LD100_example.cpp
00012 
00013 // the active example is the one that will be compiled
00014 #if !defined(ACTIVE_EXAMPLE)
00015 #define ACTIVE_EXAMPLE  LD100_EXAMPLE
00016 #endif
00017 
00018 // the active channel plan is the one that will be compiled
00019 // options are :
00020 //      CP_US915
00021 //      CP_AU915
00022 //      CP_EU868
00023 //      CP_KR920
00024 //      CP_AS923
00025 //      CP_AS923_JAPAN
00026 //      CP_IN865
00027 #if !defined(CHANNEL_PLAN)
00028 #define CHANNEL_PLAN CP_AS923
00029 #endif
00030 
00031 #endif