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@48:bab9f747d9ed, 2017-02-13 (annotated)
- Committer:
- Matt Briggs
- Date:
- Mon Feb 13 17:10:59 2017 -0700
- Revision:
- 48:bab9f747d9ed
- Parent:
- 47:a68747642a7a
- Child:
- 49:18f1354f9e51
First cut at manual testing for baseboard IO. Still needs to be debugged and used.
Who changed what in which revision?
User | Revision | Line number | New 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 | 48:bab9f747d9ed | 8 | #define __TEST__ 1 // Comment out for main application |
Matt Briggs | 48:bab9f747d9ed | 9 | |
Matt Briggs | 48:bab9f747d9ed | 10 | // Manual test |
Matt Briggs | 48:bab9f747d9ed | 11 | #define __TEST_BBIO__ // Comment out for main application |
Matt Briggs | 48:bab9f747d9ed | 12 | //#define __TEST_LRR__ // Comment out for main application |
Matt Briggs | 22:9453658b8d4b | 13 | // These define which wireless bridge you are generating code for |
Matt Briggs | 37:31f8e9c5d075 | 14 | #define BRIDGE_TX_BRUTE 0 |
Matt Briggs | 31:9c535a708ae9 | 15 | |
Matt Briggs | 31:9c535a708ae9 | 16 | #define LED_FEEDBACK 1 // If 1 then LED is shown and 0 LED is not shown to conserve power |
Matt Briggs | 21:4be85f9c7dc7 | 17 | |
Matt Briggs | 41:9ef4c4d77711 | 18 | // Make eclipse IDE happy by adding in macros which are typically added at compile time |
Matt Briggs | 22:9453658b8d4b | 19 | #ifndef TARGET_XDOT_L151CC |
Matt Briggs | 22:9453658b8d4b | 20 | #define TARGET_XDOT_L151CC |
Matt Briggs | 22:9453658b8d4b | 21 | // Note these seem to need to be added to eclipse indexer to make everyone happy |
Matt Briggs | 22:9453658b8d4b | 22 | #define DEVICE_SERIAL 1 |
Matt Briggs | 22:9453658b8d4b | 23 | #define DEVICE_I2C 1 |
Matt Briggs | 24:fdf87e4b72e5 | 24 | #define DEVICE_INTERRUPTIN 1 |
Matt Briggs | 29:e05e35976cfe | 25 | #define DEVICE_ANALOGIN 1 |
mbriggs_vortex | 23:4ed894108882 | 26 | #endif |
mbriggs_vortex | 23:4ed894108882 | 27 | |
Matt Briggs | 38:8a512e23d99e | 28 | enum CmdResult { |
Matt Briggs | 38:8a512e23d99e | 29 | cmdSuccess=0, |
Matt Briggs | 39:64f79fa6e3cc | 30 | cmdCrcError=1, |
Matt Briggs | 41:9ef4c4d77711 | 31 | cmdTimeout=2, |
Matt Briggs | 41:9ef4c4d77711 | 32 | cmdError=3 |
Matt Briggs | 38:8a512e23d99e | 33 | }; |
Matt Briggs | 38:8a512e23d99e | 34 | |
Matt Briggs | 21:4be85f9c7dc7 | 35 | #endif |