Skip to content

Fix siren#2294

Merged
robbederks merged 8 commits intomasterfrom
fix_siren
Nov 3, 2025
Merged

Fix siren#2294
robbederks merged 8 commits intomasterfrom
fix_siren

Conversation

@briskspirit
Copy link
Copy Markdown
Contributor

No description provided.

@adeebshihadeh
Copy link
Copy Markdown
Contributor

adeebshihadeh commented Oct 26, 2025

What happens to anything streamed over I2S? Does this properly ignore it and play the siren?

@briskspirit
Copy link
Copy Markdown
Contributor Author

What happens to anything streamed over I2S? Does this properly ignore it and play the siren?

Yes, siren has higher priority, normal audio gets interrupted

@robbederks
Copy link
Copy Markdown
Contributor

This still has the "clicking" issue when the sine gets turned off, because the DMA isn't disabled at the start/end of a buffer. Can be resolved in a future PR

@robbederks robbederks merged commit e724032 into master Nov 3, 2025
5 of 6 checks passed
@robbederks robbederks deleted the fix_siren branch November 3, 2025 23:28
heysenbug pushed a commit to Ever-Cars/panda that referenced this pull request Feb 15, 2026
* 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>
heysenbug added a commit to Ever-Cars/panda that referenced this pull request Feb 15, 2026
* spi debug (commaai#2292)

Co-authored-by: Comma Device <device@comma.ai>

* Add comma body firmware (commaai#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

* SocketPanda improvements (commaai#2297)

* SocketPanda improvements

* implement timeouts

* Fix mcu_type for deprecated pandas (commaai#2296)

* skip 1024 samples to settle, around 22ms (commaai#2295)

* skip 1024 samples to settle, around 22ms

* smaller diff

* Fix mcu_type in jungle (commaai#2300)

should fix jungle

* Cuatro siren (commaai#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>

* add double buffer for microphone (commaai#2299)

* add double buffer for microphone

* comment

* fix size check

* Revert `mcu_type` changes (commaai#2303)

* Revert "Fix mcu_type for deprecated pandas (commaai#2296)"

This reverts commit 6c9064c.

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

This reverts commit 1e8fa51.

* it's just unsupported

* cleanup fan scripts

* garbage collect always-true condition check (commaai#2305)

garbage collect dead code

* CI: use tags for cppcheck update

cppcheck doesn't always create a release for each tag

* lil more

* Adjust `gitversion` handling to include null terminator in length calculations. (commaai#2309)

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* fix up fan HITL test (commaai#2317)

* fix up fan HITL test

* cleanup

* times two

* even simpler

* append

* one more...

* speed it up now

* oops

* Build everything before jungle recover (commaai#2316)

* make sure everything is built, including the bootloader

* also for flash

* Align delay and compensate (commaai#2318)

* align delay and compensate

* empty

* rm -rf drivers/spi/; kernel driver isn't needed

* [bot] Update cppcheck to 2.19.1 (commaai#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>

* Revert "[bot] Update cppcheck to 2.19.1 (commaai#2254)"

This reverts commit ae769db.

* remove mcu_type (commaai#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

* fix usb connect on macos (commaai#2326)

fix claim on macos

* Revert "remove mcu_type (commaai#2324)"

This reverts commit 8922b48.

* remove mcu_type (commaai#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

* update pyproject.toml: include panda.python and panda.board (commaai#2328)

* improve HITL robustness (commaai#2333)

* windows: fix fcntl import (commaai#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 b18043a.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Jason Huang <91160588+rexblade21@users.noreply.github.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Igor Biletski <briskspirit@users.noreply.github.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: downquark7 <mail2emn@gmail.com>
Co-authored-by: commaci-public <60409688+commaci-public@users.noreply.github.com>
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Andi Radulescu <andi.radulescu@gmail.com>
mmoo758 added a commit to mmoo758/panda that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants