Compare commits
2 Commits
ae973dd8ed
...
cabfdfcfb3
Author | SHA1 | Date | |
---|---|---|---|
|
cabfdfcfb3 | ||
|
bbcc262ac5 |
15
.vscode/tasks.json
vendored
15
.vscode/tasks.json
vendored
@ -6,9 +6,9 @@
|
|||||||
{
|
{
|
||||||
"label": "Build",
|
"label": "Build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "arduino-cli compile -v --warnings all -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 \"`pwd`/src/app\"",
|
"command": "arduino-cli compile -v --warnings all -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -e \"`pwd`/src/app\"",
|
||||||
"windows":{
|
"windows":{
|
||||||
"command": "arduino-cli compile -v --warnings all -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 ((pwd).path + '/src/app')"
|
"command": "arduino-cli compile -v --warnings all -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 -e ((pwd).path + '/src/app')"
|
||||||
},
|
},
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
@ -23,9 +23,9 @@
|
|||||||
{
|
{
|
||||||
"label": "Flash",
|
"label": "Flash",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "arduino-cli upload -v -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 \"`pwd`/src/app\" -p COM27",
|
"command": "arduino-cli upload -v -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 \"`pwd`/src/app\" -p ${input:com_port}",
|
||||||
"windows":{
|
"windows":{
|
||||||
"command": "arduino-cli upload -v -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 ((pwd).path + '/src/app') -p COM27"
|
"command": "arduino-cli upload -v -b esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=disabled,stacksmash=enabled,ssl=basic,mmu=3232,non32xfer=fast,eesz=4M,led=2,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600 ((pwd).path + '/src/app') -p ${input:com_port}"
|
||||||
},
|
},
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
@ -44,5 +44,12 @@
|
|||||||
"dependsOrder": "sequence",
|
"dependsOrder": "sequence",
|
||||||
"dependsOn":["Build", "Flash"]
|
"dependsOn":["Build", "Flash"]
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"id":"com_port",
|
||||||
|
"type":"promptString",
|
||||||
|
"description": "target serial port : COMXX"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -229,7 +229,7 @@ public:
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int count()
|
unsigned int count() const
|
||||||
{
|
{
|
||||||
unsigned int counter(0);
|
unsigned int counter(0);
|
||||||
if(isListEmpty(_head->_next))return counter;
|
if(isListEmpty(_head->_next))return counter;
|
||||||
@ -321,7 +321,7 @@ protected:
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
boolean isListEmpty(Dictionary *node) {return node == NULL;}
|
boolean isListEmpty(Dictionary *node) const {return node == NULL;}
|
||||||
|
|
||||||
char *_parameter;
|
char *_parameter;
|
||||||
T *_value;
|
T *_value;
|
||||||
|
@ -239,7 +239,7 @@ void TaskSchedulerManager::run()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int TaskSchedulerManager::taskCount()
|
unsigned int TaskSchedulerManager::taskCount() const
|
||||||
{
|
{
|
||||||
return _taskDataDictio.count();
|
return _taskDataDictio.count();
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ class TaskSchedulerManager
|
|||||||
TaskSchedulerManagerHelper::Schedule *getTask(const char *name);
|
TaskSchedulerManagerHelper::Schedule *getTask(const char *name);
|
||||||
TaskSchedulerManagerHelper::Schedule *getTask(uint16_t id);
|
TaskSchedulerManagerHelper::Schedule *getTask(uint16_t id);
|
||||||
void run();
|
void run();
|
||||||
unsigned int taskCount();
|
unsigned int taskCount() const;
|
||||||
uint16_t findFreeTaskId();
|
uint16_t findFreeTaskId();
|
||||||
protected:
|
protected:
|
||||||
TaskSchedulerManager();
|
TaskSchedulerManager();
|
||||||
|
Loading…
Reference in New Issue
Block a user