Marian Buschsieweke
f0a88dcf56
sys/shell: add help_json builtin command
...
This command does the same as `help`, but provides a machine readable
JSON rather than a human readable table. It is only provided when the
(pseudo-)module `shell_builtin_cmd_help_json` is used.
2024-11-11 22:05:04 +01:00
chrysn
69a89b80ca
treewide/rust: cargo fmt
2024-10-02 22:17:08 +02:00
chrysn
c0288f7d40
rust: Update to riot-wrappers 0.9
2024-08-22 17:33:40 +02:00
mguetschow
3e712a54ca
Merge pull request #20673 from Einhornhool/pr/update-cryptoauth-shell-command
...
sys/shell: Update cryptoauthlib shell commands
2024-07-11 06:54:52 +00:00
Lena Boeckmann
1ce304cee0
sys/shell/cmds/cryptoauthlib: Fix key slot number
2024-07-10 13:53:01 +02:00
Lena Boeckmann
1c062d8d6a
sys/shell: add atca write config
2024-05-31 16:49:20 +02:00
Benjamin Valentin
df477f4e1a
shell/vfs: don't print size if it's not available
2024-05-22 18:53:37 +02:00
Lena Boeckmann
b9ec5ad60f
sys/shell/cmds/cryptoauthlib: fix typos
2024-05-21 09:13:20 +02:00
Lena Boeckmann
16f9c51014
sys/shell: Update read command to also support ATECC608 devices
2024-05-17 17:00:15 +02:00
Lena Boeckmann
2d4a597fa1
sys/shell: fix some output issues
2024-05-16 09:06:13 +02:00
Lena Boeckmann
20cdbac5fc
sys/shell: Update cryptoauthlib shell commands
2024-05-15 18:30:51 +02:00
benpicco
22795248eb
Merge pull request #20651 from benpicco/shell_scripting
...
sys/shell: add support for running a batch of commands from a file
2024-05-15 09:35:04 +00:00
Benjamin Valentin
471e257c7c
sys/shell: add shell_parse_file()
2024-05-15 11:20:38 +02:00
Benjamin Valentin
138a94bae4
sys/shell: make shell_handle_input_line() public
2024-05-15 11:20:38 +02:00
Benjamin Valentin
aad438117e
sys/shell: nanoCoAP: properly print long directory entries
2024-05-07 22:45:37 +02:00
Teufelchen1
8bd1de8259
shell/vfs: Handle print failure in genfile cmd gracefully
2024-04-25 15:16:42 +02:00
benpicco
e3c02f5601
Merge pull request #19849 from krzysztof-cabaj/LWIP-ifconfig-IPv4-configuration
...
sys/shell/lwip: add IPv4 configuration to lwip ifconfig command
2024-04-10 16:48:36 +00:00
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
krzysztof-cabaj
71d47cd0cf
sys/shell/lwip: merge ifconfig add4 and add6 options to one-ifconfig add
2024-04-04 13:45:26 +02:00
krzysztof-cabaj
67abda03fc
sys/shell/lwip: fix coding style using uncrustify with RIOT rules
2024-04-02 10:26:48 +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
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files
2024-03-26 14:54:22 +01:00
MrKevinWeiss
0a9c51fdf9
*.config: Modify all .config kconfig files
2024-03-26 14:53:40 +01:00
Dylan Laduranty
f78a41f1b3
treewide: replace shell_commands module in documentation
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-19 15:12:02 +01:00
Dylan Laduranty
b246f63aff
treewide: remove deprecated random_cmd module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-18 21:31:44 +01:00
Dylan Laduranty
26058cf14e
treewide: remove deprecated nice module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-18 21:31:03 +01:00
Dylan Laduranty
d6e6c4f7a1
treewide: remove deprecated i2c_scan module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-14 22:00:00 +01:00
Dylan Laduranty
5a2e5d7301
treewide: remove deprecated heap_cmd module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-14 21:57:22 +01:00
Dylan Laduranty
5b3b426678
treewide: remove deprecated gnrc_udp_cmd module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-14 21:54:09 +01:00
Dylan Laduranty
67b8c6709c
treewide: remove deprecated gnrc_pktbuf_cmd module
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-03-14 21:48:29 +01:00
Benjamin Valentin
bfdda46055
sys/shell/ping: print error when DNS resolve fails
2024-02-07 16:02:04 +01: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
benpicco
85dcc1bd3b
Merge pull request #19742 from benpicco/shell_cmd_udptty
...
shell/cmds: add udptty command
2024-02-02 16:28:26 +00:00
Benjamin Valentin
13deed1a83
shell/cmds: add udptty command
2024-02-02 12:55:25 +01:00
Benjamin Valentin
0b925c2494
sys/shell: fix reserved addresses in i2c_scan
...
There are only 8 reserved addresses on the low end of the address space.
2024-01-18 15:08:14 +01:00
Benjamin Valentin
f932552b99
sys/shell: add firmware version to version cmd
2024-01-11 14:38:15 +01:00
Joshua DeWeese
edb419ab7c
sys/shell: update doc
...
This patch updates shell.c's doc that undersells the shells complexity.
The comment seems to have been written prior to the shell's ability to
parse command args and handle quoting sequences.
2023-12-21 16:18:23 -05:00
Joshua DeWeese
5cd52885c1
sys/shell: fix missing NULL terminator
...
This patch adds the missing NULL terminator to the argv passed to shell
command handlers. Without it, Newlib's getop() was intermittently
causing hardfaults. Closer inspection of NewLib's code revealed that it
relies in this NULL termination. ANSI-C also requires it of the argv
passed to main().
2023-12-21 15:53:04 -05:00
Frederik Haxel
64ba553d1f
sys: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:19 +01:00
krzysztof-cabaj
d279024c6e
sys/shell/lwip: add gateway configuration
2023-12-13 17:48:11 +01:00
krzysztof-cabaj
debb5cfc04
sys/shell/lwip: add subcommand to simple IPv4 configuration
2023-12-13 17:35:38 +01:00
krzysztof-cabaj
d7edaaab94
sys/shell/lwip: initial commit for IPv4 configuration
2023-12-13 17:35:38 +01:00
bors[bot]
910e0e28ed
Merge #19963 #19971 #19974 #19975 #19976
...
19963: sys/event/timeout: add event_timeout_is_pending() r=benpicco a=benpicco
19971: sys/shell/gnrc_netif: Fix a few blockers for sharing ifconfig shell r=benpicco a=yarrick
19974: gnrc_ipv6_ext_frag: _completed: Add comment why list head is not checked for NULL pointer dereference r=benpicco a=miri64
19975: pkg/nanocbor: Bump to latest commit r=benpicco a=bergzand
### Contribution description
Not much to see here
Important changes:
- Add stream-like interface for encoder
- Separate functions for number of items left in arrays and maps
### Testing procedure
The usual test should still work
### Issues/PRs references
None
19976: core: Express -1 as ~0 in thread_status_t cast r=benpicco a=SimonIT
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Erik Ekman <eekman@google.com>
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
Co-authored-by: SimonIT <simonit.orig@gmail.com>
2023-10-16 15:31:25 +00:00
bors[bot]
3a4ec8d21e
Merge #19972
...
19972: RFC: Support enabling/disabling lwIP netifs from gnrc_netif shell r=miri64 a=yarrick
Co-authored-by: Erik Ekman <eekman@google.com>
2023-10-12 14:27:46 +00:00
Erik Ekman
ee6ca2b6ce
sys/shell/gnrc_netif: Use l2util versions of link addr helpers
...
To avoid dependency on gnrc files.
As suggested in #16965
2023-10-12 10:23:24 +02:00
bors[bot]
715da20ad6
Merge #19973
...
19973: sys/shell/gnrc_txtsnd: Move to separate module r=yarrick a=yarrick
Co-authored-by: Erik Ekman <eekman@google.com>
2023-10-12 08:20:25 +00:00
Erik Ekman
ea545d2028
sys/shell/gnrc_txtsnd: Move to separate module
2023-10-11 22:55:37 +02:00
Erik Ekman
726e2eb045
sys/shell/gnrc_netif: Set lwIP netif state on up/down
2023-10-11 21:46:55 +02:00
Erik Ekman
0fc7898b34
sys/shell/gnrc_netif: Show interface up/down state
2023-10-11 21:46:55 +02:00