Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
11 months ago
Adeeb Shihadeh
d9c2928e73
boardd: keep same offset for now
1 year ago
Dean Lee
5480d32bb5
cpplint: add filter `whitespace/parens` ( #29565 )
2 years ago
Dean Lee
22bc06fdaa
common/util: move function `random_int` to util ( #29388 )
2 years ago
Robbe Derks
3136985b95
No more magic for the can chunks ( #26861 )
...
* remove magic and add checksum
* add comms reset
* bump submodule
2 years ago
Robbe Derks
fee6f2efac
Simple CAN chunks ( #25373 )
...
* simple chunks
* more sizeofs
* fix unit tests
* bump panda
* bump panda
* don't fail for too little data
* bump panda
* bump panda
* bump panda
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Adeeb Shihadeh
c3e3047080
boardd: cleanup defs from panda ( #26628 )
...
* more stuff
* bump pnada
2 years ago
Igor Biletskyy
285addeef2
Revert "boardd: new class USBDevice ( #23015 )"
...
This reverts commit 4061f50da3
.
3 years ago
Dean Lee
4061f50da3
boardd: new class USBDevice ( #23015 )
...
* USBDevice
* merge master
* rebase master
* add to fiels_common
* inline functions
* namespace
* init err
* remove nested if
* cleanup
* bump panda for branch
* change includes
* bump panda branch
* change name
* bump master panda
Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com>
Co-authored-by: Igor Biletskyy <bs@privacy.im>
3 years ago
Dean Lee
599c07e027
panda: refactor can_recv ( #22977 )
...
* refactor
* use macro
* rebase master
* fix incorrect chunk_len
* cleanup
* type fix
* lines
* while
Co-authored-by: Igor Biletksyy <bs@privacy.im>
3 years ago
Igor Biletskyy
65ca9be82a
boardd: split usbprotocol unittest and fix paren order in data length assert ( #23065 )
3 years ago
Dean Lee
c77354009c
panda: add unit tests for usb protocol (pack/unpack) ( #22955 )
...
* prepare for unit tests
* add to selfdrive_tests.yaml
* test header
* test chunk count
* rename test function
* continue
* don't check chunks count
* test recv_can
* continue
* small cleanup
* merge master
* cleanup
* rename functions
* test different packet size
* fix operator precedence problem
* refactor unpack_can_buffer
* cleanup test
* cleanup unpack_can_buffer
* add test for multiple pandas
* rename to test_panda
* restore test_boardd
* rename to test_boardd_usbprotocol
* fix typo
* bus_offset = [0,4]
* change src
* use USBPACKET_MAX_SIZE
3 years ago