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
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
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 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
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
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
probablyanasian
a0a30f3fad
Change PWM to 25kHz ( #2277 )
2025-09-11 20:07:21 -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
a7f31bdbcc
jenkins: use git commit to bust cache ( #2273 )
2025-09-10 10:28:49 -07:00
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