Closed mfreeborn closed 7 months ago
Closing as no longer relevant to me having now updated all deps.
Out of interest I did something like this a way back as an experiment. It did work for the master components.
But as you say, you can also use these versions https://github.com/xmos/fwk_io/tree/develop/modules/i2c
I read that new applications should favour being written in C/C++, rather than xC, going forwards.
However,
lib_i2c
only seems to be available for xC projects (most of the code is hidden behind an XC define).How can I convert the following example in the docs to compile from a C file (specifically the i2c bits; the ports are straightfowards to use)?