summaryrefslogtreecommitdiff
path: root/tools/pyboard.py
diff options
context:
space:
mode:
authorMaureen Helm <maureen.helm@nxp.com>2019-03-18 08:54:08 -0500
committerDamien George <damien.p.george@gmail.com>2019-03-26 16:16:26 +1100
commit2befcb8a9d54f3f9c059b45eba3e9d4e5fb13514 (patch)
treef2f9bea24020ca24a91e64b3595cd933d95c7770 /tools/pyboard.py
parent673db939b5c1f42c9411f684343d39811b7a16b2 (diff)
zephyr/i2c: Add support for hardware i2c.
Adds support for hardware i2c to the zephyr port. Similar to other ports such as stm32 and nrf, we only implement the i2c protocol functions (readfrom and writeto) and defer memory operations (readfrom_mem, readfrom_mem_into, and writeto_mem) to the software i2c implementation. This may need to change in the future because zephyr is considering deprecating its i2c_transfer function in favor of i2c_write_read; in this case we would probably want to implement the memory operations directly using i2c_write_read. Tested with the accelerometer on frdm_k64f and bbc_microbit boards.
Diffstat (limited to 'tools/pyboard.py')
0 files changed, 0 insertions, 0 deletions