Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d
11 months ago
Adeeb Shihadeh
21cce04a21
boardd: keep same offset for now
...
old-commit-hash: d9c2928e73
1 year ago
Dean Lee
db211ce617
cpplint: add filter `whitespace/parens` ( #29565 )
...
old-commit-hash: 5480d32bb5
2 years ago
Dean Lee
c622a4cac5
common/util: move function `random_int` to util ( #29388 )
...
old-commit-hash: 22bc06fdaa
2 years ago
Robbe Derks
f2cab9a00c
No more magic for the can chunks ( #26861 )
...
* remove magic and add checksum
* add comms reset
* bump submodule
old-commit-hash: 3136985b95
2 years ago
Robbe Derks
d00e7ee24b
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>
old-commit-hash: fee6f2efac
2 years ago
Adeeb Shihadeh
a6f2f2d751
boardd: cleanup defs from panda ( #26628 )
...
* more stuff
* bump pnada
old-commit-hash: c3e3047080
2 years ago
Igor Biletskyy
f532819faf
Revert "boardd: new class USBDevice ( #23015 )"
...
This reverts commit 6965aa0b903060ab38aace31c15fefdc7a0429eb.
old-commit-hash: 285addeef2
3 years ago
Dean Lee
49c35a70b5
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>
old-commit-hash: 4061f50da3
3 years ago
Dean Lee
15bac98ad4
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>
old-commit-hash: 599c07e027
3 years ago
Igor Biletskyy
ce565323fd
boardd: split usbprotocol unittest and fix paren order in data length assert ( #23065 )
...
old-commit-hash: 65ca9be82a
3 years ago
Dean Lee
a919e5721e
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
old-commit-hash: c77354009c
3 years ago