feat(esp8266): refactor ets timer process

This commit is contained in:
dongheng
2020-02-25 19:26:13 +08:00
parent 318b09256a
commit 0003ef6572
16 changed files with 13 additions and 8 deletions

View File

@ -1,11 +1,11 @@
gwen:
core: 9fa12cc
net80211: aace315
pp: 8012b8d
wpa: 27927af
espnow: 27927af
wps: 27927af
wpa2: 27927af
core: e1fe83a
net80211: e1fe83a
pp: e1fe83a
wpa: e1fe83a
espnow: e1fe83a
wps: e1fe83a
wpa2: e1fe83a
smartconfig: 2.8.2
phy: 1155.0

Binary file not shown.

Binary file not shown.

BIN
components/esp8266/lib/libespnow.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libespnow_dbg.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libnet80211.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libnet80211_dbg.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libpp.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libpp_dbg.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libwpa.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libwpa2.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libwpa2_dbg.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libwpa_dbg.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libwps.a Normal file → Executable file

Binary file not shown.

BIN
components/esp8266/lib/libwps_dbg.a Normal file → Executable file

Binary file not shown.

View File

@ -43,7 +43,7 @@ void __wifi_task_delete(void *task)
void __wifi_task_yield_from_isr(void)
{
portYIELD();
portYIELD_FROM_ISR();
}
void __wifi_task_delay(uint32_t tick)
@ -124,6 +124,11 @@ int __wifi_queue_recv(void *queue, void *item, uint32_t block_time_tick)
return ret == pdPASS ? true : false;
}
uint32_t __wifi_queue_msg_num(void *queue)
{
return (uint32_t)uxQueueMessagesWaiting((const QueueHandle_t)queue);
}
void *__wifi_timer_create(const char *name, uint32_t period_ticks, bool auto_load, void *arg, void (*cb)(void *timer))
{
return xTimerCreate(name, period_ticks, auto_load, arg, (tmrTIMER_CALLBACK)cb);