shell_commands: provide command to print version#13152
shell_commands: provide command to print version#13152miri64 merged 2 commits intoRIOT-OS:masterfrom
Conversation
kaspar030
left a comment
There was a problem hiding this comment.
Useful, straight-forward, simple addition. ACK.
|
Let some future us add this to some test. 😉 |
|
I actually wanted to extend |
Adding |
That test should only fail if the git commit is not dirty. Otherwise the (soon to be available) |
|
Sooo should I add a test or not? |
Feel free. I ACK this without. (unfortunately this PR seems to push some boards into insufficient memory...) |
|
There is also the issue, that the |
|
On the other hand, I'm wondering what the |
|
The RAM problem is related to some work @fjmolinas made for AVR. Related issues/PR: #13016, #12940 |
|
In this case however the app developer did not seem to have been as frugal as they could have been. I propose to remove the |
Mh, when I remove that module, the test fails on the second iteration. I don't really understand why @fjmolinas any idea? |
|
I'm suspecting there is something hidden happening around the |
|
Ping @fjmolinas??!? |
Not sure why its failing, I'll take a look. I have an idea on how to remove the need for I had added |
|
If you promise to remove the file in |
|
Done. |
|
just FYI the |
|
|
|
I don't want to rely on an optional module, but rather have it be always compiled in most of the time automatically ;-). |
Contribution description
I sometimes come in the situation that I'm not sure, if the version of RIOT I'm currently running is really the one I wanted to run or it is running for longer and I want to have another look to be sure. Currently, the only for me way to do that is either rebooting the node or using a debugger. This provides a shell command
versionto print the string stored atRIOT_VERSIONto determine the RIOT version (if provided) at run-time.Testing procedure
Run any application using the
shell_commandsmodule. E.g.and type
versionDepending on your checkout and your build configuration (e.g. with
RIOT_CI_BUILD) this string may differ of course.Issues/PRs references
None