Fork to see if I can get working

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

Fork of xDotBridge_update_test20180823 by Matt Briggs

xDotBridge/config.h

Committer:
Matt Briggs
Date:
2017-03-21
Revision:
67:2115a2f1b945
Parent:
62:9751a8504c82
Child:
68:51c25f4f6d9a

File content as of revision 67:2115a2f1b945:

/**
 * FIXME
 */

#ifndef CONFIG_H_
#define CONFIG_H_

#define __TEST__ 1 // Comment out for main application

// Manual test.  Comment out for main application.  Or uncomment for individual test.
#define __TEST_BBIO__
//#define __TEST_LRR__
//#define __TEST_PVD__
//#define __TEST_XDOT_DEV_COMM__

// These define which wireless bridge you are generating code for
#define LED_FEEDBACK 1  // If 1 then LED is shown and 0 LED is not shown to conserve power

// Make eclipse IDE happy by adding in macros which are typically added at compile time
#ifndef TARGET_XDOT_L151CC
#define TARGET_XDOT_L151CC
#define DEVICE_SERIAL 1
#define DEVICE_I2C 1
#define DEVICE_INTERRUPTIN 1
#define DEVICE_ANALOGIN 1
#endif

enum CmdResult {
    cmdSuccess=0,
    cmdCrcError=1,
    cmdTimeout=2,
    cmdError=3
};

#endif