sys/shell: remove sc_interactive_sync

This commit is contained in:
Francisco Molina 2020-03-11 09:58:12 +01:00
parent 906b27745f
commit d57c39f09f
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8
3 changed files with 0 additions and 62 deletions

View File

@ -96,10 +96,6 @@ ifneq (,$(filter nimble_netif,$(USEMODULE)))
SRC += sc_nimble_netif.c
endif
ifneq (,$(filter test_utils_interactive_sync,$(USEMODULE)))
SRC += sc_interactive_sync.c
endif
ifneq (,$(filter suit_coap,$(USEMODULE)))
SRC += sc_suit.c
endif

View File

@ -1,49 +0,0 @@
/*
* Copyright (C) 2019 Inria
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup sys_shell_commands
* @{
*
* @file
* @brief Shell commands interactive sync util
*
* @author Francisco Molina <francois-xavier.molina@inria.fr>
* @}
*/
#include <stdio.h>
#include "test_utils/interactive_sync.h"
#if defined(__AVR__)
#include <avr/pgmspace.h>
/* For small AVR targets the extra strings generated by test interactive
can make the application overflow the .data section (RAM), we use puts_P()
to write those constant string to .txt section (FLASH)*/
#define PUTS(_s) puts_P(PSTR(_s))
#else
#define PUTS(_s) puts(_s)
#endif
int _test_start(int argc, char **argv)
{
(void) argc;
(void) argv;
PUTS("START");
return 0;
}
int _test_ready(int argc, char **argv)
{
(void) argc;
(void) argv;
PUTS("READY");
return 0;
}

View File

@ -159,11 +159,6 @@ extern int _loramac_handler(int argc, char **argv);
extern int _nimble_netif_handler(int argc, char **argv);
#endif
#ifdef MODULE_TEST_UTILS_INTERACTIVE_SYNC
extern int _test_start(int argc, char **argv);
extern int _test_ready(int argc, char **argv);
#endif
#ifdef MODULE_SUIT_COAP
extern int _suit_handler(int argc, char **argv);
#endif
@ -275,10 +270,6 @@ const shell_command_t _shell_command_list[] = {
#ifdef MODULE_NIMBLE_NETIF
{ "ble", "Manage BLE connections for NimBLE", _nimble_netif_handler },
#endif
#ifdef MODULE_TEST_UTILS_INTERACTIVE_SYNC
{ "r", "Test sync, Ready query", _test_ready },
{ "s", "Test sync, Start test trigger", _test_start },
#endif
#ifdef MODULE_SUIT_COAP
{ "suit", "Trigger a SUIT firmware update", _suit_handler },
#endif