![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Fork to see if I can get working
Dependencies: BufferedSerial OneWire WinbondSPIFlash libxDot-dev-mbed5-deprecated
Fork of xDotBridge_update_test20180823 by
xDotBridge/config.h@38:8a512e23d99e, 2017-01-26 (annotated)
- Committer:
- Matt Briggs
- Date:
- Thu Jan 26 16:23:45 2017 -0700
- Revision:
- 38:8a512e23d99e
- Parent:
- 37:31f8e9c5d075
- Child:
- 39:64f79fa6e3cc
Added stubs for refactor with BaseboardIO and CommProtocol.
Added documentation to to DS2408
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Matt Briggs | 21:4be85f9c7dc7 | 1 | #ifndef __CONFIG_H__ |
Matt Briggs | 21:4be85f9c7dc7 | 2 | #define __CONFIG_H__ |
Matt Briggs | 21:4be85f9c7dc7 | 3 | |
Matt Briggs | 22:9453658b8d4b | 4 | // These define which wireless bridge you are generating code for |
Matt Briggs | 37:31f8e9c5d075 | 5 | #define BRIDGE_TX_BRUTE 0 |
Matt Briggs | 33:c7bb3fbc024a | 6 | #define BRIDGE_RX_BRUTE 0 |
Matt Briggs | 31:9c535a708ae9 | 7 | |
Matt Briggs | 31:9c535a708ae9 | 8 | #define LED_FEEDBACK 1 // If 1 then LED is shown and 0 LED is not shown to conserve power |
Matt Briggs | 21:4be85f9c7dc7 | 9 | |
Matt Briggs | 22:9453658b8d4b | 10 | // Make eclipse happy by adding in macros which are typically added at compile time |
Matt Briggs | 22:9453658b8d4b | 11 | #ifndef TARGET_XDOT_L151CC |
Matt Briggs | 22:9453658b8d4b | 12 | #define TARGET_XDOT_L151CC |
Matt Briggs | 22:9453658b8d4b | 13 | // Note these seem to need to be added to eclipse indexer to make everyone happy |
Matt Briggs | 22:9453658b8d4b | 14 | #define DEVICE_SERIAL 1 |
Matt Briggs | 22:9453658b8d4b | 15 | #define DEVICE_I2C 1 |
Matt Briggs | 24:fdf87e4b72e5 | 16 | #define DEVICE_INTERRUPTIN 1 |
Matt Briggs | 29:e05e35976cfe | 17 | #define DEVICE_ANALOGIN 1 |
mbriggs_vortex | 23:4ed894108882 | 18 | #endif |
mbriggs_vortex | 23:4ed894108882 | 19 | |
Matt Briggs | 38:8a512e23d99e | 20 | enum CmdResult { |
Matt Briggs | 38:8a512e23d99e | 21 | cmdSuccess=0, |
Matt Briggs | 38:8a512e23d99e | 22 | cmdCrcError, |
Matt Briggs | 38:8a512e23d99e | 23 | cmdError |
Matt Briggs | 38:8a512e23d99e | 24 | }; |
Matt Briggs | 38:8a512e23d99e | 25 | |
Matt Briggs | 21:4be85f9c7dc7 | 26 | #endif |