Commit Graph

  • b983cc8fe6 Re-wrote test_misra.sh Riccardo 2019-07-09 14:37:26 -0700
  • 0b19206360 Misra 17.7: The value returned by a function having non-void return type shall be used. We should hang on initial failed safety_set_mode Riccardo 2019-07-08 20:08:20 -0700
  • 06ee8bd2d2 Ignore Misra 5.4 until cppcheck bug (?) is fixed Riccardo 2019-07-08 19:30:58 -0700
  • 4be858224f Update cppcheck commit and pass predefined params to avoid impossible combinations of configs Riccardo 2019-07-08 18:20:00 -0700
  • f45dd04c67 cppcheck: ignore redundantAssignment and selfAssignment for registers in llcan.h Riccardo 2019-07-08 17:16:15 -0700
  • 9ce6311558 Misra 12.1 (operator order) and 10.4 (incompatible essential types) fixes, arised after properly checking UID_BASE config Riccardo 2019-07-08 15:51:20 -0700
  • 1cd34e5645 Explicitly set the define and undefine for unknown configs in misra checks Riccardo 2019-07-08 15:32:17 -0700
  • 5a024999dc remove esp flash from run_automated_tests.sh Adeeb Shihadeh 2019-07-08 15:17:45 -0700
  • 23e3684d70
    Cppcheck unused functions (#247) rbiasini 2019-07-08 15:13:52 -0700
  • c97d60be64 Removed bad language Riccardo 2019-07-08 12:05:08 -0700
  • b031480a7f Missed adding Dockerfile Riccardo 2019-07-08 12:03:13 -0700
  • 91ff6bb214 Run language checker in CI Riccardo 2019-07-08 12:01:00 -0700
  • 205ec342ad Improved language checker Riccardo 2019-07-08 01:00:14 -0700
  • f7bbab0723 Language checker test Riccardo 2019-07-08 00:50:32 -0700
  • d9d0a62f2b Misra 5.5: missed this change from previous PR Riccardo 2019-07-07 22:22:05 -0700
  • 85fa3c02ae
    Misra 5.5: Identifiers shall be distinct from macro names (#246) rbiasini 2019-07-07 22:19:02 -0700
  • 190d604a0b Pedal: 2 minor fixes to Misra 15.7 (else needed) and 17.7 (non-void output must be used) Riccardo 2019-07-07 22:07:14 -0700
  • 8ea01ff127 Pedal: no built-in functions to avoid puts and putc re-definitions Riccardo 2019-07-07 21:38:40 -0700
  • 1f40d1e6a6
    Misra pedal (#245) rbiasini 2019-07-07 16:59:31 -0700
  • a4554e3e69 Ignore advisory Misra 19.2: the union keyword should not be used Riccardo 2019-07-07 16:31:06 -0700
  • e6dc4172b1 Minor indent error Riccardo 2019-07-07 15:57:14 -0700
  • 247e128b45 Fix strict compiler on bootstub build Riccardo 2019-07-07 15:05:47 -0700
  • ba68569216 Removed build strict test and enabled -Werror flag Riccardo 2019-07-07 14:46:03 -0700
  • da11f0fa0c safety replay: update openpilot-tools after logreader fix Adeeb Shihadeh 2019-07-05 16:31:21 -0700
  • fc8b9e49bd Cppcheck: also check pedal Riccardo 2019-07-04 02:58:17 -0700
  • f7bd2c2f38
    Misra 10.4: fix last 2 violations (#242) rbiasini 2019-07-04 02:27:21 -0700
  • 9be5fdead9
    finished misra 17.8 (#241) rbiasini 2019-07-04 01:37:26 -0700
  • 3c3aba3dbc
    Misra 10.4: Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category (#240) rbiasini 2019-07-04 01:04:58 -0700
  • f2a3a177b3 Misra 15_7: fix what seems to be a false positive of cppcheck Riccardo 2019-07-03 20:53:00 -0700
  • 812ace5386
    Misra 15_7: if … else if constructs should be terminated with an else clause (#230) rbiasini 2019-07-03 20:48:02 -0700
  • 79e9735ae1 rename 5_wifi_udp.py Adeeb Shihadeh 2019-07-03 20:02:53 -0700
  • 3c3ff0c03b
    Update Jenkinsfile (#239) quillford 2019-07-03 19:47:41 -0700
  • 1bd9284372
    Misra 17.7: the value returned by a function having non-void return shall be used (#237) rbiasini 2019-07-03 16:01:01 -0700
  • 18c9e88bc0
    Merge pull request #238 from commaai/misra_17_8 George Hotz 2019-07-03 13:36:49 -0700
  • 7ac321de4e
    Merge pull request #235 from commaai/memxxx George Hotz 2019-07-03 13:35:49 -0700
  • 004e543cc2 Jenkins: run EON test first Adeeb Shihadeh 2019-07-03 11:09:49 -0700
  • 4bff286205 Merge branch 'memxxx' of github.com:commaai/panda into memxxx Adeeb Shihadeh 2019-07-03 11:03:11 -0700
  • 7cd80de23a typo Riccardo 2019-07-03 02:07:02 -0700
  • 385e33b32c 12.1 regression Riccardo 2019-07-03 02:04:25 -0700
  • 955842bae6 WIP Riccardo 2019-07-03 01:59:27 -0700
  • ea908cbb75
    10_1 violations: Operands shall not be of an inappropriate essential type (#233) rbiasini 2019-07-02 23:43:06 -0700
  • fa33038055
    Fix Misra 5.3: An identifier declared in an inner scope shall not hide an identifier declared in an outer scope (#236) rbiasini 2019-07-02 22:39:00 -0700
  • ebfe1c512f Merge branch 'master' of github.com:commaai/panda into memxxx Riccardo 2019-07-02 21:45:23 -0700
  • 8c11470ef2 Fix EON test case Riccardo 2019-07-02 21:27:49 -0700
  • 64e18e8415 fix inverted logic to differentiate between dev and EON panda builds Adeeb Shihadeh 2019-07-02 20:17:22 -0700
  • 36755a0fd3 Merge branch 'master' of github.com:commaai/panda into memxxx Adeeb Shihadeh 2019-07-02 20:07:01 -0700
  • e2981d6120 skip wifi tests for EON panda build Adeeb Shihadeh 2019-07-02 20:05:33 -0700
  • db2eec98c6 Merge branch 'master' of github.com:commaai/panda into memxxx Riccardo 2019-07-02 18:18:49 -0700
  • 11257e79a5 Ignore test 5_wifi_udp.py_ignore: too unreliable for now Riccardo 2019-07-02 18:18:29 -0700
  • 6973c2a81a fix wifi tests Adeeb Shihadeh 2019-07-02 18:08:17 -0700
  • cf6985ad15 memxxx function changes to be Misra compliant Riccardo 2019-07-02 17:43:44 -0700
  • 3a6cd2930b wifi threshold perc back to 20%. Problem wasn't this. Riccardo 2019-07-01 20:35:29 -0700
  • d92a035285 faster docker build for safety replay Adeeb Shihadeh 2019-07-01 13:28:02 -0700
  • 3e9469b3ee Fixing tests after min->MIN change Riccardo 2019-06-30 14:19:31 -0700
  • ecb9b6c01f Revert "Misra 10 1: Operands shall not be of an inappropriate essential type (#232)" Riccardo 2019-06-30 13:43:21 -0700
  • 8732e4faf0
    Misra 10 1: Operands shall not be of an inappropriate essential type (#232) rbiasini 2019-06-30 15:07:04 -0500
  • ae816c104a
    Fix 15_6 violations (#231) rbiasini 2019-06-28 13:46:57 -0700
  • 00e45d3284 bump panda version George Hotz 2019-06-28 11:03:06 -0700
  • abd841e9be
    Fix all 16_4 violations (#229) rbiasini 2019-06-27 15:50:00 -0700
  • d972b8771d
    Merge pull request #226 from commaai/misra_15_5 George Hotz 2019-06-27 08:57:59 -0700
  • ec3d0386c2 refactor set_power_save_state Riccardo 2019-06-26 18:24:21 -0700
  • c27e7848f3 fix conflicts Riccardo 2019-06-26 16:17:30 -0700
  • 4886b6b984
    Misra 12.1: The precedence of operators within expressions should be made explicit (#227) rbiasini 2019-06-26 16:16:35 -0700
  • 3fd6b337f9 ops, bug Riccardo 2019-06-26 15:59:32 -0700
  • e3c5e7da8c Fix Misra 15_5 violations Riccardo 2019-06-26 15:52:34 -0700
  • 52838e1c2a WIP Riccardo 2019-06-26 14:47:06 -0700
  • 03d1c8ab3e make dfu.py compatible with latest libusb1 Willem Melching 2019-06-26 13:56:02 -0700
  • 73ae4f6acf
    Misra 14.4: The controlling expression of an if statement and the controlling expression of an iteration‑statement shall have essentially Boolean type (#225) rbiasini 2019-06-26 13:13:16 -0700
  • 8a45958dfe Misra 17.7: puts function should have void output Riccardo 2019-06-26 13:05:31 -0700
  • 97a11115bb hardwired input param is now a boolean Riccardo 2019-06-26 12:18:06 -0700
  • fd96c02215 disable SPI on the EON variant George Hotz 2019-06-26 12:01:57 -0700
  • 0e67890ac7
    Merge pull request #224 from commaai/misra_13_3 George Hotz 2019-06-26 11:51:50 -0700
  • 2d45e89c3d
    Merge pull request #223 from commaai/misra_12_3 George Hotz 2019-06-26 11:51:13 -0700
  • c4311a7fee Wifi saturation test: allow 15 instead of 20 to avoid false positive failures Riccardo 2019-06-24 20:11:32 -0700
  • e41b5a4c4f Fixed Misra 13.3: A full expression containing an increment (++) or decrement (--) operator should have no other potential side effects other than that caused by the increment or decrement operator Riccardo 2019-06-24 19:23:53 -0700
  • 541f8beee3 Fix bad bug Riccardo 2019-06-24 19:16:04 -0700
  • 6a9ae3b7c3 The comma operator should not be used Riccardo 2019-06-24 18:12:23 -0700
  • 5e3458df72 Fix Misra 20.7: Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses Riccardo 2019-06-24 17:57:18 -0700
  • d1e6bd86b1 Fix Misra 16.6 and 16.7 by using a different COMPILE_TIME_ASSERT Riccardo 2019-06-24 17:50:01 -0700
  • f03c3a9fb6 Fix Misra 8.11: When an array with external linkage is declared, its size should be explicitly specified Riccardo 2019-06-24 17:10:14 -0700
  • 83eccb0b5c Fix obvious 10.1 Misra violations: Operands shall not be of an inappropriate essential type Riccardo 2019-06-24 16:43:11 -0700
  • 71877bcfd7 update safety replay after openpilot_tools rename Adeeb Shihadeh 2019-06-24 14:04:46 -0700
  • e2d781380a
    Strict compiler (#222) rbiasini 2019-06-24 10:25:30 -0700
  • da59e0cb9a Fix toyota tests Riccardo 2019-06-20 18:41:41 -0700
  • 57217027e2 Toyota safety: block LTA message in TSS2 cars Riccardo 2019-06-20 18:33:28 -0700
  • 2ef429e656 -pedantic is too much, let's fix wall first Riccardo 2019-06-17 21:38:38 -0700
  • 6f672d4421
    Misra test now fails if the safety files have any Misra violation in them (#221) rbiasini 2019-06-17 20:06:46 -0700
  • c6ec11e17f fixed tab Riccardo 2019-06-17 20:06:14 -0700
  • 3c21e14ddb Re-fixed. now misra test should pass Riccardo 2019-06-17 20:00:42 -0700
  • 0a77dffc9a change test and see if we get a failure now Riccardo 2019-06-17 19:50:03 -0700
  • 6cd5a4fcd0 Update cppcheck commit in test_misra.sh Riccardo 2019-06-17 18:54:05 -0700
  • 198a4459cc MAX is now macro and cannot be used as function param Riccardo 2019-06-17 18:48:38 -0700
  • 578ef22d52 Misra 12.1 violation in MIN/MAX macros Riccardo 2019-06-17 18:39:17 -0700
  • 65fb5a48e7 Macro can trigger Misra violation due redef of var before their use Riccardo 2019-06-17 15:29:04 -0700
  • 05487e29d7 More complete Misra check on safety code (better than running cppcheck on sfaety.h only, with broken dependencies) Riccardo 2019-06-17 14:27:01 -0700
  • 0a94643321
    Misra 15 7 (#219) rbiasini 2019-06-17 14:13:50 -0700
  • a3f65d66e9
    capitalize MIN and MAX macros (#220) rbiasini 2019-06-17 13:48:14 -0700
  • bacfcd0fd0
    Make macros to get msg attributes (#218) rbiasini 2019-06-14 19:13:05 -0700
  • 19d1e41eed WIP: enhance safety replay test (#211) quillford 2019-06-14 16:27:15 -0700
  • 00ebc16936 track can overflows George Hotz 2019-06-14 13:33:30 -0700