projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the module selection page
[bertos.git]
/
bertos
/
mware
/
parser.c
diff --git
a/bertos/mware/parser.c
b/bertos/mware/parser.c
index cc20b4e6a79e97a8fefef5e9323fb3e5ef141390..57dc6cf960b9bf2608fcda2e3634ae7b0c098cc3 100644
(file)
--- a/
bertos/mware/parser.c
+++ b/
bertos/mware/parser.c
@@
-30,12
+30,6
@@
* All Rights Reserved.
* -->
*
* All Rights Reserved.
* -->
*
- * \version $Id$
- *
- * \author Bernardo Innocenti <bernie@develer.com>
- * \author Stefano Fedrigo <aleph@develer.com>
- * \author Giovanni Bajo <rasky@develer.com>
- *
* \brief Serial protocol parser and commands.
*
* This file contains the serial protocol parser and
* \brief Serial protocol parser and commands.
*
* This file contains the serial protocol parser and
@@
-50,18
+44,28
@@
* using an union: the element of the union to use for each
* argument is determined by format strings present in the
* CmdTemplate table.
* using an union: the element of the union to use for each
* argument is determined by format strings present in the
* CmdTemplate table.
+ *
+ * \version $Id$
+ *
+ * \author Bernie Innocenti <bernie@codewiz.org>
+ * \author Stefano Fedrigo <aleph@develer.com>
+ * \author Giovanni Bajo <rasky@develer.com>
+ *
+ *
*/
#include "parser.h"
*/
#include "parser.h"
+
+#include "cfg/cfg_parser.h"
+
#include <drv/ser.h>
#include <drv/ser.h>
+#include <struct/hashtable.h>
#include <stdlib.h> // atol(), NULL
#include <string.h> // strchr(), strcmp()
#include <stdlib.h> // atol(), NULL
#include <string.h> // strchr(), strcmp()
-#include <mware/hashtable.h>
-#include "appconfig.h"
#define ARG_SEP_S " "
#define ARG_SEP_C ' '
#define ARG_SEP_S " "
#define ARG_SEP_C ' '
@@
-354,6
+358,7
@@
void parser_register_cmd(const struct CmdTemplate* cmd)
}
#if CONFIG_INTERNAL_COMMANDS
}
#if CONFIG_INTERNAL_COMMANDS
+#warning FIXME:This code use boost lib, if you compile with internal command you must fix it.
static ResultCode cmd_help(void)
{
#ifdef _DEBUG
static ResultCode cmd_help(void)
{
#ifdef _DEBUG