2014-09-16 13:09:14 +02:00
|
|
|
/*
|
2017-10-19 22:52:18 +02:00
|
|
|
* Copyright (C) 2010 Kaspar Schleiser <kaspar@schleiser.de>
|
2014-09-16 13:09:14 +02:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2015-02-12 18:06:34 +01:00
|
|
|
/**
|
2018-06-01 13:19:39 +02:00
|
|
|
* @defgroup sys_shell_commands Shell commands
|
|
|
|
* @ingroup sys
|
2015-02-12 18:06:34 +01:00
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @brief Shell command definitions
|
|
|
|
*
|
|
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
|
|
|
*/
|
|
|
|
|
2016-10-26 21:53:58 +02:00
|
|
|
#ifndef SHELL_COMMANDS_H
|
|
|
|
#define SHELL_COMMANDS_H
|
2010-11-04 16:47:13 +01:00
|
|
|
|
2013-12-16 17:54:58 +01:00
|
|
|
#include "shell.h"
|
2010-11-04 16:47:13 +01:00
|
|
|
|
2014-10-10 11:51:11 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-06-01 13:19:39 +02:00
|
|
|
/**
|
|
|
|
* @name Disk manipulation command names
|
|
|
|
* @{
|
|
|
|
*/
|
2011-12-12 17:50:22 +01:00
|
|
|
#define DISK_GET_SECTOR_SIZE "dget_ssize"
|
|
|
|
#define DISK_GET_SECTOR_COUNT "dget_scount"
|
|
|
|
#define DISK_GET_BLOCK_SIZE "dget_bsize"
|
|
|
|
#define DISK_READ_SECTOR_CMD "dread_sec"
|
|
|
|
#define DISK_READ_BYTES_CMD "dread"
|
2018-06-01 13:19:39 +02:00
|
|
|
/** @} */
|
2011-12-12 17:50:22 +01:00
|
|
|
|
2018-06-01 13:19:39 +02:00
|
|
|
/**
|
|
|
|
* @brief List of shell commands
|
|
|
|
*/
|
2010-11-04 16:47:13 +01:00
|
|
|
extern const shell_command_t _shell_command_list[];
|
|
|
|
|
2014-10-10 11:51:11 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2016-10-26 21:53:58 +02:00
|
|
|
#endif /* SHELL_COMMANDS_H */
|
2015-02-12 18:06:34 +01:00
|
|
|
/** @} */
|