Commit Graph

14 Commits

Author SHA1 Message Date
Dean Lee
004a097c95 cpplint: add readability/braces filter (#29554)
old-commit-hash: 363740a497
2023-08-23 10:13:46 -07:00
Adeeb Shihadeh
ac33a1208e boardd: use full buffer size
old-commit-hash: d2fa746b12
2023-07-17 12:44:10 -07:00
Adeeb Shihadeh
b8de120d86 boardd: read spi resp len with ack (#28966)
old-commit-hash: 3390f1e1df
2023-07-15 20:13:19 -07:00
Adeeb Shihadeh
29efcea415 spi: handle timeout more like usb (#28249)
old-commit-hash: 038d2264aa
2023-05-20 23:35:14 -07:00
Adeeb Shihadeh
6dc5e28ef9 boardd: handle nack on tx buffer full (#28241)
* boardd: handle nack on tx buffer full

* print pandaStates

* rx buffer too small

* connect timeout

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: e4a37620ee
2023-05-19 23:24:52 -07:00
Willem Melching
b7311320aa panda_comms.h add missing <string> include (#28117)
old-commit-hash: bd8a56cf30
2023-05-05 11:28:46 -07:00
martinl
0970d900a2 MacOS: build fixes (#27143)
* MacOS: exclude common/gpio.cc

* MacOS: no spi for boardd

* MacOS: loggerd: no v4l_encoder.cc

* MacOS: update libdbc path for cabana
old-commit-hash: fdc4a7f84c
2023-01-29 13:55:17 -08:00
Adeeb Shihadeh
bf804f25bf boardd: connect to SPI panda by UID (#27035)
* move list

* connect by serial

* cleanup hw serial

* little more

* rm excessive print

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 66ff2de0a2
2023-01-21 19:42:10 -08:00
Adeeb Shihadeh
bbee5e6367 boardd: include SPI panda in list (#27018)
* boardd: include SPI panda in list

* hexlify

* fix hexlify

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b8ec32103a
2023-01-20 13:03:02 -08:00
Adeeb Shihadeh
dda7913a33 boardd: misc spi fixes (#26670)
old-commit-hash: 9cc06e9ea6
2022-12-02 11:51:25 -08:00
Adeeb Shihadeh
8e88116dba boardd: SPI bulk read + write (#26462)
* bulk read

* write

* write

* fix write

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 714ab491b0
2022-11-11 12:51:14 -08:00
Adeeb Shihadeh
cec416ac66 boardd: verify SPI checksum (#26454)
* verify checksum

* import from panda

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f5bf3cd21b
2022-11-10 18:37:10 -08:00
Adeeb Shihadeh
461206de1c boardd: SPI support (#26374)
* spi handle

* put usb back

* handle eintr

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ba9a5107b
2022-11-08 13:21:07 -08:00
Adeeb Shihadeh
5c123f01b4 boardd: prep for SPI + factor out USB (#26356)
* merge origin/spi-panda

* just prep

* boardd: factor out USB comms

* fix those

* add to release files

* little more
old-commit-hash: 06be96cae2
2022-11-04 16:36:27 -07:00