Commit Graph

3061 Commits

Author SHA1 Message Date
Jason Wen
2b9ee96761 Merge branch 'upstream/panda/master' into sync-20260225
# Conflicts:
#	board/drivers/registers_declarations.h
#	board/drivers/uart_declarations.h
#	python/__init__.py
2026-02-25 04:25:37 -05:00
Jason Wen
72ae845b57 Revert "Reapply "it's just unsupported""
This reverts commit 680c8f4618.
2026-02-25 02:47:08 -05:00
Jason Wen
680c8f4618 Reapply "it's just unsupported"
This reverts commit 94c60823a4.
2026-02-25 02:41:38 -05:00
Adeeb Shihadeh
49f72e931f vendor the compiler toolchain (#2342) 2026-02-22 16:21:40 -08:00
Adeeb Shihadeh
12cd48f88e sync device time before git checkout in CI (#2344) 2026-02-22 10:56:08 -08:00
Adeeb Shihadeh
a9926fd3df Remove python3 and gcc@13 installation for macOS (#2343) 2026-02-22 10:29:42 -08:00
Daniel Koepping
e1da7dc918 Reduce panda power usage (#2340)
* add bootkick for ship mode

* boot standby

* comment

* stop mode

* fix som status

* exti wakeup

* all standby

* clean

* analog mode

* adc

* clean

* HSI

* stop only cuatro

* comments

* UM2331

* rm

* comment

* enforce SAFETY_SILENT

* clean

* misra

* rm

* disable pulls

* assert

* Revert "disable pulls"

This reverts commit 3b954b929a5f864279d52e28a01768ca22962810.

* pull note

* add stop mode USB cmd

* add stop mode to HITL

* fix

* async stop mode request

* test all harness/ign configs

* more time

* use uptime

* print debug

* unstuck

* show prints

* more

* logger

* loglevel

* log

* uptime test

* tighter timing

* print wakeout source

* rm debug

* clean

* robust

* add CAN2

* test more cans

* clean

* more

* longer

* multiple

* more

* can1

* reorder

* normal

* clean

* partial

* clean

* test

* time

* delay

* reset

* setup

* reset

* revert

* silent

* fix ordering

* no random

* warnings

* err

* timings

* heartbeat

* time

* faster

* can1

* simpler

* test 20x

* put back random

* clean

* comment

* jenkinsfile

* final
2026-02-19 14:14:28 -08:00
Robbe Derks
3a85a83703 No more VBAT_EN (#2339)
this pin is not connected anymore
2026-02-16 17:52:44 +01:00
Daniel Koepping
a09005c77e Bootkick ship mode (#2330)
* add bootkick for ship mode

* boot standby

* comment
2026-02-16 17:50:55 +01:00
Adeeb Shihadeh
b1191df619 cleanup unused defines in drivers.h (#2336) 2026-02-15 17:02:00 -08:00
Adeeb Shihadeh
1762377f25 Move system stuff to sys/ (#2337)
* Move system stuff to sys/

* move power saving

* clean up
2026-02-15 17:01:09 -08:00
Adeeb Shihadeh
ad377ced81 single header for all drivers (#2335)
* drivers.h, claude's try

* include from root

* fix mac

* organize a lil more
2026-02-15 16:33:58 -08:00
Willem Melching
46e02cc5b0 windows: fix fcntl import (#2329)
* windows: fix fcntl import

* fix indentation

* add windows ci

* make sure CI catches import error

* Revert "make sure CI catches import error"

This reverts commit b18043ac767f64dd544582931b7b0d29c4c478f3.
2026-02-15 11:18:42 -08:00
Adeeb Shihadeh
0ef2c72974 improve HITL robustness (#2333) 2026-02-15 11:18:20 -08:00
Willem Melching
24fe11466d update pyproject.toml: include panda.python and panda.board (#2328) 2026-02-12 11:40:50 -08:00
Jason Wen
a95e060e85 Sync: commaai/panda:mastersunnypilot/panda:master 2026-02-11 18:37:05 -05:00
Jason Wen
78f0a7cc37 Merge branch 'upstream/panda/master' into sync-20260211 2026-02-11 18:00:50 -05:00
Andi Radulescu
1e3a52bf3a remove mcu_type (#2327)
* 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

* remove assert from recover
2026-02-11 09:37:14 -08: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
Adeeb Shihadeh
259645f427 Revert "[bot] Update cppcheck to 2.19.1 (#2254)"
This reverts commit ae769db8b6.
2026-02-04 12:50:32 -08:00
commaci-public
ae769db8b6 [bot] Update cppcheck to 2.19.1 (#2254)
* [bot] Update cppcheck to 2.19.1

* update coverage table

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2026-02-02 07:37:23 -08: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
Adeeb Shihadeh
759f40f5cf rm -rf drivers/spi/; kernel driver isn't needed 2026-02-01 18:44:45 -08: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
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
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