Commit Graph

2621 Commits

Author SHA1 Message Date
dzid26
04c5a00a9e Board chip type (#1853)
Board chip type title
2024-02-06 11:15:46 -08:00
dzid26
5c5287dabb Fix CAN comment (#1854) 2024-02-06 11:15:22 -08:00
Adeeb Shihadeh
94418a0d93 pre-commit: autoupdate hooks (#1857)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-02-06 11:14:58 -08:00
Adeeb Shihadeh
f48fc21a17 cuatro: fix FDCAN2 (#1851)
Co-authored-by: Comma Device <device@comma.ai>
2024-02-04 15:11:52 -08:00
Ruben Medina
3bd980eb39 enable misra-c2012-17.3 (#1806) 2024-02-03 23:20:30 -08:00
Adeeb Shihadeh
93a06f1257 remove HW GMLAN support (#1848) 2024-02-03 23:18:33 -08:00
Adeeb Shihadeh
5ab46d52fd set cppcheck level to exhaustive (#1846) 2024-02-03 15:28:15 -08:00
Comma Device
457e3b262d fix enable_can_transceiver 2024-02-03 01:36:15 +00:00
Adeeb Shihadeh
bca1162ae9 cuatro: setup CAN (#1836)
* cuatro: setup CAN

* fix misra

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-01-30 13:25:22 -08:00
Adeeb Shihadeh
3afab68196 pre-commit: autoupdate hooks (#1844)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-01-30 13:17:28 -08:00
Shane Smiskol
ec17f75efc ELM safety: allow GM diagnostic camera address (0x24B) (#1842)
* allow 0x200 addresses for Bolt camera

* fix test

* only gm address

* think 15765-2 is the source

* test the data

* label

* should be here

* already labeled

* use constant!

* update table

* fix misra

* Revert "update table"

This reverts commit 71ef3fde7c195c303bb4d771c9643f11b9e5410b.

* new cppcheck gets this
2024-01-29 20:23:57 -08:00
Adeeb Shihadeh
a5604de24f ensure cppcheck is always the right version (#1843) 2024-01-29 20:19:50 -08:00
Shane Smiskol
266d4573b7 safety: test with default pytest dist (load) (#1840)
* faster safety test

* wondering how fast this is

* 4 threads too?
2024-01-29 02:03:35 -08:00
Willem Melching
eb9b0df727 Reset baudrate when connecting from Python (#1837)
* Reset baudrate when connecting from Python

* unused
2024-01-25 13:17:19 -08:00
Adeeb Shihadeh
d6b5dbb3dc Revert "detect 723 live (#1835)"
This reverts commit 9d0caa1935.
2024-01-24 15:39:11 -08:00
Adeeb Shihadeh
9d0caa1935 detect 723 live (#1835)
* detect 723 live

* cleanup

* more precise

* more precise

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-01-24 14:48:32 -08:00
Comma Device
b39ef1dbfe fix 723 init 2024-01-24 21:57:28 +00:00
Adeeb Shihadeh
a0ac220b0c it's cuatro 2024-01-24 13:07:47 -08:00
Adeeb Shihadeh
a2d5d8ad07 stm32h723 (#1832)
* booting

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-01-23 23:15:59 -08:00
Adeeb Shihadeh
7c613fdcb5 remove redundant board_type (#1833)
* remove redundant board_type

* fix jungle build
2024-01-23 22:08:22 -08:00
Adeeb Shihadeh
c754171000 remove red panda v2 2024-01-23 19:03:21 -08:00
Adeeb Shihadeh
82df97a6df pre-commit: autoupdate hooks (#1831)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-01-23 10:40:42 -08:00
Adeeb Shihadeh
c5e79403a8 remove unused cnt 2024-01-21 16:22:17 -08:00
Ruben Medina
7d99cb2ef3 enable misra-c2012-8.2 (#1829) 2024-01-21 16:19:16 -08:00
DevTekVE
df030a9ca8 Adding compilation_db to panda builds (#1828) 2024-01-21 16:16:53 -08:00
Ruben Medina
80731c0aa7 enable misra-constParameterCallback (#1827) 2024-01-20 22:22:11 -08:00
Ruben Medina
40671436ee enable misra-constParameterPointer (#1826) 2024-01-20 21:50:42 -08:00
Ruben Medina
8347fa2621 enable misra-c2012-10.5 (#1825) 2024-01-20 17:05:12 -08:00
Adeeb Shihadeh
424882e0e7 enable knownConditionTrueFalse in cppcheck 2024-01-20 16:34:40 -08:00
Ruben Medina
229e8bb3a5 enable misra-c2012-12.2 (#1824)
* enable misra-c2012-12.2

* refactor: use 1UL in all FAULT defs
2024-01-20 16:19:34 -08:00
Hoang Bui
ced1fb3dee Add more MISRA mutation tests (#1818)
* 9 added tests

* test speed with new del header

* mypy

* cleanup

* fix error in delete

* random

* change

* works on local

* sorted

* with order

* add pytest randomly

* test with ci

* remove sort

* cleanup

* all files

* no obj

* another bootstub

* fix

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-20 15:52:38 -08:00
Aryan
94c93f6974 enable misra-c2012-21.16 (#1822) 2024-01-18 21:54:57 -08:00
Justin Newberry
e931cdfd0e remove setting hostname from setup (#1821)
remove from setup
2024-01-18 15:05:41 -08:00
Justin Newberry
06feb083cf replace pytest-timeouts with pytest-timeout (#1820)
* one timeout

* timeout
2024-01-18 14:44:32 -08:00
Aryan
a902a19ead enable misra-c2012-21.2 (#1819)
* enable misra-c2012-21.2

* Add suppressions on memset and memcpy

* revert that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-18 14:29:01 -08:00
Ruben Medina
5ddc0cf04f enable misra-c2012-21.14 (#1810) 2024-01-18 14:10:17 -08:00
Adeeb Shihadeh
41b008274b pre-commit: autoupdate hooks (#1789)
* Update pre-commit hook versions

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-01-17 11:35:20 -08:00
Justin Newberry
13e0d3d4d7 replay_drive: fix reference to multilogiterator (#1812)
* fix ref

* segment

* fix ruff

* mypy

* fix
2024-01-17 11:33:45 -08:00
Ruben Medina
7ab3fcf5d2 enable misra-c2012-10.7 (#1804)
* enable misra-c2012-10.7

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-16 16:52:36 -08:00
Ruben Medina
53efbbbc98 enable misra-c2012-21.1 (#1809)
* enable misra-c2012-21.1

* comment

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-16 16:46:30 -08:00
Aryan
c118c2887d enable misra-c2012-2.7 (#1813)
* cpp-check suppress

* enable misra-c2012-2.7
2024-01-16 16:02:48 -08:00
Hoang Bui
7e8b829fe8 enable misra-c2012-2.3 & misra-c2012-2.4 (#1801)
* enable misra-c2012-2.3

* enable misrac 2.4

* delete

* revert

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-16 15:59:15 -08:00
Aryan
369fd8c6d5 enable misra-c2012-7.2 (#1807)
* misra-c2012-7.2

* removed misra-c2012-7.2 from suppressions.txt
2024-01-16 15:49:13 -08:00
Adeeb Shihadeh
bc6eaf358e enable misra-c2012-14.2 (#1815)
* enable misra-c2012-14.2 (#1805)

* true

* while

---------

Co-authored-by: Ruben Medina <samrum@gmail.com>
2024-01-16 15:49:04 -08:00
Adeeb Shihadeh
6334ded34a Revert "enable misra-c2012-14.2 (#1805)"
This reverts commit a8bc525d92.
2024-01-16 15:39:30 -08:00
Ruben Medina
1bdefa9133 enable misra-c2012-8.6 (#1808) 2024-01-16 14:17:21 -08:00
Ruben Medina
a8bc525d92 enable misra-c2012-14.2 (#1805) 2024-01-15 21:20:39 -08:00
Ruben Medina
8c2b50fa2f enable misra-c2012-10.1 (#1803) 2024-01-15 21:14:52 -08:00
Ruben Medina
07caaf6cfb enable misra-c2012-5.6 (#1802) 2024-01-15 21:14:22 -08:00
Hoang Bui
d854abedff Enable cache for MISRA mutation test (#1799)
* work with 1 cache

* enable cache in mutation

* name to hash

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-15 14:40:19 -08:00