Commit Graph

2887 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh
2e924c759c speeeedy ci (#2209)
* speeeedy ci

* disable for now

* rm

* cppcheck cache

* simple docker

* one more

* needs to get to 1m...

* one more

* needs time to build

* libusb
2025-05-19 20:20:06 -07:00
Adeeb Shihadeh
92c26f71e6 remove dead mull stuff (#2208)
* remove dead mull stuff

* rm clang

* fix
2025-05-19 19:40:50 -07:00
Adeeb Shihadeh
d7e5f8560f Move setup to pyproject (#2207)
* migrate packaging to pyproject

* fix

* mv

* lil more
2025-05-19 19:24:49 -07:00
Adeeb Shihadeh
2f47af4b2e reorg (#2206)
* reorg

* one less config file

* lil more

* lil more
2025-05-19 19:02:59 -07:00
Adeeb Shihadeh
20c80e3929 Update GitHub Actions actions versions (#2204)
* chore: update GitHub action versions

* pin that

* Apply suggestions from code review
2025-05-19 18:49:25 -07:00
Adeeb Shihadeh
471a455789 remove socketcan ci job 2025-05-18 09:06:35 -07:00
Adeeb Shihadeh
3047062222 rm linux driver 2025-05-18 09:03:44 -07:00
commaci-public
2746a95176 pre-commit: autoupdate hooks (#2178)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2025-05-18 08:53:28 -07:00
Adeeb Shihadeh
2742c2d155 setup script (#2201)
* setup script

* update readme
2025-05-17 19:46:23 -07:00
Adeeb Shihadeh
8bd83750c2 setup opendbc dependency properly (#2202)
* rm that

* bump

* lil more

* update

* fix libpanda

* update

* fix misra

* python3?

* update ref

* fix mutation
2025-05-17 19:15:19 -07:00
Shane Smiskol
db50523a45 Fix safety flag rename (#2198)
fix
2025-05-14 14:23:03 -07:00
Trey Moen
6adac802b5 fix(macos): macOS 15 and greater (#2196)
* fix macos

* Revert "fix macos"

This reverts commit f52d30c97c43c1d66e5447b194d6e2f599c81187.

* use gcc on < macOS 15

* link to issue
2025-05-13 10:27:00 -07:00
Robbe Derks
7eb5dba3dc Fix register errors (#2197)
* fix some errors

* forgot this

* turns out this didn't work and makes it too quiet when it does

* this also dynamically changes

* this is the interrupt timer itself
2025-05-13 13:01:50 +02:00
Shane Smiskol
b4773f96b3 ignition: suffix counters (#2194)
suffix counters
2025-04-25 13:44:30 -07:00
Aubrey Wahl
0af9744ede Add guards around platform-specific code (#2189)
* guard platform specific code

* more simple

* less dumb guard

* stragglers

* blankspace

* blankspace2

* crc.h

* keep condition

* good call

* consistency

* another one

---------

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
2025-04-17 15:24:59 +02:00
aubsw
de677241ed Delete unused watchdog, lldac, uart_rx_ring (#2188)
* delete unused code!

* watchdog init delete

* delete watchdog.h
2025-04-15 11:14:08 +02:00
Shane Smiskol
d319ea2bba CAN ignition: fix unscoped prev counter (#2191)
scoped prev_counter
2025-04-14 21:06:01 -07:00
Robbe Derks
0dc95a89dd Cuatro: changes for new board rev (#2176)
changes for new board rev

Co-authored-by: Comma Device <device@comma.ai>
2025-04-10 15:55:54 -07:00
Robbe Derks
b14c47eb79 Cleanup common and useless debug logs (#2183)
* cleanup common logs

* cleanup puth2
2025-04-09 16:09:19 +02:00
Robbe Derks
165dd6614e 1min is a bit tight 2025-04-09 16:00:28 +02:00
Robbe Derks
a2d8ad9486 Log divergent registers once (#2182)
log divergent reg
2025-04-09 15:21:46 +02:00
Robbe Derks
8a583aaa8c Fan controller: fix instability on high rpm fans (#2179)
* integrator error relative to max rpm

* need to cast
2025-04-02 12:15:35 +02:00
Robbe Derks
97e91d6fee Fan controller fixes (#2177)
Fix overflow and clamp integral
2025-03-27 12:29:41 +01:00
Adeeb Shihadeh
f93c5a7629 disable that for now 2025-03-22 15:06:04 -07:00
Robbe Derks
998ac9d5d8 Init cleanup: global LED driver (#2170)
* wip

* fix init

* fix libpanda

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-03-14 18:01:45 +01:00
Robbe Derks
e3e5787650 Refactor and cleanup board init (part 1) (#2094)
* refactor out red chiplet

* global can mode set

* global led disable

* this is already done globally

* global harness init

* global spi gpio init

* init OBD_SBUx_RELAY pins in harness init

* this is already done in harness init

* global set_can_mode

* fix SWD on F4

* no more has_obd

* global enable_transceivers

* Revert "global set_can_mode"

This reverts commit 09e19c3e0c29aa69dbd5c3bb361e38f53c28f757.

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-03-12 17:26:07 +01:00
Robbe Derks
1d5b89956b More sound fixes (#2169)
* always pick the next playback buf and wait until we've finished playing this one

* misra fix

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-03-06 17:25:27 +01:00
Shane Smiskol
3bf1f8e871 Rivian: properly parse ignition signal
3 isn't defined, but you never know (2 is shutting down)
2025-03-04 15:32:29 -08:00
Shane Smiskol
728b13b9e7 ignition: add Rivian comment 2025-03-04 15:28:28 -08:00
Jason Young
154b66782d Update udev rules in README (#2159) 2025-03-02 09:24:43 -08:00
Adeeb Shihadeh
2e654a0840 Lower fan setting on boot (#2119)
* Lower fan setting on boot

* fix build
2025-03-02 09:24:16 -08:00
commaci-public
d8d3ab6c3e pre-commit: autoupdate hooks (#2071)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2025-03-01 10:32:32 -08:00
Dean Lee
2c802449fd add set_alternative_experience method to Panda class (#2168) 2025-02-27 11:13:43 -08:00
Shane Smiskol
25591f1b3a Move safety replay to opendbc (#2167)
move to opendbc
2025-02-26 23:31:41 -08:00
Shane Smiskol
d8fb6f3ca4 safety replay: use lr.first() 2025-02-26 23:27:10 -08:00