Other Parts Discussed in Thread: HDC1010, , HDC1000,
Tool/software: Code Composer Studio
I have a custom board with CC2605MODA and HDC1010 mounted on it.
When I try to write a firmware to establish connection between the two I get some weird errors.
1) When the optimization level is 3 or 4, I get several errors around symbols being declared at multiple places.
The problem is when I go to parts of the code where the symbol is supposedly redefined, there is no such thing.
The linker tells me there are redefinition at certain obj files and I assume I should be able to find the redefinition at corresponding c files.
These symbols are unique to HDC1010 firmware (I got it here: http://www.ti.com/tool/TIDA-00374 and they didn't exist in the code before I started integrating the firmware.
The errors go away when I lower the optimization level to 2 or lower.
2) My code base is simple_ble_peripheral I got from the BLE stack and it was working fine before even after I made some modification.
After I made some more changes to the board file and the task file, the code stalls at GAP_SetParamValue.
To be precise, GAP_SetParamValue -> sendWaitMatchCS -> waitMatchCS -> ICALL_ERRNO_UNKNOWN_THREAD.
I assume this is not supposed to happen in correctly implemented device, but I can't understand what this means.
After ICALL_ERRNO_UNKNOWN_THREAD, the code stops executing without being in a infinite loop or raising an error.