1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
MrKevinWeiss
b8c4617768
sys/*: expose periph/pm.h
I guess to reduce clutter we can always have the headers exposed since they are always included
even when we are not using them.
2024-04-08 11:20:14 +02:00
MrKevinWeiss
e017c01acc
sys/shell/cmds: Guard periph_pm calls
It would seem that either we need to require the periph_pm module in shell
or make it optional... since we have many other optional modules here
and we still may want the RIOT_VERSION command, lets make it optional for now.
2024-04-02 10:19:19 +02:00
Benjamin Valentin
b729fe3237 sys/shell: add RIOT_VERSION_EXTRA output
This allows to define an extra string that will be output as part
of the version command.

e.g. an application may define

RIOT_VERSION_EXTRA += v1.33.7
RIOT_VERSION_EXTRA += flashed by $(shell whoami
2024-02-05 14:18:14 +01:00
Benjamin Valentin
f932552b99 sys/shell: add firmware version to version cmd 2024-01-11 14:38:15 +01:00
Marian Buschsieweke
c06335b71b
sys/shell: make cmds submodules
Previously `shell_commands` was a "catch-all" module that included
shell commands for each and every used module that has a shell
companion. Instead, the new `shell_cmds` module is now used to provide
shell commands as individually selectable submodules, e.g.
`cmd_gnrc_icmpv6_echo` now provides the ICMPv6 echo command (a.k.a.
ping).

To still have a "catch all" module to pull in shell commands of modules
already used, `shell_cmds_default` was introduced. `shell_commands`
depends now on `shell_cmds_default` for backward compatibility, but
has been deprecated. New apps should use `shell_cmds_default`
instead.

For a handful of shell commands individual selection was already
possible. Those modules now depend on the corresponding `cmd_%` module
and they have been deprecated.
2022-09-16 13:15:45 +02:00