Adeeb Shihadeh
6ec0c80754
python: common base handle for SPI + USB ( #1231 )
...
* base handle
* usb handle
* rm
* more types
2023-01-28 16:01:54 -08:00
Adeeb Shihadeh
6ae5212d6a
python lib: add SPI bootloader support ( #1224 )
...
* talk to spi bootloader
* flashing bootstub
* reset
* get mcu type
* little more
* pull out low level panda comms
* lint
* program app
---------
Co-authored-by: Comma Device <device@comma.ai>
2023-01-28 00:32:07 -08:00
Adeeb Shihadeh
3048760737
SPI: connect by serial/UID ( #1213 )
...
* SPI: connect by serial/UID
* cleanup
* not everyone can have spi
* fix that
* move that
* mypy fix
Co-authored-by: Comma Device <device@comma.ai>
2023-01-15 23:30:24 -08:00
Willem Melching
fa678e28fc
MacOS: no spidev package ( #1211 )
2023-01-15 12:51:22 -08:00
Adeeb Shihadeh
e83b2189c1
lock spi device during transfers ( #1207 )
2023-01-14 23:32:17 -08:00
Adeeb Shihadeh
0b58cb9e3c
lower spi ack timeout
2022-12-20 23:05:04 -08:00
Adeeb Shihadeh
5486eb3845
python lib: add SPI ACK timeout ( #1199 )
...
* python lib: add SPI ACK timeout
* fix that
Co-authored-by: Comma Device <device@comma.ai>
2022-12-20 22:07:24 -08:00
Adeeb Shihadeh
966f7e0539
SPI: fixes + fake bulk transfers ( #1150 )
...
* check spi checkusm
* ugh, fix control handler
* fake bulk xfer
* cleanup
* one more
* unused
* fix linter
* some typing
Co-authored-by: Comma Device <device@comma.ai>
2022-11-10 21:34:43 -08:00
Adeeb Shihadeh
a42b104c35
SPI handle in python lib ( #1131 )
...
* SPI handle in python lib
* add spidev
* unify those
* clean up connect
* clean that up
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
2022-11-03 22:18:12 -07:00