Igor Biletskyy
b86199244a
merge health.h and can_health.h ( #1075 )
...
init
2022-09-19 16:11:49 -07:00
Igor Biletskyy
a19f12559e
check if set CAN speed is valid ( #1073 )
...
* check
* MISRA
2022-09-16 23:51:55 -07:00
Igor Biletskyy
fd226de0a4
board struct: add has_canfd ( #1072 )
...
* add
* gate this
* and this
* forgot white
2022-09-16 21:56:48 -07:00
Igor Biletskyy
59ede3fe61
CAN health packet: add speed and canfd info ( #1071 )
...
in
2022-09-16 20:39:18 -07:00
Igor Biletskyy
f029c99440
health packet: fix confusing variable names ( #1068 )
...
* fix naming
* different buffer overflows
* naming
2022-09-15 13:08:46 -07:00
Igor Biletskyy
0eef8cf333
CAN: health message for each CAN module ( #1067 )
...
* initial can health pkt
* MISRA: variable scope
* MISRA 10.4
* typo
* add total_fwd_cnt
* check size of can_health_t
* improve
* comment
* that's better
* move
* add health check to tests
* why?
* ...
* revert later
* meh
* Revert "meh"
This reverts commit 0eb84321942a494454c17c242e7309deb8a92341.
* Revert "revert later"
This reverts commit 2d98957a8fd5350d50ebb1d26c9912f984d72043.
* adjust test
2022-09-15 13:04:10 -07:00
Adeeb Shihadeh
13d64d4cc3
USB power mode + bootkick cleanup ( #1051 )
...
* remove tick
* remove more
* delete more
* board tick
* update health
* dos bootkicking
* cleanup
2022-08-31 20:46:07 -07:00
Adeeb Shihadeh
7e843b370d
allow disabling heartbeat while in non-car safety mode ( #1035 )
...
* allow disabling heartbeat while in non-car safety mode
* simple test
* clean that up
* remove that
2022-08-17 22:42:18 -07:00
Robbe Derks
ba8772123f
Simple integrating fan controller ( #1022 )
...
* fast rpm measurement
* fix indentation
* this seems stable
* clip fan integral
* fix misra
* add fan power to health
* board-specific max rpm
* refactor fan enable
* cleanup
* stall detection and reset
Co-authored-by: Comma Device <device@comma.ai >
2022-08-17 20:43:49 -07:00
Robbe Derks
d24971ef8a
Communication refactor ( #997 )
...
* cleanup is_enumerated, rename comms and init spi
* big comms refactor, building now
* misra fixes
* more fixes
* misra try 3
* cleanup
* this belongs in a separate PR
* remove unneccesary file
* revert llspi changes
* this needs packing
* fix pedal usb
Co-authored-by: Comma Device <device@comma.ai >
2022-08-03 13:11:52 +02:00