Repository navigation
S1 in the app: open a board, see its model and problems, validate and generate - #10
Merged
Merged
Conversation
…d generate The desktop side of S1. Session holds the open board as the core knows it; the views show what the core answered, and nothing is computed in the GUI. - File > Open Board (Cmd+O, Ctrl+O) opens a board directory of an EmbLinkRTOS checkout, with Open Recent; --open <board> does it from the command line. The stage bar shows the board's id. - Board shows the generator's model: the chip, the board's console, LEDs, buttons and debug probe, the clocks, memory regions and partitions, the pins in use and the devices, as settings-style groups. - Problems lists every diagnostic, errors first, with its file, line and path in the YAML; a double-click opens the file. Validate asks the generator again. - The Board menu validates and generates (Opt+Cmd+G). When the core answers untrusted, the window asks once to trust the checkout, then runs the action. - A trusted board is validated as soon as it opens, and opens again after the core restarts. - Every new text is in French and Simplified Chinese, plural forms included. - The build runs the core with core/.venv's Python when it exists, so the core has its dependencies (PyYAML for the generator). - The layout version is 2: Board and Problems join the views. tst_session drives the real core against a checkout whose generator is the core's test stand-in. S1 is done in the specification. Signed-off-by: teo1747 <148846371+teo1747@users.noreply.github.com>
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.
The desktop side of S1. With #9, S1 is done.
What the person can do
~/EmbLinkRTOS/boards/st/nucleo_f446re. Open Recent remembers the last 8, and--open <board>does the same from the command line. The stage bar shows the board's id.Translations: all 100 texts are in French and Simplified Chinese, including plurals ("1 erreur / 2 erreurs", "2 个错误").
Development: the build now runs the core with
core/.venv's Python when it exists, so PyYAML is there for the generator.docs/development.mdexplains it.Tests: the new
tst_sessiondrives the real core against a checkout whose generator is the core's test stand-in. It checks opening, the trust step, generating then showing the model in the Board view, errors reaching the Problems view with their place, reopening after a core restart, and refusals reaching the person. 7 of 7 suites pass locally, and clang-format 18 is clean.Screenshots of the real NUCLEO-F446RE (English) and Pico 2 W (Chinese) are in
progress-screenshots/locally.