9e70825d1e
Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v3.3' into 'release/v3.3'
...
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v3.3)
See merge request espressif/esp-idf!7758
2020-03-18 12:07:08 +08:00
151b6d9bef
Merge branch 'bugfix/allow_adv_stop_again_in_host' into 'release/v3.3'
...
Fix allow to send stop adv hci cmd when host adv state is disable
See merge request espressif/esp-idf!7993
2020-03-17 23:52:04 +08:00
c4308384d6
Merge branch 'bugfix/ble_mesh_nimble_adapt_deinit_v3.3' into 'release/v3.3'
...
ble_mesh: Fix ble mesh nimble host deinit (v3.3)
See merge request espressif/esp-idf!7998
2020-03-17 15:54:52 +08:00
cc07e9d203
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 14:42:46 +08:00
ab175f8845
fix allow to send stop adv hci cmd when host adv state is disable
2020-03-16 21:37:07 +08:00
206a844e4a
Merge branch 'bugfix/fix_scan_get_rssi_err_v3.3' into 'release/v3.3'
...
esp_wifi: Fix scan get rssi err (backport v3.3)
See merge request espressif/esp-idf!7963
2020-03-16 20:56:30 +08:00
bf568f2eb4
Merge branch 'bugfix/ble_mesh_miscellaneous_fix_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh miscellaneous fix (v3.3)
See merge request espressif/esp-idf!7971
2020-03-16 13:27:35 +08:00
36cddd0bae
Merge branch 'bugfix/ble_mesh_update_3.3' into 'release/v3.3'
...
Bugfix/ble mesh update 3.3
See merge request espressif/esp-idf!7801
2020-03-16 13:26:44 +08:00
13d4ab5afb
Merge branch 'nimble/misc_host_flow_ctrl_changes_v3.3' into 'release/v3.3'
...
NimBLE: Misc fixes in NimBLE host (backport v3.3)
See merge request espressif/esp-idf!7960
2020-03-16 13:26:37 +08:00
4fb4c01c53
NimBLE: Add Host based privacy (RPA) feature support (v3.3)
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-15 21:43:01 +05:30
237f7eb92a
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v3.3)
2020-03-15 21:43:01 +05:30
5ca8851be8
NimBLE: Use dynamic buffers instead of static memory (v3.3)
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-03-15 21:43:01 +05:30
b6c88b683f
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example (v3.3)
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
2020-03-15 21:43:01 +05:30
a8763e6517
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:53:26 +08:00
de022501b7
ble_mesh: Use the right netkey during iv update
2020-03-13 19:53:23 +08:00
0d6dd36af9
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:53:19 +08:00
68dba56ac8
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:53:16 +08:00
9f32f4b405
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:53:12 +08:00
c19a01d100
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:53:08 +08:00
2ae6eedb30
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:53:02 +08:00
e73ad2c391
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:52:50 +08:00
6de264be1e
esp_wifi: Fix scan get rssi err
...
Remove software modify rssi
2020-03-13 19:41:11 +08:00
766eace598
Merge branch 'bugfix/backport_some_wifi_bugs_0310_v3.3' into 'release/v3.3'
...
Backport some wifi bugs 0310 (backport v3.3)
See merge request espressif/esp-idf!7935
2020-03-13 19:38:01 +08:00
1bd55a9af2
Merge branch 'bugfix/unicore_config_prevent_ipc_code_v3.3' into 'release/v3.3'
...
ipc: prevent code getting pulled in for unicore configuration (v3.3)
See merge request espressif/esp-idf!7945
2020-03-12 23:18:40 +08:00
6babdfc0b7
ipc: prevent code getting pulled in for unicore configuration
2020-03-12 16:28:00 +05:30
7013d2d7c5
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-03-11 19:23:24 +08:00
2d7be5c35d
Merge branch 'bugfix/ota_with_redirection_v3.3' into 'release/v3.3'
...
esp_https_ota in sync with master (v3.3)
See merge request espressif/esp-idf!7749
2020-03-11 14:44:54 +08:00
c9e7a04a9e
Update wifi lib
...
1. Add wifi stop check at wifi deinit entry.
2. Add TX packets size check.
3. Reduce wifi bin size.
4. Fix the bug for setting channel when wifi in NULL mode.
5. Place the Vendor Specific element at the end according to the protocol.
6. Coex adjust scheme when bt is in connnected status.
2020-03-10 20:01:39 +08:00
5def4ad7fe
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-09 13:21:21 +05:30
3cceacc931
OTA: Add fix in case of URL redirection
...
Test case for URL Redirection and Chunked server is added
2020-03-09 13:21:21 +05:30
9df632482c
OTA: Fixed OTA with chunked servers
...
If esp_http_client_read returns 0, errno check is performed if complete data is not received.
2020-03-09 13:21:21 +05:30
46c8f40a83
Merge branch 'bugfix/fix_extra_component_dirs_ordering_v3.3' into 'release/v3.3'
...
cmake: fix extra component dirs ordering (v3.3)
See merge request espressif/esp-idf!7730
2020-03-09 13:55:04 +08:00
6f9a7264ce
Merge branch 'bugfix/bt_interrupt_disable_timing_error_v3.3' into 'release/v3.3'
...
(backport v3.3) btController: events scheduling error in case of wifi and bluetooth.
See merge request espressif/esp-idf!7889
2020-03-06 11:34:11 +08:00
72fb22ed51
This MR is intended to fix Bluetooth event scheduling when WiFi is also enabled.
...
The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Also fixes ble crash issue triggered by ble event irq miss (0x20000).
2020-03-05 18:58:28 +05:30
cc34d5a5b0
Merge branch 'bugfix/phy_partition_address_v3.3' into 'release/v3.3'
...
cmake: Fix bug where PHY partition offset incorrectly set (v3.1)
See merge request espressif/esp-idf!7837
2020-03-04 07:35:52 +08:00
1eaccfae4a
cmake: Fix bug where PHY partition offset incorrectly set
2020-03-02 23:27:51 +00:00
ade22b2ae7
Merge branch 'bugfix/fix_wifi_stop_leads_to_memory_leak_v3.3' into 'release/v3.3'
...
esp32: fix the bug that WiFi stop leads to memory leak (backport v3.3)
See merge request espressif/esp-idf!7797
2020-02-28 20:40:28 +08:00
0e2c77b185
ble_mesh: Calc incomplete timeout based on msg info
2020-02-27 15:47:26 +08:00
91ad0f9f4a
ble_mesh: Start the timer when starting to send the client message
2020-02-27 15:47:12 +08:00
70eadc0b05
ble_mesh: No timeout for client message to non-unicast address
2020-02-27 15:46:54 +08:00
49fc8c86b3
ble_mesh: Unify client application and lower transport layer timeout
2020-02-27 15:46:19 +08:00
04a6ac3cf5
ble_mesh: Allow maximum 377 octets payload
2020-02-27 15:46:03 +08:00
9fa5c14d58
ble_mesh: Reset transport info when node is removed
2020-02-27 15:45:46 +08:00
cc19e1da9b
ble_mesh: Provisioner ignores msg from removed node
2020-02-27 15:45:15 +08:00
96bb4c6e78
esp32: fix the bug that WiFi stop leads to memory leak
2020-02-27 14:28:39 +08:00
f3c3605fc2
Merge branch 'feature/idf_docker_updates_v3.3' into 'release/v3.3'
...
tools/docker: install CMake version provided in tools.json (backport v3.3)
See merge request espressif/esp-idf!7483
2020-02-26 17:45:54 +08:00
b3d5fe849d
Merge branch 'feat/mcpwm_hal_fixes_v3.3' into 'release/v3.3'
...
mcpwm: add HAL layer support (fix part, backport v3.3)
See merge request espressif/esp-idf!7744
2020-02-24 09:11:10 +08:00
d0d0c979bc
Merge branch 'bugfix/transport_connection_active_v3.3' into 'release/v3.3'
...
fix(transport): Fix a bug of the connection whether be active or not (v3.3)
See merge request espressif/esp-idf!7736
2020-02-22 16:01:13 +08:00
12aa90e6a2
Merge branch 'feature/dev_security_restore_backport_v3p3' into 'release/v3.3'
...
feature/dev_security_restore_backport_v3p3(backport release/v3.3)
See merge request espressif/esp-idf!7739
2020-02-22 16:00:54 +08:00
ccb52dea65
Merge branch 'bugfix/mesh_ie_issues_3.3' into 'release/v3.3'
...
Bugfix/mesh ie issues (backport 3.3)
See merge request espressif/esp-idf!7322
2020-02-22 12:15:16 +08:00
c9edf16376
mcpwm: decrease test time
...
cherry-pick 538540ce
2020-02-21 22:39:12 +08:00
919dbdd170
mcpwm: fix the fault handling and capture issues
...
1. The fault signal 3 for unit 2 is corrected to the right value
2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.
3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.
Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2020-02-21 22:39:11 +08:00
3c6f992cf0
mcpwm: enable some unit tests again
2020-02-21 22:39:03 +08:00
2548168277
backport mr !6031 - fix security info restore bug
2020-02-21 20:17:17 +08:00
4b763f361d
idf_tools.py: fix downloading for tools which have "on_request" options for some platforms.
...
'install' and 'download' options can be used for 'required' or 'all' tools
2020-02-21 11:34:04 +01:00
faf86f72fb
tools/docker: install CMake version provided in tools.json
...
Closes https://github.com/espressif/esp-idf/issues/4644
Closes IDFGH-2559
2020-02-21 11:34:04 +01:00
a3c4b04675
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
ix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-02-21 18:29:01 +08:00
a55cd0e7f3
Merge branch 'optimization/get_dns_server_and_add_dns_enable_ipv6_dns_retrieval' into 'release/v3.3'
...
lw-ip:optimization get dns server and add dns enable ipv6 dns retrieval
See merge request espressif/esp-idf!7643
2020-02-21 18:20:52 +08:00
7ab0a59bb3
Merge branch 'bugfix/host_and_example_bugfix_backport_to_v3.3' into 'release/v3.3'
...
Bugfix/host and example bugfix backport to v3.3
See merge request espressif/esp-idf!7723
2020-02-21 18:15:48 +08:00
bc77899fb2
Merge branch 'bugfix/ci_confserver_timeout_again_v3.3' into 'release/v3.3'
...
ci: Adjust more 'spawn' settings in test_confserver (backport v3.3)
See merge request espressif/esp-idf!5322
2020-02-21 18:09:17 +08:00
67be0ae585
fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value.
2020-02-21 11:01:15 +01:00
8246bfa8fb
fix(transport): Fix a bug of the connection whether be active or not.
2020-02-21 11:00:43 +01:00
7d1c44fb7e
Merge branch 'bugfix/btdm_role_switch_v3.3' into 'release/v3.3'
...
Fix bugs about role switch
See merge request espressif/esp-idf!7721
2020-02-21 17:49:46 +08:00
56140d11ce
Merge branch 'bugfix/mqtt_submodule_ref_update_v3.3' into 'release/v3.3'
...
mqtt: update submodule to point to latest commit (backport v3.3)
See merge request espressif/esp-idf!7287
2020-02-21 17:24:37 +08:00
93f151f6d4
Merge branch 'bugfix/mbedtls_esp_bignum_v3.3' into 'release/v3.3'
...
mbedtls: esp bignum fix for 4096 keys (v3.3)
See merge request espressif/esp-idf!7706
2020-02-21 17:17:39 +08:00
89355c2ec0
Merge branch 'bugfix/fix_some_typo_in_v3.3' into 'release/v3.3'
...
Fix some typo in idf backport v3.3
See merge request espressif/esp-idf!7725
2020-02-21 17:16:55 +08:00
8737c444d6
Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration_v3.3' into 'release/v3.3'
...
lw-ip: Add option to ipv6 stateless address configuration (backport v3.3)
See merge request espressif/esp-idf!7694
2020-02-21 14:56:23 +08:00
d386a22f1f
Merge branch 'bugfix/nimble_apps_conn_handle_v3.3' into 'release/v3.3'
...
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event (v3.3)
See merge request espressif/esp-idf!7703
2020-02-21 14:49:30 +08:00
bc0d116b7a
Merge branch 'feature/wifi_redo_scan_example_v3.3' into 'release/v3.3'
...
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.3)
See merge request espressif/esp-idf!7502
2020-02-21 14:48:57 +08:00
e3dadfafb8
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.3)
2020-02-21 14:48:56 +08:00
681dba4afd
optimization get dns server and add dns enable ipv6 dns retrieval
2020-02-20 14:06:07 +00:00
32387506fb
Merge branch 'bugfix/esp_log_timestamp_v3.3' into 'release/v3.3'
...
Use proper API to get Tick Count is esp_log_timestamp (v3.3)
See merge request espressif/esp-idf!7720
2020-02-20 20:13:23 +08:00
94255c421d
Fix some typo in idf release v3.3
2020-02-20 20:05:10 +08:00
b6e9a15e81
Component/bt :
...
Add handling of osi memory calloc failure.
Add length check for snprintf in osi config.
2020-02-20 19:39:03 +08:00
3359e063a3
Merge branch 'fix/run_esptool_absolute_path_v3.3' into 'release/v3.3'
...
project_include.cmake: Make esptool_py_custom_target callable from other directories (v3.3)
See merge request espressif/esp-idf!7711
2020-02-20 19:38:32 +08:00
dcc4943b3d
example/ble_hid_device_demo fix the wrong mask value according to HID protocol
2020-02-20 19:19:33 +08:00
53664c80ff
component/bt: Fix the issue with pointer type conversion in gattc. Unified att(db_sizedb_size) count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-02-20 19:16:01 +08:00
74b964ed67
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-20 19:11:45 +08:00
110620a80c
log: Check for ISR context and use proper API to get Tick Count
2020-02-20 16:02:16 +05:30
e454d4d8e8
Bulfi: Check if ble is connected before sending a message via ble. Fix the wrong wifi storage mode from WIFI_STORAGE_RAM to default WIFI_STORAGE_FLASH.
2020-02-20 18:11:55 +08:00
6241139685
example/ble_throughput:
...
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-02-20 18:05:23 +08:00
4375e60a6e
bugfix: ble add missing gatt descriptors
2020-02-20 17:54:45 +08:00
26383e95fd
Merge branch 'feature/esp32_5p0_backport_v3p3' into 'release/v3.3'
...
backport esp325p0 new features and code optimize to v3.3
See merge request espressif/esp-idf!7564
2020-02-20 17:38:23 +08:00
fe5b7b549c
mbedtls: fix hw accelerated big-num mul if operand and result overlap
...
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-02-20 10:05:48 +01:00
12d639e5b2
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:05:48 +01:00
e14c55c3ad
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event
2020-02-20 14:02:33 +05:30
03b3e5eff2
project_include.cmake: Make esptool_py_custom_target callable from other directories (backport v3.3)
2020-02-20 13:11:52 +05:30
9d0e3501c5
cmake: fix extra component dirs ordering
2020-02-20 12:31:23 +05:00
c1bf7057d3
Merge branch 'bugfix/fix_sniffer_bug_caused_by_mode_switch_v3.3' into 'release/v3.3'
...
FIx sniffer bug caused by mode switch (backport v3.3)
See merge request espressif/esp-idf!7685
2020-02-20 14:58:33 +08:00
365092fb57
Merge branch 'bugfix/coex_a2dp_stuck_after_creating_another_connection_v3.3' into 'release/v3.3'
...
components/coex: Fix a2dp stuck after creating another connection
See merge request espressif/esp-idf!7663
2020-02-20 14:16:53 +08:00
cee1bc9f8e
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:06:26 +08:00
18e5d35722
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v3.3' into 'release/v3.3'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v3.3)
See merge request espressif/esp-idf!7370
2020-02-20 13:53:13 +08:00
013b8ab34c
ci: Adjust more 'spawn' settings in test_confserver
2020-02-20 04:29:57 +00:00
fb2d0de8f9
Merge branch 'bugfix/enable_ipv6_address_autoconfig_v3.3' into 'release/v3.3'
...
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v3.3)
See merge request espressif/esp-idf!7657
2020-02-20 11:46:23 +08:00
a853c84db2
esp_wifi: Small refactor for ic_set_vif
2020-02-19 21:54:04 +08:00
3aa0922221
Merge branch 'bugfix/controller_initializer_order' into 'release/v3.3'
...
fix initializer order for BT_CONTROLLER_INIT_CONFIG_DEFAULT
See merge request espressif/esp-idf!7623
2020-02-19 17:09:17 +08:00
e0b29aca15
Merge branch 'bugfix/fix_airkiss_bug_v3.3' into 'release/v3.3'
...
fix the bug for Airkiss (backport v3.3)
See merge request espressif/esp-idf!7666
2020-02-19 16:40:22 +08:00
b1a9e364bb
Merge branch 'bugfix/i2s_timergroup_some_issues_v3.3' into 'release/v3.3'
...
bugfix(driver): fix i2s and timergroup some issues(backport v3.3)
See merge request espressif/esp-idf!7172
2020-02-19 11:19:10 +08:00
2dfadc9657
fix the bug for Airkiss can't get the ip of the cellphone
2020-02-19 10:19:26 +08:00
5323c159c1
Merge branch 'bugfix/kconfig_cmake_escape_v3.3' into 'release/v3.3'
...
confgen.py: Escape special characters for cmake (v3.3)
See merge request espressif/esp-idf!7647
2020-02-19 08:01:38 +08:00
09e2a82970
Merge branch 'doc/partition_table_app_test_v3.3' into 'release/v3.3'
...
partition table: Update documentation about "test" partition type (v3.3)
See merge request espressif/esp-idf!7631
2020-02-19 08:00:49 +08:00
2d2ccaacd8
Merge branch 'bugfix/unified_prov_bluedroid_v3.3' into 'release/v3.3'
...
Unified Provisioning - BLE: Fix characteristics read response issue (backport v3.3)
See merge request espressif/esp-idf!7649
2020-02-18 20:57:51 +08:00
a4bbcbcf98
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp_3.3' into 'release/v3.3'
...
ble_mesh: Fix compile error with c++ files (v3.3)
See merge request espressif/esp-idf!7585
2020-02-18 20:44:31 +08:00
7592ec77f5
components/coex: Fix a2dp stuck after creating another connection
2020-02-18 20:22:48 +08:00
2f1d050133
lw-ip: Enable IPv6 stateless address autoconfiguration
2020-02-18 19:28:22 +08:00
9b1c1f21f9
Merge branch 'bugfix/strncpy_issue_in_wifi_example_v3.3' into 'release/v3.3'
...
replace strncpy with strlcpy in wifi examples for safety's sake (v3.3)
See merge request espressif/esp-idf!7634
2020-02-18 19:06:45 +08:00
a1e0268f40
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of MTU-1
2020-02-18 15:06:44 +05:30
9c1d75cc5b
confgen.py: Escape special characters for cmake
...
Closes https://github.com/espressif/esp-idf/issues/4751
2020-02-18 09:56:05 +01:00
eec53257dc
backport esp32 5p0 new features to v3p3
2020-02-18 15:21:07 +08:00
a476228c8c
replace strncpy with strlcpy in wifi examples for safety's sake
2020-02-18 10:41:33 +08:00
f8113d89e7
partition table: Update documentation about "test" partition type
...
Reported from forum: https://esp32.com/viewtopic.php?f=13&t=10777&p=44164#p44164
2020-02-18 11:02:23 +11:00
6648127362
Merge branch 'bugfix/doc_sphinxcontrib_dep_v3.3' into 'release/v3.3'
...
Docs: Fix sphinxcontrib dependencies (v3.3)
See merge request espressif/esp-idf!7611
2020-02-17 15:07:55 +08:00
817efe8aa2
Merge branch 'bugfix/add_hostname_option_to_dhcp_request_on_reboot' into 'release/v3.3'
...
lw-ip:add hostname option to dhcp request on reboot
See merge request espressif/esp-idf!7383
2020-02-15 14:13:27 +08:00
a0eb61e8a8
add hostname option to dhcp request on reboot
2020-02-14 22:53:38 +08:00
4f41c77665
Merge branch 'bugfix/LWIP_header_missing_C++_guards' into 'release/v3.3'
...
lw-ip:add lw-ip header missing_C++ guards
See merge request espressif/esp-idf!7411
2020-02-14 22:44:27 +08:00
fdceac415b
Merge branch 'feature/add_ETHARP_SUPPORT_VLAN' into 'release/v3.3'
...
lw-ip:add feature ETHARP SUPPORT VLAN
See merge request espressif/esp-idf!7399
2020-02-14 19:48:09 +08:00
5599d05f87
add lwip header missing_C++ guards
2020-02-14 18:50:24 +08:00
f41e536f06
Merge branch 'fixbug/disable_TCP_QUEUE_OOSEQ_compile_fail' into 'release/v3.3'
...
lw-ip:fixbug disable TCP_QUEUE OOSEQ compile fail
See merge request espressif/esp-idf!7382
2020-02-14 17:56:08 +08:00
4f0ee78558
add feature ETHARP SUPPORT VLAN
2020-02-14 17:44:05 +08:00
d12048bcea
Docs: Fix sphinxcontrib dependencies
2020-02-14 10:40:07 +01:00
fcc9db267d
Merge branch 'bugfix/crash_of_dhcp_server_reconfiguration' into 'release/v3.3'
...
lw-ip:fixed rare crash of DHCP Server during WIFI AP network reconfiguration and...
See merge request espressif/esp-idf!7412
2020-02-14 16:49:48 +08:00
9b67208b14
Merge branch 'hfp_a2dp_iphone_3.3' into 'release/v3.3'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 3.3]
See merge request espressif/esp-idf!7250
2020-02-14 16:48:06 +08:00
91f0fcc3b3
Merge branch 'feat/nimble_esp_ble_mesh_v3.3' into 'release/v3.3'
...
Add support of NimBLE host in ESP-BLE-Mesh (backport v3.3)
See merge request espressif/esp-idf!7510
2020-02-14 16:43:05 +08:00
f88a04aa3e
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v3.3' into 'release/v3.3'
...
soc: clear PHY status when cpu start (backport v3.3)
See merge request espressif/esp-idf!7589
2020-02-14 11:34:45 +08:00
cf6f1e8246
Add support of NimBLE host in ESP-BLE-Mesh - v3.3
2020-02-13 12:33:23 +05:30
79445f4234
soc: clear PHY status when cpu start
2020-02-13 14:20:30 +08:00
bdc586bb52
Merge branch 'bugfix/fix_double_recycle_bar_crash_issue_v3.3' into 'release/v3.3'
...
esp32: fix the crash caused by double free BAR buffer (backport v3.3)
See merge request espressif/esp-idf!7567
2020-02-13 12:02:46 +08:00
46b1608f44
ble_mesh: Fix compile error with c++ files
2020-02-13 09:58:56 +08:00
2118af0163
esp32: fix the crash caused by double free BAR buffer
2020-02-12 19:54:38 +08:00
0dec21cfda
Merge branch 'bugfix/idf_tools_virtualenv_v3.3' into 'release/v3.3'
...
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0 (backport v3.3)
See merge request espressif/esp-idf!7554
2020-02-12 17:32:21 +08:00
2eb4374a5b
Merge branch 'bugfix/coex_schm_rebased_v3.3' into 'release/v3.3'
...
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario (Backport v3.3)
See merge request espressif/esp-idf!7410
2020-02-12 17:07:18 +08:00
a41443184e
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-02-12 16:13:28 +08:00
8c3cefca81
Merge branch 'bugfix/panic_cache_err_dig_reset_v3.3' into 'release/v3.3'
...
esp32: panic: do digital reset if cache error interrupt is set (backport v3.3)
See merge request espressif/esp-idf!7485
2020-02-12 15:30:59 +08:00
ec222a2dff
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
...
--no-site-packages is the default behavior since virtualenv 1.7
(released in Nov 2011). This option was removed in virtualenv 20.0.
2020-02-11 09:47:38 +01:00
72e7978f89
Merge branch 'bugfix/part_gen_subtype_fix_v3.3' into 'release/v3.3'
...
partition_table: Fix subtype in gen_esp32part.py (v3.3)
See merge request espressif/esp-idf!7537
2020-02-11 12:06:33 +08:00
e9894d6efc
mqtt: update submodule to point to latest commit.
...
Adds bugfixes for:
- Too early publishing
- Potential mutex memory leak
- CI related issues.
- Wait for entire connack message
- Event loop not getting cleaned up
Adds support for ALPN, configurable reconnect time, QEMU CI tests and password
protected client key.
MQTT MR: esp-mqtt/merge_requests/46
Closes IDF-1162
Closes https://github.com/espressif/esp-mqtt/issues/137
MQTT MR: esp-mqtt/merge_requests/47
Closes IDF-1126
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2197
Closes https://github.com/espressif/esp-idf/issues/4349
Closes https://github.com/espressif/esp-mqtt/issues/140
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2235
Closes https://github.com/espressif/esp-idf/issues/4384
MQTT MR: esp-mqtt/merge_requests/49
Closes https://github.com/espressif/esp-idf/issues/4433
Closes IDFGH-2293
MQTT MR: esp-mqtt/merge_requests/50
Closes FCS-254
MQTT MR: esp-mqtt/merge_requests/53
Closes FCS-267
2020-02-10 07:57:08 +00:00
8c72cc5749
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-10 08:37:45 +01:00
a590348af2
Merge branch 'bugfix/ble_mesh_kconfig_ascii_v3.3' into 'release/v3.3'
...
bugfix: bt Kconfig included a UTF-8 comma
See merge request espressif/esp-idf!7523
2020-02-10 06:47:19 +08:00
79dff0ef12
fix initializer order for BT_CONTROLLER_INIT_CONFIG_DEFAULT
2020-02-07 18:59:03 +08:00
aafe7f73f5
Merge branch 'bugfix/doc_nwdiag_v3.3' into 'release/v3.3'
...
docs: Fix nwdiag dependency for documentation build (v3.3)
See merge request espressif/esp-idf!7517
2020-02-07 06:20:06 +08:00
fd348b7bd8
bugfix: bt Kconfig included a UTF-8 comma
...
Displays incorrectly on Python 3, but can crash Python 3 if the system default encoding is not utf-8
2020-02-07 09:10:56 +11:00
350f23c9bd
docs: Fix nwdiag dependency for documentation build
2020-02-06 17:52:19 +01:00
91b9310714
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.3' into 'release/v3.3'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.3)
See merge request espressif/esp-idf!7441
2020-02-06 14:33:21 +08:00
2da1db9726
Merge branch 'bugfix/wps_config_init_v3.3' into 'release/v3.3'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7312
2020-02-06 14:06:27 +08:00
2718fdbd95
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-02-05 10:43:19 +00:00
a03b9c7465
Add NimBLE files in ESP-BLE-Mesh again
...
Revert "ble_mesh: Remove NimBLE implementation for ESP-BLE-MESH"
This reverts commit 925f93614c
.
2020-02-05 13:37:54 +05:30
f972606763
Merge branch 'feat/ble_mesh_for_idf3.3' into 'release/v3.3'
...
ble_mesh: Add ESP BLE Mesh implementation (v3.3)
See merge request espressif/esp-idf!7274
2020-02-04 11:42:35 +08:00
925f93614c
ble_mesh: Remove NimBLE implementation for ESP-BLE-MESH
2020-02-03 12:04:00 +08:00
b19671e0d4
ble_mesh: Add ESP BLE Mesh implementation
...
1. BLE Mesh Core
* Provisioning: Node Role
* PB-ADV and PB-GATT
* Authentication OOB
* Provisioning: Provisioner Role
* PB-ADV and PB-GATT
* Authentication OOB
* Networking
* Relay
* Segmentation and Reassembly
* Key Refresh
* IV Update
* Proxy Support
* Multiple Client Models Run Simultaneously
* Support multiple client models send packets to different nodes simultaneously
* No blocking between client model and server
* NVS Storage
* Store BLE Mesh node related information in flash
* Store BLE Mesh Provisioner related information in flash
2. BLE Mesh Models
* Foundation Models
* Configuration Server Model
* Configuration Client Model
* Health Server Model
* Health Client Model
* Generic
* Generic OnOff Server
* Generic OnOff Client
* Generic Level Server
* Generic Level Client
* Generic Default Transition Time Server
* Generic Default Transition Time Client
* Generic Power OnOff Server
* Generic Power OnOff Setup Server
* Generic Power OnOff Client
* Generic Power Level Server
* Generic Power Level Setup Server
* Generic Power Level Client
* Generic Battery Server
* Generic Battery Client
* Generic Location Server
* Generic Location Setup Server
* Generic Location Client
* Generic Admin Property Server
* Generic Manufacturer Property Server
* Generic User Property Server
* Generic Client Property Server
* Generic Property Client
* Sensor Server Model
* Sensor Server
* Sensor Setup Server
* Sensor Client
* Time and Scenes
* Time Server
* Time Setup Server
* Time Client
* Scene Server
* Scene Setup Server
* Scene Client
* Scheduler Server
* Scheduler Setup Server
* Scheduler Client
* Lighting
* Light Lightness Server
* Light Lightness Setup Server
* Light Lightness Client
* Light CTL Server
* Light CTL Setup Server
* Light CTL Client
* Light CTL Temperature Server
* Light HSL Server
* Light HSL Setup Server
* Light HSL Client
* Light HSL Hue Server
* Light HSL Saturation Server
* Light xyL Server
* Light xyL Setup Server
* Light xyL Client
* Light LC Server
* Light LC Setup Server
* Light LC Client
3. BLE Mesh Applications
* BLE Mesh Node
* OnOff Client Example
* OnOff Server Example
* BLE Mesh Provisioner
* Example
* Fast Provisioning
* Vendor Fast Prov Server Model
* Vendor Fast Prov Client Model
* Examples
* Wi-Fi & BLE Mesh Coexistence
* Example
* BLE Mesh Console Commands
* Examples
2020-02-03 12:03:36 +08:00
c38bf3534e
Merge branch 'bugfix/idf_monitor_usbser_sys_v3.3' into 'release/v3.3'
...
tools: work around usbser.sys bug in IDF monitor (v3.3)
See merge request espressif/esp-idf!7471
2020-01-31 15:57:54 +08:00
46bfd878da
Fix wps config for support with gnu++11 as well as c99.
2020-01-31 05:56:00 +00:00
1de51a2cbe
Merge branch 'bugfix/esp_ptr_executable_single_core_v3.3' into 'release/v3.3'
...
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory (v3.3)
See merge request espressif/esp-idf!7465
2020-01-31 12:59:42 +08:00
f6e1a12b34
esp32: panic: do digital reset if cache error interrupt is set
...
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 handler itself.
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-01-30 12:31:00 +01:00
b81ae0873a
tools: work around usbser.sys bug in idf_monitor
...
implemented workaround in idf_monitor for known usbser.sys bug which
causes changes in RTS signal to only be sent if DTR signal also changes.
Works by forcing a dummy change in DTR signal (re-assigning its current
value, as it has previously been done in the flashing tool)
Closes https://github.com/espressif/esp-idf/pull/4676
2020-01-30 08:39:05 +01:00
07387fbd29
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-29 10:04:01 +11:00
3386cb5400
Merge branch 'bugfix/fix_ota_timeout_issues_v3.3' into 'release/v3.3'
...
Change Socket timeout to avoid connection error (v3.3)
See merge request espressif/esp-idf!7451
2020-01-27 17:09:36 +08:00
556f194b94
OTA example: Change OTA example timeout in sdkconfig.ci for CI testing
2020-01-24 18:37:46 +05:30
b19d054407
Merge branch 'bugfix/ci_deploy_tags_v3.3' into 'release/v3.3'
...
ci: fix tags for internal deploy jobs (backport v3.3)
See merge request espressif/esp-idf!7294
2020-01-24 13:43:45 +08:00
f8151b2bfe
Merge branch 'bugfix/esp_tls_blocking_timeout_v3.3' into 'release/v3.3'
...
esp-tls: add timeout for blocking connection (v3.3)
See merge request espressif/esp-idf!7397
2020-01-22 11:44:01 +08:00
d3cc7c0daf
Merge branch 'bugfix/esp_log_from_critical_v3.3' into 'release/v3.3'
...
intr_alloc: don't call ESP_LOG from a critical section (backport v3.3)
See merge request espressif/esp-idf!7160
2020-01-22 00:14:32 +08:00
552eb63ec4
Merge branch 'bugfix/fix_phy_init_data_bin_generation' into 'release/v3.3'
...
esp32: fix generation of phy_init_data.bin
See merge request espressif/esp-idf!7258
2020-01-21 17:04:18 +08:00
a025eeaf5b
fixbug disable TCP_QUEUE OOSEQ compile fail
2020-01-21 16:06:18 +08:00
faf23c095c
Fixed rare crash of DHCP Server during WIFI AP network reconfiguration and DHCP restart due to missed callback
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com >
2020-01-21 14:19:36 +08:00
5e9746bffa
Merge branch 'bugfix/advanced_https_ota_example_v3.3' into 'release/v3.3'
...
esp_https_ota in sync with v4.x (backport v3.3)
See merge request espressif/esp-idf!7161
2020-01-21 14:09:12 +08:00
8be372a1fd
Merge branch 'bugfix/wa_dport_and_intr_v3.3' into 'release/v3.3'
...
esp32: Fix for DPORT (v3.3)
See merge request espressif/esp-idf!7350
2020-01-21 10:53:15 +08:00
006f2c0b3a
Merge branch 'bugfix/backport_some_wifi_bugs_0107_v3.3' into 'release/v3.3'
...
backport some Wi-Fi bugs 0107 (backport v3.3)
See merge request espressif/esp-idf!7240
2020-01-20 16:08:58 +08:00
3ab801e27e
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-20 07:32:17 +01:00
613ba4c015
Merge branch 'bugfix/btdm_backports_v3.3_0114' into 'release/v3.3'
...
components/bt: backport release/v3.3
See merge request espressif/esp-idf!7358
2020-01-19 11:48:56 +08:00
f4a1a186a6
Merge branch 'nimble/example_update_doc_v3.3' into 'release/v3.3'
...
NimBLE: Update the documentation link in the examples (v3.3)
See merge request espressif/esp-idf!7366
2020-01-17 11:12:09 +08:00
9c3d2b4f70
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:26:15 +08:00
b4383d609f
NimBLE: Update the documentation link in the examples
2020-01-16 17:13:21 +05:30
30779731ea
components/bt: backport release/v3.3
...
Fix A2DP stuck when BLE's interval is too small
Bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
Fix LMP sniff req timeout
2020-01-16 15:47:31 +08:00
106f165899
esp32: Add UT for DPORT
2020-01-16 14:33:56 +08:00
68791163b2
esp32: Fix esp_dport_access_reg_read
2020-01-16 14:33:56 +08:00
53752db908
Merge branch 'bugfix/btdm_fix_multi_open_evt_and_clear_blufi_prepare_write_len_v3.3' into 'release/v3.3'
...
component/bt: fix multi open evt and clear blufi prepare write len(backport v3.3)
See merge request espressif/esp-idf!7325
2020-01-16 11:48:39 +08:00
a8b974f245
intr_alloc: don't call ESP_LOG from a critical section
...
Calling ESP_LOG from a critical section leads to abort() in 4.1, and
may also randomly abort() in earlier versions.
Closes FCS-268
2020-01-15 04:15:57 +00:00
8b44275fbf
esp32: fix generation of phy_init_data.bin
...
Closes https://github.com/espressif/esp-idf/issues/4567
2020-01-15 03:39:00 +00:00
367c3c09cc
Merge branch 'bugfix/ci_submodule_checkout_v3.3' into 'release/v3.3'
...
ci: Clean submodules after fetching sources
See merge request espressif/esp-idf!7321
2020-01-15 10:25:28 +08:00
2b6021cc31
ci: Clean submodules after fetching sources
...
Assuming no submodule dirs contain artifacts that we can't clean
2020-01-15 11:12:34 +10:00
5187d64c34
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:45:40 +08:00
927c4afa5b
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:41:45 +08:00
a63b5d155f
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-01-13 17:39:01 +05:30
da656f0345
lwip: Drop packets larger than MTU
2020-01-13 15:11:06 +08:00
431080faa1
fix the bugs for espnow and bandwidth
2020-01-13 15:10:09 +08:00
78d7e214d6
esp32: fix a WiFi RX bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-13 15:09:52 +08:00
64df5e111e
Merge branch 'bugfix/udp_random_port' into 'release/v3.3'
...
lw-ip:Bugfix for add random udp port
See merge request espressif/esp-idf!7133
2020-01-13 11:46:09 +08:00
852c79c76d
ci: fix tags for internal deploy jobs
2020-01-10 18:31:02 +07:00
92242d5d13
bugfix for add random udp port
2020-01-09 18:01:00 +08:00
e28c5127c2
Merge branch 'bugfix/mdns_send_sdptr_answer_v3.3' into 'release/v3.3'
...
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp (v3.3)
See merge request espressif/esp-idf!7243
2020-01-09 13:01:26 +08:00
9a44c290f6
Merge branch 'bugfix/btdm_avrc_category_v3.3' into 'release/v3.3'
...
components/bt: Choose AVRC category according to A2DP role
See merge request espressif/esp-idf!7177
2020-01-09 11:35:02 +08:00
e284ff818b
hfp a2dp iphone 3.3
2020-01-08 19:37:51 +08:00
6ace6fbd85
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
...
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
2020-01-08 10:22:10 +01:00
c5e37c7073
Merge branch 'bugfix/fix_performance_issues_new_v3.3' into 'release/v3.3'
...
esp32: fix WiFi performance issue (backport v3.3)
See merge request espressif/esp-idf!7224
2020-01-08 14:45:44 +08:00
531416d95f
esp32: fix WiFi performance issue
2020-01-06 21:07:53 +08:00
611c0c3897
components/bt: Choose AVRC category according to A2DP role
2019-12-31 15:31:54 +08:00
2befd5c9ee
Merge branch 'feature/wifi_prov_ext_httpd_v3.3' into 'release/v3.3'
...
wifi_provisioning_softap: Allow applications to start webserver externally (v3.3)
See merge request espressif/esp-idf!7164
2019-12-31 15:01:18 +08:00
99c4aee0ac
Merge branch 'bugfix/ci_test_idf_monitor_3.3' into 'release/v3.3'
...
CI: Adjust the test parameters of IDF Monitor (backport v3.3)
See merge request espressif/esp-idf!7166
2019-12-31 14:54:33 +08:00
ae94784d4c
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
2019-12-31 14:48:44 +08:00
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
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
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
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
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
4712d675f7
NimBLE: Update the link to NimBLE upstream documentation
2019-12-30 19:20:06 +05:30
4cde39ee42
CI: Adjust the test parameters of IDF Monitor
2019-12-30 14:37:33 +01:00
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
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
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
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
09b8979987
components/bt: Revert changes of security mask
2019-12-25 20:13:35 +08:00
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
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
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
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
83184631a4
components/bt: Disable some unsupported security mask
2019-12-22 08:56:18 +00:00
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
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
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
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
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
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
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
db8bcc60f9
Bugfix/btdm fix doc and host bug backport v3.3
2019-12-18 14:19:13 +08:00
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
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
b764454e52
esp_wifi:Put some rx code to iram
2019-12-17 12:55:47 +00:00
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
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
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
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
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
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
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
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
d071cd11c8
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:38:30 +08:00
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
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
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
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
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
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
9926a12943
ci: Minimum 4 days for artifact expiry
2019-12-11 18:15:23 +11:00
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
e1eabe6f6a
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-11 14:40:41 +11:00
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
bcbc4a9599
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:21:29 +01:00
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
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
bf80d8211e
Merge branch 'bugfix/phy_critical_v3.3' into 'release/v3.3'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6866
2019-12-04 11:27:28 +08:00
46a7409965
security: Hide Secure Boot & Flash Encryption config items when using CMake
...
These features are not supported in the CMake build system preview, but previously
had to read the notice in the CMake Getting Started guide to know this.
Related to https://github.com/espressif/esp-idf/issues/4419
2019-12-04 11:00:06 +11:00
7d26cf16cc
Merge branch 'NimBLE/fix_send_after_controller_ready_v3.3' into 'release/v3.3'
...
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (v3.3)
See merge request espressif/esp-idf!6806
2019-12-03 02:17:35 +08:00
86c4d8737e
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (v3.3)
2019-12-03 02:17:34 +08:00
3ceae811be
adaptation for nano-format
2019-11-29 17:55:22 +08:00
8977e92b4c
component_bt/:bugfix_hfp_client_indication_define_and_cnum_error
2019-11-29 16:22:34 +08:00
42b2524776
components/bt: Fix AVRC metadata length error
2019-11-29 15:56:51 +08:00
8ffe0ff357
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing critical sections, such like
operating on I2C, but it may not effect when both the CPU core call it. It may cause accessing
I2C blocking and cannot recover by esp_restart(), until do HW reboot.
2019-11-28 17:12:07 +08:00
faf96bd108
Merge branch 'bugfix/btdm_run_out_of_frame_element_v3.3' into 'release/v3.3'
...
components/bt: Fix assert due to no free element form
See merge request espressif/esp-idf!6701
2019-11-27 22:22:33 +08:00
97b43b4054
component_bt/: Fix pointer type in fixed_queue
2019-11-27 16:09:44 +08:00
8225cc75df
Merge branch 'bugfix/i2s-bootloader-random-disable_v3.3' into 'release/v3.3'
...
bugfix(bootloader): fix bug about i2s bootloader_random_disable for release/v3.3
See merge request espressif/esp-idf!6601
2019-11-26 14:37:53 +08:00
0d6cae963b
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.3' into 'release/v3.3'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.3)
See merge request espressif/esp-idf!6768
2019-11-25 11:05:38 +08:00
3a94beeb5b
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.3' into 'release/v3.3'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.3)
See merge request espressif/esp-idf!6604
2019-11-21 19:58:24 +08:00
29f6537faf
Merge branch 'bugfix/warning_fix_latest_freertos_v3.3' into 'release/v3.3'
...
Fixed warnings for components driver, esp32 and mbedtls (v3.3)
See merge request espressif/esp-idf!6760
2019-11-21 13:20:42 +08:00
160f435e4d
Merge branch 'feature/ci_try_to_checkout_correct_branch_for_other_projects_v3.3' into 'release/v3.3'
...
CI: try to use the correct branch of other projects used in CI (backport v3.3)
See merge request espressif/esp-idf!5593
2019-11-20 22:28:24 +08:00
51d2d9041c
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-20 15:49:13 +08:00
5a6ac7f32f
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-20 04:17:41 +00:00
40d5f61c4d
http_client: added comments to http header generation function
2019-11-19 14:07:38 +00:00
b7a9f5e115
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-19 14:07:38 +00:00
0f3f7d984a
Fixed warnings for components driver, esp32 and mbedtls
2019-11-19 15:04:01 +05:30
efdddbb253
Merge branch 'fix/ci_ut_psram_wroverb_v3.3' into 'release/v3.3'
...
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM (backport v3.3)
See merge request espressif/esp-idf!6594
2019-11-19 12:07:23 +08:00
ce9c7e4f79
CI: try to use the correct branch of other projects used in CI:
...
1. revision defined in bot message
2. branch name (or tag name) of current IDF
3. CI_MERGE_REQUEST_TARGET_BRANCH_NAME
4. branch name parsed from `git describe`
5. default branch
2019-11-19 12:06:27 +08:00
66c0699411
Merge branch 'bugfix/mqtt_example_url_update_v3.3' into 'release/v3.3'
...
MQTT: update default broker URL for examples (backport v3.3)
See merge request espressif/esp-idf!6411
2019-11-19 11:28:07 +08:00
646c851824
Merge branch 'feature/idf_tools_v3.3' into 'release/v3.3'
...
tools, ci: backport idf_tools.py and IDF Docker image
See merge request espressif/esp-idf!6412
2019-11-19 08:29:15 +08:00
51a49a861a
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v3.3' into 'release/v3.3'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6535
2019-11-14 20:12:31 +08:00
9b34085053
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-14 08:35:05 +00:00
0f7dc2ec02
components/bt: Fix assert due to no free element form
2019-11-14 15:51:39 +08:00
2e341f003a
Merge branch 'bugfix/fix_dhcp_timeout_issue_3.3' into 'release/v3.3'
...
lw-ip: fix DHCP timeout truncation bug(backport v3.3)
See merge request espressif/esp-idf!6319
2019-11-14 13:27:21 +08:00
c375ddc823
espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled.
2019-11-13 17:42:34 +08:00
92c8fd24bb
lwip: fix DHCP timeout truncation bug
2019-11-12 13:06:55 +08:00
2aa255c875
Merge branch 'bugfix/can_critical_section_compliance_backport_v3.3' into 'release/v3.3'
...
CAN: Fix critical section compliance (backport v3.3)
See merge request espressif/esp-idf!6567
2019-11-08 16:52:33 +08:00
5a3af62f44
tools/docker: use correct branch and commit of IDF when building
2019-11-06 18:01:24 +01:00
bc1d87a846
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v3.3
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 16:58:56 +08:00
d65086d8ab
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.3)
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-11-04 07:05:36 +00:00
71d0d08c4e
tools, ci: backport idf_tools.py and IDF Docker image
2019-11-03 03:25:39 +01:00
0caa96584c
CAN: Fix critical section compliance
...
This commit makes the CAN driver ISR use the ISR version
of critical section.
2019-11-01 12:05:12 +08:00
5d4cd1269b
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-31 11:51:14 +00:00
6e1eb21bae
Merge branch 'doc/support_policy_v3.3' into 'release/v3.3'
...
docs: Add ESP-IDF support period policy (v3.3)
See merge request espressif/esp-idf!6529
2019-10-31 15:47:29 +08:00
0d1c490a7c
Merge branch 'bugfix/coex_fix_some_bugs_v3.3' into 'release/v3.3'
...
Coexist: fix some coexist bugs (backportv3.3)
See merge request espressif/esp-idf!6435
2019-10-30 16:39:20 +08:00
dbd2cd2f7a
Merge branch 'bugfix/jump_time_54_sec_v3.3' into 'release/v3.3'
...
esp_timer: Fix time jumps back ~ 54sec (v3.3)
See merge request espressif/esp-idf!6468
2019-10-30 16:25:35 +08:00
34b14ddf5b
Merge branch 'bugfix/remove_mbedtls_would_block_v33' into 'release/v3.3'
...
Remove check for would_block in mbedtls (Backport v3.3)
See merge request espressif/esp-idf!6398
2019-10-30 11:58:09 +08:00
9592346090
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to make
MDNS test pass.
2. Improve stability of WiFi performance with a little
sacrifice of throughput.
3. Improve BLE advertising and connection performance with dynamic
priority. It sacrifices a little WiFi throughput, but achieves balance
between WiFi and Bluetooth.
4. fix bug bb reset lock flag to avoid bb reset lock unhandle
5. fix bug wifi reset mac cause task watch dog timeout
6. fix bug wifi reset mac position
2019-10-29 17:18:12 +00:00
696d6867b4
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-29 17:17:26 +00:00
f52b877199
esp32: Add UTs to check the System time does not jump back
2019-10-29 17:17:26 +00:00
a179125fd3
esp_timer: handle esp_timer_delete in timer task
...
Closes https://github.com/espressif/esp-idf/issues/3458
2019-10-29 17:17:26 +00:00
1dd8411e04
Merge branch 'bugfix/coex_semaphore_take_in_isr_lock_v3.3' into 'release/v3.3'
...
fix bug that semaphore may schedule out in ISR locking (v3.3)
See merge request espressif/esp-idf!6427
2019-10-30 00:49:42 +08:00
e6a71fe29c
Merge branch 'bugfix/btdm_disable_bt_gatt_v3.3' into 'release/v3.3'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6506
2019-10-30 00:48:14 +08:00
efe8490623
Merge branch 'bugfix/mdns_invalid_hostname_queries_v3.3' into 'release/v3.3'
...
mdns: fix crash for hostname queries (bacport v3.3)
See merge request espressif/esp-idf!6502
2019-10-30 00:27:19 +08:00
a29f30b5d3
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.3' into 'release/v3.3'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.3(backport v3.3)
See merge request espressif/esp-idf!5939
2019-10-30 00:26:28 +08:00
c570e253fe
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 20:04:15 +08:00
7b7f597cb4
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-10-29 10:49:45 +00:00
3a5249aea9
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-10-29 10:14:19 +00:00
28c19e623f
components/bt: Disable BR/EDR GATT
2019-10-29 10:10:52 +00:00
cabe66195c
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-29 14:43:00 +08:00
f0855c85ad
Merge branch 'bugfix/can_reset_mode_entry_backport_v3.3' into 'release/v3.3'
...
Bugfix/can reset mode entry backport v3.3
See merge request espressif/esp-idf!6513
2019-10-29 14:41:52 +08:00
569334267f
Merge branch 'feature/can_support_low_bit_rates_backport_v3.3' into 'release/v3.3'
...
can: Add support for lower bit rates (backport v3.3.1)
See merge request espressif/esp-idf!6391
2019-10-29 14:36:19 +08:00
9911823658
docs: Add ESP-IDF support period policy
2019-10-29 16:36:08 +11:00
b90f32bffb
Merge branch 'bugfix/multi_heap_printf_backport_v3.3' into 'release/v3.3'
...
heap: Fix printf usage in heap poisoning (backport v3.3)
See merge request espressif/esp-idf!6091
2019-10-29 12:07:30 +08:00
20db198401
ci: Temporarily ignore CAN example test failures
...
Due to internal CI issue.
2019-10-28 14:54:21 +08:00
bf877941c4
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-28 14:47:32 +08:00
f9a51fc784
can: Add support for lower bit rates
...
This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.
2019-10-28 13:10:00 +08:00
aa09462685
Merge branch 'bugfix/msys2_toolchain_path_note_v3.3' into 'release/v3.3'
...
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v3.3)
See merge request espressif/esp-idf!6457
2019-10-25 11:41:09 +08:00
365c336a98
Merge branch 'feature/esptool_v2.8_v3.3' into 'release/v3.3'
...
esptool: Bump to v2.8 release (v3.3)
See merge request espressif/esp-idf!6461
2019-10-25 11:37:08 +08:00
95c768165f
Merge branch 'bugfix/select_with_sdmmc_mount_v3.3' into 'release/v3.3'
...
VFS: Fix bug which occurs when driver is installed during a select() call (v3.3)
See merge request espressif/esp-idf!6430
2019-10-24 11:28:14 +08:00
12f2ae47c6
Merge branch 'bugfix/mqtt_disconnect_crash_3.3' into 'release/v3.3'
...
mqtt: referenced esp-mqtt master to close disconnection issues (Backport 3.3)
See merge request espressif/esp-idf!5883
2019-10-24 10:47:27 +08:00
fc6b44f500
esptool: Bump to v2.8 release
2019-10-23 09:08:34 +11:00
0042aaafa1
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v3.3)
2019-10-22 21:18:10 +02:00
adcf95dc9f
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-10-22 12:01:24 +00:00
e5ee10e89f
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-22 10:15:21 +02:00
c9f1cb2f4c
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.3' into 'release/v3.3'
...
driver: Fix ticks_to_wait for uart and i2c (v3.3)
See merge request espressif/esp-idf!5247
2019-10-22 13:18:24 +08:00
a0c8de077b
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
backport of 640eac84fa
2019-10-21 12:56:18 +00:00
9e62340897
mqtt: referenced esp-mqtt master to fix disconnect issues
...
and updates doxygen macros to have mqtt docs correctly documented
Backport of 6289a26596
2019-10-21 12:56:18 +00:00
f451efd1d0
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.3' into 'release/v3.3'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.3)
See merge request espressif/esp-idf!6394
2019-10-21 20:15:52 +08:00
f490eda68c
Merge branch 'bugfix/can_driver_assertions_v3.3' into 'release/v3.3'
...
drivers/can: fix skipped function calls when assertions disabled (backport v3.3)
See merge request espressif/esp-idf!6406
2019-10-21 20:12:54 +08:00
f2dfb0cf70
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-10-21 07:32:25 +00:00
03aef3c087
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-10-21 07:32:25 +00:00
9a6526554d
Merge branch 'bugfix/ut_pre_read_DPORT_and_hi_interrupt' into 'release/v3.3'
...
esp32: Fix UT - Check pre-read workaround DPORT and Hi-interrupt
See merge request espressif/esp-idf!6240
2019-10-21 15:10:14 +08:00
8d4e1c0616
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-21 08:22:12 +02:00
4e27cbb89f
Merge branch 'feature/esp_https_ota_improvements' into 'release/v3.3'
...
esp_https_ota: component refactoring, bugfixes and feature additions (backport v3.3)
See merge request espressif/esp-idf!6047
2019-10-21 10:40:37 +08:00
b51f89d827
Merge branch 'bugfix/freemodbus_fix_read_coils_event_v3_3' into 'release/v3.3'
...
freemodbus: fix incorrectly set coils read event backport v3.3
See merge request espressif/esp-idf!4793
2019-10-21 10:38:39 +08:00
e30c7a9b27
Merge branch 'bugfix/spi_flash_read_changes_for_less_than_16_bytes_v3.3' into 'release/v3.3'
...
Bugfix/spi flash read changes for less than 16 bytes v3.3(backport v3.3)
See merge request espressif/esp-idf!6248
2019-10-19 15:01:48 +08:00
622842a983
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 15:01:46 +08:00
2bcb02795e
Merge branch 'Bugfix/IPV6_multicast_adress_error' into 'release/v3.3'
...
fix ipv6 bug that input the wrong broadcast address to return OK
See merge request espressif/esp-idf!6205
2019-10-18 18:37:25 +08:00
fd22441494
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-18 11:27:27 +02:00
8f048ffddc
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-10-18 14:21:35 +05:30
3e3ce3da81
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.3' into 'release/v3.3'
...
esp32: fix some WiFi bugs 1009 (backport v3.3)
See merge request espressif/esp-idf!6298
2019-10-18 14:25:13 +08:00
0a0f2caa1d
Merge branch 'bugfix/reset_periph_modules_v3.3' into 'release/v3.3'
...
driver: Add a reset before enabling if a module is off (v3.3)
See merge request espressif/esp-idf!6016
2019-10-18 13:35:09 +08:00
2441858835
Merge branch 'feature/nimble_backport_idf-v3.3' into 'release/v3.3'
...
NimBLE: Port NimBLE stack to IDF Release v3.3 (Backport v3.3)
See merge request espressif/esp-idf!6179
2019-10-18 13:23:25 +08:00
3545b58986
NimBLE: Port NimBLE stack to IDF Release v3.3 (Backport v3.3)
...
Includes all the latest NimBLE stack changes from idf-v4.0 with few idf-v3.3
specific modifications.
- Addition of nimble component as submodule (`nimble-1.1.0-idf-v3.3`), contains
IDF v3.3 specific minor changes.
- Example applications are identical to idf-v4.0
- Modification in `bt/Kconfig` to accommodate NimBLE as a BT host.
2019-10-18 13:23:24 +08:00
9f10f684d3
Merge branch 'feature/handle_icy_uris_v33' into 'release/v3.3'
...
Modified http_parser to handle ICY uris (Backport v3.3)
See merge request espressif/esp-idf!6325
2019-10-17 13:58:05 +08:00
5d750fb8ce
Merge branch 'bugfix/ut_adjtime_v3.3' into 'release/v3.3'
...
newlib: Fix UT - test time adjustment happens linearly (v3.3)
See merge request espressif/esp-idf!6349
2019-10-16 20:54:06 +08:00
6f8f39a2e5
Merge branch 'docs/update_bootloader_chip_revision_print_v3.3' into 'release/v3.3'
...
bootloader_support: fix logging prints around chip revision (v3.3)
See merge request espressif/esp-idf!6337
2019-10-16 16:07:35 +08:00
6c60d3ef29
fix ipv6 bug that input the wrong broadcast address to return OK
2019-10-15 09:40:57 +00:00
ecaf8a7a61
Merge branch 'feature/sntp_cb_function_v3.3' into 'release/v3.3'
...
sntp: Add some modes for time synchronization (backport v3.3)
See merge request espressif/esp-idf!6190
2019-10-15 14:11:43 +08:00
7ef60d2c2b
Merge branch 'bugfix/alt_exit_idf_monitor_v3.3' into 'release/v3.3'
...
idf_monitor: Exit with CTRL+X in menu (v3.3)
See merge request espressif/esp-idf!6291
2019-10-14 21:50:31 +08:00
e524b4b1fd
Merge branch 'feature/add_psram_workaround_option_3.3' into 'release/v3.3'
...
make psram workaround depend on chip revison (v3.3)
See merge request espressif/esp-idf!6303
2019-10-14 21:45:07 +08:00
40cce58a52
lwip/sntp: Added extern "C"
...
so that sntp_set_time_sync_notification_cb can be used from c++
Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com >
Merges: https://github.com/espressif/esp-idf/pull/3700
2019-10-14 07:09:28 +00:00
c50d44e66e
sntp/lwip: Add SNTP_UPDATE_DELAY option in Kconfig
...
Closes: https://github.com/espressif/esp-idf/issues/2277
Closes: IDFGH-337
2019-10-14 07:09:28 +00:00
07a3eca372
sntp/lwip: Add some modes for time synchronization
...
Closes: IDF-236
Closes: https://github.com/espressif/esp-idf/pull/1668
Closes: https://github.com/espressif/esp-idf/pull/4103
2019-10-14 07:09:28 +00:00
626684578a
Merge branch 'bugfix/kconfig_autoconf_generate_v3.3' into 'release/v3.3'
...
Kconfig: Load properly auto.conf before writing the results to build/include
See merge request espressif/esp-idf!6315
2019-10-14 14:58:14 +08:00
5ba3b8c587
newlib: Fix UT - test time adjustment happens linearly
2019-10-14 14:52:24 +08:00
c286416762
Merge branch 'bugfix/read_binary_image_header_via_cache_in_cpu_start_v3.3' into 'release/v3.3'
...
esp32: cpu_start: read binary image header via cache (backport v3.3)
See merge request espressif/esp-idf!6076
2019-10-14 11:31:19 +08:00
fd1c127d34
Merge branch 'bugfix/set_url_discards_username_password_v3.3' into 'release/v3.3'
...
fixes : set_url discards username and password (v3.3)
See merge request espressif/esp-idf!6334
2019-10-14 00:52:22 +08:00
b5aa65c136
bootloader_support: fix logging prints around chip revision
2019-10-13 11:58:29 +05:30
61486620c7
fixes : set_url discards username and password
2019-10-12 10:50:27 +05:30
396f477972
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug that wpa2 enterprise sta can connect open AP
2. Fix TKIP/CCMP PN replay attack detection bug
3. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
4. Avoid recalculating PMK if esp_wifi_set_config() is not called
5. Fix the bug that scan done leads to crash because of uint8 overflow
6. Fix 5.5M signal test bug
2019-10-12 10:38:44 +08:00
2165154c04
rmt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
46e918cfa1
pcnt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
051d2fbdd5
sdmmc_host/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
41f91d3ef6
i2s/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
ffce53449b
can/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
7314f44b13
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-10-11 19:13:44 +08:00
4936110591
Modified http_parser to handle ICY uris.
...
ICY URIs e.g `http://uk1.internet-radio.com/proxy/vombat?mp=/ ;` need to
be handled differently.
For basic use case, these URIs are similar to HTTP with exception that they reply with `ICY 200` etc in place of `HTTP/1.1 200`.
In http_parser, we now also parse ICY URIs to be able to handle these similar to HTTP.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2019-10-11 16:26:42 +05:30
af9472bb7a
Merge branch 'bugfix/add_kconfig_help_for_eth_gpio0_output_mode' into 'release/v3.3'
...
ethernet: add kconfig help for GPIO0 output mode
See merge request espressif/esp-idf!6114
2019-10-11 12:57:54 +08:00
d190c53ec8
Merge branch 'power_management/i2s+i2c-v3.3' into 'release/v3.3'
...
Power management/i2s+i2 (Backport v3.3)
See merge request espressif/esp-idf!6002
2019-10-11 11:30:39 +08:00
26c6583bab
Kconfig: Load properly auto.conf before writing the results to build/include
...
Partial revertion of 6cd6423092
. The split
directory structure is still removed but auto.conf is properly loaded.
2019-10-10 15:41:14 +02:00
b3720f80c7
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-10-10 11:38:14 +08:00
8147d48ec8
Merge branch 'feature/add_chip_revision_to_image_header_v3.3' into 'release/v3.3'
...
Add chip revision into image header (v3.3)
See merge request espressif/esp-idf!6128
2019-10-10 11:24:00 +08:00
8466b8d6d3
Merge branch 'bugfix/event_minor_leak_v3.3' into 'release/v3.3'
...
esp_event: fix minor memory leak when overwriting already registered handler (v3.3)
See merge request espressif/esp-idf!5132
2019-10-10 11:05:41 +08:00
6e47143dc5
Merge branch 'bugfix/malloc_warnings_event_loop_3.3' into 'release/v3.3'
...
esp_event: fix possible malloc free issues found by static analyzer (Backport 3.3)
See merge request espressif/esp-idf!5884
2019-10-10 11:04:00 +08:00
10c882764e
Merge branch 'bugfix/gnu_make_windows_paths_v3.3' into 'release/v3.3'
...
build: In GNU Make, use "cygpath -m" to avoid backslashes (v3.3)
See merge request espressif/esp-idf!6158
2019-10-10 07:26:42 +08:00
4559434d5a
freemodbus: fix incorrectly set coils read event
...
incorrect set of the MB_EVENT_COILS_WR event is changed while read coils in mbcontroller.c file
added read/write handling for appropriate registers in freemodbus.c example file
Closes https://github.com/espressif/esp-idf/issues/3289
2019-10-09 17:49:00 +02:00
25f837a148
esp-tls: Add support to add CN from config and validate PEM buffers
2019-10-09 14:02:48 +00:00
53e295a616
example/simple_ota_example: Fix python formatting and KConfig
2019-10-09 14:02:48 +00:00
156ffa412e
example/simple_ota_example: Add support for skipping OTA server certificate CN field
2019-10-09 14:02:48 +00:00
7726102bfb
esp_http_client: Add support to disable validation of certificate's CN field
2019-10-09 14:02:48 +00:00
8c74a4a989
tcp_transport: Add API to allow skipping of certificate CN validation
2019-10-09 14:02:48 +00:00
48bd2152d0
example/simple_ota_example: Add example test
2019-10-09 14:02:48 +00:00
7db01c954e
esp_https_ota: Removed unnecessary free()
...
Closes https://github.com/espressif/esp-idf/issues/3504
Merges https://github.com/espressif/esp-idf/pull/3513
Signed-off-by: Jitin George <jitin@espressif.com >
2019-10-09 14:02:48 +00:00
d90868b42e
examples/system/ota/advanced_https_ota: Add example for newly introduced APIs in esp_https_ota component
2019-10-09 14:02:48 +00:00
7d60a78b31
esp_https_ota: Add support for URL redirection, basic auth and more control with new APIs
...
Bugfixes:
- Fix http url redirection issue
- Fix basic/digest auth issue with http url
Features:
- Add support for adding custom http header
- Add support for reading firmware image header
- Add support for monitoring upgrade status
- This requires breaking down esp_https_ota API such that it allows finer application level control
- For simpler use-cases previous API is still supported
Closes https://github.com/espressif/esp-idf/issues/3218
Closes https://github.com/espressif/esp-idf/issues/2921
2019-10-09 14:02:48 +00:00
23a8cbb247
esp_http_client: Add API for adding authorization info
...
There was existing support for adding authorization info in esp_http_client
but it was functional only while using `esp_http_client_perform` API. This commit just moves
existing authorization addition logic into publicly exposed API.
2019-10-09 14:02:48 +00:00
f3fd849da1
PM: I2S and I2C added in the Power Management docs
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-10-09 11:37:33 +00:00
7a2bd81870
I2S: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-10-09 11:37:33 +00:00
2b6f7697b9
I2C: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-10-09 11:37:33 +00:00
610b5579a7
idf_monitor: Exit with CTRL+X in menu
...
Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.
This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.
Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129
2019-10-09 10:44:54 +02:00
15a9d4f4d3
Merge branch 'bugfix/fix_several_wifi_bugs_0930_v3.3' into 'release/v3.3'
...
fix several wifi bugs 0930 (backport v3.3)
See merge request espressif/esp-idf!6233
2019-10-09 16:16:13 +08:00
65e9af5114
Merge branch 'bugfix/esp_tls_add_header_in_esp_tls_h_v3.3' into 'release/v3.3'
...
ESP32/esp_tls: include esp_err.h in esp_tls.h (v3.3)
See merge request espressif/esp-idf!6265
2019-10-09 14:29:26 +08:00
579cbd8229
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
2019-10-09 06:25:26 +00:00
2b84f3e6c4
Merge branch 'bugfix/check_for_new_cmakecache_vars_v3.3' into 'release/v3.3'
...
idf.py: Add check for new cmake cache values (backport v3.3)
See merge request espressif/esp-idf!5931
2019-10-09 13:54:29 +08:00
10732770d3
Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.3' into 'release/v3.3'
...
freertos: remove semicolon in xTaskNotifyGive (v3.3)
See merge request espressif/esp-idf!6270
2019-10-09 13:37:17 +08:00
f2c10cb443
Merge branch 'feature/mqtt_improve_recv_3.3' into 'release/v3.3'
...
MQTT improved receive (backport 3.3)
See merge request espressif/esp-idf!5075
2019-10-08 14:28:52 +08:00
c67b02db52
freertos: remove semicolon in xTaskNotifyGive
2019-10-08 12:39:07 +08:00
dc4c16f475
ethernet: add kconfig help for GPIO0 output mode
...
1. add kconfig help for GPIO0 output mode
2. fix a bug when select gpio0 output mode and initialize psram
3. make default config to official development board
4. fix wrong LAN8720 register index
2019-10-08 02:41:40 +00:00
3f2bf11751
esp_event: fix possible malloc free issues found by static analyzer
...
(v3.3)
Backport of bd537083d9
2019-10-07 19:19:23 +00:00
b1f264be69
esp_event: fix minor memory leak when overwriting alredy registered handler
2019-10-07 19:15:59 +00:00
d14f2c5fca
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected
2019-10-07 19:15:59 +00:00
35898c704f
tcp_transport: modified ws_read to read payload directly to the read buffer and separately from header bytes
...
Previous version read all data to the buffer including header which reduced maximum payload read. This version uses a local array to receive header and reads payload bytes to the buffer
cherry-picked from db121a56e1
2019-10-07 19:11:30 +00:00
3564d6728c
ESP32/esp-tls: include esp_err.h in esp_tls.h
...
Closes https://github.com/espressif/esp-idf/issues/4100
2019-10-07 17:48:05 +05:30
c5b1b57b09
esp32: Fix UT - Check pre-read workaround DPORT and Hi-interrupt
2019-09-30 19:04:38 +08:00
fbd38ad19a
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-09-30 12:03:58 +08:00
2d5ee438fa
wifi:
...
1.Fix the bug that WiFi stop leads to task watchdog(526c6956)
2.Fix the WiFi init sequence bug
3.Fix smartconfig ipc crash
4.Put g_promis_buf to IRAM
5.esp_wifi_set_channel should return error when sniffer is not enabled
6.fix the bug when set WEP authmode or wrong authmode, there is no error return
7.fix the bug that STA parse authmode wrong when AP sets WPA_WPA2_PSK mode
8.fix the bug that wrong error code and wrong event when there is an auto AP in multi-ssid case
2019-09-30 12:02:46 +08:00
46b12a560a
Merge branch 'bugfix/btdm_backports_v3.3_0903' into 'release/v3.3'
...
Bugfix/btdm backports v3.3 0903
See merge request espressif/esp-idf!5983
2019-09-29 16:19:22 +08:00
f19bc120f1
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v3.3' into 'release/v3.3'
...
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.3)
See merge request espressif/esp-idf!6189
2019-09-29 16:06:28 +08:00
9c87165bc8
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.3)
...
- Backport(v3.3) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-29 16:06:27 +08:00
6514820311
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-09-29 11:27:17 +08:00
0af56e2815
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-09-27 10:24:39 +08:00
a06b88d7f6
Merge branch 'bugfix/backport_some_wifi_bugs_201907_v3.3' into 'release/v3.3'
...
Backport some wifi bugs 201907 v3.3 (backport v3.3)
See merge request espressif/esp-idf!5526
2019-09-25 19:21:17 +08:00
5e292d50ad
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_3.3' into 'release/v3.3'
...
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses (backport v3.3)
See merge request espressif/esp-idf!6108
2019-09-25 16:21:37 +08:00
321ecc94d3
Merge branch 'bugfix/btdm_a2dp_src_pkt_overflow_v3.3' into 'release/v3.3'
...
component/bt: fix some performance issues in A2DP source data flow control
See merge request espressif/esp-idf!5986
2019-09-25 11:14:25 +08:00
f0f30f9d0c
Merge branch 'test/fix_mesh_test_case_3.3' into 'release/v3.3'
...
test: fix test case MESH_EST_2403 (backport 3.3)
See merge request espressif/esp-idf!5908
2019-09-23 21:41:22 +08:00
9ea662a4ba
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.3' into 'release/v3.3'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done(backport v3.3)
See merge request espressif/esp-idf!6073
2019-09-23 21:40:42 +08:00
285925a43b
components:bt: backports release/v3.3 0903
...
Remove xtensa/xruntime.h
Fix sending Lmp_feature_req_ext in a loop
Fix 2 bugs in r_ld_fm_sket_isr
fix data loss and send same pkt twice sometimes
fix adv data error in air sometimes
fix adv start/stop crash sometimes
Fix connect fail with some speakers
clear BT/BLE interruots after controller disable
add sco_data_path to be set in sdkconfig and do not reset the value upon HCI reset command
2019-09-23 18:02:28 +08:00
9e51598ee7
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-09-20 11:52:46 +00:00
5e321badd5
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.3' into 'release/v3.3'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v3.3)
See merge request espressif/esp-idf!6021
2019-09-20 19:22:45 +08:00
e943181f72
test: move wifi library check to esp32-wifi-lib ci
2019-09-20 17:50:23 +08:00
2dc98f3be8
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
...
1. Modfy wifi_country struct
2. Add md5 check esp_wifi_types.h
3. Add md5 check esp_wifi.h
2019-09-20 17:50:19 +08:00
3badf6ebd9
mesh: fix the bug that esp_mesh_stop() doesn't return
2019-09-20 17:49:49 +08:00
9a1b11c813
esp32: fix wifi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-09-20 17:49:49 +08:00
b933d851bf
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-09-20 17:49:49 +08:00
204b58a34c
esp32: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-09-20 17:49:49 +08:00
88c9506469
Merge branch 'bugfix/newlib_time_test_v3.3' into 'release/v3.3'
...
newlib: Fix UT - test time adjustment happens linearly (v3.3)
See merge request espressif/esp-idf!6117
2019-09-20 07:49:27 +08:00
202664bac0
build: In GNU Make, use "cygpath -m" to avoid backslashes
...
Fixes issues where backslashes in KCONFIG paths are later expanded as shell escape sequences.
2019-09-19 21:36:16 +10:00
0500fa2344
Merge branch 'bugfix/cmake_config_variables_scope' into 'release/v3.3'
...
CMake: Fix variable scope issue
See merge request espressif/esp-idf!4967
2019-09-19 13:44:16 +08:00
fefc65f885
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-09-17 14:16:58 +08:00
d7e257d8ba
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-16 17:34:14 +08:00
ca3df7de7f
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-14 09:52:58 +00:00
8849d6acfa
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-14 09:52:58 +00:00
e8e5410cef
Merge branch 'bugfix/idf_py_fixes_v3.3' into 'release/v3.3'
...
idf.py fixes from GitHub (v3.3)
See merge request espressif/esp-idf!6001
2019-09-13 14:52:50 +08:00
cc68a512d2
Merge branch 'bugfix/use_local_kconfiglib_v3.3' into 'release/v3.3'
...
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.3)
See merge request espressif/esp-idf!6080
2019-09-13 14:47:47 +08:00
3a291da164
cmake: fix variable scope issues
2019-09-13 01:32:50 +00:00
1173b4f51a
Merge branch 'bugfix/http_header_parser_resolution_v3.3' into 'release/v3.3'
...
(backport v3.3) esp_http_server : Bugfix in parsing of empty header values
See merge request espressif/esp-idf!6038
2019-09-12 18:46:22 +08:00
f6d0a913de
test: fix test case MESH_EST_2403
2019-09-12 02:50:17 +00:00
149171f119
Merge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.3' into 'release/v3.3'
...
l: Try to allocate some L memories in SPIRAM first. If failed, try to allocate in internal RAM then.(Backport v3.3)
See merge request espressif/esp-idf!5671
2019-09-12 10:39:14 +08:00
94091761c4
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:39:01 +02:00
262f3774e8
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:45:08 +08:00
30f93365b5
Merge branch 'bugfix/kconfig_no_split_headers_v3.3' into 'release/v3.3'
...
kconfig: Don't create "split" directory structures under build/include/config (v3.3)
See merge request espressif/esp-idf!6000
2019-09-11 07:54:09 +08:00
e0748cdaf2
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.
2019-09-10 14:26:50 +08:00
6cd6423092
kconfig: Don't create "split" directory structures under build/include/config
...
Reported in https://github.com/espressif/esp-idf/issues/3299
If a config item contains a reserved filename in Windows like _CON_ then an invalid
directory is created.
We don't rely on this feature all, so disable it.
2019-09-10 05:52:29 +00:00
38b1c93764
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-09 08:21:13 +00:00
9f3f7009c0
Merge branch 'bugfix_kconfig_deps_missing_v3.3' into 'release/v3.3'
...
kconfig: Add -MP option so .d files include empty targets (v3.3)
See merge request espressif/esp-idf!5847
2019-09-08 23:17:29 +08:00
69d8fab619
Merge branch 'update/cjson_v1_7_12_v3.3' into 'release/v3.3'
...
Update cJSON to v1.7.12 (v3.3)
See merge request espressif/esp-idf!5851
2019-09-08 23:16:25 +08:00
cc50d88a89
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.3' into 'release/v3.3'
...
test: fix nvs compatible case error (backport v3.3)
See merge request espressif/esp-idf!5894
2019-09-08 23:14:29 +08:00
4aea2dce15
Merge branch 'fix/sdio_slave_reset_infloop_leak_3.3' into 'release/v3.3'
...
sdio_slave: fix the send_flush infinite loop issue (backport v3.3)
See merge request espressif/esp-idf!5836
2019-09-08 23:13:41 +08:00
54c7379060
Merge branch 'feature/move_gettimeofday_in_clock_gettime_v3.3' into 'release/v3.3'
...
newlib: Move _gettimeofday_r call in clock_gettime (v3.3)
See merge request espressif/esp-idf!5717
2019-09-08 23:13:13 +08:00
b12c2646fa
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.3' into 'release/v3.3'
...
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM (v3.3)
See merge request espressif/esp-idf!5617
2019-09-08 23:11:57 +08:00
39ac9cb44b
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.3' into 'release/v3.3'
...
component/bt: fix unpack hci enhance connection complete event error(backport v3.3)
See merge request espressif/esp-idf!5281
2019-09-08 23:11:18 +08:00
64fbce50c2
Merge branch 'bugfix/pm_isr_exit_lock_v3.3' into 'release/v3.3'
...
pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.3)
See merge request espressif/esp-idf!4970
2019-09-08 23:10:02 +08:00
d1e8b4473d
Merge branch 'test/detect_exception_in_idf_dut_v3.3' into 'release/v3.3'
...
tiny-test-fw: support detect exception in IDFDUT (backport v3.3)
See merge request espressif/esp-idf!4542
2019-09-08 23:09:48 +08:00
38e2d3bec6
Merge branch 'bugfix/btdm_mem_leak_v3.3' into 'release/v3.3'
...
components/bt: Fix memory leak about rfcomm
See merge request espressif/esp-idf!5622
2019-09-08 23:09:24 +08:00
2192de7111
idf.py: Fix encoding issue with serial port names on Windows
...
Closes https://github.com/espressif/esp-idf/issues/3334
2019-09-05 15:09:38 +10:00
c7f4fb56d8
idf.py: Use mingw32-make for version check
...
Closes https://github.com/espressif/esp-idf/issues/3333
2019-09-05 15:09:38 +10:00
3201333f06
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.3' into 'release/v3.3'
...
flash encryption: Add config option to disable any plaintext reflashes (3.3)
See merge request espressif/esp-idf!5280
2019-09-05 08:00:39 +08:00
85a89db863
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.3' into 'release/v3.3'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.
See merge request espressif/esp-idf!5899
2019-09-03 13:36:54 +08:00
21a8a9a170
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.3' into 'release/v3.3'
...
esp32: Dis interrupts up to 5 lvl for DPORT (v3.3)
See merge request espressif/esp-idf!5713
2019-09-03 13:34:54 +08:00
0ce9d2662d
add missing source files to CMakeLists for HFP
2019-09-03 11:51:16 +08:00
d4e13c011e
Merge branch 'bugfix/httpd_sess_close_v3.3' into 'release/v3.3'
...
httpd_sess_close: Check for session validity before closing (v3.3)
See merge request espressif/esp-idf!5743
2019-09-03 09:57:37 +08:00
f380d72825
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.3' into 'release/v3.3'
...
bugfix(flash): add flash config in app startup (backport v3.3)
See merge request espressif/esp-idf!5928
2019-09-02 08:50:38 +08:00
6ccb4cf5b7
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.3' into 'release/v3.3'
...
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link
See merge request espressif/esp-idf!5872
2019-08-30 19:09:02 +08:00
f8e24754d1
Merge branch 'bugfix/test_esp_efuse_table_on_host_v3.3' into 'release/v3.3'
...
CI: Fix path in the Efuse table test (v3.3)
See merge request espressif/esp-idf!5954
2019-08-30 16:28:07 +08:00
86975b7e8f
Merge branch 'bugfix/pr_3250_v3.3' into 'release/v3.3'
...
(backport v3.3) Fix: Lost username when setting new URL with a path.
See merge request espressif/esp-idf!5665
2019-08-29 18:40:15 +08:00
c2bb7d7cd6
Fix path in the Efuse table test
2019-08-29 09:53:17 +02:00
3451f3526f
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.
...
The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
2019-08-28 19:24:17 +08:00
cc3ba7186f
esp_http_client: fix CI issues & return value
2019-08-28 16:46:04 +05:30
7d28c02fd5
Fix: Lost username when setting new URL with a path.
...
Closes https://github.com/espressif/esp-idf/pull/3250
2019-08-28 14:54:59 +05:30
1aa2f36dec
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-08-28 09:03:55 +00:00
3becdd7850
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
...
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-28 08:13:30 +00:00
cfd7a5b84e
idf.py: Add check for new cmake cache values
2019-08-27 18:37:25 +02:00
cf2062f1d7
bugfix(flash): add flash config in app startup
...
We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.
These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
2019-08-27 21:04:36 +08:00
a742bad8f3
test: fix nvs compatible case error:
...
nvs compatible test case uses new test env and app. update test config
file.
2019-08-27 02:49:44 +00:00
ef11260310
Merge branch 'bugfix/reduce_ci_config_file_size_v3.3' into 'release/v3.3'
...
CI: use parallel attribute in CI config file
See merge request espressif/esp-idf!5895
2019-08-27 10:47:42 +08:00
7b39d5e5c5
Apply suggestion to tools/ci/build_examples_cmake.sh
2019-08-26 11:00:46 +08:00
d5b0b36758
Apply suggestion to tools/ci/build_examples.sh
2019-08-26 11:00:33 +08:00
0a609be968
CI: use parallel attribute in CI config file
2019-08-26 10:46:39 +08:00
8fa409a0b5
esp32: Add UTs for DPORT and Hi-interrupt
2019-08-21 09:48:16 +00:00
2e9904556f
esp32: Dis interrupts up to 5 lvl for DPORT
...
Disable interrupts for both DPORT workarounds up to 5 lvl.
Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
2019-08-21 09:48:16 +00:00
8e32eb78a4
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:55:32 +10:00
a3adc6c202
kconfig: Add -MP option so .d files include empty targets
...
Prevents make-level errors when switching IDF versions, as headers may be removed.
Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712
2019-08-21 18:37:42 +10:00
148a269808
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.3' into 'release/v3.3'
...
bugfix(flash): improve spi cs timing settings for flash (backport v3.3)
See merge request espressif/esp-idf!5514
2019-08-20 16:33:57 +08:00
7b3bedbc10
sdio_slave: fix the send_flush infinite loop issue
...
Also add some helper functions.
2019-08-20 16:25:58 +08:00
5b11428f00
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.3' into 'release/v3.3'
...
bugfix(flash): add spi dio address bitlen configure in psram init (backport v3.3)
See merge request espressif/esp-idf!5788
2019-08-19 13:03:54 +08:00
4cd7fd89f5
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-16 07:38:54 +00:00
ceb56a7a72
Merge branch 'feature/dport_eco_revision2_v3.3' into 'release/v3.3'
...
make dport workaround depend on chip revision (v3.3)
See merge request espressif/esp-idf!5766
2019-08-16 13:14:49 +08:00
ebfa74310c
Merge branch 'bugfix/link_test_components_to_executable_directly' into 'release/v3.3'
...
cmake: link test components to executable directly
See merge request espressif/esp-idf!5739
2019-08-15 14:59:56 +08:00
b482ba117d
efuse: update the scheme of getting chip revision
2019-08-13 15:49:01 +08:00
07735424a2
Merge branch 'bugfix/xTaskIncrementTick_v3.3' into 'release/v3.3'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.3)
See merge request espressif/esp-idf!5034
2019-08-13 13:42:26 +08:00
f2f5a237c0
Merge branch 'bugfix/gpio_intr_enable_bug_v3.3' into 'release/v3.3'
...
bugfix(GPIO): Fixed GPIO interrupt bug for v3.3
See merge request espressif/esp-idf!5650
2019-08-12 13:00:15 +08:00
3be1c70d46
Merge branch 'bugfix/cmake_extra_component_dirs_v3.3' into 'release/v3.3'
...
CI: additional CMake build system tests wrt EXTRA_COMPONENT_DIRS (v3.3)
See merge request espressif/esp-idf!5109
2019-08-12 12:44:19 +08:00
beb34b5390
Merge branch 'bugfix/hwcrypt_fault_inj_v3.3' into 'release/v3.3'
...
AES & SHA fault injection checks (backport v3.3)
See merge request espressif/esp-idf!5710
2019-08-11 14:04:36 +08:00
3991084777
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:18:23 +10:00
088439c634
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:18:23 +10:00
dbd05d8986
cmake: link test components to executable directly
2019-08-09 15:18:06 +08:00
02068cf328
newlib: Move _gettimeofday_r call in clock_gettime
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com >
Merges: https://github.com/espressif/esp-idf/pull/3789
2019-08-07 20:37:11 +08:00
7c5dd19c83
hwcrypto: Add AES fault injection check
...
Hardware AES-CBC performance changes:
Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec
(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
2019-08-07 16:04:59 +10:00
a6fb161309
Merge branch 'bugfix/sec_boot_ota_fail_v33' into 'release/v3.3'
...
Bugfix: ota fails with secure boot on for image size greater than 3.2MB (backport v3.3)
See merge request espressif/esp-idf!5581
2019-08-06 14:51:06 +08:00
0929dbbc9b
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core for release/v3.3
2019-08-06 03:20:11 +00:00
4c27f9ced8
Add mmu pages available check in non-secure image hash check path.
...
Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2019-08-05 05:34:11 +00:00
b800dfe6f1
Changed log level for spi_master
...
There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2019-08-05 05:34:11 +00:00
caa1ef0cb6
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
...
When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2019-08-05 05:34:11 +00:00
97e7c14f4e
Merge branch 'bugfix/btdm_sleep_twice_v3.3' into 'release/v3.3'
...
bugfix btdm sleep twice after wakeup request
See merge request espressif/esp-idf!5638
2019-08-04 15:51:36 +08:00
c157c696e7
Merge branch 'doc/resolve-pdf-building-issues_v3.3' into 'release/v3.3'
...
(backport v3.3) Replace gif images on EN and zh_CN index pages with identical png images for...
See merge request espressif/esp-idf!5655
2019-08-01 14:09:57 +08:00
d900cb5a35
Merge branch 'bugfix/libsodium_test_timeouts_v3.3' into 'release/v3.3'
...
test: Set timeout of libsodium ed25519_convert test to 60s (v3.3)
See merge request espressif/esp-idf!5554
2019-07-31 02:18:50 +08:00
e8a4e70c42
flash encryption: Add config option to disable any plaintext reflashes
...
Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.
2019-07-30 08:35:30 +00:00
4cb729283d
Replace gif images on EN and zh_CN index pages with identical png images for successful building of PDFs on ReadTheDocs.
2019-07-30 15:36:58 +08:00
6a3e160aaf
test: Set timeout of libsodium ed25519_convert test to 60s
...
Test takes 28s-29s to run in some configs, can fail in CI.
2019-07-30 07:19:54 +00:00
70ecb7ec94
Merge branch 'bugfix/docs_recover_some_build_time_v3.3' into 'release/v3.3'
...
docs: Remove building of zipped HTML docs from build process and consequently...
See merge request espressif/esp-idf!5639
2019-07-29 19:16:46 +08:00
21e2c417e8
docs: Remove building of zipped HTML docs from build process and consequently from Downloads as many users don't use that. We are still providing PDF documentation for people who prefer viewing docs off-line. Removal of this build step is expected to save almost 10 minutes of build time and resolve issue of build failures because of hitting 40 min build time limit on Read The Docs.
2019-07-28 01:16:47 +02:00
3ca82d5923
bugfix btdm sleep twice after wakeup request
...
This problem may cause HCI send command timeout.
When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.
2019-07-27 18:07:20 +08:00
7af04d857f
Merge branch 'bugfix/fix_mcpwm_example_memory_bug_v3.3' into 'release/v3.3'
...
Bugfix(example): Fixed MCPWM example bug for release/v3.3
See merge request espressif/esp-idf!5544
2019-07-27 17:27:41 +08:00
e070e1886f
Merge branch 'bugfix/esp_event_add_missing_include_v3.3' into 'release/v3.3'
...
esp_event: add missing header include (v3.3)
See merge request espressif/esp-idf!5632
2019-07-26 19:44:32 +08:00
6da2bec1e8
esp_event: add missing header include
...
Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.
2019-07-26 16:36:13 +05:30
73345bae44
Merge branch 'bugfix/tcp_transport_http_client' into 'release/v3.3'
...
Minor bugfixes in esp_http_client and tcp_transport (backport v3.3)
See merge request espressif/esp-idf!5218
2019-07-25 19:43:27 +08:00
b9f2531e8c
components/bt: Fix memory leak about rfcomm
2019-07-25 16:51:40 +08:00
b6e6a4f4b2
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-25 14:37:20 +08:00
9420c5398f
test: handle exception by unit test script:
...
unit test script will detect exception, we don't need to let test fail
when exception happened.
2019-07-23 09:44:28 +00:00
31c8be0738
tiny-test-fw: support translate backtrace in IDFDUT
2019-07-23 09:44:28 +00:00
cbc438c807
tiny-test-fw: support detect exception in IDFDUT
2019-07-23 09:44:28 +00:00
2d26163019
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-07-21 07:24:11 +00:00
ff2624f09c
esp_http_client: Fix header sent event bug
2019-07-21 07:24:11 +00:00
11d141e87d
Merge branch 'bugfix/app_update_tests_v3.3' into 'release/v3.3'
...
app_update: Add [timeout=90] for UTs (v3.3)
See merge request espressif/esp-idf!5564
2019-07-18 18:25:01 +08:00
91f29bef17
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.3' into 'release/v3.3'
...
fix the watchdog bug during WiFi scan and BLE scan(v3.3)
See merge request espressif/esp-idf!5506
2019-07-18 10:44:31 +08:00
8ed62223cd
app_update: Add [timeout=90]
2019-07-17 18:52:39 +08:00
de7a50dca0
Merge branch 'bugfix/i2s_apll_clock_fix_v3.3' into 'release/v3.3'
...
driver/i2s: fix apll_clock_rate for different sample rates (v3.3)
See merge request espressif/esp-idf!5448
2019-07-17 14:33:59 +08:00
a9eac4a124
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue_v3.3' into 'release/v3.3'
...
spi_flash: fix stale read issue for memory mapped partition (v3.3)
See merge request espressif/esp-idf!5435
2019-07-17 14:26:33 +08:00
3e27184c38
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.3' into 'release/v3.3'
...
bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.3)
See merge request espressif/esp-idf!5532
2019-07-16 18:41:57 +08:00
5758b739f1
Fixed the bug that the malloc memory size is smaller than the actual required.
2019-07-16 15:09:23 +08:00
2d7124e319
fix the watchdog bug during WiFi scan and BLE scan
2019-07-16 10:31:19 +08:00
232408981d
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-15 14:45:35 +08:00
9821e533db
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-15 14:26:53 +08:00
6d8990f39b
Merge branch 'bugfix/cmake_project_vars_not_set_by_redefinition_v3.3' into 'release/v3.3'
...
cmake: set variables set by project call (backport v3.3)
See merge request espressif/esp-idf!5487
2019-07-12 15:01:32 +08:00
83a9a4dc70
Merge branch 'bugfix/windows_detection_on_make_v3.3' into 'release/v3.3'
...
Windows detection on Makefiles cleanup (backport v3.3)
See merge request espressif/esp-idf!5490
2019-07-12 15:00:30 +08:00
630ffde6bb
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.3' into 'release/v3.3'
...
bugfix(UART): fixed two UART issues for release/v3.3
See merge request espressif/esp-idf!5481
2019-07-11 14:56:14 +08:00
6af30250a8
spi_flash: add test case for stale read issue on memory mapped partition
2019-07-11 04:23:51 +00:00
30d2f13358
spi_flash: fix stale read issue for memory mapped partition
...
On flash program operation (either erase or write), if corresponding address has
cache mapping present then cache is explicitly flushed (for both pro and app cpu)
Closes https://github.com/espressif/esp-idf/issues/2146
2019-07-11 04:23:51 +00:00
d7569b5862
cmake: refactor finding components
2019-07-10 16:50:23 +08:00
db9979701a
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS
...
Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253
2019-07-10 16:49:44 +08:00
dca5ed2263
Merge branch 'bugfix/supplicant_security_fixes_v3.3' into 'release/v3.3'
...
wpa_supplicant: Fix sprintf security bugs. (v3.3)
See merge request espressif/esp-idf!5464
2019-07-10 12:31:37 +08:00
0ef3af367d
ldgen,make: simplify os check
2019-07-10 12:04:56 +08:00
9afe47425b
project_config_mk: fix if condition
2019-07-10 12:04:20 +08:00
f5d33fa889
cmake: set variables set by project call
...
ESP-IDF overrides project() definition for user convenience. This
redefinition lacks setting the variables documented at
the project command documentation
https://cmake.org/cmake/help/v3.5/command/project.html in the parent
scope.
This commit sets those variables.
Closes https://github.com/espressif/esp-idf/issues/3611 .
2019-07-10 11:51:17 +08:00
29cef5a9cc
Merge branch 'bugfix/btdm_can_not_get_informations_of_song_v3.3' into 'release/v3.3'
...
components/bt: Fix iphone can't get song's informations
See merge request espressif/esp-idf!5472
2019-07-09 15:13:24 +08:00
40171d7307
bugfix(UART): fixed two UART issues:
...
1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled
2019-07-09 14:56:26 +08:00
e64bae3a0c
components/bt: Fix iphone can't get song's informations
2019-07-08 19:40:22 +08:00
a71fad46d4
Merge branch 'fix/update_curr_page_state_3.3' into 'release/v3.3'
...
nvs_util: Set previous page state to FULL before creating new page (v3.3)
See merge request espressif/esp-idf!5327
2019-07-08 15:19:56 +08:00
2c9acce0ff
Merge branch 'bugfix/prov_examples_strlcpy_backport_v3.3' into 'release/v3.3'
...
Various bugfixes in Protocomm / Unified Provisioning (backport v3.3)
See merge request espressif/esp-idf!5369
2019-07-08 14:04:49 +08:00
8e58b31a69
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-07-08 10:39:20 +05:30
bf152907a4
Merge branch 'fix/nvs_util_keylen_3.3' into 'release/v3.3'
...
nvs_util: Add check for keylen in input csv (v3.3)
See merge request espressif/esp-idf!5395
2019-07-08 12:59:05 +08:00
47ca5d53df
Merge branch 'feature/config_spi_pins_based_on_efuse_value_v3.3' into 'release/v3.3'
...
feat(psram): config SPI psram pins based on efuse value (backport v3.3)
See merge request espressif/esp-idf!5240
2019-07-08 11:52:24 +08:00
c1fe8ceb83
esp_prov : Minor refactoring in argument dependent logic
...
Other changes:
* Command line argument name and descriptions updated and formatted
* Some exception messages updated for clarity
* READMEs updated for tool and all provisioning examples
* Minor update in example test scripts due to change in esp_prov.get_transport() API
* Transport_Softap renamed to Transport_HTTP
* Transport_HTTP now forces connect on initialization
2019-07-07 12:45:06 +05:30
db38c37cf7
Merge branch 'mesh/bugfix_0628_v3.3' into 'release/v3.3'
...
mesh: bugfix (backport 3.3)
See merge request espressif/esp-idf!5438
2019-07-05 22:33:24 +08:00
71ce87c79e
protocomm_ble : Bugfix for unbound memcpy on prepare write buffer
...
Closes https://github.com/espressif/esp-idf/issues/3633
2019-07-05 13:20:40 +00:00
611c300a92
Protocomm : Minor fixes
...
List of changes:
* protocomm_httpd : Reset session_id static variable on start and stop
* security1 : Typo in checking failed dynamic allocation
2019-07-05 13:20:40 +00:00
b7eb82d191
Provisioning Examples : Bugfix in copying Wi-Fi SSID and Passphrase
2019-07-05 13:20:40 +00:00
933674301f
Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase
...
These changes guarantee that the SSID and Passphrase received via protocomm are NULL terminated and size limited to their standard lengths.
List of changes:
* Corrected length of passphrase field in wifi_prov_config_set_data_t structure
* Performing length checks on SSID, passphrase and bssid, when populating wifi_prov_config_set_data_t structure with received credentials
2019-07-05 13:20:40 +00:00
3b2e231ae3
Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.3' into 'release/v3.3'
...
component/bt: fix rxwinsz assert in ble and wifi coex(backport v3.3)
See merge request espressif/esp-idf!5447
2019-07-05 20:28:17 +08:00
881cd4310c
nvs_util: Add check for keylen in input csv
2019-07-05 10:52:17 +00:00
13e6e9f592
i2s: test case for variation in apll clock rate
2019-07-04 18:27:12 +05:30
cfc73a6de7
i2s: fix a bug when calculating i2s apll parameters
...
Closes https://github.com/espressif/esp-idf/issues/2634
Closes https://github.com/espressif/esp-idf/issues/3380
Fixes https://github.com/espressif/esp-idf/issues/3407
2019-07-04 18:24:37 +05:30
62e359a4e1
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 20:12:04 +08:00
ab4024c84e
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.3' into 'release/v3.3'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.3)
See merge request espressif/esp-idf!5289
2019-07-04 13:07:07 +08:00
f4ee20165e
mesh: bugfix
...
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-03 14:35:57 +08:00
e443467f37
Merge branch 'feature/prov_mgr_backport_v3.3' into 'release/v3.3'
...
Wi-Fi Provisioning Manager (backport v3.3)
See merge request idf/esp-idf!5371
2019-07-02 16:17:23 +08:00
a6f990ffb9
bugfix(flash): improve flash dio read timing
...
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-07-02 14:25:27 +08:00
43561a40d2
bugfix(psram): make sure the psram_io struct is initialized and make unknown psram package version more obvious
2019-07-02 14:15:55 +08:00
55f5c2e08d
feat(psram): config SPI psram pins based on efuse value
2019-07-02 14:15:55 +08:00
e4418f4f92
Merge branch 'feature/upgrade_mbedtls_to_v2.16.1_v3.3' into 'release/v3.3'
...
mbedtls: upgrade to v2.16.2 release (v3.3)
See merge request idf/esp-idf!5377
2019-07-02 08:42:50 +08:00
968728bf95
Merge branch 'bugfix/httpd_open_fn_backport_v3.3' into 'release/v3.3'
...
HTTP Server : Close new session immediately if open_fn fails (Backport v3.3)
See merge request idf/esp-idf!5370
2019-07-01 15:11:50 +08:00
2073a6e738
nvs_util: Set previous page state to FULL before creating new page
2019-06-30 10:55:08 +00:00
95b72a96f8
HTTP Server : Close new session immediately if open_fn fails
...
open_fn() was introduced in the context of HTTPS server, as a configurable callback function that is called by the HTTP server, on every newly created socket. It is responsible of allocating resources for per session transport security.
Earlier, if open_fn were to fail, the newly created socket would be closed by the server but the corresponding entry, for the now invalid socket, will remain in the internal socket database until that invalid socket is detected due to error when calling select(). Because of this delayed closing of sockets, the HTTPS server would quickly face shortage of available sessions when a lot of SSL handshake errors are happening (this typically occurs when a browser finds that the server certificate is self signed). This changes in this MR fix this issue by clearing up the socket from internal database, right after open_fn fails.
Closes https://github.com/espressif/esp-idf/issues/3479
2019-06-28 10:11:26 +00:00
2617dee69f
wifi_prov_mgr : Free memory allocated by cJSON_Print
2019-06-28 07:49:03 +00:00
f94db7bba7
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
...
List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint
List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
* get_version() : only returns the protocol version string
* has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present
Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan
2019-06-28 07:49:03 +00:00
f7f02c9a43
esp_prov : Support new JSON format of version string while maintaining backward compatibility
...
Other changes:
* Version check only happens if command line argument is specified
* Minor bugfix in processing apply_config response
2019-06-28 07:49:03 +00:00
52f0b86965
Provisioning : Added Wi-Fi Provisioning Manager example and test script
2019-06-28 07:49:03 +00:00
12bbe0f39b
wifi_provisioning : Docs updated with information about new provisioning manager
2019-06-28 07:49:03 +00:00
536b2d8a65
wifi_provisioning : Wi-Fi Provisioning Manager added
2019-06-28 07:49:03 +00:00
f5ab51c9b7
Merge branch 'bugfix/error_on_unknown_component' into 'release/v3.3'
...
cmake: error out when component is not found (v3.3)
See merge request idf/esp-idf!5299
2019-06-28 15:39:21 +08:00
8a5c712730
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.3' into 'release/v3.3'
...
mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.3)
See merge request idf/esp-idf!5354
2019-06-28 08:31:53 +08:00
2287c28b41
mbedtls: upgrade to v2.16.2 release
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.2
2019-06-27 16:56:00 +05:30
129ac11c31
Merge branch 'refactor/power_management_v3.3' into 'release/v3.3'
...
power_management: Using port*_CRITICAL_ISR to be consistent with FreeRTOS (backport v3.3)
See merge request idf/esp-idf!5079
2019-06-26 14:33:19 +08:00
166918e802
mbedtls: Add UTs for modexp
2019-06-26 14:19:40 +08:00
4b028cca86
mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
...
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.
Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-26 14:19:40 +08:00
a9d266b921
Merge branch 'feature/add_nimble_ssc_backport_for_3.3' into 'release/v3.3'
...
test: modify test cases for bluedroid (backport v3.3)
See merge request idf/esp-idf!5212
2019-06-25 23:18:34 +08:00
dc9c2f3b60
test: modify test cases for bluedroid (backport v3.3)
2019-06-25 23:18:34 +08:00
ae1389afd9
unit-test-app: freertos_compliance config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
92f1d7ae39
ref_clock: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
f73c972280
power_management: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
378a5b159a
intr_alloc: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
2ef218059b
crosscore_init: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
28a8349fb8
timer: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
4acc941c3d
rtc_module: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
4ae01f0c9d
rmt: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
2c4e0cf878
periph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
4b739249c2
freertos: port*_CRITICAL_SAFE API added
...
port*_CRITICAL_SAFE API calls port*_CRITICAL or port*_CRITICAL_ISR
depending on the context (Non-ISR or ISR respectively).
FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE Kconfig option added
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
b3f4755ac2
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_3_bis' into 'release/v3.3'
...
docs: Remove space from RTD project configuration filename to be recognized by the RTD build system (v3.3)
See merge request idf/esp-idf!5311
2019-06-25 11:08:04 +08:00
0e022b7db9
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 03:23:59 +00:00
9185c370dc
Merge branch 'bugfix/spi_concurrency_3.3' into 'release/v3.3'
...
spi: fix a possible concurrency issue (port to v3.3)
See merge request idf/esp-idf!5279
2019-06-21 13:21:44 +08:00
b62182d75a
docs: Remove space from RTD project configuration filename to be recognized by the RTD build system
2019-06-21 13:15:42 +08:00
890a341db4
Merge branch 'test/fix_some_error_wifi_cases_v3.3' into 'release/v3.3'
...
test: fix some wifi case issues (backport v3.3)
See merge request idf/esp-idf!5255
2019-06-20 22:10:32 +08:00
04815c2d27
Merge branch 'bugfix/pyparsing_v3.3' into 'release/v3.3'
...
Temporarily fix incompatibility with pyparsing 2.4.0 (v3.3)
See merge request idf/esp-idf!5197
2019-06-20 15:02:49 +08:00
0af6d8ffe3
cmake: error out when component is not found
...
Closes https://github.com/espressif/esp-idf/issues/3637
2019-06-20 12:10:41 +08:00
43b2563f5a
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_3' into 'release/v3.3'
...
docs: Add mqtt submodule to RTD build configuration. Now any submodule...
See merge request idf/esp-idf!5285
2019-06-20 08:07:31 +08:00
16586524e9
docs: Add mqtt submodule to RTD build configuration. Now any submodule included in documentation build by Doxygen should be included in this file
2019-06-19 15:58:13 +08:00
f60acb2196
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.3' into 'release/v3.3'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.3)
See merge request idf/esp-idf!4825
2019-06-19 14:47:31 +08:00
1d2a9efa55
spi: fix a possible concurrency issue
2019-06-19 12:44:24 +08:00
5ab4a9da51
Temporarily fix incompatibility with pyparsing 2.4.0
2019-06-17 09:40:06 +00:00
b63be2e08e
Merge branch 'bugfix/remove_secure_boot_test_mode_bp3.3' into 'release/v3.3'
...
remove secure boot test mode (Backport v3.3)
See merge request idf/esp-idf!5258
2019-06-17 10:34:12 +08:00
6cf4e14671
remove secure boot test mode
2019-06-14 14:37:02 +05:30
39f7d1ad0b
Merge branch 'bugfix/spiflash_kconfig_v3.3' into 'release/v3.3'
...
spi_flash: Fix Kconfig indentation (v3.3)
See merge request idf/esp-idf!5232
2019-06-14 16:44:31 +08:00
d3a29c2d08
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:57:55 +08:00
31a8a488f0
Merge branch 'bugfix/dns_bug_3.3' into 'release/v3.3'
...
DNS: fix the crash under static IP address(backport3.3)
See merge request idf/esp-idf!5210
2019-06-14 11:35:37 +08:00
b908d4325b
lwip:fix dns bug for 3.3
2019-06-13 19:36:55 +08:00
54c148d289
Merge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu_v3.3' into 'release/v3.3'
...
components/bt: Fix assert due to alloc LMP TX buffer failed
See merge request idf/esp-idf!5216
2019-06-13 13:59:02 +08:00
60b937b5ca
spi_flash: Fix Kconfig indentation
...
Closes https://github.com/espressif/esp-idf/issues/3598
2019-06-13 07:55:40 +02:00
b816edac3c
Merge branch 'bugfix/idf_py_windows_relpath_v3.3' into 'release/v3.3'
...
idf.py: Fix Windows issue if project and IDF are on different drives (v3.3)
See merge request idf/esp-idf!4731
2019-06-13 13:53:07 +08:00
2ee0f98d05
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:49:28 +08:00
f83296e448
Merge branch 'bugfix/fix_some_wps_bugs_v3.3' into 'release/v3.3'
...
wps: add overlap event (backport v3.3)
See merge request idf/esp-idf!5112
2019-06-12 14:36:02 +08:00
09515bdfde
Merge branch 'fix/mfg_util_3.3' into 'release/v3.3'
...
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags (backport 3.3)
See merge request idf/esp-idf!5045
2019-06-11 10:25:38 +08:00
081b623a34
Merge branch 'bugfix/fix_build_cmake_example_failing_v3.3' into 'release/v3.3'
...
Fix false positive errors with CMake example builds (backport v3.3)
See merge request idf/esp-idf!4984
2019-06-11 09:05:42 +08:00
871e95087e
Merge branch 'bugfix/restore_ccache_use' into 'release/v3.3'
...
CMake : Restore ccache use (backport v3.3)
See merge request idf/esp-idf!4985
2019-06-11 09:03:54 +08:00
a3b3f9ae2d
Merge branch 'bugfix/win_fullclean_symlink_v3.3' into 'release/v3.3'
...
idf.py: Detect symlinks on Windows during fullclean (v3.3)
See merge request idf/esp-idf!4924
2019-06-11 08:26:36 +08:00
fb6f343ce5
Merge branch 'protocomm_ble_128bit_uuid_v3.3' into 'release/v3.3'
...
protocomm_ble : Fix support for custom service UUIDs (backport v3.3)
See merge request idf/esp-idf!5017
2019-06-07 07:47:19 +08:00
e1069de9aa
Merge branch 'feature/confserver_v2_v3.3' into 'release/v3.3'
...
confserver: Add v2 confserver protocol with separate visibility info (backport v3.3)
See merge request idf/esp-idf!4513
2019-06-07 06:31:41 +08:00
a219e9f819
Merge branch 'bugfix/reset_log_uart_port_v3.3' into 'release/v3.3'
...
esp32: Add reset CONSOLE_UART port (v3.3)
See merge request idf/esp-idf!5120
2019-06-06 15:47:17 +08:00
8f8113f5cd
idf.py: Fix Windows issue if project and IDF are on different drives
...
Closes https://github.com/espressif/esp-idf/issues/2753
2019-06-06 07:45:47 +00:00
cf3647fe40
wps: add overlap event (backport v3.3)
...
modify some header files to be consistent with vnc
2019-06-06 13:33:03 +08:00
06651c0951
Merge branch 'bugfix/support_tcp_window_scale_v3.3' into 'release/v3.3'
...
esp_wifi/lsupport TCP window scale (backport v3.3)
See merge request idf/esp-idf!5113
2019-06-05 20:08:58 +08:00
d54fadef41
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-05 10:22:48 +00:00
3b4353da5d
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
...
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.
Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.
Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
2019-06-05 10:22:48 +00:00
261c5bf6a8
ci: check that build uses ccache when present
2019-06-04 23:28:02 +08:00
6132d7bce3
cmake: restore ccache use when present
...
Closes https://github.com/espressif/esp-idf/issues/3116
2019-06-04 23:27:18 +08:00
1db04ae574
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-06-04 20:15:35 +08:00
6d4adb46f3
esp_wifi/lwip: support TCP window scale
...
Support enable/disable TCP Window scale feature via menuconfig
2019-06-04 14:03:37 +08:00
e681f449bc
Merge branch 'bugfix/httpd_log_purge_v3.3' into 'release/v3.3'
...
esp_http_server : Logging of purged data to monitor made configurable (backport v3.3)
See merge request idf/esp-idf!5015
2019-06-04 13:28:27 +08:00
f3725a7821
Merge branch 'bugfix/https_doc_api_v3.3' into 'release/v3.3'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.3)
See merge request idf/esp-idf!5013
2019-06-04 06:54:22 +08:00
34f6773471
Merge branch 'bugfix/wpa2_ent_vulnerability_v3.3' into 'release/v3.3'
...
esp32: fix wpa2 enterprise vulnerability issues (backport v3.3)
See merge request idf/esp-idf!5107
2019-06-03 21:58:19 +08:00
d0e7fd4369
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-06-03 08:35:03 +00:00
13a3edee8a
protocomm_ble : Example updated to use custom 128bit service UUID
...
Also removed old hardcoded UUIDs from README of esp_prov
2019-06-03 08:26:48 +00:00
56866567ae
esp_prov : Runtime discovery of Service UUID and endpoint name mapping
...
List of changes:
* Retrieve UUID property from Bluez device object before connecting to retrieve UUID contained in advertisement
* Read Characteristic User Descriptions attribute of each UUID for mapping endpoint names
* To support older implementations with hardcoded Name-UUID map, revert to fallback mode in order if advertisement data has no UUID field
2019-06-03 08:26:48 +00:00
bc83d470e3
protocomm_ble : Fixed custom service UUID support
...
List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names
2019-06-03 08:26:48 +00:00
a298d32d65
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.3' into 'release/v3.3'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.3)
See merge request idf/esp-idf!5031
2019-06-03 14:31:27 +08:00
172a216edb
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-06-03 05:51:14 +00:00
d5923f0e2e
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.3' into 'release/v3.3'
...
CMake: Fix custom bootloader does not override original (v3.3)
See merge request idf/esp-idf!5081
2019-06-03 09:55:49 +08:00
cd9249970f
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags
...
(cherry picked from commit 8b96668c9123fbbf8c78b347479215f471b102ed)
2019-05-31 13:55:03 +05:30
676a27c7cf
esp32: fix wpa2 enterprise vulnerability issues
...
Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
2019-05-30 21:23:01 +08:00
33121c3311
soc: Add some headers into gpio_periph.h
2019-05-29 13:37:22 +08:00
38509b2b95
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-28 12:44:41 +00:00
e821c22a8c
ci: check that custom bootloader overrides original
2019-05-27 17:04:23 +08:00
8c363321db
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-05-27 17:00:23 +08:00
ce279988c3
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.3' into 'release/v3.3'
...
wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.3)
See merge request idf/esp-idf!5066
2019-05-24 19:57:00 +08:00
7200b8bf77
wifi bugfixs:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
2019-05-24 11:31:24 +08:00
7e5cd986a9
Merge branch 'bugfix/docs_build_failure_on_rtd' into 'release/v3.3'
...
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...
See merge request idf/esp-idf!5041
2019-05-24 10:19:50 +08:00
fa1e983028
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.3' into 'release/v3.3'
...
esp32: fix some WiFi bugs 0508 (backport v3.3)
See merge request idf/esp-idf!4965
2019-05-23 17:55:12 +08:00
71e344da20
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.3' into 'release/v3.3'
...
add promiscuous mode control for Ethernet (v3.3)
See merge request idf/esp-idf!4975
2019-05-23 14:24:07 +08:00
620bba3a66
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog
2019-05-22 22:22:21 +08:00
8f7f32c0a5
Merge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.3' into 'release/v3.3'
...
wifi: fix softap crash when sta reset (backport v3.3)
See merge request idf/esp-idf!5039
2019-05-22 21:00:49 +08:00
3cbbc3bbac
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific to esp-idf release. (backport v3.3)
2019-05-21 20:02:20 +08:00
5c42c831f5
wifi: fix softap crash when sta reset (backport v3.3)
2019-05-20 20:47:47 +08:00
8c57aa0242
Merge branch 'feature/allow_multiple_fragment_definitions_for_library' into 'release/v3.3'
...
Combine definitions of multiple mapping fragments referring to the same library
See merge request idf/esp-idf!4243
2019-05-20 13:58:25 +08:00
0d5609ba92
Merge branch 'bugfix/esp_efuse_fields_unused_variable_v3.3' into 'release/v3.3'
...
efuse: Fix unused variable warning when NDEBUG (v3.3)
See merge request idf/esp-idf!4956
2019-05-20 12:24:19 +08:00
e209307297
Merge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'
...
newlib: Fix adjtime (v3.3)
See merge request idf/esp-idf!4870
2019-05-15 15:44:33 +08:00
4ac347b295
Merge branch 'bugfix/select_init_sem_v3.3' into 'release/v3.3'
...
VFS: Allocate socket select semaphore outside ISR
See merge request idf/esp-idf!4660
2019-05-13 12:31:00 +08:00
fc3aa765cf
ci: fix cmake example build fail
2019-05-13 11:58:41 +08:00
31c94b25c5
Merge branch 'feature/update_cjson_lib_to_1.7.11_v3.3' into 'release/v3.3'
...
cJSON: update to v1.7.11 (v3.3)
See merge request idf/esp-idf!4971
2019-05-10 22:02:31 +08:00
5b8d1c9da3
add promiscuous mode control in emac driver
...
1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
2019-05-10 12:56:24 +08:00
7f784c84d2
Merge branch 'bugfix/http_file_server_backport_v3.3' into 'release/v3.3'
...
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths (backport v3.3)
See merge request idf/esp-idf!4938
2019-05-10 11:03:32 +08:00
532c8847c7
Merge branch 'bugifx/httpd_reuseaddr_backport_v3.3' into 'release/v3.3'
...
esp_http_server : Allow binding to same address and port upon restarting server without delay (backport v3.3)
See merge request idf/esp-idf!4939
2019-05-10 10:45:55 +08:00
6dc31101ce
cJSON: update to v1.7.11
...
Closes https://github.com/espressif/esp-idf/issues/3332
2019-05-10 10:26:04 +08:00
c763b8089c
pm: prevent interrupt nesting during esp_pm_impl_isr_hook
...
Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110 ,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.
Closes https://github.com/espressif/esp-idf/issues/3057
2019-05-10 10:21:21 +08:00
7d9330d1af
efuse: Fix unused variable warning when NDEBUG
...
Merges: https://github.com/espressif/esp-idf/pull/3429
Closes: https://github.com/espressif/esp-idf/issues/3432
2019-05-08 09:41:49 +08:00
618aa6a3a4
Merge branch 'bugfix/wps_connect_fail_after_reason_code_change_v3.3' into 'release/v3.3'
...
wifi: fix the bug that WPS fails when AP is encrypted (backport v3.3)
See merge request idf/esp-idf!4910
2019-05-07 22:41:52 +08:00
762bf705bb
Merge branch 'bugfix/enb_secboot_post_flash_enc_backport_v3.3' into 'release/v3.3'
...
Enable secure boot only after encrypting flash (backport v3.3)
See merge request idf/esp-idf!4940
2019-05-07 14:44:03 +08:00
5988e77a3a
VFS: Allocate socket select semaphore outside ISR
2019-05-06 16:11:59 +02:00
26e7f3fde6
idf.py: Detect symlinks on Windows during fullclean
...
Closes https://github.com/espressif/esp-idf/issues/3377
2019-05-06 09:41:39 +02:00
ba2ff1876f
Enable secure boot only after encrypting flash
...
This prevents a device from being bricked in case when both secure boot & flash encryption are enabled and encryption gets interrupted during first boot. After interruption, all partitions on the device need to be reflashed (including the bootloader).
List of changes:
* Secure boot key generation and bootloader digest generation logic, implemented inside function esp_secure_boot_permanently_enable(), has been pulled out into new API esp_secure_boot_generate_digest(). The enabling of R/W protection of secure boot key on EFUSE still happens inside esp_secure_boot_permanently_enable()
* Now esp_secure_boot_permanently_enable() is called only after flash encryption process completes
* esp_secure_boot_generate_digest() is called before flash encryption process starts
2019-05-06 11:34:12 +05:30
0757e019f4
esp_http_server : Allow binding to same address and port upon restarting server without delay
...
Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket
Closes https://github.com/espressif/esp-idf/issues/3381
2019-05-06 10:52:49 +05:30
c68390f922
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths
...
This change prevents buffer overflows in case of really long file paths.
Other changes:
* Remove query (?) and fragment (#) component from URI when converting to file path
* /index.html and favicon.ico can be overridden by files with same name and path in SPIFFS
* README.md updated
2019-05-06 10:46:35 +05:30
8e3a1876cb
wifi: fix the bug that WPS fails when AP is encrypted
2019-05-06 10:50:04 +08:00
cc8652d8d2
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.3' into 'release/v3.3'
...
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.3)
See merge request idf/esp-idf!4900
2019-05-06 10:37:08 +08:00
3cd8538f53
Merge branch 'backport/bugfix_url_redirect_v33' into 'release/v3.3'
...
Fix url redirection issue. (backport v3.3)
See merge request idf/esp-idf!4851
2019-05-03 14:15:33 +08:00
0033b31442
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-29 16:21:58 +08:00
56afb3bd1c
Merge branch 'backport/feature_set_redirect_function_v33' into 'release/v3.3'
...
Add a `esp_http_client_set_redirection` function. (backport v3.3)
See merge request idf/esp-idf!4866
2019-04-26 10:06:52 +08:00
e622ee0f41
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.3' into 'release/v3.3'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4861
2019-04-25 20:39:36 +08:00
2d50291b05
newlib: Fix adjtime
...
Fixed adjtime function: While using the adjtime() function,
the time correction accumulated an error
when reading the time frequently (using gettimeofday).
2019-04-24 17:42:20 +08:00
c9b1e1df60
Add a esp_http_client_set_redirection
function.
...
When using direct operations instead of `esp_http_client_perform`, we need a way to set redirection URL when we get 30x response codes. Added the function for the same.
User can now check status code and call `esp_http_client_set_redirection` function to enable redirection.
Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187
Closes https://github.com/espressif/esp-idf/issues/2712
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2019-04-24 14:10:10 +05:30
9a72c11e6e
Merge branch 'bugfix/erase_with_vtaskdelay' into 'release/v3.3'
...
spi_flash: Add vTaskDelay while a long erasing
See merge request idf/esp-idf!4816
2019-04-24 15:51:35 +08:00
39dbe7daa8
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:30:04 +08:00
554a28e8a1
Merge branch 'bugfix/undefined_partition_table_bin_warning_v3.3' into 'release/v3.3'
...
make: fix undefined variables warning for PARTITION_TABLE_BIN (backport v3.3)
See merge request idf/esp-idf!4848
2019-04-24 08:57:06 +08:00
7a2885885c
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-23 10:47:09 +00:00
d154723a84
Fix url redirection issue.
...
Operation:
In `esp_http_client_set_url`, we check for if old_host is same as new_host.
Delete and open new connection if host is different.
Issue:
We just pointed `client->connection_info.host` to `old_host` and reassigned it.
This made old_host and new_host always point to same location and hence, using old_host with new request.
Fix:
Made a separate copy for old_host using strdup.
Closes https://github.com/espressif/esp-idf/issues/2631
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2019-04-23 14:28:53 +05:30
16918e400e
make: fix undefined variables warning for PARTITION_TABLE_BIN
...
Closes https://github.com/espressif/esp-idf/issues/3136
2019-04-23 14:42:14 +08:00
510f726935
Merge branch 'bugfix/fix_iperf_exit_error_v3.3' into 'release/v3.3'
...
examples: fix iperf exit error
See merge request idf/esp-idf!4845
2019-04-23 10:21:25 +08:00
3295ed0995
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 21:49:59 +08:00
924895f832
examples: fix iperf exit error
2019-04-22 19:56:15 +08:00
403268a13a
Merge branch 'test/modify_mesh_ci_v3.3' into 'release/v3.3'
...
test: update mesh test cases for ci (backport v3.3)
See merge request idf/esp-idf!4651
2019-04-18 11:29:54 +08:00
6b3da6b188
Merge branch 'bugfix/fix_signal_test_bug_v3.3' into 'release/v3.3'
...
esp32: fix a bug caused by signal test code (backport v3.3)
See merge request idf/esp-idf!4813
2019-04-17 22:09:23 +08:00
93b4c71595
esp32: fix a bug caused by signal test code
...
Fix a WiFi bug caused by signal test code.
2019-04-17 17:44:23 +08:00
d6badc53eb
test:update mesh test cases for test(v3.3)
...
add job in ci mesh test
update cases in TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
change the file 'components/idf_test/integration_test'
2019-04-17 17:28:31 +08:00
cb7aaae35e
Merge branch 'bugfix/fix_set_config_bug_for_bssid_set_v3.3' into 'release/v3.3'
...
wifi: fix the set config bug for bssid_set (backport v3.3)
See merge request idf/esp-idf!4802
2019-04-16 23:23:58 +08:00
18533e132a
wifi: fix the set config bug for bssid_set
2019-04-16 20:40:00 +08:00
7a7128c7a3
Merge branch 'bugfix/esp_efuse_get_pkg_ver_v3.3' into 'release/v3.3'
...
efuse: Fix excess data coming from uninitialized variable (backport v3.3)
See merge request idf/esp-idf!4794
2019-04-16 20:33:36 +08:00
208d87742c
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config_v3.3' into 'release/v3.3'
...
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option (v3.3)
See merge request idf/esp-idf!4790
2019-04-16 20:32:51 +08:00
dd76df7aee
efuse: Fix excess data coming from uninitialized variable
...
Fixed esp_efuse_get_pkg_ver() function
Closes: https://github.com/espressif/esp-idf/pull/3309
Closes: IDFGH-976
2019-04-16 16:04:15 +08:00
deba35d2e5
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
...
Closes https://github.com/espressif/esp-idf/issues/3297
2019-04-16 11:21:17 +05:30
9fdc36ed57
Merge branch 'feature/add_support_for_signal_test_v3.3' into 'release/v3.3'
...
esp32: add support for WiFi signal test (backport v3.3)
See merge request idf/esp-idf!4759
2019-04-15 17:52:54 +08:00
184f2f0fd6
esp32: add support for WiFi signal test
...
Add support for WiFi signal test
2019-04-15 10:17:14 +08:00
b36f4aa813
Merge branch 'feature/wifi_refactor_softap_power_save_v3.3' into 'release/v3.3'
...
refactor softap power save
See merge request idf/esp-idf!4766
2019-04-15 10:09:55 +08:00
4b6ac69c04
refactor softap power save
...
1. Softap support multicast and broadcast saving and flushing when the associated stations enable IEEE80211 legacy power save(which is called modem sleep in ESP32).
2. Improve the frame saving and flushing mechanism of softap power save.
2019-04-14 19:43:09 +08:00
c7d73901d0
Merge branch 'bugfix/nvs_fix_erase_any_v3.3' into 'release/v3.3'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly(v3.3)
See merge request idf/esp-idf!4765
2019-04-14 19:39:04 +08:00
76cc8c1c0c
Merge branch 'bugfix/wifi_spike_power_v3.3' into 'release/v3.3'
...
wifi: fix the issue that the spike transmit power of WiFi is higher than…
See merge request idf/esp-idf!4762
2019-04-14 19:38:55 +08:00
38a2be75a9
Merge branch 'bugfix/btdm_fix_memory_leak_when_set_txpwr_v3.3' into 'release/v3.3'
...
component/bt: fix memory leak when settig tx power (backport v3.3)
See merge request idf/esp-idf!4760
2019-04-14 16:55:52 +08:00
c85fc16282
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.3' into 'release/v3.3'
...
bugfix(psram): improve spi cs timing settings for psram(v3.3)
See merge request idf/esp-idf!4763
2019-04-14 16:27:35 +08:00
ab888394c3
wifi: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist
2019-04-14 06:26:01 +00:00
b8a2b77f70
component/bt: fix memory leak when settig tx power
2019-04-14 06:25:53 +00:00
ef8341b5bc
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
...
Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.
Closes https://github.com/espressif/esp-idf/issues/3255
2019-04-14 06:23:38 +00:00
c31217d193
bugfix(psram): improve spi cs timing settings for psram
...
1. remove redundant SPI clock settings, use rom functions to set clock.
2. remove redundant SPI cs setup and hold settings.
3. for old 32Mbit psram, cs hold time must only be 0.5T due to the special driving mode.(cs_setup = 0; cs_hold = 0)
4. for new 64Mbit psram, cs hold time is recommended to be 2.5T. (cs_setup = 1, cs_setup_time = 0;cs_hold = 1, cs_hold_time = 1)
2019-04-14 06:23:24 +00:00
16a56e2e7a
Merge branch 'bugfix/rename_ldgen_common_module_v3.3' into 'release/v3.3'
...
ldgen: rename common module(v3.3)
See merge request idf/esp-idf!4764
2019-04-14 14:21:01 +08:00
1b3c6fb1a1
ldgen: rename common module
2019-04-14 12:48:27 +08:00
f7177095cf
Merge branch 'bugfix/name_conflict_esp32_project_ld_v3.3' into 'release/v3.3'
...
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading (v3.3)
See merge request idf/esp-idf!4732
2019-04-14 10:29:39 +08:00
0e89436769
Merge branch 'bugfix/increase_block_scan_timeout_value_v3.3' into 'release/v3.3'
...
esp32: increase WiFi block scan timeout value (backport v3.3)
See merge request idf/esp-idf!4696
2019-04-12 23:32:55 +08:00
40067fb50f
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.3' into 'release/v3.3'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.3)
See merge request idf/esp-idf!4727
2019-04-12 13:42:19 +08:00
167c21b987
Merge branch 'bugfix/remove_second_sha_enable_v3.3' into 'release/v3.3'
...
esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.3)
See merge request idf/esp-idf!4747
2019-04-12 13:28:39 +08:00
a2f00b0adf
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
2019-04-10 20:49:27 +08:00
feecafeb0e
Merge branch 'feature/mfg_util_v3.3' into 'release/v3.3'
...
mfg_util: Add changes to mfg_util as per changes in nvs_util (backport v3.3)
See merge request idf/esp-idf!4706
2019-04-10 15:32:05 +08:00
7bbbf2d4b3
Merge branch 'bugfix/httpd_accept_conn_v3.3' into 'release/v3.3'
...
esp_http_server : Only accept new connections if server has capacity to handle more (backport v3.3)
See merge request idf/esp-idf!4720
2019-04-10 13:47:09 +08:00
21fb5085bd
Merge branch 'bugfix/prov_fix_conn_id_v3.3' into 'release/v3.3'
...
(backport v3.3) Unified Provisioning: Miscellaneous fixes in BLE
See merge request idf/esp-idf!4735
2019-04-10 13:38:40 +08:00
82a80005b9
Unified Provisioning: Miscellaneous fixes in BLE
...
1. Pass the correct conn_id to protocomm_req_handle
In transport_simple_ble_write(), passing param->exec_write.conn_id would
be invalid. Instead param->write.conn_id should be passed
Similar change in transport_simple_ble_exec_write() to use
param->exec_write.conn_id
2. simple_ble_start() assumes that the mode is BLE only and enables
Bluetooth controller accordingly. For, cases having BT + BLE like Alexa
(Provisioning over BLE + Audio over classic BT), this assumption should
be removed.
2019-04-09 11:30:54 +05:30
b354c11db7
esp32: Rename esp32.common.ld to esp32.project.ld to avoid build errors when downgrading
...
Linker script generator produces build/esp32/esp32.common.ld from
components/esp32/ld/esp32.common.ld.in
This works fine until IDF is downgraded to V3.1 which uses components/esp32/ld/esp32.common.ld and
doesn't track build/esp32/esp32.common.ld at all.
At this point, the linker runs in the build/esp32 directory and "-T esp32.common.ld" picks up the
linker script generated .ld file, which causes mis-builds.
As reported on forums: https://esp32.com/viewtopic.php?f=13&t=9684&p=40105
2019-04-09 10:20:33 +10:00
e5672e5d7f
efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field
...
8th bit is not used by hardware.
As reported https://esp32.com/viewtopic.php?f=2&t=7800&p=40895#p40894
2019-04-09 09:57:18 +10:00
3e972a3ffe
esp32: increase WiFi block scan timeout value
...
Increase WiFi block scan internal timeout value.
2019-04-08 20:02:14 +08:00
8bd09fb0a5
esp_http_server : Test added to check limit on max_open_sockets config option
2019-04-08 11:22:12 +05:30
e90c90d1f6
esp_http_server : Only accept new connections if server has capacity to handle more
...
This fix prevents HTTP server from accepting new connections when the total count of connected
sockets has reached the max_open_sockets limit set during configuration. The pending connections
are kept in backlog until atleast one of the connected sockets is closed. The maximum number of
connection requests that can kept in backlog is specified as backlog_conn configuration option.
Note that this modification has no effect when LRU purge is enabled.
Also added sanity check on setting for max_open_sockets during configuration.
Solution suggested by jimparis https://github.com/espressif/esp-idf/issues/3183#issue-421234265
Closes https://github.com/espressif/esp-idf/issues/3183
2019-04-08 11:21:44 +05:30
2f72645320
ldgen: allow combining mapping fragment definitions
2019-04-05 13:12:32 +08:00
4be28a798f
mfg_util: Add support for comments in input config csv file only
2019-04-04 18:25:03 +05:30
eed94b87e2
Merge branch 'bugfix/coex_bt_disconn_v3.3' into 'release/v3.3'
...
components/coex: Fix BT disconnecting due to too many reset BB
See merge request idf/esp-idf!4680
2019-04-04 20:53:15 +08:00
a218d4b925
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.3' into 'release/v3.3'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4619
2019-04-04 18:45:31 +08:00
015f523939
Merge branch 'bugfix/btdm_disconn_with_apple_device_v3.3' into 'release/v3.3'
...
components/bt: Fix disconnect with apple device(backport 3.3)
See merge request idf/esp-idf!4666
2019-04-04 18:45:13 +08:00
7196573605
Merge branch 'bugfix/heap_caps_int_overflows_v3.3' into 'release/v3.3'
...
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC (v3.3)
See merge request idf/esp-idf!4570
2019-04-04 17:59:40 +08:00
4a698ffb75
Merge branch 'bugfix/external_rtc_start_fail_v3.3' into 'release/v3.3'
...
Bugfix/external rtc start fail (v3.3)
See merge request idf/esp-idf!4663
2019-04-04 17:59:24 +08:00
3368783bf0
mfg_util: Add changes to mfg_util as per changes in nvs_util
...
revert changeson this file
Update README for mfg util
Update to correct coding style of script
(cherry picked from commit a88b4048
)
2019-04-04 13:46:39 +05:30
7e0e514127
components/coex: Fix BT disconnecting due to too many reset BB
...
Update coex version to 1.1.6
2019-04-04 11:47:45 +08:00
541c267af3
Merge branch 'bugfix/fix_some_sta_certification_issues_v3.3' into 'release/v3.3'
...
esp32: fix some STA certification issues (backport v3.3)
See merge request idf/esp-idf!4667
2019-04-04 10:27:36 +08:00
bbfe9f4efa
components/bt: Fix disconnect with apple device(backport 3.3)
...
1. Fix disconnect with apple device
2. Fix hci_refresh_enc_key_cmd will be ignored
3. Fix hci_refresh_enc_key_cmd will crash
2019-04-03 17:24:52 +08:00
9bd172356e
Merge branch 'feature/nvs_partition_util_v3.3' into 'release/v3.3'
...
Add support to include comments in csv file (backport v3.3)
See merge request idf/esp-idf!4670
2019-04-03 11:15:27 +08:00
1b8dd9f173
nvs_util: Add support to include comments in csv file
...
Closes https://github.com/espressif/esp-idf/issues/2965
(cherry picked from commit 66e38e9bac
)
2019-04-02 12:39:44 +05:30
dd33cec716
esp32: fix some STA certification issues
...
Fix following STA WFA certification issues:
1. STA HT2040 coexist
2. Disallow WEP/TKIP with HT rates
3. WPA2 improvement
4. Minor refactor for WiFi internal global variable auth_type
2019-04-02 14:48:43 +08:00
1cb29ac446
Merge branch 'feature/nvs_part_util_3.3' into 'release/v3.3'
...
Add support as per encryption and multipage blob changes in NVS Partition Utility (backport v3.3)
See merge request idf/esp-idf!4626
2019-04-02 13:31:57 +08:00
7b368fc211
Merge branch 'bugfix/esp_prov_ble_rw_except_backport_v3d3' into 'release/v3.3'
...
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic (backport v3.3)
See merge request idf/esp-idf!4659
2019-04-02 12:20:15 +08:00
d6ceb4a31a
Merge branch 'bugfix/http_server_lf_term_hdr_backport_v3d3' into 'release/v3.3'
...
HTTP Server : Fix for tolerating LF terminated headers (backport v3.3)
See merge request idf/esp-idf!4658
2019-04-02 12:19:05 +08:00
d5f9eb65e9
Merge branch 'bugfix/ldgen_type_1_fails_on_windows_v3.3' into 'release/v3.3'
...
Fix library path parsing in windows (backport v3.3)
See merge request idf/esp-idf!4609
2019-04-02 11:47:18 +08:00
ce3d20dcd2
Fix external start fail
2019-04-02 12:54:08 +11:00
1dc461ba80
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-04-02 12:54:08 +11:00
f03382b0ff
Merge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except_v3.3' into 'release/v3.3'
...
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list (backport v3.3)
See merge request idf/esp-idf!4605
2019-04-01 21:49:29 +08:00
2ecd007974
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.3' into 'release/v3.3'
...
Component/bt: modify HCI_GET_CMD_BUF (backport v3.3)
See merge request idf/esp-idf!4598
2019-04-01 21:18:18 +08:00
c6e32c1a61
Merge branch 'bugfix/increase_block_scan_time_v3.3' into 'release/v3.3'
...
wifi: increase the block scan time( backport v3.3)
See merge request idf/esp-idf!4652
2019-04-01 20:54:56 +08:00
2f26bb2e65
esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic
...
This is useful in the context of provisioning when server initiates disconnection if secure session establishment fails.
2019-04-01 15:43:50 +05:30
3be2b430d1
HTTP Server : Added example tests for verifying parser behavior on arbitrary HTTP terminations (LF, CRLF, etc.)
2019-04-01 15:39:15 +05:30
ff01bcfd88
HTTP Server : Fix for tolerating LF terminated headers
...
List of changes:
* When parsing requests, count termination from LF characters only
* Correct memcpy() length parameter in httpd_unrecv() (pointed out by jimparis in GitHub issue thread)
* Use ssize_t to store results of length subtractions during parsing
* Modify some comments to reduce ambiguity
Closes https://github.com/espressif/esp-idf/issues/3182
2019-04-01 15:38:59 +05:30
8442255ccc
wifi: increase the block scan time because of changing channel will take at 30ms when BT/WiFi coexist
2019-04-01 14:49:33 +08:00
c92e677da4
Merge branch 'bugfix/modify_wifi_reason_code_v3.3' into 'release/v3.3'
...
wifi: modify wifi reason code (backport v3.3)
See merge request idf/esp-idf!4648
2019-04-01 14:26:56 +08:00
6d2faf4172
wifi: modify wifi reason code
2019-04-01 11:29:29 +08:00
826146e985
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
2019-03-28 11:13:30 +08:00
2faf3c9c34
nvs_util: Add support for creation of unique encryption keys
...
(cherry picked from commit e1f466e708c2c1b825e955ec28b70dc3058f9262)
2019-03-27 18:28:42 +05:30
3fedc3eb28
nvs_util: Add support for creation of unique encryption keys
...
(cherry picked from commit 8b88b3303d83f5f03249e7b3410f6ecabaa00396)
2019-03-26 16:14:31 +05:30
4148beca50
nvs_util: Fix to support write of multiple singlepage big blob data
...
Closes https://github.com/espressif/esp-idf/issues/3011
(cherry picked from commit 60b5cdde20
)
2019-03-26 16:13:15 +05:30
c71b38c467
nvs_util: Fix to support write of multiple singlepage big blob data
...
Closes https://github.com/espressif/esp-idf/issues/3011
(cherry picked from commit ce4944edf01b2a4c997eafe36b66d71f98f2fe29)
(cherry picked from commit 76e4ea7f68
)
2019-03-26 16:11:38 +05:30
8e2b189252
nvs_util: Fix to support write of multiple singlepage big blob data Closes https://github.com/espressif/esp-idf/issues/3011
...
(cherry picked from commit 21688e3bffee80ddfbef5364a44dd1821e28c776)
(cherry picked from commit 3ec0f415a5
)
2019-03-26 16:10:18 +05:30
dca83700f2
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 14:46:36 +08:00
37e131f76b
Merge branch 'mesh/decouple_addition_v3.3' into 'release/v3.3'
...
Decouple Wifi and ESP-Mesh to reduce bin size (backport v3.3)
See merge request idf/esp-idf!4521
2019-03-26 11:04:25 +08:00
c76f00373f
Merge branch 'bugfix/cmake_component_path_v3.3' into 'release/v3.3'
...
cmake: Set COMPONENT_PATH during early expansion of dependencies (v3.3)
See merge request idf/esp-idf!4595
2019-03-25 11:24:42 +08:00
24a713b3c4
ldgen: fix library path parsing in windows
...
Closes https://github.com/espressif/esp-idf/issues/3173
2019-03-25 10:12:00 +08:00
88fe438524
Component/bt: modify HCI_GET_CMD_BUF
2019-03-22 14:59:11 +08:00
7f1fd0b8d3
Decouple Wifi and ESP-Mesh to reduce bin size
...
Do not link mesh code when mesh is not used
2019-03-22 13:01:11 +08:00
2c91bc7a50
cmake: Set COMPONENT_PATH during early expansion of dependencies
...
Works around bug where components/soc/CMakeLists.txt was testing "EXISTS
${COMPONENT_PATH}/${SOC_NAME}" and this test could pass during early
expansion if COMPONENT_PATH was empty and a directory /esp32 exists
on Windows.
Closes https://github.com/espressif/esp-idf/issues/3195
2019-03-22 10:12:15 +11:00
3cec8d0122
Merge branch 'bugfix/error_in_bootloader_loadprohibited_v3.3' into 'release/v3.3'
...
esp_tool: Exclude elf-sha256 from bootloader (backport v3.3)
See merge request idf/esp-idf!4560
2019-03-21 18:22:24 +08:00
6381817006
Merge branch 'bugfix/mesh_memory_leak_v3.3' into 'release/v3.3'
...
mesh: fix memory leak and group send (backport v3.3)
See merge request idf/esp-idf!4517
2019-03-21 11:45:34 +08:00
14a6b33d5e
Merge branch 'bugfix/sphinx_build_failure_on_rtd_v3.3' into 'release/v3.3'
...
docs: Upgraded sphinx package version to prevent build failures on readthedocs…
See merge request idf/esp-idf!4553
2019-03-21 11:44:01 +08:00
6505f82a80
Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable_v3.3' into 'release/v3.3'
...
Component/bt: fix no adv report when scaning with sleep enable (backport v3.3)
See merge request idf/esp-idf!4536
2019-03-20 21:40:28 +08:00
c05a0ae6c3
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.3' into 'release/v3.3'
...
Component/bt: fix build warning when bluedroid disable log (backport V3.3)
See merge request idf/esp-idf!4565
2019-03-20 21:22:33 +08:00
2a9555f5dd
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.3' into 'release/v3.3'
...
Component/bt: fix blufi prepare write crash (backport v3.3)
See merge request idf/esp-idf!4562
2019-03-20 18:21:10 +08:00
f72df315f7
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
2019-03-20 18:30:25 +11:00
e7a263938b
mesh: fix memory leak and group send
...
fix a bug in group send
fix esp_mesh_set_router when router_t not initialized
fix mesh memory leak with invalid option
2019-03-20 15:13:28 +08:00
3ed0f8e113
Component/bt: fix build warning when bluedroid disable log
2019-03-20 15:02:57 +08:00
7e1ccb56a7
Component/bt: fix blufi prepare write crash
2019-03-20 14:23:11 +08:00
50a0b00afa
esp_tool: Exclude elf-sha256 from bootloader
...
Closes: IDFGH-690
2019-03-20 12:19:23 +08:00
be8f34065d
Merge branch 'bugfix/fix_the_bug_cal_PMK_too_long_v3.3' into 'release/v3.3'
...
wifi: fix the bug that calculate PMK too long (backport v3.3)
See merge request idf/esp-idf!4530
2019-03-20 11:29:35 +08:00
d0eab0f3ee
docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build. (backport v3.3)
2019-03-19 17:24:32 +01:00
7a530be302
Component/bt: fix no adv report when scaning with sleep enable
2019-03-18 17:09:00 +08:00
b692bda09b
wifi: fix the bug that when call set_config before connecting to an encrypted AP, PMK will be recalculated
2019-03-18 14:45:33 +08:00
e4a83f856e
Merge branch 'bugfix/mdns_add_remove_multiple_srv_master_3.3' into 'release/v3.3'
...
mdns: fix possible crash if tx packet contained answer to removed service (backport 3.3)
See merge request idf/esp-idf!4480
2019-03-17 15:41:34 +08:00
e25152a031
Merge branch 'bugfix/esp_sha_signing_sha256_v3.3' into 'release/v3.3'
...
secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API (backport v3.3)
See merge request idf/esp-idf!4512
2019-03-17 14:40:21 +08:00
885aec7aba
Merge branch 'bugfix/bb_watchdog_reset_v3.3' into 'release/v3.3'
...
esp32: add WiFi baseband watchdog reset
See merge request idf/esp-idf!4486
2019-03-15 18:49:32 +08:00
0c2419d798
Merge branch 'test/fix_some_ut_not_assigned_v3.3' into 'release/v3.3'
...
test: fix some ut case not assigned (backport v3.3)
See merge request idf/esp-idf!4488
2019-03-15 16:11:53 +08:00
a3a58546bc
Merge branch 'bugfix/console_allow_buffered_v3.3' into 'release/v3.3'
...
console example: use buffered stdout by default (backport v3.3)
See merge request idf/esp-idf!4508
2019-03-15 16:11:30 +08:00
2f2f0fbcbd
confserver: Send an error response if JSON request is malformatted
2019-03-15 17:37:09 +11:00
ec4c75b692
confserver: In protocol V2, a "load" should only send back changes not all items
2019-03-15 17:37:09 +11:00
90ddbaac16
confserver: Add support for new V2 protocol
...
V2 adds:
* Independent result for visibility (showing/hiding menus)
* Includes adding IDs for all items (menus & symbols) in kconfig_menus.json
Still backwards compatible with V1, with some small changes (menu items now listed in results).
Also added some protocol docs, changed the "listening on stdin" message to come after any kconfiglib warnings
2019-03-15 17:37:09 +11:00
0176f912b6
esp32: Chunk input blocks for esp_sha() function performance, add perf test
2019-03-15 17:34:06 +11:00
615376d14a
secure boot: Use mbedtls_sha256() not esp_sha()
...
Latter is probably compiled into most firmwares already, saves some size.
Ref https://github.com/espressif/esp-idf/issues/3127
2019-03-15 17:34:06 +11:00
fe516fb7c2
esp32 hwcrypto: Prevent esp_sha() from disabling interrupts for extended period
...
* Closes https://github.com/espressif/esp-idf/issues/3127
* Closes IDFGH-681
Also reported at https://esp32.com/viewtopic.php?f=13&t=9506
2019-03-15 17:34:06 +11:00
f5c805160b
Merge branch 'bugfix/remove_malloc_ble_prov_v3.3' into 'release/v3.3'
...
(backport v3.3) Protocomm BLE: Make changes in handling BLE read/write requests
See merge request idf/esp-idf!4496
2019-03-15 14:29:18 +08:00
00e3f7f6b6
Merge branch 'bugfix/ble_assert_8192_v3.3' into 'release/v3.3'
...
fix the bug assert(8192 0) in rwble.c 234
See merge request idf/esp-idf!4490
2019-03-15 14:01:50 +08:00
d6b316c375
Merge branch 'feature/trim_idf_ver_to_fit_32bit_field_v3.3' into 'release/v3.3'
...
tools/test_build_system: Trim IDF_VER to fit a 32-bit field (backport v3.3)
See merge request idf/esp-idf!4497
2019-03-15 11:38:32 +08:00
bc04b1f53b
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-03-15 11:31:22 +08:00
50ceb45e6f
console/linenoise: support buffered stdout
2019-03-15 11:31:22 +08:00
646c7a7515
tools/test_build_system: Add tests with long IDF_VER
2019-03-14 15:49:16 +08:00
cc7e91e1a3
cmake: Trim IDF_VER to fit a 32-bit field
2019-03-14 15:49:03 +08:00
725f0a7545
make: Trim IDF_VER to fit a 32-bit field
...
Closes: https://github.com/espressif/esp-idf/issues/3131
2019-03-14 15:48:33 +08:00
bd0984226e
Protocomm BLE: Make changes in handling BLE read/write requests
...
1. Remove unwanted malloc during BLE send response
2. Populate the missing parameters in the response - handle, offset, auth_req
2019-03-14 12:53:52 +05:30
f330bb50b2
fix the bug assert(8192 0) in rwble.c 234
2019-03-14 11:43:16 +08:00
4f1e27fa76
test: fix some ut case not assigned:
...
we didn't remove UT case file correctly for cmake build. even we use
artifact from make jobs, cmake case file will be used to assign test.
2019-03-14 10:05:50 +08:00
16755a2c51
esp32: add WiFi baseband watchdog reset
...
When WiFi enter into a special status (11b weak mode), then reset
Wifi baseband to recover to normal mode.
2019-03-14 09:28:37 +08:00
936b99d756
mdns: fix possible crash when probing on particular interface with duplicated service instances due to naming conflicts on network
...
Issue: MDNS server initially sends probing packets to resolve naming confilicts with already registered service instances. In case of a conflict, instance name is altered and probing restarts. Original instance however wasnnot removed from the structure and upon service removal only one entry was removed and a dangling service might have been kept in the structure to bring about a crash.
Resolution: Keep only one instance of a service in the probing structure.
Closes IDF-498
2019-03-13 16:10:27 +01:00
c88cc4950e
mdns: enable pcbs before starting service thread to avoid updating pcb's internal variables from concurent tasks
...
possible race condition: user task runs mdns_init, which enables pcbs while mdns-task already created could execute enable/disable of the same pcbs if an appropriate system event received
2019-03-13 16:10:16 +01:00
54e5e440b1
mdns: fix possible deadlock on mdns deinit calling mdns_free()
...
mnds_free() initiates stop and delete timer tasks, which after locking the mutex could lead to a dead lock in case timer task executed before deleting the task, as it would wait indefinitelly for unlocking the mutex. This condition is fixed by calling _mdns_stop_timer without locking the mutex, because there's no need to protect any data when stopping and deleting the timer task
Closes https://github.com/espressif/esp-idf/issues/1696
2019-03-13 16:10:03 +01:00
e8bcda3512
mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service
...
Issue: mdns_service_add API allocates and queues an action to be processed in mdns task context; when allocation or queueing fails, allocated structure needs to be freed. Function _mdns_free_service did not only fee all the structures, but also updates packet data.
Resolution: Moved removal of packet data outside of _mdns_free_service function.
2019-03-13 16:09:51 +01:00
35a30072f4
mdns: fix possible crash when packet scheduled to transmit contained service which might have been already removed
...
packets scheduled to transmit are pushed to action queue and removed from tx_queue_head structure, which is searched for all remaining services and while service is removed, then service questions/asnwers are also removed from this structure. This update fixes possible crash when packet is pushed to action queue, and when service is removed, its answers are removed from tx_queue_head, but not from action queue. this could lead to a crash when the packet is poped from action queue containing questions/answers to already removed (freed) service
Closes IDF-504
2019-03-13 16:09:41 +01:00
edb0374b9d
Merge branch 'feature/btdm_add_adv_report_flow_control_v3.3' into 'release/v3.3'
...
Component/bt: add BLE adv report flow control(Backport v3.3)
See merge request idf/esp-idf!4471
2019-03-13 21:23:09 +08:00
78539acdd1
Merge branch 'bugfix/confgen_expr_value_v3.3' into 'release/v3.3'
...
confgen: Fix bug with JSON metadata conditional range generation (v3.3)
See merge request idf/esp-idf!4469
2019-03-13 16:54:48 +08:00
a1546e0714
Component/bt: add BLE adv report flow control
2019-03-13 14:58:32 +08:00
8ff6afd29f
confgen: Fix bug with JSON metadata conditional range generation
...
When generating JSON metadata for ranges where there are conditional ranges (ie different allowed range
depending on another config setting), the JSON metadata would always have the last named range as
the expression was not evaluated properly.
Thanks to ulfalizer on GitHub for pointing this out.
Closes https://github.com/espressif/esp-idf/issues/2195
2019-03-13 16:48:57 +11:00