Commit Graph

2761 Commits

Author SHA1 Message Date
Radek
38cab7d501 Add multiple pandas selector (#2015)
* multiple Panda cli helper

* Don't flash all pandas by default. Use --all arg to flash all.
2024-09-24 16:37:23 -07:00
Maxime Desroches
2037a2ead7 Fix openpilot build (#2039)
* static

* test

* revert
2024-09-24 11:59:17 -07:00
Maxime Desroches
afafb0ba46 test misra 8.7 and 8.4 (#2035)
check
2024-09-20 19:38:45 -07:00
Maxime Desroches
209f7ab09f misra8.4: safety.h + safety_declarations.h (#2022)
* safety

* static!

* ALLOW_DEBUG

* fix

* fix 12.3

* remove comment

* no debug

* move stuff to debug

* only usage

* cleanup

* canfd hyundai

* no include for now

* indent

* comment for ford suppression

* also gm

* remove suppression

* only safety headers

* cleanup
2024-09-20 19:25:37 -07:00
Maxime Desroches
ac9c1b3b3f misra8.7 (#2033)
* 8_7

* fix test
2024-09-20 15:51:27 -07:00
Maxime Desroches
144846e4ce misra2.5: safety modes + stm32* (#2032)
partial
2024-09-20 15:14:44 -07:00
Maxime Desroches
022d1c69a1 misra8.4: board/drivers (#2025)
* drivers

* cleanup bootkick

* bxcan cleanup

* fan cleanup

* harness cleanup

* interrupts cleanup

* registers cleanup

* simple_watchdog cleanup

* spi cleanup

* h7 drivers

* no include for now

* conflict

* reduce scope

* cleanup
2024-09-20 14:30:45 -07:00
Maxime Desroches
32eecd7211 misra8.4: board/*.h (#2026)
* main

* can_comms

* main_declarations->main_definitions

* rename this also

* can_definitions

* faults

* power_saving

* provision

* gitversion

* not included

* no include for now
2024-09-19 21:15:08 -07:00
Maxime Desroches
df5db3fdb5 misra8.7: board/stm32* (#2031)
partial
2024-09-19 19:20:13 -07:00
Maxime Desroches
a2d0b87d4e misra8.4: board/stm32* (#2027)
* f4

* h7

* no include for now
2024-09-19 15:20:57 -07:00
Maxime Desroches
ed831773ea misra21.15 (#2030)
* cast

* remove suppression

* make it more explicit
2024-09-19 10:35:11 -07:00
Maxime Desroches
ae8ef1f71a misra8.4: safety modes (#2029)
safety mode
2024-09-19 10:30:57 -07:00
Maxime Desroches
ceb088ac4e misra12.2 (#2028)
* 12.2

* remove supression

* new stm
2024-09-18 11:33:12 -07:00
Maxime Desroches
93aedd987b misra8.4: board/boards (#2021)
* boards

* revert

* includes
2024-09-16 14:07:21 -07:00
Willem Melching
2526d1ee4b UDS: Fix Write Data by Address (#2023) 2024-09-16 06:56:28 -07:00
Radek
8545c68e4d Fix USB errors (#2011)
Fix LIBUSB_ERROR_PIPE [-9] when resetting over USB hubs or jungle V2
2024-09-13 15:12:35 -07:00
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