Other Parts Discussed in Thread: CC2650,
Tool/software: TI C/C++ Compiler
On my device, there are two i2c bus, one i2c (DIO23, DIO24)connects with temperature sensor, the other i2c (DIO25, DIO26)connects with gsensor. But sensor controller stdio not allow me to create two separated tasks to access temperature sensor and gsensor. The compiler gives the following failures:
Constant already defined: ".define AUXIO_I2C_SCL 6"
Constant already defined: ".define AUXIO_I2C_SDA 7"
Constant already defined: ".define I2C_BASE_DELAY 9"
Constant already defined: ".define I2C_EXT_DELAY 4"
Constant already defined: ".define I2C_STRETCH_TIMEOUT_US 20000"
Constant already defined: ".define I2C_WAIT_STRETCH_DELAY 5"