flash based config testing

Dependencies:   mbed

Committer:
bwang
Date:
Thu Mar 02 07:36:56 2017 +0000
Revision:
2:cfc39b0843ae
Parent:
1:df6bbacb7bb9
Child:
3:82c00c8e2cb4
stubs for run/cfg mode

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bwang 1:df6bbacb7bb9 1 #ifndef __COMMAND_PROCESSOR_H
bwang 1:df6bbacb7bb9 2 #define __COMMAND_PROCESSOR_H
bwang 1:df6bbacb7bb9 3
bwang 1:df6bbacb7bb9 4 #include "mbed.h"
bwang 1:df6bbacb7bb9 5 #include "PreferenceWriter.h"
bwang 1:df6bbacb7bb9 6
bwang 1:df6bbacb7bb9 7 float *checkf(char *s);
bwang 1:df6bbacb7bb9 8 int *checkn(char *s);
bwang 1:df6bbacb7bb9 9
bwang 1:df6bbacb7bb9 10 void processCmd(Serial *pc, PreferenceWriter *pref, char *buf);
bwang 1:df6bbacb7bb9 11 void cmd_ls(Serial *pc);
bwang 1:df6bbacb7bb9 12 void cmd_ls2(Serial *pc, char *buf);
bwang 1:df6bbacb7bb9 13 void cmd_defaults(Serial *pc);
bwang 1:df6bbacb7bb9 14 void cmd_reload(Serial *pc, PreferenceWriter *pref);
bwang 1:df6bbacb7bb9 15 void cmd_flush(Serial *pc, PreferenceWriter *pref);
bwang 2:cfc39b0843ae 16 void cmd_cfg(Serial *pc);
bwang 2:cfc39b0843ae 17 void cmd_exit(Serial *pc);
bwang 1:df6bbacb7bb9 18
bwang 1:df6bbacb7bb9 19 int tokenize(char *buf, char **out, int max);
bwang 1:df6bbacb7bb9 20
bwang 1:df6bbacb7bb9 21 #endif