* measure sound output level
* average instead
* this was wrong
* fix calc?
* try vu meter
* abs per buf
* more testing
* debug
* debug2
* debug3
* reset to 0
* fix parsing bug
* fix parsing bug
* this works
* minor cleanup
* fix misra
* docs
* motors
* can
* cleanup unused stuff
* initial clean
* more clean
* remove integral and derivative clamps, revert pwm driver to original
* remove integral and derivative clamps, revert pwm driver to original
* remove integral and derivative clamps, revert pwm driver to original
* dont need this for now
* clean
* fix can rx and can version error
* ignore body for misra mutation test
* fix bus recovery, remove body rx hook
* refactor panda side
* fix misra?
* use common ADC driver in jungle
* fix misra fr now
* fix oversampling
* default channel macro
* one more
* this makes more sense
---------
Co-authored-by: Comma Device <device@comma.ai>
* remove DPANDA
* -22
* lil more
* canfd
* lil more
* update cppcheck
* uart cleanup
* always harness
* sbu sense
* lil more
* enable spi
* rm ENABLE_SPI
* fix some errors
* forgot this
* turns out this didn't work and makes it too quiet when it does
* this also dynamically changes
* this is the interrupt timer itself
* refactor out red chiplet
* global can mode set
* global led disable
* this is already done globally
* global harness init
* global spi gpio init
* init OBD_SBUx_RELAY pins in harness init
* this is already done in harness init
* global set_can_mode
* fix SWD on F4
* no more has_obd
* global enable_transceivers
* Revert "global set_can_mode"
This reverts commit 09e19c3e0c.
---------
Co-authored-by: Comma Device <device@comma.ai>
* always pick the next playback buf and wait until we've finished playing this one
* misra fix
---------
Co-authored-by: Comma Device <device@comma.ai>
* wip
* this works!
* pin todo
* SAI1 isn't used
* make it compile after rebase
* fix gpio
* use register functions and clean up misra
* add power management for mic
---------
Co-authored-by: Comma Device <device@comma.ai>
* 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>
* main
* can_comms
* main_declarations->main_definitions
* rename this also
* can_definitions
* faults
* power_saving
* provision
* gitversion
* not included
* no include for now