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:
Matt Briggs
Date:
Thu Jan 26 17:27:05 2017 -0700
Revision:
39:64f79fa6e3cc
Parent:
38:8a512e23d99e
Child:
41:9ef4c4d77711
Quick commit before dir restructure

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Matt Briggs 39:64f79fa6e3cc 1 /**
Matt Briggs 39:64f79fa6e3cc 2 * FIXME
Matt Briggs 39:64f79fa6e3cc 3 */
Matt Briggs 39:64f79fa6e3cc 4
Matt Briggs 39:64f79fa6e3cc 5 #ifndef CONFIG_H_
Matt Briggs 39:64f79fa6e3cc 6 #define CONFIG_H_
Matt Briggs 21:4be85f9c7dc7 7
Matt Briggs 22:9453658b8d4b 8 // These define which wireless bridge you are generating code for
Matt Briggs 37:31f8e9c5d075 9 #define BRIDGE_TX_BRUTE 0
Matt Briggs 33:c7bb3fbc024a 10 #define BRIDGE_RX_BRUTE 0
Matt Briggs 31:9c535a708ae9 11
Matt Briggs 31:9c535a708ae9 12 #define LED_FEEDBACK 1 // If 1 then LED is shown and 0 LED is not shown to conserve power
Matt Briggs 21:4be85f9c7dc7 13
Matt Briggs 22:9453658b8d4b 14 // Make eclipse happy by adding in macros which are typically added at compile time
Matt Briggs 22:9453658b8d4b 15 #ifndef TARGET_XDOT_L151CC
Matt Briggs 22:9453658b8d4b 16 #define TARGET_XDOT_L151CC
Matt Briggs 22:9453658b8d4b 17 // Note these seem to need to be added to eclipse indexer to make everyone happy
Matt Briggs 22:9453658b8d4b 18 #define DEVICE_SERIAL 1
Matt Briggs 22:9453658b8d4b 19 #define DEVICE_I2C 1
Matt Briggs 24:fdf87e4b72e5 20 #define DEVICE_INTERRUPTIN 1
Matt Briggs 29:e05e35976cfe 21 #define DEVICE_ANALOGIN 1
mbriggs_vortex 23:4ed894108882 22 #endif
mbriggs_vortex 23:4ed894108882 23
Matt Briggs 38:8a512e23d99e 24 enum CmdResult {
Matt Briggs 38:8a512e23d99e 25 cmdSuccess=0,
Matt Briggs 39:64f79fa6e3cc 26 cmdCrcError=1,
Matt Briggs 39:64f79fa6e3cc 27 cmdError=2
Matt Briggs 38:8a512e23d99e 28 };
Matt Briggs 38:8a512e23d99e 29
Matt Briggs 21:4be85f9c7dc7 30 #endif