xutao
3dc41ff14c
CMake: fix some issues for CMake
2021-01-06 21:43:40 +08:00
ChenJianxing
86e451fac0
esp_wifi: fix mac deinit timeout dump issue
2021-01-06 16:33:15 +08:00
ChenJianxing
b867ce46e9
esp_wifi: update phy lib no print.
2021-01-06 16:33:15 +08:00
ChenJianxing
890c3422d6
esp_wifi: update phy lib no print
2021-01-06 16:32:53 +08:00
ronghulin
5db7ecb629
Update wifi lib:
...
1. add mac deinit timeout dump reg and add csa check
2. fix beacon timeout when coex due to beacon timestamp inaccuracy
2021-01-06 16:32:21 +08:00
xutao
d872bcd926
task_wdt: record task handle when trigger task wdt
2021-01-06 14:29:34 +08:00
liu zhifu
614c43016e
esp32: revert TX timeout for mac_deinit issue
...
Revert following two commit:
1. cd42bb88ea5951f2a6c98ce145c02833f42b9732
2. 04d115e02a930094f129570ab42e79e9916458a3
2021-01-06 14:29:13 +08:00
gengyuchao
4ee9619322
Fix ld_acl clock ADD issue which may cause controller scheduling error when the timer maximum time
2021-01-06 14:29:13 +08:00
liu zhifu
b3659a8f3c
esp32: add esp_wifi_get_critical_event
2021-01-06 14:29:13 +08:00
liu zhifu
125c5fda62
esp32: fix mac deinit crash
2021-01-06 14:29:12 +08:00
liu zhifu
59b1f8bc89
Fix WiFi TX issue during after esp_restart
...
1. Delay 1us when reset WiFi/BT mac
2. Stop BT first before esp_restart
3. Update libphy.a to 4185
2021-01-06 14:29:12 +08:00
liu zhifu
386f39d012
esp32: fix ieee80211_recv_bar crash
2021-01-06 14:29:12 +08:00
liu zhifu
aea40896a3
esp32/lwip: fix some bugs
...
1. Port two bugs from LWIP upstream to baidu
1> Fix endless loop in DHCP packet parsing
2> Fix double free of pbuf
2. Implement all WiFi assert to abort
2021-01-06 14:28:52 +08:00
gengyuchao
50abb981d2
1.Change the save location of err bit,in case it can not be saved when assert
...
2.Add bit to check connect and disconnect state.
2021-01-06 14:28:52 +08:00
liu zhifu
be8a2e850c
esp32: fix WiFi task watchdog caused by mac deinit
2021-01-06 14:22:48 +08:00
liu zhifu
1d4f0ad1b2
esp32: fix WiFi timer
...
1. Modify WiFi assert to abort
2. Fix WiFi timer which may lead to task watchdog
2021-01-06 14:22:48 +08:00
baohongde
5259ec1c77
components/bt: Fix using NULL ptr in LC_FREE
2021-01-06 14:22:33 +08:00
Li Shuai
8839d0c0b3
modify PHY register access by dport
2021-01-06 14:22:33 +08:00
baohongde
1f152b5146
Waits for all previously fetched WSR and XSR instructions to be performed before interpreting the register fields of the next
...
instruction
delete logs about livelock
2021-01-06 14:21:54 +08:00
gengyuchao
6903865b9c
Fix the int_enable_flag may not compile without bt problem
2021-01-06 14:21:54 +08:00
gengyuchao
1f286c2ba9
Add debug log for int enable
2021-01-06 14:21:40 +08:00
xutao
f745642042
OS: add some features for audio_idf
...
1. enable mclk when enter light sleep
2. add an get error API for esp_http_client
3. websocket migration and fix some issue (from release/v4.0)
2020-07-21 21:01:16 +08:00
baohongde
b23e569e3a
components/coex: Change wifi scan duration from 120ms to 100ms
2020-07-20 17:10:09 +08:00
baohongde
afde3607da
components/bt: Fix using NULL data in LC_FREE
2020-07-20 17:10:08 +08:00
baohongde
ac8f85c3dd
Fix some assert
...
Fix ld_pscan.c line 249
Fix no FIFO in RX ISR
Fix HW error 16384, cased by DMA access memory too slow or fail
Set default log level to ERROR
2020-07-20 17:10:06 +08:00
liu zhifu
5b031bbf01
esp32: fix DHCP failure
...
Fix DHCP failure when connecting to CMCC AP
2020-07-20 17:10:06 +08:00
baohongde
a3188d7fd9
Fix live lock in bt isr immediately
2020-07-20 17:10:04 +08:00
Li Shuai
c69c066641
Fix live lock int bt isr using cod multicore debug
2020-07-20 17:10:04 +08:00
weitianhua
437c66920c
Free lmp tx buf in EM when handle detach_req
2020-07-20 17:10:04 +08:00
liu zhifu
2e14f68dec
esp32: fix two WiFi bugs
...
1. Revert following commit:
esp32: fix WiFi event reporting
1606159e0e731a5e1636376b670645e52ada9ac4
2. Fix WiFi stop free TX buffer header incorrectly
2020-07-20 17:10:03 +08:00
liu zhifu
84ce40ef47
esp32: fix WiFi event reporting
2020-07-20 17:10:03 +08:00
liu zhifu
f7abfac202
esp32: fix WiFi bandwidth
2020-07-20 17:10:02 +08:00
baohongde
9d97e30874
Using deport reg instead of ahb
2020-07-20 17:10:01 +08:00
liu zhifu
3263dd0705
esp32/lwip: fix log crash
2020-07-20 17:10:00 +08:00
liu zhifu
2e5ea3a51b
Optimize debug log
...
1. optimize wifi debug log
2. optimize lwip debug log
2020-07-20 17:10:00 +08:00
liu zhifu
a4a15aa179
esp32: add one disconnect fail reason 206
...
If the esp_wifi_disconnect() is called during connecting scan, raise
disconnect event and the reason code is 206.
2020-07-20 17:09:50 +08:00
liu zhifu
964245dcd1
esp32: workaround for reset by WDT
...
Just add some log to reduce the probability of this issue
2020-07-20 17:09:49 +08:00
Li Shuai
61b646aa8a
optimize the live lock soft solution process
2020-07-20 17:09:49 +08:00
Li Shuai
76717f72d6
add debug code for wdt reset
2020-07-20 17:09:49 +08:00
Li Shuai
fa0348b512
Fixed interrupt watchdog error caused by live lock
2020-07-20 17:09:48 +08:00
maojianxin
c2dac74cc5
Fix psram task coredump block
...
Fix coredump erase flash delay
2020-07-20 17:09:48 +08:00
xutao
b48bdefe54
skip app cpu when core dump stack in psram
2020-07-20 17:09:48 +08:00
Ivan Grokhotkov
de662d5e11
core dump: move stack into the internal memory when dumping to flash
...
Since SPI flash operations can not be performed when the stack is in
external RAM, we need to switch to a different stack when doing a
core dump to flash. This is achieved by a pair of longjmp's, one of
which is crafted manually to jump into a designated function with a
specific stack set up.
The cost of this feature is a bit of IRAM, plus the DRAM required for
the extra stack.
Closes AUD-1355
2020-07-20 17:09:48 +08:00
Li Shuai
a80cf2dc69
Fix interrupt watchdog caused by livelock
2020-07-20 17:09:48 +08:00
KonstantinKondrashov
ca51072461
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
...
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-07-20 17:09:47 +08:00
Ivan Grokhotkov
1fb82085b9
core dump: skip core dump to flash if the stack pointer is in PSRAM
...
Since flash operations disable the cache, we shouldn't try to run
core dump to flash when the stack is in PSRAM.
Ref. AUD-1355
2020-07-20 17:09:47 +08:00
KonstantinKondrashov
49cb9972de
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2020-07-20 17:09:47 +08:00
Li Shuai
cef73cd232
added psram stack check in backtrace
2020-07-20 17:09:47 +08:00
maojianxin
c1374ff769
Fix http client read return value
...
1.esp_tls: fail connection if esp_tls_conn_new() timeouts
https://gitlab.espressif.cn:6688/espressif/esp-idf/merge_requests/7397
2.esp32:panic: avoid access cache in panichandler
3.Sync https://gitlab.espressif.cn:6688/espressif/esp-idf/merge_requests/7152
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that the cache error interrupt status is set. For example, this may happen due to an invalid cache access in the panic$
Check cache error interrupt status instead of frame->exccause to decide whether to do CPU reset or digital reset.
Also remove unnecessary esp_dport_access_int_pause from esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2020-07-20 17:09:28 +08:00
baohongde
a172605af4
components/bt: using high level interrupt in lc
2020-04-17 23:16:59 +08:00