* cleanup and fix
* dos must stall
* clean those up
* fix misra
* more test
* fix import
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
* DAC POC
* change freq
* some cleanup
* wip: cleaning up and trying to use DMA
* no clue why this doesn't work
* this works
* wip multi-master i2c for fake siren
* cleanup and some more i2c stuff
* seems more stable
* retry disabling and cleanup force siren
* fix misra violations
* not needed
* messed up rebase
Co-authored-by: Comma Device <device@comma.ai>
* 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>
* 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
* llspi misra fix
* enable SPI on F4 and setup gpio
* duh
* wip: spi comms
* more spi wip
* dynamic sector erasing
* Revert "dynamic sector erasing"
This reverts commit fce1215a2e.
* more sectors to be erased
* debugging
* woah, this works
* cleanup on the panda side
* add sync and checksum checks, and fix recovery on errors
* this seems relatively stable
* add retrying
* this is stabler
* some endianness and endpoint fixes
* builds
* revert that
* add that back
* checksum start
* start splitting up driver
* spi behind flag
* cleanup test
* bump up timeout
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* temporarily disable Jenkins
* firmware
* python lib
* tests
* ..
* usb load switch to high
* it is still red
* usb power mode remove
* Revert "temporarily disable Jenkins"
This reverts commit a911cfad8d.
* forgot this
* common periph
* change name
* board tick
* add V2 to CI
* update known bootstub
* 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>
* Add RTC with LSI for BP, GP, WP
* disable jenkins temporarily, REVERT!
* experiments
* cleanup is still needed
* cppcheck unused suppress
* raise deepsleep limit timeout to 120sec
* more experiments on usb_enumerated
* continue
* soft_disconnect
* almost done
* not enough
* no ignition
* still don't like it..
* rename to has_rtc_battery
* clock_source on the way!?
* delay 3 sec
* works on C3, needs test on C2
* And this is for C2
* disable bootkick
* misra 10.4
* ..
* ..
* set power state the right way
* change that
* seems don't need that? check on C2/C3
* partially works on RP...
* comments (will work after rebase)
* change fault name
* switch to manual activation mode
* Revert "disable jenkins temporarily, REVERT!"
This reverts commit 578d425fa7.
* my dear pedal!
* H7 drivers
* Include H7 into the code
* fix flash write for H7
* get serial from flasher.h from F4 and H7
* flash.sh and recover.sh for gen3
* add set_data_speed for BRS CAN FD
* build all fws
* gen3 to panda lib
* gen3 name in scons project
* disable fd can and brs
* gen3 to CI tests
* jenkins fix for new tests and build_all
* fix pedal test
* pedal in panda tests again...
* cleanup llfdcan.h
* cleanup clock.h
* Add LDORDY bit check instead of delay
* missing define in stm32h735xx.h lib
* board_id helper
* enable debug detection again
* clean gpio inits
* fix board_id helper, make cleaner
* comment MCUs in stm lib for faster misra
* target MCU
* misra-5.5
* improve headers and misra speed
* cleanup CI tests
* change naming from gen3 to h7
* readable if statement
* cleanup llusb.h
* only cycle one transceifer in bus-off
* move unused funcs to common header
* bus_off_err reset
* misra 10.4 fdcan
* extern to can_data_speed variable
* limit can_data_speed array size to 3
* reinit fd can on data speed change
* Improve test with ELM327 and extaddr check
* bugfix for fdcan
* panda python config naming
* abstracted init request in llfdcan
* misra fdcan
* Improve llusb.h for H7