* panda safety test that replays drives of saved CAN messages
* utility to trim Cabana CSV logs to just messages relevant for panda safety testing
* when trimming, only output the same line once even if it matches both criteria
In fd233832ef
the linker flag -lgcc might not work on EON as it does not have the
correct library.
The fix was a workaround in sha.c such that we no longer need to import
function __aeabi_llsr from library, by replacing right shift operation
with const argument.
E.g.,
uint64_t a = b >> i // requires __aeabi_llsr from libgcc
uint64_t a = b >> 2 // does not require external library
Resolves: #522
* added safety_ascm
* better using one funciton
* GM_ASCM safety mode by default
* fixced ign bug and passing everything for now
* blocking 0x152-0x154 and reforwarding 0x153
* gotta fwd 152 as well on CH bus
* adding braking message block
* blocking gas cmd as well
* allow cadillac supercruise to pass through
* no more hardcoded ascm safety mode
* optimize board build for size to avoid going over the limit.
Here are the sizes of board/obj/panda.bin with different settings:
-O2 32228
-Og 30172
-Os 28028
* warning if panda.bin is over the panda's limit
* if bin is too big, error out
* Chrysler safety model and tests.
* fix comments
* when ACC is canceled, disallow controls
* update SAFETY_CHRYSLER value in Python API and add other SAFETY values
* Honda: forwarding CAN0 to camera, so camera can stay on
* forward cam on toyota
* fwd some honda camera msgs
* add crv and rdx steering msg to honda fwd filter
* only fwd cam on toyota if frc is connected
* toyota: remove unused variables
* toyota: don't forward frc bus when switch 1 is high
* toyota: check when switch 1 is high
* Honda: forwarding CAN0 to camera, so camera can stay on
* forward cam on toyota
* fwd some honda camera msgs
* add crv and rdx steering msg to honda fwd filter
* only fwd cam on toyota if frc is connected
* toyota: remove unused variables
* toyota: don't forward frc bus when switch 1 is high