Skip to content

Commit 165cc75

Browse files
authored
Merge pull request #21489 from fabian18/pr/shell_cmd_mtd
sys/shell/cmds: add MTD command from `mtd_raw` test
2 parents f865852 + 1d1b354 commit 165cc75

File tree

7 files changed

+578
-306
lines changed

7 files changed

+578
-306
lines changed

makefiles/pseudomodules.inc.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ PSEUDOMODULES += shell_cmd_iw
422422
PSEUDOMODULES += shell_cmd_lwip_netif
423423
PSEUDOMODULES += shell_cmd_mci
424424
PSEUDOMODULES += shell_cmd_md5sum
425+
PSEUDOMODULES += shell_cmd_mtd
425426
PSEUDOMODULES += shell_cmd_nanocoap_vfs
426427
PSEUDOMODULES += shell_cmd_netstats_neighbor
427428
PSEUDOMODULES += shell_cmd_nice

sys/shell/Makefile.dep

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ endif
212212
ifneq (,$(filter shell_cmd_md5sum,$(USEMODULE)))
213213
USEMODULE += shell_cmd_vfs
214214
endif
215+
ifneq (,$(filter shell_cmd_mtd,$(USEMODULE)))
216+
USEMODULE += fmt
217+
USEMODULE += mtd
218+
USEMODULE += od
219+
endif
215220
ifneq (,$(filter shell_cmd_nanocoap_vfs,$(USEMODULE)))
216221
USEMODULE += nanocoap_vfs
217222
USEMODULE += vfs_util

0 commit comments

Comments
 (0)