Commit Graph

31 Commits

Author SHA1 Message Date
Maxime Desroches
2037a2ead7 Fix openpilot build (#2039)
* static

* test

* revert
2024-09-24 11:59:17 -07:00
Maxime Desroches
32eecd7211 misra8.4: board/*.h (#2026)
* main

* can_comms

* main_declarations->main_definitions

* rename this also

* can_definitions

* faults

* power_saving

* provision

* gitversion

* not included

* no include for now
2024-09-19 21:15:08 -07:00
Firmware Batman
2dd6c3f90c big refactor to drivers 2017-07-20 23:45:48 -07:00
Firmware Batman
65809f25f4 refactoring 2017-07-20 23:36:06 -07:00
Firmware Batman
ad2c0e632a start the refactor 2017-07-20 23:14:27 -07:00
Firmware Batman
639ea617b8 cleanly put GMLAN on bus 3, love tests 2017-07-18 21:05:09 -07:00
Firmware Batman
56786dac17 serial echo test is failing 2017-07-18 12:15:19 -07:00
Firmware Batman
6a56dd1ad2 clean up interrupts more 2017-07-18 10:19:42 -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
8c83533ba6 better docs, improve safety code 2017-07-17 10:48: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
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
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
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
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
daad2dc062 Moved CAN and USART code out of main.c and into more appropriate files. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum
a0616a2bc2 Large Panda CAN cleanup. Restrict GMLAN to valid baud rates.
Work towards removing/centralizing ifdefs for CAN3 and PANDA
2017-07-11 16:55:36 -07:00
Jessy Diamond Exum
75970861cf loopback test works with new CAN bus ids. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum
a1ed7b62ee Large reorganization of code and early integration of can bitrate setting. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum
431080403d Panda firmware auto detects REV C hardware. 2017-06-27 19:27:24 -07:00
George Hotz
cf865bd975 move silent mode code 2017-05-30 09:46:21 -07:00
Firmware Batman
6a6b69ea78 setting controls allowed disables silent mode 2017-05-29 21:33:05 -07:00
George Hotz
6c9c97a4f9 fix issue with ford instrument cluster, default can to silent mode 2017-05-26 11:20:52 -07:00
Firmware Batman
c35720fe82 okay fine big gpio refactor, untested on legacy 2017-05-17 11:12:59 -07:00
Vasily Tarasov
dfdd601dae Fix can bus speed calculation 2017-05-08 00:18:16 -07:00
George Hotz
e07f9b111e initial commit 2017-04-06 18:11:36 -07:00