Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys/shell: add firmware version to version cmd #20244

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

benpicco
Copy link
Contributor

@benpicco benpicco commented Jan 11, 2024

Contribution description

We don't have a way to tell which firmware version is currently running on the device, so add this information to the version command when running with riotboot_slot.

Testing procedure

The current firmware version is now printed when entering version (tested with examples/suit_update):

2024-01-11 14:40:33,170 # > version
2024-01-11 14:40:33,170 # 
2024-01-11 14:40:33,172 # 2024.01-devel-567-gbb4c4d
2024-01-11 14:40:33,175 # suit_update v1704980244, slot 0

Issues/PRs references

@benpicco benpicco requested a review from dylad as a code owner January 11, 2024 13:40
@github-actions github-actions bot added Area: boards Area: Board ports Area: sys Area: System labels Jan 11, 2024
@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jan 11, 2024
@riot-ci
Copy link

riot-ci commented Jan 11, 2024

Murdock results

✔️ PASSED

235d3f0 boards/samd2x-xpro: enable riotboot

Success Failures Total Runtime
8085 0 8085 11m:58s

Artifacts

@benpicco benpicco added this pull request to the merge queue Jan 11, 2024
Merged via the queue into RIOT-OS:master with commit 0c80553 Jan 11, 2024
27 checks passed
@benpicco benpicco deleted the sys/shell/cmds-version branch January 11, 2024 20:50
@MrKevinWeiss MrKevinWeiss added this to the Release 2024.01 milestone Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants