Commit Graph

2688 Commits

Author SHA1 Message Date
Greg Hogan eb91c606de fix misra violations 2024-03-30 14:20:23 -07:00
Greg Hogan 48478ce8b5 rename some things 2024-03-30 14:20:23 -07:00
Greg Hogan 2271d33b20 forward buttons 2024-03-30 14:20:23 -07:00
Shane Smiskol 698fb197f8 less nots 2024-03-30 14:20:23 -07:00
Shane Smiskol 5f9b8c35a6 type this function 2024-03-30 14:20:23 -07:00
Shane Smiskol 6474b4a599 add todo instead 2024-03-30 14:20:23 -07:00
Shane Smiskol 437bc9c5d6 good to find the usages, but generally we'd like to fail the tests without this
todo: falsify those tests?
2024-03-30 14:20:23 -07:00
Shane Smiskol 4b24a7c8bf these are only in hyundai's file 2024-03-30 14:20:23 -07:00
Shane Smiskol e890d858b5 just subclass base TestChryslerSafety to avoid no member issues (it checks that it endswith Base) 2024-03-30 14:20:23 -07:00
Shane Smiskol b7d7dadb24 extra space 2024-03-30 14:20:23 -07:00
Greg Hogan 51e099db9d chrysler longitudinal 2024-03-30 14:20:23 -07:00
Adeeb Shihadeh 18f0bdff4b
pre-commit: autoupdate hooks (#1921)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-03-29 03:11:26 -07:00
Adeeb Shihadeh 01c54d1199
enable misra-c2012-11.8 (#1916)
* fix up harness_config definition

* enable misra-c2012-11.8
2024-03-24 12:38:25 -07:00
Adeeb Shihadeh 418fca3583
enable misra-config checks (#1879)
* mostly done

* fix rest of misra-config

* do other two in next pr
2024-03-24 12:10:37 -07:00
Adeeb Shihadeh dcc7b84001 UID_BASE is always defined now 2024-03-24 10:59:51 -07:00
Adeeb Shihadeh b08bc43a21
update cppcheck to 2.13.4 (#1915) 2024-03-23 18:23:44 -07:00
Adeeb Shihadeh a727cecdb8
remove unused deepsleep stuff (#1914) 2024-03-22 14:48:49 -07:00
Adeeb Shihadeh dd82382d5f
instant boot (#1910)
no more boot time :P
2024-03-22 14:01:44 -07:00
Adeeb Shihadeh 091773f448
Adjust CAN bus orientation live with harness orientation (#1913)
* set orientation in one place

* no flip

* cleanup

* more explict on startup

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-03-22 14:00:13 -07:00
Adeeb Shihadeh b46a9eb2c9
CAN orientation HITL test (#1912)
test

Co-authored-by: Comma Device <device@comma.ai>
2024-03-22 13:32:31 -07:00
Adeeb Shihadeh 6b40f82bc4
harness HITL test refactor (#1911)
* harness HITL tests

* cleanup

* oops

* unused
2024-03-22 10:30:02 -07:00
Adeeb Shihadeh 0714642491
remove old disable tests from jenkinsfile 2024-03-21 21:56:24 -07:00
Adeeb Shihadeh 8a845b973e
boot time test (#1909)
* test

* usb serial

* just test for now

* time

* close

* close after
2024-03-21 20:28:44 -07:00
Adeeb Shihadeh de061e4f73
remove rest of gmlan (#1908)
* remove rest of gmlan

* fix

* update struct

* update
2024-03-21 13:56:36 -07:00
Adeeb Shihadeh cccceabf8a exit flashing scripts with error if no pandas 2024-03-21 13:04:45 -07:00
Andrei Radulescu 74e6a54503
jungle: assume F4 MCU (#1907) 2024-03-21 12:45:47 -07:00
Adeeb Shihadeh 86348b431f
pre-commit: autoupdate hooks (#1904)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-03-21 11:04:51 -07:00
Adeeb Shihadeh 16bd1382df
reduce SPI timeouts in python lib (#1906)
* reduce SPI timeouts in python lib

* increase

* little more

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-03-20 19:36:42 -07:00
Adeeb Shihadeh 567dbfe6d8
remove comma pedal (#1902) 2024-03-17 22:22:46 -07:00
Adeeb Shihadeh b1d988933e
pre-commit: autoupdate hooks (#1899)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-03-17 16:51:57 -07:00
Adeeb Shihadeh 15dac19827
fix bootkick test, no more datetime (#1901)
* fix bootkick test, no more datetime

* debug

* try that
2024-03-13 14:51:40 -07:00
Adeeb Shihadeh 895a7001c9
Rename stm32fx/ -> stm32f4/ (#1898)
* Rename stm32fx/ -> stm32f4/

* jungle too
2024-03-11 16:18:56 -07:00
Adeeb Shihadeh 6dfd4db4ab
remove rtc (#1897)
* remove rtc

* fix build

* rm taht

* revert that
2024-03-11 16:08:43 -07:00
Adeeb Shihadeh 4b6f6ac162
723 power init (#1891)
LDO only

This reverts commit ea156f7c62.

Co-authored-by: Comma Device <device@comma.ai>
2024-03-08 14:57:33 -08:00
Adeeb Shihadeh 01984e5b44
pre-commit: autoupdate hooks (#1892)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-03-07 13:57:02 -08:00
Robbe Derks 41e9610ff8
Tesla Raven (#1886)
* raven uses a different steering angle sensor

* add raven flag

* raven test

* bump opendbc ref
2024-03-06 21:13:13 +01:00
Adeeb Shihadeh ea156f7c62 revert that for now 2024-02-28 20:31:47 -08:00
Aryan 4303ae1387
enable misra-c2012-10.6 (#1811)
* misra-c2012-10.6

* fixed uninitialized data error

* revert false positive

* enable 10.6

* update install.sh

* cleanup

* bug fix

* better fix ?
2024-02-27 10:32:28 -08:00
Cameron Clough 0c7d5f11d7
use pyupgrade to update syntax (#1889) 2024-02-24 13:56:28 -08:00
Jason Young 96a3099398
fix forwarded bus logging for CAN-FD hardware (#1884) 2024-02-24 10:03:45 -08:00
Shane Smiskol 6aa4b55033
Ford: ignore 2nd speed checksum (#1887)
* ignore cs

* fix test

* fix coverage

* no dead code, remove todo

* typo
2024-02-23 19:08:12 -08:00
Jason Young cd11c7f9a4
VW PQ: Allow either HCA mode (#1885)
* write the test first, like a grownup

* pass the test!
2024-02-22 14:56:14 -08:00
Adeeb Shihadeh 70578a11f0
pre-commit: autoupdate hooks (#1881)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-02-20 15:02:11 -08:00
Jason Young d2d683a04c
fix test issues in xcp.py (#1882)
remove shebang, fix typing
2024-02-20 11:41:48 -08:00
Greg Hogan 73e4733bfb
Universal Measurement and Calibration Protocol (XCP) python library (#760)
* first few commands

* fix transport_version

Co-authored-by: Willem Melching <willem.melching@gmail.com>

* add more xcp functions

* more commands

* configurable timeout

---------

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2024-02-20 10:59:05 -08:00
Aryan b4442a7c93
enable misra-c2012-10.3 (#1852)
* enable misra-c2012-10.3

* fix that

* cleanup

* little more

* one more

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-02-18 11:56:44 -08:00
Adeeb Shihadeh 546db7b73b set cppcheck platform 2024-02-18 11:43:25 -08:00
Jason Young 00fab5e18e
refactor GET_BIT to be MISRA friendly (#1877)
* refactor GET_BIT to be MISRA friendly

* better fix for ternary op

* remove whitespace that crept in
2024-02-18 11:03:30 -08:00
Adeeb Shihadeh 6eed036473
(almost) enable cppcheck unusedFunction (#1875)
* remove some unused

* more

* kinda works

* rest are false positives

* disable for now

* add back exhaustive
2024-02-17 14:16:15 -08:00
Adeeb Shihadeh 997b075349 misra: catch more cppcheck errors that don't change exit code 2024-02-17 12:53:28 -08:00