micropython/ports
Maureen Helm 2befcb8a9d 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.
2019-03-26 16:16:26 +11:00
..
bare-arm py/objdict: Make .fromkeys() method configurable. 2018-12-13 01:20:55 +11:00
cc3200 ports: Update to work with new oofatfs version. 2019-03-05 15:56:39 +11:00
esp32 esp32/machine_pin: Rework pull mode config to fix GPIO hold feature. 2019-03-26 15:21:23 +11:00
esp8266 ports/{stm32,esp8266}: Set mpy-cross native arch for frozen native code. 2019-03-14 12:22:49 +11:00
javascript javascript: Fix Emscripten async load, and to compile with modern clang. 2019-03-13 23:52:15 +11:00
minimal minimal/frozentest: Recompile now that mpy format and version changed. 2019-03-08 15:53:05 +11:00
nrf nrf/readme: Add section about LTO. 2019-03-19 16:59:18 +01:00
pic16bit all: Change PYB message prefix to MPY. 2019-02-12 15:18:33 +11:00
qemu-arm qemu-arm: Use gchelper code to get registers for GC scanning. 2019-02-12 14:48:29 +11:00
stm32 stm32/mboot: Set USE_MBOOT=1 by default in the Makefile. 2019-03-18 14:01:43 +11:00
teensy all: Change PYB message prefix to MPY. 2019-02-12 15:18:33 +11:00
unix unix/Makefile: Update coverage tests to match those in Travis. 2019-03-08 16:51:09 +11:00
windows py: Allow registration of modules at their definition. 2019-03-08 22:46:43 +11:00
zephyr zephyr/i2c: Add support for hardware i2c. 2019-03-26 16:16:26 +11:00