Commit Graph

327 Commits

Author SHA1 Message Date
Firmware Batman ad2c0e632a start the refactor 2017-07-20 23:14:27 -07:00
Firmware Batman 7d97564796 add flashing loop test 2017-07-20 16:01:47 -07:00
Firmware Batman bf57cf25cb make the st ota flasher reliable 2017-07-20 15:34:45 -07:00
Firmware Batman 3e01310f1b support switching usb modes 2017-07-20 13:41:21 -07:00
Firmware Batman 362c9d8aa9 move early back to header 2017-07-19 17:21:47 -07:00
Firmware Batman c8c8601751 well that's a concern, O2 breaks comm over SPI 2017-07-19 17:09:55 -07:00
Firmware Batman 64495a0018 all tests passing, clean up usb power 2017-07-18 23:07:19 -07:00
Firmware Batman 4d879f7e47 tests work on legacy board 2017-07-18 21:14:38 -07:00
Firmware Batman 639ea617b8 cleanly put GMLAN on bus 3, love tests 2017-07-18 21:05:09 -07:00
Firmware Batman 4bc935e5d1 remove dumb comments 2017-07-18 12:29:37 -07:00
Firmware Batman 9ed2524be3 add debug mode, more locks, fix test 2017-07-18 12:29:16 -07:00
Firmware Batman 56786dac17 serial echo test is failing 2017-07-18 12:15:19 -07:00
Firmware Batman bd57d8be56 enable O2 2017-07-18 10:28:41 -07:00
Firmware Batman 595c07aaf5 aha, fixed clearing request done bit. tests passed 2017-07-18 10:25:00 -07:00
Firmware Batman 6a56dd1ad2 clean up interrupts more 2017-07-18 10:19:42 -07:00
Firmware Batman b1c4418f51 move the gnu11 2017-07-17 23:05:03 -07:00
Firmware Batman b737d987cb clean up can interrupts, still failing 2017-07-17 22:44:02 -07:00
Firmware Batman e8b38fc426 hmm, reliability test fails... 2017-07-17 21:26:37 -07:00
Firmware Batman 85c0940cf9 support can speed, and test it 2017-07-17 19:43:30 -07:00
Firmware Batman 9f7bbcf487 oops, i mean that 2017-07-17 18:59:16 -07:00
Firmware Batman b2fa650447 Panda library now correctly sends USB direction bit. 2017-07-17 18:58:04 -07:00
Firmware Batman 7f63a23de7 update honda safety to block bad messages from being sent 2017-07-17 18:54:50 -07:00
Firmware Batman c7a9263361 refactor safety and enable tests 2017-07-17 15:29:31 -07:00
Firmware Batman e391a7b5dd remove broken accord support 2017-07-17 11:11:45 -07:00
Firmware Batman 8c83533ba6 better docs, improve safety code 2017-07-17 10:48:16 -07:00
Firmware Batman f38c573113 why were we not using a modern c standard? 2017-07-17 10:27:34 -07:00
Firmware Batman 2aee9315ca separate out controls allowed and safety mode 2017-07-17 10:24:35 -07:00
Firmware Batman e5d255447b clean up safety code 2017-07-17 10:20:08 -07:00
George Hotz 2eecb08304 Merge pull request #23 from commaai/redux/modular_safety
Modularize safety modes to encourage 3rd party safety code contribution.
2017-07-17 10:15:02 -07:00
Firmware Batman 74d602eda8 need to check for error pipe as well 2017-07-17 10:12:47 -07:00
Jessy Diamond Exum a0358414e5 Re-differentiating CAN silence from controls_allowed. Updated incorrect comments. 2017-07-17 00:52:01 -07:00
Jessy Diamond Exum 528b8ae067 Modularize safety modes to encourage 3rd party safety code contribution. 2017-07-17 00:41:26 -07:00
George Hotz 858fe889ca Merge pull request #27 from commaai/fixup/rectify_loopback_merge
Declaration of function changed in 'sane can ids'.
2017-07-16 21:52:17 -07:00
Jessy Diamond Exum 0b6971f091 Declaration of function changed in 'sane can ids'.
can loopback called the function with the old parameters.
2017-07-16 16:03:16 -07:00
George Hotz 7b664b298d Merge pull request #24 from commaai/redux/runtime_can_loopback
Can loopback now runtime configurable.
2017-07-16 15:41:41 -07:00
George Hotz 87bcb75687 Merge pull request #25 from commaai/redux/sane_can_ids
Can bus numbers now sequential (0,1,2 not 0,1,4).
2017-07-16 15:41:14 -07:00
Jessy Diamond Exum 247010eb46 Added can forwarding method to python library. 2017-07-14 22:04:38 -07:00
Jessy Diamond Exum 3a415ab870 Can loopback now runtime configurable.
Useful for board tests, customer troubleshooting, and linux driver loopback support.
2017-07-14 20:32:48 -07:00
Jessy Diamond Exum c98739b66e Can bus numbers now sequential (0,1,2 not 0,1,4).
Can bus numbers are 7 bit numbers with the 8th bit marking receipt busses (0x80,0x81,0x82 not 2,3,6).
2017-07-14 13:55:38 -07:00
Vehicle Researcher 0dc8d4607b fix legacy build 2017-07-12 11:38:00 -07:00
George Hotz 7733b09288 Revert commits that broke USB for openpilot.
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.
2017-07-12 11:27:16 -07:00
George Hotz 8ff93ad5da fix openpilot board flashing 2017-07-12 02:54:20 -07:00
Jessy Diamond Exum 27a8af1107 Fixed output_enabled led not turning off when mode changed to no output. 2017-07-11 18:43:32 -07:00
Jessy Diamond Exum 59592f599a Fixed loopback test for new GMLAN 'can4' behavior. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum 329c091024 GMLAN is now always mapped through CAN4 (index 3) 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum e1a4c32985 Removed compile time config for CAN loopback, implemented as usb message. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum 6b363e2e92 Change all output safety mode identifier to prevent user mistakes. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum 191f67b083 untabify 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum e5b524eddc Refactor of safety to support more modular additions of safety policies. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum e2a78912f5 Split up some more header files into compilation units. 2017-07-11 16:55:36 -07:00