mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Improve command parser to work with other than serial buffer
This commit is contained in:
+8
-2
@@ -1,7 +1,13 @@
|
||||
#ifndef _CMD_PARSER_H_
|
||||
#define _CMD_PARSER_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "rtl837x_common.h"
|
||||
|
||||
extern __xdata uint8_t cmd_buffer[SBUF_SIZE];
|
||||
|
||||
uint8_t cmd_tokenize(void) __banked;
|
||||
void cmd_parser(void) __banked;
|
||||
void cmd_parser_setup(void) __banked;
|
||||
void execute_config() __banked;
|
||||
void execute_config(void) __banked;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user