Commit Graph

6424 Commits

Author SHA1 Message Date
Shubham Kulkarni
8e5bf0d500 Bugfix for failing OTA example
example_test.py is added to test advanced_https_ota_example and native ota_example.

Closes https://github.com/espressif/esp-idf/issues/4394
2020-07-21 11:28:21 +08:00
Mahavir Jain
37272e79b4 esp_http_client: fix issue where http parser was not invoking message_complete callback
https://github.com/espressif/esp-idf/issues/2625
https://github.com/espressif/esp-idf/issues/4209
2020-07-21 11:27:20 +08:00
Hrudaynath Dhabe
97aeb75955 esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.

Closes https://github.com/espressif/esp-idf/issues/3004
2020-07-21 11:25:33 +08:00
Shubham Kulkarni
2e32cdb3b2 Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c

bootloader_support is added in public requirements of CMake

bootloader_common.h is included in esp_https_ota.h

Closes https://github.com/espressif/esp-idf/issues/4198

Closes IDFGH-2066
2020-07-21 10:39:43 +08:00
Hrudaynath Dhabe
fbfad8838e esp_https_ota: Added error checking functionalities.
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2020-07-21 10:27:16 +08:00
xiongyu
a749488f9f bugfix(driver): fix i2s and timergroup some issues
* fix i2s and timergroup dev array used by isr crash issue

* Closes IDFGH-2432

* Closes https://github.com/espressif/esp-idf/issues/4545

* fix i2s adc data inv issue

* Closes IDFGH-2444

* Closes https://github.com/espressif/esp-idf/issues/4557
2020-07-21 10:12:21 +08:00
wangcheng
dcf351888e component/bt: remove duplicate events in r_lld_evt_end 2020-07-21 10:01:50 +08:00
gengyuchao
b6f67aebb3 Add more debug info for lmp and isr. 2020-07-20 17:10:10 +08:00
xutao
6c18e85816 memory: put esp_http_client % esp_tls into PSRAM 2020-07-20 17:10:10 +08:00
baohongde
b23e569e3a components/coex: Change wifi scan duration from 120ms to 100ms 2020-07-20 17:10:09 +08:00
gengyuchao
a6e06d7711 Reopen BT Debug log func. 2020-07-20 17:10:09 +08:00
Joseph Tang
a7840de9d8 core dump update 2020-07-20 17:10:09 +08:00
gengyuchao
1e25c373c1 Close RMT Debug log temporary 2020-07-20 17:10:09 +08:00
zwj
1c382e94db add heap size check and optimize adv lsit refresh time 2020-07-20 17:10:09 +08:00
gengyuchao
293e02f32a Fix rmt dbg save size bug 2020-07-20 17:10:09 +08:00
gengyuchao
9b28e15688 Reduce rmt debug log size to 4k 2020-07-20 17:10:08 +08:00
baohongde
afde3607da components/bt: Fix using NULL data in LC_FREE 2020-07-20 17:10:08 +08:00
baohongde
34d2e45ab2 Fix no sent buf 2020-07-20 17:10:08 +08:00
gengyuchao
c534295225 Init log function in esp_bt_controller_init 2020-07-20 17:10:08 +08:00
gengyuchao
2aa718367a Add the analysis of coredump 2020-07-20 17:10:08 +08:00
Joseph Tang
b059157b74 parse first 256 bytes of log dump as raw data 2020-07-20 17:10:08 +08:00
Joseph Tang
07ad7b9845 log dump 2020-07-20 17:10:08 +08:00
gengyuchao
da66192023 Fix memery risk of rmt log,and return NULL if rmt log is unavailable 2020-07-20 17:10:07 +08:00
liuzhifu
b8ca37175d soc: fix apll crash 2020-07-20 17:10:07 +08:00
gengyuchao
aaf6c1a0d0 Change dbg log in one buffer 2020-07-20 17:10:07 +08:00
gengyuchao
f51a055736 Add save log function and API for rmt debug info 2020-07-20 17:10:07 +08:00
baohongde
d3fb83421c Fix some assert
data_len is 0 in ld_acl_data_tx
frcntl format error
sniff remove when active
rxlinklbl error in ld_acl_rx
Increase memory pool
2020-07-20 17:10:07 +08:00
baohongde
7552f9cad9 components/bt: Fix crash in ld_acl_tx
add fixed bug record into coredump
2020-07-20 17:10:07 +08:00
gengyuchao
5a522a8029 Change the hci timeout time for wait user to confirm dhkey rsp status. 2020-07-20 17:10:07 +08:00
weitianhua
69aa2121cc Fix audio underrun issue with oppo x20 2020-07-20 17:10:06 +08:00
baohongde
8a074d7b40 components/bt: Add debug for HCI timeout 2020-07-20 17:10:06 +08:00
baohongde
9d0d5a1b24 components/bt: Increase BTU queue size 2020-07-20 17:10:06 +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
3b3467b884 components/bt: Make sleep available in hli 2020-07-20 17:10:06 +08:00
weitianhua
c85876ab51 1.Change position of tx free function before ld_read_clock
2.Comment out log.
2020-07-20 17:10:06 +08:00
baohongde
f2082ad2ea components/bt: Fix cache disable 2020-07-20 17:10:05 +08:00
weitianhua
3198b4861d Abbreviate ld_acl reschedule log for quicker process 2020-07-20 17:10:05 +08:00
baohongde
eb0ca8317a components/bt: Fix radio EM access error 2020-07-20 17:10:05 +08:00
baohongde
7e8e30c77e components/bt: Make sure good channel number is no less than 20 2020-07-20 17:10:05 +08:00
baohongde
ef64f1d56b components/bt: Fix assert when controller received an HCI but did not want it 2020-07-20 17:10:05 +08:00
gengyuchao
d3c1530745 Fixed rare bug in the ble mesh run outof btc queue. Change the task_post abort to abort_with_coredump. 2020-07-20 17:10:05 +08:00
baohongde
07dbcee626 components/bt: assert in host, to coredump param 2020-07-20 17:10:05 +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
7b20091c1e Fix for mi6 compatibility 2020-07-20 17:10:04 +08:00
baohongde
44985f00d3 components/bt: Disable exception mode after saving special registers
To store some registers first, avoid stuck due to live lock after disabling exception mode
2020-07-20 17:10:04 +08:00
baohongde
5e6824e3ea Revert "fix live lock in bt isr immediately"
This reverts commit dd086a332315dedf5e326050c6dbed5e6a7eed18.
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