Scott Shawcroft
0552ce2d3b
Allocate I2C mutex with IDF
...
This keeps the mutex info in the same spot in memory. "Statically
allocating it" with CircuitPython meant that the buffer moved when
the I2C object is moved to keep it alive for a display.
Fixes #4962
2021-08-24 16:06:14 -07:00
microDev
e0eecd2f76
update idf to v4.3
...
- update idf submodule to release/v4.3
- finish todo tasks held due to idf@v4.2
- update SPI & I2C to make them v4.3 compatible
2021-06-24 23:14:08 +05:30
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Dan Halbert
0ce5b2f594
put back pullup setting
2021-03-12 08:20:09 -05:00
Dan Halbert
f75a009ed4
fix unnecessary statement order change
2021-03-11 15:16:32 -05:00
Dan Halbert
26eb429cc6
restore install/delete for i2c driver
2021-03-07 18:23:14 -05:00
BiffoBear
2656c84b01
Initial commit. Edited error messages in .c files
2021-02-03 05:49:40 +07:00
Bruce Segal
571c063c2a
Working, tested with two i2c busses
2020-12-07 17:57:54 -08:00
Lucian Copeland
66b8559fd4
Change submodule, rework all includes
2020-09-30 11:26:07 -04:00
Scott Shawcroft
367d3800fc
Return false if we already have the lock
2020-07-01 14:35:25 -07:00
Scott Shawcroft
5028804878
Remove fixed pointers and check UART return
2020-06-30 15:29:42 -07:00
Scott Shawcroft
ed6e81d688
Switch SPI to polling DMA and enable displayio
2020-06-24 13:10:08 -07:00
Scott Shawcroft
fc9c0ba573
Initial SPI implementation. Almost certainly doesn't compile
2020-06-24 12:47:59 -07:00
Scott Shawcroft
6f050d7af3
Add pull up testing, proper us delay and stop supporting 45 and 46 for I2C
2020-06-24 12:47:58 -07:00
Scott Shawcroft
ae52d052cb
Fix I2C thanks to Mark!
2020-06-24 12:47:58 -07:00
Scott Shawcroft
d0401f02a9
Add initial I2C support, not quite working fully though
2020-06-24 12:47:58 -07:00