Bayley Wang
/
flash_configuration
flash based config testing
CommandProcessor/CommandProcessor.h
- Committer:
- bwang
- Date:
- 2017-03-02
- Revision:
- 2:cfc39b0843ae
- Parent:
- 1:df6bbacb7bb9
- Child:
- 3:82c00c8e2cb4
File content as of revision 2:cfc39b0843ae:
#ifndef __COMMAND_PROCESSOR_H #define __COMMAND_PROCESSOR_H #include "mbed.h" #include "PreferenceWriter.h" float *checkf(char *s); int *checkn(char *s); void processCmd(Serial *pc, PreferenceWriter *pref, char *buf); void cmd_ls(Serial *pc); void cmd_ls2(Serial *pc, char *buf); void cmd_defaults(Serial *pc); void cmd_reload(Serial *pc, PreferenceWriter *pref); void cmd_flush(Serial *pc, PreferenceWriter *pref); void cmd_cfg(Serial *pc); void cmd_exit(Serial *pc); int tokenize(char *buf, char **out, int max); #endif