* fake siren works
* this receives something
* microphone in SAI1 POC
* this receives audio again
* double buffer DMA?
* RX DMA works
* wip
* needs cleanup, but this plays
* cleanup of playback
* print mic
* deal with stereo in
* the DMA from SAI1 -> SAI4 doesn't work yet
* this puts mic data in a buf
* this gets sound to the 845
* wip: still garbage from the mic
* inefficient, but it does record the mic
* sine isn't used
* comment out mic for now
* fix misra
* remove mic
* more cleanup
* add amp enable/disable
* no more debug
* newline
---------
Co-authored-by: Comma Device <device@comma.ai>
* use closer to EPS limits
* raise to upper bound of spread from injection plot
* we've seen ~0.009 at 7 m/s, so allow that
* fix test
* rounding errors cause the 2 to round to the same value
* adjust for latest opendbc change
* we should actually match what safety is doing! fix lack of test coverage near first brake point
fix
* and fix test
* from @pd0wm commaai/panda#1841
* diff reduction: won't need the flag rename
* run tests with new DBC and new gas/brake messages
* toyota_secoc_car to global
* consolidate alt_brake_101
* consolidate alt_pcm_cruise_176
* consolidate alt_gas_pedal_116
* don't allow transmit/forward for 0x131 unless SecOC
* cleanup and todo
* diff reduction
* reorder by usage frequency
* test for no LTA actuation
* bump opendbc commit ref in Dockerfile
* gate SecOC variant on ALLOW_DEBUG
* tweak gating for MISRA
* mutation test hates lta_angle surviving various changes
* common rx checks styling
* don't allow short version of 0x2E5 for SecOC mode
* whitespace diff reduction
* secoc_car -> secoc
* fix comment typo
* retry CI
* missed a couple secoc_car -> secoc
* one big secoc/not-secoc block
* genuinely useful MISRA warning
* test both STEERING_LTA and STEERING_LTA_2
* comment labeling for STEERING_LTA_2 signals
* Update board/safety/safety_toyota.h
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* STEERING_LTA and STEERING_LTA_2 consistency
* update gas/brake/cruise signal annotations
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* safety
* static!
* ALLOW_DEBUG
* fix
* fix 12.3
* remove comment
* no debug
* move stuff to debug
* only usage
* cleanup
* canfd hyundai
* no include for now
* indent
* comment for ford suppression
* also gm
* remove suppression
* only safety headers
* cleanup
* main
* can_comms
* main_declarations->main_definitions
* rename this also
* can_definitions
* faults
* power_saving
* provision
* gitversion
* not included
* no include for now
* Revert "cuatro: disable LED for now"
This reverts commit 866bd9c3bc.
* re-enable and make sure to use open-drain
* use gpio function
---------
Co-authored-by: Comma Device <device@comma.ai>