Commit Graph

2922 Commits

Author SHA1 Message Date
Adeeb Shihadeh
2301c25dd2 cleanup panda connect (#2274)
* remove bcd

* fix jungle

* why fallback??

* cleanup
2025-09-10 10:23:58 -07:00
Adeeb Shihadeh
80d905b906 python/SPI: add optional single ioctl path (#2262)
* single ioctl

* debug

* fix import

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-09-04 13:50:50 -07:00
Adeeb Shihadeh
e13c3eb36d remove spi dfu spam test 2025-09-04 11:15:38 -07:00
Adeeb Shihadeh
937626d288 SPI: ensure slave is in a consistent state after failed transfer (#2268)
* SPI: ensure slave is in a consistent state after failed transfer

* respect timeout

* swap

* clean that up

* remove whitelist

* warning

* limit attempts

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-09-04 11:13:14 -07:00
Adeeb Shihadeh
5c1ff7bfa3 optimize CAN send over SPI (#2266)
* profiling

* lil faster

* chunking happens later

* little better

* prealloc is no bueno?

* cleanup

* fix usb tests

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-09-02 19:26:52 -07:00
Adeeb Shihadeh
819fa5854e flashing speeeed (#2264)
* less sectors

* why are we taking baby steps

* revert

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-08-31 16:47:03 -07:00
Adeeb Shihadeh
c1f0cfe223 jenkins: tmp disable bootkick tests
hardware needs to be fixed up
2025-08-31 16:45:14 -07:00
Adeeb Shihadeh
e5a39a2cef misc cleanup (#2261)
* cleanup

* fix jungle

* one more
2025-08-26 15:01:22 -07:00
Maxime Desroches
0ff8dc219b ci: stop power_monitor (#2260)
* ci: kick power_monitor

* kill
2025-08-26 13:29:44 -07:00
Adeeb Shihadeh
1ce986f75c bye bye f4 (#2259)
* bye bye f4

* lil more

* fix mac build

* update health idx
2025-08-26 12:37:36 -07:00
Robbe Derks
3dc2138623 Tie CAN0 and CAN2 enable lines together (#2257)
* OR can0/2 enable lines

* wrong panda

* not allowed
2025-08-19 18:02:44 +02:00
Adeeb Shihadeh
5b0f1a2eca Panda.list() optimization for comma three (#2255)
Co-authored-by: Comma Device <device@comma.ai>
2025-08-04 16:32:30 -07:00
Adeeb Shihadeh
c2723b2f6b CI: auto-update cppcheck weekly (#2253)
* CI: auto-update cppcheck weekly

* no push
2025-08-03 10:38:58 -07:00
Willem Melching
911def65ed Keep supporting White/Black pandas from Python side (#2252)
Support White/Black pandas from Python
2025-08-03 09:22:08 -07:00
Robbe Derks
3bb456fd9a ADC VDDA calibration (#2247)
* working adc calibration

* bit of cleanup

* cleanup more

* fix misra

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-07-31 17:50:26 +02:00
Maxime Desroches
e14b8691bf ci: swap bootkick device (#2250)
fix?
2025-07-30 21:40:43 -07:00
Adeeb Shihadeh
e13f3031c0 SPI: add NACK test endpoint (#2249)
Co-authored-by: Comma Device <device@comma.ai>
2025-07-30 20:32:46 -07:00
Adeeb Shihadeh
a0b52ed254 a few more spi error counts 2025-07-30 18:27:56 -07:00
Adeeb Shihadeh
1d9aa1beba SPI: spi_error_count is a better name (#2248)
SPI: rename spi_checksum_error_count -> spi_error_count
2025-07-30 18:20:18 -07:00
Robbe Derks
20dcba723d Generic ADC implementation (#2246)
* refactor panda side

* fix misra?

* use common ADC driver in jungle

* fix misra fr now

* fix oversampling

* default channel macro

* one more

* this makes more sense

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-07-30 17:18:30 +02:00
Robbe Derks
9a410b1ee5 Differential sound (#2220)
* drive negative pin with constant value

* flag

* Revert "flag"

This reverts commit e32fee7b277558bcf16f28c2d84b1b0c89ae0fb7.

* handle both

* good ol' misra

* complete

* complete

* default

---------

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-07-29 17:57:33 -07:00
Adeeb Shihadeh
b23c7aa38b opendbc updates (#2245)
* opendbc updates

* get latest opendbc in docker

* .
2025-07-29 14:16:20 -07:00
Adeeb Shihadeh
9c0be978d5 remove some old comments 2025-07-27 15:06:30 -07:00
Adeeb Shihadeh
ec22b46228 always use opendbc master (#2244) 2025-07-27 15:06:13 -07:00
Adeeb Shihadeh
ee32eb5240 fix external build 2025-07-21 18:31:27 -07:00
Adeeb Shihadeh
bc90c22e3b fix pwm.h indentation 2025-07-20 13:45:31 -07:00
Adeeb Shihadeh
805d2437e8 move bootstub define 2025-07-20 11:37:37 -07:00
Adeeb Shihadeh
7c97ab5f35 cleanup build (#2234)
* cleanup bootstub build

* cleanup rest of build

* less files

* all in same obj

* oops

* lil more
2025-07-20 11:29:58 -07:00
Adeeb Shihadeh
ca603115cb Include from project root (#2232)
* fix include paths

* cleanup
2025-07-19 21:58:58 -07:00
Adeeb Shihadeh
5ac6305a95 quick garbage collection pass (#2231)
* remove DPANDA

* -22

* lil more

* canfd

* lil more

* update cppcheck

* uart cleanup

* always harness

* sbu sense

* lil more

* enable spi

* rm ENABLE_SPI
2025-07-19 21:05:12 -07:00
Adeeb Shihadeh
edd4146635 simplify HITL tests (#2229)
* lil fixups

* revert that for now

* no n0

* also 1.8V

* global
2025-07-19 16:13:51 -07:00
Adeeb Shihadeh
76bd9e93d7 make jenkins green again (#2230)
* just make it green

* fix resetter

* fix perms

* better caching

* just copy

* simplify more

* fix that up

* nope
2025-07-19 15:49:41 -07:00
Adeeb Shihadeh
d9a1bbe131 gitignore compile_commands.json 2025-07-19 10:22:04 -07:00
Adeeb Shihadeh
b10c4bb015 Deprecate jungle v1 (#2228)
jungle: deprecate v1 board
2025-07-19 10:19:40 -07:00
Adeeb Shihadeh
3d27233530 Deprecate white and black pandas (#2227)
* deprecate white and black pandas

* static
2025-07-19 09:55:12 -07:00
DevTekVE
f849893bdc Add support for generating clang compilation database by default (#2225)
compilation db by default
2025-07-03 10:07:12 -07:00
Adeeb Shihadeh
1020d35558 Deprecate uno + grey (#2223)
* Deprecate uno + grey

* lil more
2025-06-06 11:36:21 -07:00
Maxime Desroches
e462c34d3d endpoint to set TIM1 period and channel pulse length (#2222)
works
2025-06-03 18:37:28 -07:00
Adeeb Shihadeh
c19692245c no more pylint 2025-06-01 13:53:42 -07:00
Robbe Derks
4f227f88c8 PWM-ing LED (#2221)
* PWMing LED

* consistency

* fix in bootstub

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-05-28 15:40:46 +02:00
Maxime Desroches
b4bb4e8519 cuatro: test in CI (#2218)
hitl
2025-05-27 13:04:48 -07:00
Comma Device
56f9dbfaa6 Revert "sound-new-rev"
This reverts commit 6c98179b06.
2025-05-27 11:31:47 +00:00
Comma Device
6c98179b06 sound-new-rev 2025-05-27 11:31:00 +00:00
Robbe Derks
c0cc78db2c enable amp on that pin too (#2219)
Co-authored-by: Comma Device <device@comma.ai>
2025-05-27 13:24:32 +02:00
Adeeb Shihadeh
5e136bad1d add macOS to CI (#2217)
* add macOS to CI

* cleanup

* debug

* cmt

* can't wait for ty
2025-05-25 10:10:20 -07:00
Adeeb Shihadeh
b9ea95be47 setup.sh: no homebrew autoupdate 2025-05-25 09:40:00 -07:00
Maxime Desroches
d75699e6ab initialize DAC with silent value (#2215)
silence
2025-05-20 16:36:10 -07:00
Adeeb Shihadeh
871f065e97 no more socketcan 2025-05-20 10:22:51 -07:00
Adeeb Shihadeh
4fc243b998 CI: speed up MISRA mutation job (#2213)
* CI: speed up MISRA mutation job

* install first
2025-05-20 10:18:47 -07:00
Adeeb Shihadeh
cb11a40852 test.sh: the master test script (#2210)
* init test.sh

* good riddance

* docs

* curl

* source

* or

* skip that one

* passes

* clean up

* no pythonpath

* rm that
2025-05-19 21:19:41 -07:00