Skip to content

Commit

Permalink
sys/shell: add iw shell command
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Hüßler authored and fabian18 committed Aug 19, 2023
1 parent 814d718 commit 0a18d01
Show file tree
Hide file tree
Showing 4 changed files with 421 additions and 0 deletions.
1 change: 1 addition & 0 deletions makefiles/pseudomodules.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ PSEUDOMODULES += shell_cmd_gnrc_sixlowpan_frag_stats
PSEUDOMODULES += shell_cmd_gnrc_udp
PSEUDOMODULES += shell_cmd_heap
PSEUDOMODULES += shell_cmd_i2c_scan
PSEUDOMODULES += shell_cmd_iw
PSEUDOMODULES += shell_cmd_lwip_netif
PSEUDOMODULES += shell_cmd_mci
PSEUDOMODULES += shell_cmd_md5sum
Expand Down
3 changes: 3 additions & 0 deletions sys/shell/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ endif
ifneq (,$(filter shell_cmd_i2c_scan,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter shell_cmd_iw,$(USEMODULE)))
USEMODULE += ztimer_sec
endif
ifneq (,$(filter shell_cmd_lwip_netif,$(USEMODULE)))
USEMODULE += lwip_netif
endif
Expand Down
4 changes: 4 additions & 0 deletions sys/shell/cmds/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ config MODULE_SHELL_CMD_I2C_SCAN
depends on MODULE_SHELL_CMDS
depends on MODULE_PERIPH_I2C

config MODULE_SHELL_CMD_IW
bool "Command to interact with WiFi interfaces"
depends on MODULE_ZTIMER_SEC

config MODULE_SHELL_CMD_LWIP_NETIF
bool "Command to manage lwIP network interfaces (ifconfig)"
default y if MODULE_SHELL_CMDS_DEFAULT
Expand Down
Loading

0 comments on commit 0a18d01

Please sign in to comment.