Mahavir Jain
3063679f5a
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
2019-12-31 11:14:18 +05:30
Shubham Kulkarni
f335bfdea7
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
2019-12-31 11:14:18 +05:30
Hrudaynath Dhabe
2b44bc47df
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.
2019-12-31 11:14:18 +05:30
Hrudaynath Dhabe
012ff5775b
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
2019-12-31 11:14:18 +05:30
Mahavir Jain
b2a1de4d62
Merge branch 'nimble/update_doc_link_v3.3' into 'release/v3.3'
...
NimBLE: Update the link to NimBLE upstream documentation (v3.3)
See merge request espressif/esp-idf!7168
2019-12-31 13:42:59 +08:00
Hrishikesh Dhayagude
4712d675f7
NimBLE: Update the link to NimBLE upstream documentation
2019-12-30 19:20:06 +05:30
Roland Dobai
4cde39ee42
CI: Adjust the test parameters of IDF Monitor
2019-12-30 14:37:33 +01:00
Piyush Shah
36f0728254
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-12-30 17:34:30 +05:30
Angus Gratton
37aac8314e
Merge branch 'bugfix/msys2_environment_update_v3.3' into 'release/v3.3'
...
doc: Update MSYS2 pre-compiled environment zip
See merge request espressif/esp-idf!7079
2019-12-30 11:36:10 +08:00
Angus Gratton
a4f872c181
doc: Update MSYS2 pre-compiled environment zip
...
Required to get working MSYS2 Python cryptography package
Closes https://github.com/espressif/esp-idf/issues/4457
2019-12-30 13:44:37 +11:00
Jiang Jiang Jian
45329c2fdc
Merge branch 'bugfix/btdm_revert_changes_of_security_mask_v3.3' into 'release/v3.3'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7120
2019-12-29 14:12:50 +08:00
baohongde
09b8979987
components/bt: Revert changes of security mask
2019-12-25 20:13:35 +08:00
Mahavir Jain
9945c2fdcd
Merge branch 'bugfix/touchpad_interrupt_v3.3' into 'release/v3.3'
...
Change critical section API for touch pad interrupt (backport v3.3)
See merge request espressif/esp-idf!7107
2019-12-25 14:09:04 +08:00
Shubham Kulkarni
afb8064a29
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 18:00:19 +05:30
Jiang Jiang Jian
1a657c255c
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.3' into 'release/v3.3'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6726
2019-12-22 21:37:00 +08:00
Jiang Jiang Jian
c5d79efcc5
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v3.3' into 'release/v3.3'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.3)
See merge request espressif/esp-idf!5988
2019-12-22 19:21:18 +08:00
baohongde
83184631a4
components/bt: Disable some unsupported security mask
2019-12-22 08:56:18 +00:00
Angus Gratton
c3571e97cb
Merge branch 'bugfix/config_assert_thread_safety_backport_v3.3' into 'release/v3.3'
...
freertos: Fix configASSERT thread safety (backport v3.3)
See merge request espressif/esp-idf!6660
2019-12-20 13:26:30 +08:00
Angus Gratton
e395d14c59
Merge branch 'bugfix/update_can_target_test_backport_v3.3' into 'release/v3.3'
...
CAN: Reenable example tests (backport v3.3)
See merge request espressif/esp-idf!6735
2019-12-20 13:03:20 +08:00
Jiang Jiang Jian
54c1882b99
Merge branch 'bugfix/put_more_rx_code_to_iram_v3.3' into 'release/v3.3'
...
wifi: Put some rx code to iram (backportv3.3)
See merge request espressif/esp-idf!6647
2019-12-18 16:39:48 +08:00
Darian Leung
0cf891785e
CAN: Reenable example tests
...
This commit updates the CAN example tests and updates the job
and environment labels in the target-test.yml
2019-12-18 15:39:25 +08:00
Mahavir Jain
1d70441bdc
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-12-18 06:49:59 +00:00
Darian Leung
2c96976b13
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-12-18 06:49:59 +00:00
Jiang Jiang Jian
a109f7de57
Merge branch 'bugfix/btdm_fix_doc_and_host_bug_backport_v3.3' into 'release/v3.3'
...
Bugfix/btdm fix doc and host bug backport v3.3
See merge request espressif/esp-idf!6955
2019-12-18 14:19:14 +08:00
Geng Yu Chao
db8bcc60f9
Bugfix/btdm fix doc and host bug backport v3.3
2019-12-18 14:19:13 +08:00
Angus Gratton
62f9b975ac
Merge branch 'bugfix/doc_fix_debian_requirements_v3.3' into 'release/v3.3'
...
Docs: Update Debian & Ubuntu install prerequisites (v3.3)
See merge request espressif/esp-idf!7037
2019-12-18 07:35:27 +08:00
Roland Dobai
71b29fac71
Docs: Update Debian & Ubuntu install prerequisites
...
Latest versions of apt-get don't install as much packages by default
as older ones. This fix adds some missing packages discovered for an OS
derived from the latest stable Debian. These packages exist for older
Debian derivatives as well (tested with Ubuntu 16.04 LTS).
Closes https://github.com/espressif/esp-idf/issues/4480
2019-12-17 13:58:51 +01:00
xiehang
b764454e52
esp_wifi:Put some rx code to iram
2019-12-17 12:55:47 +00:00
Jiang Jiang Jian
de9fd03b3e
Merge branch 'bufgix/esp_timer_set_alarm_v3.3' into 'release/v3.3'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v3.3)
See merge request espressif/esp-idf!6997
2019-12-16 19:40:52 +08:00
Jiang Jiang Jian
97dba89daf
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.3' into 'release/v3.3'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6884
2019-12-16 14:07:20 +08:00
Angus Gratton
88cf7ed87e
Merge branch 'bugfix/wifi_internal_memory_v3.3' into 'release/v3.3'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v3.3)
See merge request espressif/esp-idf!6628
2019-12-16 13:39:43 +08:00
Jiang Jiang Jian
82f1be5e5a
Merge branch 'bugfix/hfp_client_indication_v3.3' into 'release/v3.3'
...
component/bt: Fix bugs in HFP feature v3.3
See merge request espressif/esp-idf!6852
2019-12-16 11:32:10 +08:00
Jiang Jiang Jian
ce9ec29737
Merge branch 'bugfix/http_client_buffer_overflow_v3.3' into 'release/v3.3'
...
Fix HTTP client buffer overflow (v3.3)
See merge request espressif/esp-idf!6667
2019-12-16 11:31:55 +08:00
Jiang Jiang Jian
7b73cf613c
Merge branch 'component_bt/osi_fixed_queue_v3.3' into 'release/v3.3'
...
component_bt/: Fix_pointer_type_fixed_queue v3.3
See merge request espressif/esp-idf!6847
2019-12-16 11:31:24 +08:00
Jiang Jiang Jian
a980a1780a
Merge branch 'bugfix/fix_the_bug_in_espnow_example_v3.3' into 'release/v3.3'
...
espnow: fix the bug for calling esp_wifi_set_channel (backport v3.3)
See merge request espressif/esp-idf!6693
2019-12-16 11:30:56 +08:00
Angus Gratton
762a9fe83f
Merge branch 'bugfix/hide_unsupported_cmake_features_v3.3' into 'release/v3.3'
...
security: Hide Secure Boot & Flash Encryption config items when using CMake
See merge request espressif/esp-idf!6899
2019-12-16 11:17:49 +08:00
KonstantinKondrashov
d071cd11c8
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:38:30 +08:00
Mahavir Jain
659ccfa999
Merge branch 'bugfix/set_mconf_idf_build_dir_v3.3' into 'release/v3.3'
...
cmake: set build dir for mconf-idf (v3.3)
See merge request espressif/esp-idf!7007
2019-12-13 20:06:45 +08:00
Shubham Kulkarni
781bd398dc
cmake: set build dir for mconf-idf
...
Fixes an issue where if idf_build_process is called in a CMake
subdirectory, menuconfig looks for the mconf-idf binary in the wrong
place (in the subdirectory build dir instead of root binary dir).
2019-12-13 16:10:01 +05:30
Angus Gratton
876ac4e963
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
Angus Gratton
6231961683
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
KonstantinKondrashov
32ec2750e0
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
2019-12-12 14:43:44 +08:00
Angus Gratton
a0c14f46ba
Merge branch 'ci/artifact_expiry' into 'release/v3.3'
...
ci: Minimum 4 days for artifact expiry (v3.3)
See merge request espressif/esp-idf!6982
2019-12-12 14:29:50 +08:00
Angus Gratton
9926a12943
ci: Minimum 4 days for artifact expiry
2019-12-11 18:15:23 +11:00
Ivan Grokhotkov
143d26aa49
Merge branch 'bugfix/doc_package_versions_v3.3' into 'release/v3.3'
...
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5 (v3.3)
See merge request espressif/esp-idf!6975
2019-12-11 14:23:07 +08:00
Angus Gratton
e1eabe6f6a
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-11 14:40:41 +11:00
Angus Gratton
0407ab426e
Merge branch 'bugfix/update_libexpat_v3.3' into 'release/v3.3'
...
expat: Update library from 2.2.5 to 2.2.9 (v3.3)
See merge request espressif/esp-idf!6922
2019-12-09 13:21:10 +08:00
Roland Dobai
bcbc4a9599
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:21:29 +01:00
Jiang Jiang Jian
50737018cc
Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_v3.3' into 'release/v3.3'
...
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth (backport v3.3)
See merge request espressif/esp-idf!6707
2019-12-04 14:57:09 +08:00
Xia Xiaotian
19913cec43
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-04 04:19:58 +00:00