Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa
4 years ago
Dean Lee
35fe949cd8
fix panda: remove uninitialized err and check after ( #19974 )
...
old-commit-hash: edc2b3f67c
4 years ago
Dean Lee
53957eec3f
Panda: add check for connected in usb_read ( #19957 )
...
old-commit-hash: c723bbd6be
4 years ago
Dean Lee
24ffdd6183
Panda: refactor get_firmware_version, return std::optional<std::vector> ( #19896 )
...
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: c4215d8476
4 years ago
Dean Lee
7194e5926e
panda: refactor get_serial, return std::optional<std::string> ( #19895 )
...
old-commit-hash: 96cc633d91
4 years ago
Adeeb Shihadeh
f2ad4e28a6
remove legacy reset line support ( #19770 )
...
old-commit-hash: 8c31ab3cee
4 years ago
Dean Lee
2f3ae6ba78
fix indentation ( #19925 )
...
old-commit-hash: 511bad6a9f
4 years ago
Dean Lee
06b8f1042b
Panda: add can_send buffer caching ( #19910 )
...
old-commit-hash: 5c58a2618e
4 years ago
Dean Lee
c8935f44a1
Fix panda: dangling pointer problem in can_receive ( #19892 )
...
* refactor can_receive
* still send empty msg
old-commit-hash: b0c0de5b66
4 years ago
Dean Lee
fe457a93d5
Panda: replace pthread_mutex with std::mutex ( #19909 )
...
old-commit-hash: 5594b8f3cb
4 years ago
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135b
4 years ago
Dean Lee
bbfb751d69
Replace usleep with util::sleep_for ( #19643 )
...
* replace usleep with sleep_for
* sleep microseconds
* sleep nanoseconds
* Trigger Build
old-commit-hash: c1cf0882bd
4 years ago
robbederks
c038a38f88
add legacy reset line support ( #2625 )
...
* add legacy reset line support
* clean up names
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 57cd8c38b7
4 years ago
Shane Smiskol
2b9b7182d8
Abstract set_unsafe_mode function to Panda ( #2431 )
...
* Abstract set_unsafe_mode function to panda.cc
* whoops
* use uint16_t
old-commit-hash: 5eea86cbf4
5 years ago
Adeeb Shihadeh
cbafcbcc3c
remove unused params function
...
old-commit-hash: 94991d9319
5 years ago
Willem Melching
984a9bb411
boardd always send can packet ( #2307 )
...
* boardd always send message
* Only log missed cycles when ignition is on
* Just clip, no completely different code paths
old-commit-hash: cfd16faad2
5 years ago
Willem Melching
291d150a3c
hub is handled by systemd gpio service ( #2172 )
...
old-commit-hash: 855f52c3e0
5 years ago
Willem Melching
92e3ed2e10
boardd: return early from usb functions if not connected
...
old-commit-hash: e03044530c
5 years ago
Willem Melching
938ce91d02
Pigeon abstraction layer ( #1977 )
...
* pigeon abstraction layer
* Fix string literals
* more generic pigeon class
* add TTYpigon
* nicer tty error handling
* close tty fd on pigeon delete
* pigeon receive return std::string
* use sizeof
* max receive size to prevent infinite loop
* remove namespace
* add unistd include for usleep
* fix is pigeon
* Handle tty error in opening
* fix printing binary strings with dump.py
* fix pigeon build on macos
* Handle errors seperately
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 502cc665e0
5 years ago
xx979xx
705dfc1c5b
fix for PC: detach panda kernel driver if active ( #1950 )
...
old-commit-hash: 4f0c75291b
5 years ago
Willem Melching
562394e2ae
Panda abstraction layer in boardd ( #1919 )
...
* start on panda abstraction layer
* handle bulk transfer in library
* Safety model abstraction
* Abstract hw type into library
* Handle disconnect
* RTC stuff
* Fan control
* Health
* Panda fw version
* Read serial
* Power saving
* Power mode
* Cleanup pigeon thread init
* Rename safety setter variable name
* Remove comment
* Unused global cleanup
* malloc -> new
* whitespace
* Use std::thread
* Use std::thread for safety setter
* Cleanup igntion_last global
* Heartbeat
* logd
* More global cleanup
* Put back sleep
* ir pwr
* Always broadcast health
* init struct with zeroes
* Fix eon build
* fix race condition
* fix Adeebs comments
* abstract can send and receive
old-commit-hash: 80acb32825
5 years ago