Commit Graph

2795 Commits

Author SHA1 Message Date
Maxime Desroches b8a2a8678f
fix python setup (#2018)
* fix

* comment
2024-09-10 21:49:03 -07:00
dzid26 fcccbb3a13 revert shorter MISRA mutation CI timeout
- test_misra.sh only got faster locally
2024-09-07 19:57:19 -07:00
Radek 2aaab40117
fix test_mutation.py performace (#2012)
stop pytest from executing test_misra.sh in test collections
- in each test_mutation.py worker
2024-09-06 13:30:05 -07:00
dzid26 6f0d1efbd9 stricter misra config check - prevent quiet bail out 2024-09-05 21:49:30 -07:00
Greg Hogan 93776fd5bf
CCP: fix upload response size and getting seed (#2009) 2024-09-03 20:42:12 -07:00
commaci-public aac60b8a79
pre-commit: autoupdate hooks (#2010)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-09-01 09:51:30 -07:00
Adeeb Shihadeh 9ec02e74f5 socketcan: skip install in CI for now 2024-08-31 13:17:55 -07:00
Adeeb Shihadeh 160ea08e8f
misra: bump to cppcheck 2.15.0 (#2008)
* misra: bump to latest cppcheck

* update checkers
2024-08-31 13:09:58 -07:00
MarinkoMagla a36ca220fa
Defining types in return dictionaries (#1923)
* Defining types in return dictionaries

* Correcting indent

* Returning the class instead of dict

* Fixing failing linter

* Fixing whitespace error
2024-08-31 13:01:28 -07:00
Robbe Derks bd6cec3b29
cuatro LED (#2005)
* Revert "cuatro: disable LED for now"

This reverts commit 866bd9c3bc.

* re-enable and make sure to use open-drain

* use gpio function

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-08-30 15:35:50 +02:00
Shane Smiskol 8587ae3fc0
drivers: log can core reset when switching multiplexing (#1972)
fdcan: log lost tx messages when resetting can core for multiplexing
2024-08-26 17:56:46 -07:00
Andrei Radulescu 0a0912234e
update bash scripts to #!/usr/bin/env bash (#1987)
* update bash shebang for better compatibility including macOS

* can't have anything after #bash
2024-08-26 17:25:15 -07:00
dzid26 2b94e4fef7
Enable CAN3 printer (#1991)
* panda has 3 can peripherals

* enable printing CAN3
2024-08-26 17:15:29 -07:00
Adeeb Shihadeh 866bd9c3bc cuatro: disable LED for now 2024-08-23 20:41:53 -07:00
Comma Device 30d0434380 cuatro: disable SOM reset 2024-08-23 04:57:34 +00:00
Adeeb Shihadeh e53c8025a0
tres: fix SOM reset line blinking (#2003)
Co-authored-by: Comma Device <device@comma.ai>
2024-08-22 21:55:02 -07:00
Robbe Derks 080e53f04d
Cuatro fan (#1999)
* cuatro fan debugging

* fix

* faster fan, faster interrupts

* fix comment

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-08-18 17:43:27 -07:00
Adeeb Shihadeh cfa8b796f7
cleanup dependencies (#2001)
* cleanup dependencies

* in the real spot

* fix jenkins
2024-08-18 12:01:17 -07:00
Adeeb Shihadeh c4e75ee89c
remove cereal dependence (#2000)
* remove cereal

* rm more shit

* add back make

* python3

* python3

* fix that

* put that back

* rename

* fix that

* can't move it
2024-08-18 11:40:54 -07:00
Shane Smiskol e7a04b54b0
make uds and isotp general imports (#1998) 2024-08-16 23:01:54 -07:00
Robbe Derks 0234e756e3
STM32H7: add missing interrupt handlers (#1997)
add missing interrupts

Co-authored-by: Comma Device <device@comma.ai>
2024-08-15 21:33:07 -07:00
geeth345 87572e0b75
Update README.md to fix dead link (#1996)
Changed C++ library link to reflect boardd -> pandad change
2024-08-13 10:34:46 -07:00
Shane Smiskol 1cbcc13c35
use and configure custom logger (#1994)
* prepare to log logs

* utils

* discoverability

* forgot
2024-08-05 14:51:56 -07:00
commaci-public 3c1def1cc5
pre-commit: autoupdate hooks (#1979)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2024-08-02 15:51:37 -07:00
Adeeb Shihadeh 5d815231ea
1min is all you need 2024-08-02 13:52:28 -07:00
Robbe Derks b70ba5ecde
Detect H723 in firmware (#1988)
* determine H723 based on package type

* wrong way round

* misra...

* enable SYSCFG clock before reading

* whitelist certain package types
2024-08-02 11:26:16 -07:00
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