1. 26 Mar, 2019 2 commits
    • Maureen Helm's avatar
      zephyr/i2c: Add support for hardware i2c. · 2befcb8a
      Maureen Helm authored
      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.
      2befcb8a
    • Damien George's avatar
      esp32/machine_pin: Rework pull mode config to fix GPIO hold feature. · 673db939
      Damien George authored
      For gpio_hold_en() to work properly (not draw additional current) pull
      up/down must be disabled when hold is enabled.  This patch makes sure this
      is the case by reworking the pull constants to be a bit mask.
      673db939
  2. 19 Mar, 2019 2 commits
  3. 18 Mar, 2019 1 commit
  4. 15 Mar, 2019 6 commits
  5. 14 Mar, 2019 8 commits
  6. 13 Mar, 2019 10 commits
  7. 12 Mar, 2019 8 commits
  8. 11 Mar, 2019 1 commit
  9. 08 Mar, 2019 2 commits