1、从文件register.h中重构出命令文件witcommand.h;

2、解析命令行参数;
3、修改串口类(继承基类SerialPortBase)的bug;
4、添加命令行选项--rlx1:任工想要的设置;
This commit is contained in:
tangchao0503
2022-07-15 22:09:06 +08:00
parent 3c0ba621ac
commit 14a4518e2e
10 changed files with 1006 additions and 189 deletions

View File

@ -12,7 +12,8 @@ TEMPLATE = app
SOURCES += main.cpp \
witmotiondll.cpp \
qtserialport.cpp
qtserialport.cpp \
commandlineparser.cpp
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
@ -29,4 +30,6 @@ HEADERS += \
register.h \
serialportbase.h \
witmotiondll.h \
qtserialport.h
qtserialport.h \
commandlineparser.h \
witcommand.h