* Change Subaru Global brake_pressed signal to Brake_Status Brake
* Change safety test to use Brake_Status Brake
* Use GET_BYTE for brake_pressed
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* expose debug flags and improve debug console output
* puth4
* other flags need to be set more locally
* fix misra violations
* fix misra violation
* fix misra violation
* python: disable power save by default when setting safety mode
* no need to set power save manually
* Update python/__init__.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Extend ISO-TP subsequent frame timeout, add response pending timeout and extra debug info
* Change response_pending to local variable, move response_pending_timeout to UdsClient, update ISO-TP debug output
* Set UDS request pending timeout to 6 seconds (ISO 14229-2:2013 section 7.2 recommended value + 1 second latency)
* manage response pending in single location
* more generous response pending timeout
* add tx timeout
* fix lint error
* fix rx addr for 29 bit addrs
* fix linting issue
Co-authored-by: Martin Lillepuu <martin@mlp.ee>
* use common tests for cruise and ACC state
* enter controls on rising edge of ACC
* oops
* remove old comment
* another
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Add support for new Honda Bosch vehicles
- Support extended LKAS_HUD IDs on Honda Bosch
- Support extended ID checksum on incoming frames in safety hook (currently unused).
condense
Cleaner. Don't need to store the value in checksum at the return.
Co-Authored-By: Adeeb Shihadeh <adeebshihadeh@users.noreply.github.com>
* revert checksum change
* use full space
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* 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