Repository navigation
STM32F746G-DISCO: the car HMI demo out of the box - #126
Merged
Merged
Conversation
The board's flash.dmd starts what carhmi-demo needs - dmaudio (its service and rules, on the WM8994), dmview 0.10 (the channel of a claim, given on each of its lines: a line without a version would install the older one over it) and the carhmi service -, its sdcard.dmd downloads carhmi_view. ymodem joins the common flash modules: upload-files / install-all type `ymodem recv`, which no image had. lib/dmod: Dmod_Run() no longer holds the module's mutex while main() runs - with it, every service ran at systemd's priority (4) and the player's decoder was starved by the drawing of the view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After this,
cmake -DBOARD=stm32f746g-disco→ build →install-allgives a board running the car HMI demo, with the MP3 player for the card'smusic/:configs/board/stm32f746g-disco/flash.dmd:dmaudioservice and rules: onedmaudio@wm8994for the codecdmview@>=0.10with its service and rules: the claim channel carhmi needs. The version is on every line, because a line without it pulls dmview/libdmview 0.9 from the registry and overwrites the 0.10 the other line installed.carhmi service=carhmi.inisdcard.dmd:carhmi_view(≈320 kB, goes tobuild/sdcard/views/carhmi_view/).configs/common/flash.dmd:ymodem.upload-files/install-alltypeymodem recv, but no image contained the command, so on a fresh clone the upload could not work.lib/dmod→ Dmod_Run: do not hold the module's mutex while its main() runs dmod#330:Dmod_Run()no longer holds the module's mutex for the wholemain(). With it held, every service ran permanently at systemd's priority 4, the drawing of the view starved the MP3 decoder, and playback crackled.Flash: 686 KB of 1 MB used, 338 KB free.
Before merging
Released and in the registry first:
lib/dmodat the merged develop commit)Until then CI can't resolve
carhmi,carhmi_view, ordmview@>=0.10.Test plan
install-allflashes and sends the view (62 files, 16.7 s). carhmi shows the card's tracks with their ID3 tags, and playback is clean with the dmod fix.Known issues (not in this PR)
🤖 Generated with Claude Code