Commit Graph

498 Commits

Author SHA1 Message Date
infiniteCable2
2f19842ac0 Merge branch 'master' of https://github.com/sunnypilot/panda 2026-02-12 19:20:25 +01:00
Jason Wen
78f0a7cc37 Merge branch 'upstream/panda/master' into sync-20260211 2026-02-11 18:00:50 -05:00
Adeeb Shihadeh
b99d796924 Revert "remove mcu_type (#2324)"
This reverts commit 8922b48a30.
2026-02-10 20:31:44 -08:00
Andi Radulescu
fbd4f60d82 fix usb connect on macos (#2326)
fix claim on macos
2026-02-09 12:53:35 -08:00
Andi Radulescu
8922b48a30 remove mcu_type (#2324)
* remove mcu_type from Panda, it's redundant since all supported devices are H7

* revert disable automatic CAN-FD switching H7 check

* revert original can no longer be flashed error

* assert, assert, assert

* normal reset is fine
2026-02-09 09:36:32 -08:00
infiniteCable2
e07abd4ea8 Merge branch 'master' of https://github.com/sunnypilot/panda 2026-01-25 11:55:34 +01: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
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
infiniteCable2
3214b53a75 Merge branch 'master' of https://github.com/sunnypilot/panda 2025-12-13 12:13:49 +01:00
Jason Wen
4cc222c634 Merge branch 'upstream/panda/master' into sync-20251213
# Conflicts:
#	python/__init__.py
2025-12-13 01:00:11 -05: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
infiniteCable2
f76da9eeec Merge branch 'master' of https://github.com/sunnypilot/panda 2025-11-16 13:54:29 +01:00
Jason Wen
5dc009be50 Merge branch 'upstream/panda/master' into sync-20251114 2025-11-16 02:40:37 -05: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
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
7973ba4492 CAN driver cleanup (#2276)
* it's all the same thing

* not live

* less macro

* lil more

* bool

* lil more
2025-09-10 20:00:41 -07:00
Adeeb Shihadeh
2301c25dd2 cleanup panda connect (#2274)
* remove bcd

* fix jungle

* why fallback??

* cleanup
2025-09-10 10:23:58 -07:00
Jason Wen
39517742e6 Merge branch 'upstream/panda/master' into sync-20250908
# Conflicts:
#	python/__init__.py
2025-09-08 00:31:55 -04: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
e5a39a2cef misc cleanup (#2261)
* cleanup

* fix jungle

* one more
2025-08-26 15:01:22 -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
infiniteCable2
14588e9129 Merge branch 'master' of https://github.com/sunnypilot/panda 2025-08-11 16:12:47 +02:00
Jason Wen
0e7a3fd8cf Revert deprecated pandas from Python side (#92)
* Revert deprecated pandas from Python side

* lint pls

* aight
2025-08-09 23:07:41 -04:00
Jason Wen
f0b55e25c8 Merge branch 'upstream/panda/master' into sync-20250809 2025-08-09 17:00:44 -04:00
Jason Wen
4ca0e4f485 Revert "Allow skipping flash and firmware checks if deprecated panda is detec…" (#90)
This reverts commit ba4774c103.
2025-08-09 00:45:40 -04: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
Jason Wen
ba4774c103 Allow skipping flash and firmware checks if deprecated panda is detected (#89)
* flash: skip if deprecated panda is detected

* fix
2025-08-04 00:40:40 -04:00
infiniteCable2
43145c98bf Merge branch 'master' of https://github.com/sunnypilot/panda into master-new 2025-08-03 19:12:14 +02: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
Jason Wen
2f42800648 Merge branch 'upstream/panda/master' into sync-20250731
# Conflicts:
#	pyproject.toml
#	python/__init__.py
2025-07-31 21:28:55 -04:00
Adeeb Shihadeh
a0b52ed254 a few more spi error counts 2025-07-30 18:27:56 -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
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
infiniteCable2
8cd3cfbab4 Merge branch 'master-new' of https://github.com/sunnypilot/panda into master-new 2025-06-06 19:39:59 +02:00
Jason Wen
c52400dacd Merge branch 'upstream/panda/master' into sync-20250605 2025-06-05 21:43:36 -04:00