Fork to see if I can get working

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

Fork of xDotBridge_update_test20180823 by Matt Briggs

Committer:
mbriggs_vortex
Date:
Wed Nov 29 13:54:36 2017 -0700
Revision:
100:0882cf295f8e
Parent:
75:600cb3a9f126
Adding relaese bin to repo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Matt Briggs 39:64f79fa6e3cc 1 #ifndef CONFIG_H_
Matt Briggs 39:64f79fa6e3cc 2 #define CONFIG_H_
Matt Briggs 21:4be85f9c7dc7 3
Matt Briggs 68:51c25f4f6d9a 4 //#define __TEST__ 1 // Comment out for main application
Matt Briggs 48:bab9f747d9ed 5
Matt Briggs 57:bdac7dd17af2 6 // Manual test. Comment out for main application. Or uncomment for individual test.
Matt Briggs 75:600cb3a9f126 7
Matt Briggs 68:51c25f4f6d9a 8 //#define __TEST_BBIO__
Matt Briggs 57:bdac7dd17af2 9 //#define __TEST_LRR__
Matt Briggs 57:bdac7dd17af2 10 //#define __TEST_PVD__
Matt Briggs 62:9751a8504c82 11 //#define __TEST_XDOT_DEV_COMM__
Matt Briggs 55:79ab0bbc5008 12
Matt Briggs 22:9453658b8d4b 13 // These define which wireless bridge you are generating code for
Matt Briggs 31:9c535a708ae9 14 #define LED_FEEDBACK 1 // If 1 then LED is shown and 0 LED is not shown to conserve power
Matt Briggs 21:4be85f9c7dc7 15
Matt Briggs 41:9ef4c4d77711 16 // Make eclipse IDE happy by adding in macros which are typically added at compile time
Matt Briggs 22:9453658b8d4b 17 #ifndef TARGET_XDOT_L151CC
Matt Briggs 22:9453658b8d4b 18 #define TARGET_XDOT_L151CC
Matt Briggs 22:9453658b8d4b 19 #define DEVICE_SERIAL 1
Matt Briggs 22:9453658b8d4b 20 #define DEVICE_I2C 1
Matt Briggs 24:fdf87e4b72e5 21 #define DEVICE_INTERRUPTIN 1
Matt Briggs 29:e05e35976cfe 22 #define DEVICE_ANALOGIN 1
mbriggs_vortex 23:4ed894108882 23 #endif
mbriggs_vortex 23:4ed894108882 24
Matt Briggs 38:8a512e23d99e 25 enum CmdResult {
Matt Briggs 38:8a512e23d99e 26 cmdSuccess=0,
Matt Briggs 39:64f79fa6e3cc 27 cmdCrcError=1,
Matt Briggs 41:9ef4c4d77711 28 cmdTimeout=2,
Matt Briggs 41:9ef4c4d77711 29 cmdError=3
Matt Briggs 38:8a512e23d99e 30 };
Matt Briggs 38:8a512e23d99e 31
Matt Briggs 21:4be85f9c7dc7 32 #endif