* 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>
* fix W391
* E262
* E703
* W293
* some E
* E231
* some more E
* E225
* more E
* E252
* no tabs
* more tabs
* E701
* uds.py
* almost all of them
* only e265 left
* not sure why this is triggering on commented out code
* ignore esptool
* Jenkins test refactor and black panda addition
* Added HW types needed by previous commit
* Fixed ignition interrupts when not on EON build
* Added functions for load switches
* More test scripts for black panda
* Added NONE power mode to the code
* Fixed race condition when setting GPIO pins was interrupted.
* Added relay test script
* Fixed flashing with critical sections and GPS load switch
* Fixing critical depth after reboot
* Made the loopback test asserting
* Made critical depth a local variable to avoid race conditions
* Added GPS to power savings mode
* Fixed DFU mode on white panda and bumped version
* Fixed PEDAL_USB compilation error
* Fixed misra compliance of new critical depth code
* Cleaned up heartbeat logic in the testing code. Re-added ALL_CAN_BUT_MAIN_SILENT. Bumped version. Improved critical section code.
* Fixed DFU flashing (once again)
* Fixed VERSION
* Added relay endurance test
* Changed to alloutput on ELM mode for fingerprinting.
* Fixed minor remarks