* late usb
* Added type support for black panda
* Added harness presence and orientation detection
* harness relay driving code
* Added intercept support in black panda code. Switched around can0 and can2
* Disable ADCs after orientation detection. Ignition interrupts via harness
* WIP: Hardware abstraction layer + black panda bringup
* Fixed bootstub build
* Fixed bootstub for pedal
* Fixed infinite loops
* Got CAN buses working on white again
* Fixed pedal build and black can interfaces
* Got CAN buses working on black panda
* Finished loopback test for black panda
* Erase all flash sectors on the panda. Increased binary limit. Added extra python functions.
* Fixed python
* Made new code MISRA compliant
* Cleaned up ignition. Fixed build
* Fixed health packet
* Fixed CAN mode on black bug. Changed OBD to switch on ELM mode
* Fixes from Github review
* Fixed MISRA issue for pedal
* Fixed failing gmlan tests
* ELM327 safety: allow diagnostic on all buses
* Cleaned up EON relay code
* delete only 3 sectors instead of 11 to allow a new build to be flashed. Much faster to flash
* Removed CAN only can0 output mode. Does not make sense on black panda due to reversibility issues.
* Added heartbeat logic for EON code on panda. Go to NOOUTPUT if EON does not send a heartbeat for 5 seconds.
* Remove all CAN buses live on EON startup. Shouldn't be necessary to have this separate case
* Formatting
* Added file I forgot to push
* Added heartbeat to testing code to make sure EON tests don't fail. Should probably find a better way to do this though. Heartbeat thread didn't work, concurrent USB connection issues...
* Safety: support black panda for Honda Bosch
* Disable OBD2 if setting to NOOUTPUT mode
* Run safety tests for all hw_types
* Fail test if subtest fails
* fix safety tests
* gen dependencies
Main.o and bootstub.o were missing headers (like recent power_saving.h). Generate them instead to guarantee makefile re-makes if any dependency is modified.
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
* 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
* Implement webusb and winusb 2.0 specs
* Add missing constants
* Refactor string system, add support for USB2.1
* Uncapitalize the panda
* Add USB 2.0 extension descriptor and device qualifier getter
* Sleep during reconnect process to be more reliable
* Disable compiler optimizations because they break SPI coms
Revert "fix openpilot board flashing"
This reverts commit 8ff93ad5da.
Revert "Fixed output_enabled led not turning off when mode changed to no output."
This reverts commit 27a8af1107.
Revert "Fixed loopback test for new GMLAN 'can4' behavior."
This reverts commit 59592f599a.
Revert "GMLAN is now always mapped through CAN4 (index 3)"
This reverts commit 329c091024.
Revert "Removed compile time config for CAN loopback, implemented as usb message."
This reverts commit e1a4c32985.
Revert "Change all output safety mode identifier to prevent user mistakes."
This reverts commit 6b363e2e92.
Revert "untabify"
This reverts commit 191f67b083.
Revert "Refactor of safety to support more modular additions of safety policies."
This reverts commit e5b524eddc.
Revert "Split up some more header files into compilation units."
This reverts commit e2a78912f5.
Revert "Enabled emulated control writes over USB."
This reverts commit 133cfe9703.
Revert "Moved CAN and USART code out of main.c and into more appropriate files."
This reverts commit daad2dc062.
Revert "Large Panda CAN cleanup. Restrict GMLAN to valid baud rates."
This reverts commit a0616a2bc2.
Revert "Panda library now correctly sends USB direction bit."
This reverts commit 1712c901d4.
Revert "Board makefile now automatically calculates header file dependencies."
This reverts commit 4a8d4e597b.
Revert "Loopback test works over wifi. (Disable trying to send over wifi)"
This reverts commit dae636968a.
Revert "Fix legacy board build"
This reverts commit 62bf4e5756.
Revert "Style cop"
This reverts commit c439f43726.
Revert "Untabify"
This reverts commit 41e5eec621.
Revert "Fixed disabling gmlan."
This reverts commit 5e1e45a4af.
Revert "Removed dead code, standardized canid in more commands, better erroring behavior."
This reverts commit b59aeb6d87.
Revert "loopback test works with new CAN bus ids."
This reverts commit 75970861cf.
Revert "Large reorganization of code and early integration of can bitrate setting."
This reverts commit a1ed7b62ee.