sys/shell: fix use of suit shell command
This commit is contained in:
parent
453d0478dc
commit
b277a6bad5
@ -114,7 +114,7 @@ ifneq (,$(filter nimble_statconn,$(USEMODULE)))
|
|||||||
SRC += sc_nimble_statconn.c
|
SRC += sc_nimble_statconn.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter suit_coap,$(USEMODULE)))
|
ifneq (,$(filter suit_transport_coap,$(USEMODULE)))
|
||||||
SRC += sc_suit.c
|
SRC += sc_suit.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -180,7 +180,7 @@ extern int _nimble_netif_handler(int argc, char **argv);
|
|||||||
extern int _nimble_statconn_handler(int argc, char **argv);
|
extern int _nimble_statconn_handler(int argc, char **argv);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_SUIT_COAP
|
#ifdef MODULE_SUIT_TRANSPORT_COAP
|
||||||
extern int _suit_handler(int argc, char **argv);
|
extern int _suit_handler(int argc, char **argv);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -316,7 +316,7 @@ const shell_command_t _shell_command_list[] = {
|
|||||||
#ifdef MODULE_NIMBLE_STATCONN
|
#ifdef MODULE_NIMBLE_STATCONN
|
||||||
{ "statconn", "NimBLE netif statconn", _nimble_statconn_handler},
|
{ "statconn", "NimBLE netif statconn", _nimble_statconn_handler},
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_SUIT_COAP
|
#ifdef MODULE_SUIT_TRANSPORT_COAP
|
||||||
{ "suit", "Trigger a SUIT firmware update", _suit_handler },
|
{ "suit", "Trigger a SUIT firmware update", _suit_handler },
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_CRYPTOAUTHLIB
|
#ifdef MODULE_CRYPTOAUTHLIB
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user