1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/shell_commands.h

52 lines
1008 B
C
Raw Normal View History

/*
2017-10-19 22:52:18 +02:00
* Copyright (C) 2010 Kaspar Schleiser <kaspar@schleiser.de>
*
* 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.
*/
/**
2018-06-01 13:19:39 +02:00
* @defgroup sys_shell_commands Shell commands
* @ingroup sys
*
* @{
*
* @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
* @{
*/
#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
/** @} */
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 */
/** @} */