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-01-26
Revision:
38:8a512e23d99e
Parent:
37:31f8e9c5d075
Child:
39:64f79fa6e3cc

File content as of revision 38:8a512e23d99e:

#ifndef __CONFIG_H__
#define __CONFIG_H__

// These define which wireless bridge you are generating code for
#define BRIDGE_TX_BRUTE 0
#define BRIDGE_RX_BRUTE 0

#define LED_FEEDBACK 1  // If 1 then LED is shown and 0 LED is not shown to conserve power

// Make eclipse happy by adding in macros which are typically added at compile time
#ifndef TARGET_XDOT_L151CC
#define TARGET_XDOT_L151CC
// Note these seem to need to be added to eclipse indexer to make everyone happy
#define DEVICE_SERIAL 1
#define DEVICE_I2C 1
#define DEVICE_INTERRUPTIN 1
#define DEVICE_ANALOGIN 1
#endif

enum CmdResult {
    cmdSuccess=0,
    cmdCrcError,
    cmdError
};

#endif