Commit Graph

3068 Commits

Author SHA1 Message Date
infiniteCable2
4d9ed8dcd7 Merge branch 'master' of https://github.com/sunnypilot/panda 2026-02-04 19:25:07 +01:00
Jason Wen
ed8a6f9ec2 Sync: commaai/panda:mastersunnypilot/panda:master 2026-02-01 23:26:20 -05:00
Jason Wen
df68da1a72 Merge branch 'upstream/panda/master' into sync-20260201 2026-02-01 21:50:00 -05:00
infiniteCable2
e07abd4ea8 Merge branch 'master' of https://github.com/sunnypilot/panda 2026-01-25 11:55:34 +01:00
Robbe Derks
81615ad9d5 Align delay and compensate (#2318)
* align delay and compensate

* empty
2026-01-22 13:46:26 +01:00
Jason Wen
f9cdec7f7b Sync: commaai/panda:mastersunnypilot/panda:master 2026-01-19 23:31:40 -05:00
Jason Wen
94c60823a4 Revert "it's just unsupported"
This reverts commit 7db3785389.
2026-01-19 21:21:00 -05:00
Jason Wen
9542b19a40 Merge branch 'upstream/panda/master' into sync-20260111 2026-01-19 20:25:56 -05:00
Robbe Derks
3dd38b76b4 Build everything before jungle recover (#2316)
* make sure everything is built, including the bootloader

* also for flash
2026-01-14 17:49:43 +01:00
Adeeb Shihadeh
ce1b6a67e4 fix up fan HITL test (#2317)
* fix up fan HITL test

* cleanup

* times two

* even simpler

* append

* one more...

* speed it up now

* oops
2026-01-12 15:59:49 -08:00
downquark7
e42367df97 Adjust gitversion handling to include null terminator in length calculations. (#2309)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-12-28 12:53:02 -08:00
Adeeb Shihadeh
e5074a6855 lil more 2025-12-20 14:21:25 -08:00
Adeeb Shihadeh
d72c8b4e8e CI: use tags for cppcheck update
cppcheck doesn't always create a release for each tag
2025-12-20 14:19:09 -08:00
infiniteCable2
3214b53a75 Merge branch 'master' of https://github.com/sunnypilot/panda 2025-12-13 12:13:49 +01:00
Jason Wen
5f3c09c910 Sync: commaai/panda:mastersunnypilot/panda:master 2025-12-13 01:19:07 -05:00
Jason Wen
4cc222c634 Merge branch 'upstream/panda/master' into sync-20251213
# Conflicts:
#	python/__init__.py
2025-12-13 01:00:11 -05:00
Jason Young
f373c69bbb garbage collect always-true condition check (#2305)
garbage collect dead code
2025-12-10 13:00:20 -08:00
Robbe Derks
5b3ada1e07 cleanup fan scripts 2025-12-08 14:00:46 +01:00
Adeeb Shihadeh
7db3785389 it's just unsupported 2025-12-05 15:03:36 -08:00
Robbe Derks
1ffad74f88 Revert mcu_type changes (#2303)
* Revert "Fix mcu_type for deprecated pandas (#2296)"

This reverts commit 6c9064c4cf.

* Revert "Fix mcu_type in jungle (#2300)"

This reverts commit 1e8fa512ca.
2025-12-05 23:06:56 +01:00
Robbe Derks
cb4d295f76 fix size check 2025-12-05 22:09:33 +01:00
infiniteCable2
5bd386f4ff fix vw meb ignition 2025-11-16 14:02:42 +01:00
infiniteCable2
f76da9eeec Merge branch 'master' of https://github.com/sunnypilot/panda 2025-11-16 13:54:29 +01:00
Jason Wen
dee9061b2a Sync: commaai/panda:master into sunnypilot/panda:master (#99) 2025-11-16 02:45:16 -05:00
Jason Wen
5dc009be50 Merge branch 'upstream/panda/master' into sync-20251114 2025-11-16 02:40:37 -05:00
Igor Biletski
1c44035563 add double buffer for microphone (#2299)
* add double buffer for microphone

* comment
2025-11-03 15:56:42 -08:00
Igor Biletski
e724032378 Cuatro siren (#2294)
* Fix siren

* fix MISRA

* remove MISRA suppression

* disable amp

* fix rebase mistake

* fix fault

* diff audio

* misra

---------

Co-authored-by: Comma Device <device@comma.ai>
2025-11-03 15:28:35 -08:00
Robbe Derks
1e8fa512ca Fix mcu_type in jungle (#2300)
should fix jungle
2025-10-30 15:20:46 +01:00
Igor Biletski
ea5dceea22 skip 1024 samples to settle, around 22ms (#2295)
* skip 1024 samples to settle, around 22ms

* smaller diff
2025-10-29 15:28:32 -04:00
Willem Melching
6c9064c4cf Fix mcu_type for deprecated pandas (#2296) 2025-10-29 11:34:02 +01:00
Willem Melching
25cb58ba61 SocketPanda improvements (#2297)
* SocketPanda improvements

* implement timeouts
2025-10-29 11:29:18 +01:00
Jason Huang
515ac45fc0 Add comma body firmware (#2291)
* motors

* can

* cleanup unused stuff

* initial clean

* more clean

* remove integral and derivative clamps, revert pwm driver to original

* remove integral and derivative clamps, revert pwm driver to original

* remove integral and derivative clamps, revert pwm driver to original

* dont need this for now

* clean

* fix can rx and can version error

* ignore body for misra mutation test

* fix bus recovery, remove body rx hook
2025-10-24 17:14:39 -07:00
Adeeb Shihadeh
f034faf0f1 spi debug (#2292)
Co-authored-by: Comma Device <device@comma.ai>
2025-10-17 19:25:25 -07:00
Adeeb Shihadeh
16f17ae0a1 fix infinite serial read (#2290) 2025-10-05 13:57:58 -07:00
Adeeb Shihadeh
d9f856be70 Remove spidev2 support from SPI implementation (#2287)
* Remove spidev2 support from SPI implementation

Removed support for spidev2 and related transfer methods.

* Remove spidev2 from dependencies

Remove spidev2 dependency for Linux platform.
2025-10-04 17:54:00 -07:00
Maxime Desroches
615009cf0f Differential sound (#2284)
real
2025-09-30 14:13:39 -07:00
Shane Smiskol
f278f31f8f Update LED_PWM_POWER definition (#2283)
Changed LED_PWM_POWER value from 5 to 2.
2025-09-28 23:51:00 -07:00
Adeeb Shihadeh
6807d7d58e add --upgrade to uv sync (#2282) 2025-09-28 13:42:49 -07:00
Adeeb Shihadeh
48c776a3df use CANPacket definition from opendbc 2025-09-28 13:37:35 -07:00
Adeeb Shihadeh
2e691e3e62 safety: move relay fault management (#2281)
* safety: move relay fault management

* set it
2025-09-27 15:58:04 -07:00
Maxime Desroches
f6a06e34f2 ci: re-enable all HITL tests (#2280)
fan
2025-09-24 19:34:53 -07:00
Adeeb Shihadeh
5ee618e2f1 spi: let err count overflow (#2279) 2025-09-23 18:03:05 -07:00
Adeeb Shihadeh
1289337ceb Reset CANFD auto-detection on CAN init (#2271)
* Reset CANFD auto-detection on CAN init

* 4u

* simpler, 4th is fake
2025-09-15 09:07:25 -07:00
infiniteCable2
df8221737a Merge branch 'master' of https://github.com/sunnypilot/panda 2025-09-15 16:48:56 +02:00
Jason Wen
69ab12ee2a panda: fix upstream merge conflicts (#97) 2025-09-14 23:39:26 -04:00
infiniteCable2
2a70b09fb9 Merge branch 'master' of https://github.com/sunnypilot/panda 2025-09-14 16:55:57 +02:00
probablyanasian
a2064b86f3 Change fan to use pure pwm (#2267)
* set cuatro fan settings

* set cuatro to use pure pwm

* use pwm on all boards

* remove fan max rpm configs, use pure pwm

* add comment about cooldown

* change max rpm in python side

* remove reference to max_fan_pwm in fan.h

* fully refactor fan configs into "has_fan"

* increase limits on fan test to 15% either way

* only tres for now

* doesn't matter

* not relevant anymore

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-09-13 11:09:51 -07:00
Adeeb Shihadeh
d555c102bb gate spi2 2025-09-12 20:07:00 -07:00
Adeeb Shihadeh
708ac34755 fix build with different root 2025-09-12 19:51:59 -07:00
Jason Wen
7c393d1cd5 Sync: commaai/panda:master into sunnypilot/panda:master 2025-09-12 11:57:57 -04:00