Skip to content

dmview_demo: wait for a view on a card - #17

Merged
JohnAmadis merged 1 commit into
mainfrom
feature/demo-wait-view
Oct 11, 2026
Merged

JohnAmadis merged 1 commit into
mainfrom
feature/demo-wait-view

Conversation

@JaxCalder

@JaxCalder JaxCalder commented Oct 11, 2026 •

Copy link
Copy Markdown

Problem

dmview_demo checked its view once at start. A view on an SD card (e.g. /mnt/dmsdio0_0p1/views/...) exists only after automount has mounted the card, which can happen after the service starts. The demo then exited with "no view".

Change

The demo waits for the view (polling every 100 ms) for up to 30 s, or until the service is stopped, before reporting "no view". Views in the firmware's flash are there at once, so nothing changes for them.

Built and running on STM32F746G-DISCO. With a missing view it waits 30 s, then reports "no view" as before. Not yet tried with a view on the card.

🤖 Generated with Claude Code

A view on an SD card is there only once automount has mounted it, which
may be after the demo starts: it is waited for (up to 30 s, or until the
service is stopped) before "no view" is reported.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JohnAmadis
JohnAmadis merged commit f9dd26f into main Oct 11, 2026
1 check passed
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.

2 participants