Fork to see if I can get working

Dependencies:   BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated

Fork of xDotBridge_update_test20180823 by Matt Briggs

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers config.h Source File

config.h

00001 #ifndef CONFIG_H_
00002 #define CONFIG_H_
00003 
00004 //#define __TEST__ 1 // Comment out for main application
00005 
00006 // Manual test.  Comment out for main application.  Or uncomment for individual test.
00007 
00008 //#define __TEST_BBIO__
00009 //#define __TEST_LRR__
00010 //#define __TEST_PVD__
00011 //#define __TEST_XDOT_DEV_COMM__
00012 
00013 // These define which wireless bridge you are generating code for
00014 #define LED_FEEDBACK 1  // If 1 then LED is shown and 0 LED is not shown to conserve power
00015 
00016 // Make eclipse IDE happy by adding in macros which are typically added at compile time
00017 #ifndef TARGET_XDOT_L151CC
00018 #define TARGET_XDOT_L151CC
00019 #define DEVICE_SERIAL 1
00020 #define DEVICE_I2C 1
00021 #define DEVICE_INTERRUPTIN 1
00022 #define DEVICE_ANALOGIN 1
00023 #endif
00024 
00025 enum CmdResult {
00026     cmdSuccess=0,
00027     cmdCrcError=1,
00028     cmdTimeout=2,
00029     cmdError=3
00030 };
00031 
00032 #endif