Adeeb Shihadeh
80dac4cd94
cleanup CAN definitions ( #1170 )
2022-11-29 15:56:43 -08:00
Adeeb Shihadeh
c075050d5d
Revert "F4: cleanup clock source ( #1160 )"
...
This reverts commit f0f67ccf85 .
2022-11-21 20:31:01 -08:00
Adeeb Shihadeh
3df9099660
Misc cleanup ( #1161 )
...
* unused python stuff
* green led
* docs cleanup
* little more
2022-11-17 11:46:43 -08:00
Robbe Derks
5aa5f855e4
setup UART for SOM debugging ( #1151 )
...
* cleanup external debug serial
* wip: bring up uart7
* more wip
* this does something
* this works
* increase fifo size
* fix misra
* cleanup
* fix misra again
* add SOM debug enum
* reduce SOM buffer on F4
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2022-11-17 17:59:11 +01:00
Adeeb Shihadeh
f0f67ccf85
F4: cleanup clock source ( #1160 )
...
* F4: cleanup clock source
* little more
* void
2022-11-17 07:49:26 -08:00
Adeeb Shihadeh
966f7e0539
SPI: fixes + fake bulk transfers ( #1150 )
...
* check spi checkusm
* ugh, fix control handler
* fake bulk xfer
* cleanup
* one more
* unused
* fix linter
* some typing
Co-authored-by: Comma Device <device@comma.ai >
2022-11-10 21:34:43 -08:00
Greg Hogan
2f3e2825e5
CAN-FD non-ISO support ( #1082 )
...
CAN FD non-ISO support
2022-10-12 15:28:20 -07:00
Adeeb Shihadeh
e987e6c639
add pandaState.safetyRxChecksInvalid field ( #1083 )
...
* add fault for invalid safety RX checks
* fix test build
* debug
* fix debug
* fix test
* just a bool in health
2022-10-03 16:05:16 -07:00
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