Commit Graph

2719 Commits

Author SHA1 Message Date
Adeeb Shihadeh
ee7b385be7 CI: add jenkins-trigger 2024-08-02 11:02:38 -07:00
Shane Smiskol
daa739efb7 missed a busTime (#1990)
* whoops

* addr dat src
2024-07-31 14:30:53 -07:00
Shane Smiskol
8c3bb0151e deprecate busTime (#1989)
* deprecate busTime

* fix test_comms.py

* update opendbc

* way more than i thought

* and here

* oops
2024-07-30 21:20:48 -07:00
Hoang Bui
f6375848ca add set_gas_pressed_prev() helper (#1986)
add set_gas_pressed_prev helper
2024-07-17 20:49:10 -07:00
Adeeb Shihadeh
5ee262f3cb H7 CR3 notes (#1985) 2024-07-17 11:19:24 -07:00
Adeeb Shihadeh
b4e3d5cdd2 Revert "H7: detect board type with second ID pin group (#1975)"
This reverts commit 376408bb4f.
2024-07-14 15:56:18 -07:00
pantew869
481d2bec59 Use numpy instead of numpy-stubs in pre-commit (#1984)
* delete numpy-stubs from additional_dependencies(it's deprecated and causes git issues)

* use numpy directly
2024-07-13 13:34:25 -07:00
Adeeb Shihadeh
376408bb4f H7: detect board type with second ID pin group (#1975)
* H7: detect board type based on package

* detect smps

* misra fix

* jungle?

* pkg isn't reliable, need syscfg enabled

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-06-26 18:20:51 -07:00
Adeeb Shihadeh
29f2f30a32 jenkins: run jungles first (#1977)
* jenkins: run jungles first

* inside stage
2024-06-26 17:08:35 -07:00
Adeeb Shihadeh
ee1d5ce8bc add assert_fatal function (#1976)
* add assert function

* fix

* flip

* rename

* assert fatal
2024-06-26 16:59:08 -07:00
JJ
cac94e3aa2 Update README.md (#1974)
small spelling fix
2024-06-25 06:53:31 -07:00
Shane Smiskol
7287ff0cbf query_fw_versions: ignore 29 bit addresses option (#1973)
fix
2024-06-12 19:21:38 -07:00
Adeeb Shihadeh
faa1802669 even more spammy 2024-06-04 21:08:31 -07:00
Shane Smiskol
77ecf515e5 clear stuck CAN messages before switching multiplexing (#1967)
* clear stuck CAN messages before switching multiplexing

* todo
2024-06-04 18:11:21 -07:00
Adeeb Shihadeh
e2c9a81c4f jungle: more robust CAN generation mode 2024-06-04 15:37:28 -07:00
dzid26
4df996cfd7 Cppcheck checklist bugfix (#1969)
* Fix cppcheck checklist diff

* cppcheck already has exitcode=2
2024-06-04 10:24:51 -07:00
dzid26
b6b8144523 misra mutations test - git diff error fix (#1964)
fix misra mutations - don't run git diff in temp folder
2024-06-03 22:31:53 -07:00
Adeeb Shihadeh
fec68d0409 jungle: add debug mode with generated CAN traffic (#1966) 2024-06-03 22:25:17 -07:00
commaci-public
59d5be937e pre-commit: autoupdate hooks (#1965)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-06-01 09:31:06 -07:00
dzid26
d401ba169c Enable misra-c2012-1.2 (#1962)
* misra-c2012-1.2 - allow __typeof__ compiler extension

* explicit c11
2024-05-30 22:13:47 -07:00
dzid26
588d4e0950 remove void return (#1963) 2024-05-30 14:21:42 -07:00
dzid26
9fdbb178c4 Generate cppcheck checkers list (#1960)
* cppcheck checkers list / coverage

* Update tests/misra/test_misra.sh

* Update tests/misra/test_misra.sh

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-05-29 19:42:40 -07:00
dzid26
85a9d519cd Readme: can send commands (#1959)
readme can_send
2024-05-29 19:41:01 -07:00
dzid26
6ff6733ba3 Cppcheck 2.14 (#1951)
* enable cppcheck 2.14

* cppcheck: Uninitialized variable

* cppcheck: variableScope

* cppcheck: misra-c2012-21.16
both arguments to memcmp() should be of compatible (matching) essential types

* cppcheck: misra-c2012-11.6
Avoid casting between pointer to void and an arithmetic type.
Refactor bootloader address casting for easier understanding.

* cppecheck 2.14.1
- force cppecheck tag fetch
2024-05-27 21:21:13 -07:00
dzid26
d37d25e057 Separate F4 and H7 includes (#1955)
* fix: stm32h7 doesn't have v8 core

* fix:  cm3 was depriciated
2024-05-26 13:12:25 -07:00
Adeeb Shihadeh
788f92a776 update dead misra link 2024-05-21 17:37:30 -07:00
Adeeb Shihadeh
cade0d5e75 SPI: add test endpoint for arbitrary lengths (#1949)
Co-authored-by: Comma Device <device@comma.ai>
2024-05-16 19:36:40 -07:00
Adeeb Shihadeh
2cf3b84c77 run pre-commit autoupdate monthly 2024-05-08 13:54:02 -07:00
Adeeb Shihadeh
e4f38ff49c Revert "only build tests if available"
This reverts commit 58479dcd0c.
2024-05-07 13:21:31 -07:00
Adeeb Shihadeh
58479dcd0c only build tests if available 2024-05-07 13:10:28 -07:00
Adeeb Shihadeh
2b70e283c1 tres: lower SOM reset timeout (#1945)
* tres: lower SOM reset timeout

* update test
2024-05-03 14:03:54 -07:00
commaci-public
3c4c1d95dc pre-commit: autoupdate hooks (#1943)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-04-30 10:42:54 -07:00
Adeeb Shihadeh
53e0f13739 update to ubuntu 24.04 (#1941)
* update to ubuntu 24.04

* Apply suggestions from code review

* Update .github/workflows/repo.yml

* Update test.yaml

* docker builds

* bump

* no pyenv

* ugh this should just be removed

* fix

* add release/

* no openpilot

* remove those too

* build in the docker

* cleanup

* need the addons
2024-04-28 15:32:18 -07:00
Jack Merrill
d4a01f7555 Increase Subaru RPM limit (#1937)
* feat: increase Subaru RPM limit

* test: Update tests for Subaru RPM increase
2024-04-25 13:56:25 -07:00
Adeeb Shihadeh
6f9e2c5159 show USB list + connector errors 2024-04-23 20:39:40 -07:00
commaci-public
58fc949f72 pre-commit: autoupdate hooks (#1939)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-04-23 08:07:33 -07:00
Justin Newberry
698d17e021 fix inconsistent misra mutation tests (#1935)
* revert

* fix
2024-04-22 10:28:53 -07:00
Justin Newberry
4d60ae9c62 CI: fix misra mutation tests (#1934)
* fix that

* skip build, install first

* Revert "skip build, install first"

This reverts commit 01efdb77ce3d834b55bbed1172ca83bb0103bfc8.

* prune
2024-04-18 17:59:33 -07:00
Shane Smiskol
edcd0fe4d4 IsoTpMessage: extend timeout on first frame response (#1933)
* extend on first frame too

* debug/checks

* fix able to go from single to first to single etc forever

* more clean up

* more clean up

* comments!
2024-04-17 23:23:50 -07:00
Adeeb Shihadeh
714642ec9a Remove WebUSB popup (#1932) 2024-04-17 10:15:40 -07:00
Adeeb Shihadeh
2eb8578196 pre-commit: autoupdate hooks (#1924)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-04-09 11:02:22 -07:00
Shane Smiskol
78f67d3526 pytest bugs are fixed (#1925)
* bugs fixed

* bump to uncache

* bump
2024-04-08 18:23:27 -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