Ivan Grokhotkov
43e439698d
versions: Update version to 3.3.6
2022-01-24 22:20:32 +01:00
Michael (XIAO Xufeng)
ab40f7ab0a
Merge branch 'bugfix/fix_modbus_rs485_rts_en_fail_v33' into 'release/v3.3'
...
Bugfix/fix modbus rs485 rts en fail (backport v3.3)
See merge request espressif/esp-idf!14473
2021-12-03 03:29:56 +00:00
Michael (XIAO Xufeng)
1e02903c87
Merge branch 'bugfix/modbus_add_task_affinity_and_callbacks_v33' into 'release/v3.3'
...
freemodbus: add task affinity and callbacks (backport v3.3)
See merge request espressif/esp-idf!14547
2021-12-03 03:23:05 +00:00
Michael (XIAO Xufeng)
a7fb697083
Merge branch 'bugfix/mcpwm-deadtime-preset-config-backport_v3.3' into 'release/v3.3'
...
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v3.3)
See merge request espressif/esp-idf!14626
2021-12-03 03:17:31 +00:00
Li Hang Fan
19f15190a2
MCPWM/deadtime: fix and sync preset deadtime modes with well-known definition (backport v3.3)
2021-12-03 03:17:30 +00:00
Jiang Jiang Jian
002db67195
Merge branch 'bugfix/fix_some_wifi_bugs_20211202_v3.3' into 'release/v3.3'
...
esp_wifi: fix some wifi bugs 20211202 (Backport v3.3)
See merge request espressif/esp-idf!16226
2021-12-03 02:44:40 +00:00
Wang Meng Yang
016a08a3bb
Merge branch 'bugfix/proper_tx_acl_buf_3.3' into 'release/v3.3'
...
Fixed TX PDU ACL flush update error (v3.3)
See merge request espressif/esp-idf!16244
2021-12-03 02:28:31 +00:00
zhangyanjiao
cd428d0346
esp_wifi: fix some wifi bugs
...
1. Fix airkiss and esptouch find channel crash issue
2. Fix softAP crash by adding NULL pointer check for handling public action frame
3. Ignore dirtyBuf check when buffer size is larger than 4092
4. Fix rf signal test without 9M rate issue
5. Fix issue with hidden AP scans after connecting AP
6. Fix the watchdog issue when receiving action frame
7. Clear hotspot bss when auth timeout happens
8. Fix the bug for esptouch find hidden AP fail
9. Fixed issue of reason code change from 15 to 204 when provide wrong password
10. Fix set config return value error
11. Fix ampdu age timer memory leak
12. Fix PMK not saved in NVS for SoftAP for PSK mode
2021-12-02 21:42:14 +08:00
Jiang Jiang Jian
30268103d5
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes_v3.3' into 'release/v3.3'
...
Bugfix/wpa supplicant coverity issue fixes v3.3
See merge request espressif/esp-idf!12852
2021-12-02 12:00:11 +00:00
Yang Zhao
53a0cbd592
Fixed TX PDU ACL flush update error
2021-12-02 19:54:02 +08:00
Jiang Jiang Jian
80d5c63b36
Merge branch 'feature/btdm_add_new_api_get_conn_params_v3.3' into 'release/v3.3'
...
Component/bt: add new api to get connection parameters(backport release/v3.3)
See merge request espressif/esp-idf!16225
2021-12-02 08:07:51 +00:00
aditi_lonkar
b67821b2a7
wifi_provisioning: Fix some memory leak issues by coverity static analyzer.
2021-12-02 13:07:52 +05:30
aditi_lonkar
88645a97b4
esp_http_client: Fix some memory leak issues by coverity static analyzer.
2021-12-02 13:07:52 +05:30
aditi_lonkar
776d24e83f
fatfs: Fix some memory leak issues by coverity static analyzer.
2021-12-02 13:07:52 +05:30
aditi_lonkar
66d7cf8db5
tcp_transport: Fix some memory leak issues by coverity static analyzer.
2021-12-02 13:07:52 +05:30
zhiweijian
3eacc32c8c
Component/bt: add new api to get connection parameters
2021-12-02 10:36:12 +08:00
liulinyan
5408374d63
Merge branch 'bugfix/ble_mesh_macro_OR_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix using wrong | for OR between macros (v3.3)
See merge request espressif/esp-idf!16212
2021-12-02 00:27:56 +00:00
Jiang Jiang Jian
10db99e449
Merge branch 'bugfix/fix_modem_sleep_hw_error_mr_3.3' into 'release/v3.3'
...
Update esp32-bt-lib
See merge request espressif/esp-idf!16203
2021-12-01 15:41:06 +00:00
Jiang Jiang Jian
2c7b20ff13
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix proxy client may fail to resend msg (v3.3)
See merge request espressif/esp-idf!16215
2021-12-01 14:21:25 +00:00
Jiang Jiang Jian
3078e504e3
Merge branch 'bugfix/heartbeat_filter_with_acceptlist_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix heartbeat filter with accept list (v3.3)
See merge request espressif/esp-idf!15687
2021-12-01 14:20:59 +00:00
Jiang Jiang Jian
ab6c21dd1f
Merge branch 'bugfix/ble_mesh_node_set_name_status_check_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Remove node set device name return status check (v3.3)
See merge request espressif/esp-idf!16214
2021-12-01 12:08:33 +00:00
liulinyan
2d572e2c15
Merge branch 'bugfix/ble_mesh_prov_use_diff_rand_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Use different random for each provisioning (v3.3)
See merge request espressif/esp-idf!16216
2021-12-01 11:55:53 +00:00
liulinyan
94bbb4185c
Merge branch 'update/ble_mesh_set_hsl_states_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Enable updating lighting hsl state (v3.3)
See merge request espressif/esp-idf!16213
2021-12-01 11:50:13 +00:00
Yang Zhao
ccc2ce93d6
Update esp32-bt-lib
...
It is abnormal when getting the deep sleep state bit. So we need to check
the state again and run the "ble_master_soft_rst()" if needed.
2021-12-01 17:45:18 +08:00
lly
24a79107d7
ble_mesh: stack: Use different random for each provisioning
2021-12-01 16:24:36 +08:00
lly
2840a77b0e
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-12-01 16:23:48 +08:00
lly
720be0f23f
ble_mesh: stack: Remove node set device name return status check
2021-12-01 16:14:45 +08:00
lly
cdf0e89a09
ble_mesh: stack: Enable updating lighting hsl state
2021-12-01 16:13:39 +08:00
lly
bd5552faec
ble_mesh: stack: Fix using wrong | for OR between macros
2021-12-01 16:11:20 +08:00
wangjialiang
e85fc1f9c5
ble_mesh: stack: Fix heartbeat filter with accept list
2021-12-01 15:13:53 +08:00
Jiang Jiang Jian
46c4842c0e
Merge branch 'bugfix/enable_gpio_20_v3.3' into 'release/v3.3'
...
gpio: Enable IO20 on ESP32 (backport v3.3)
See merge request espressif/esp-idf!15029
2021-12-01 05:59:34 +00:00
Jiang Jiang Jian
4baf48074c
Merge branch 'feat/ble_mesh_support_ble_scan_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled (v3.3)
See merge request espressif/esp-idf!13941
2021-12-01 05:56:29 +00:00
Wang Meng Yang
e774f217b6
Merge branch 'bugfix/fix_static_check_error_mr_3.3' into 'release/v3.3'
...
Fix the high-impact issues from the code analysis report from customer
See merge request espressif/esp-idf!16155
2021-12-01 03:49:46 +00:00
Wang Meng Yang
0677774a52
Merge branch 'bugfix/leedarson_v3.3' into 'release/v3.3'
...
component_bt: Fix some code logic errors (v3.3)
See merge request espressif/esp-idf!16041
2021-12-01 03:49:37 +00:00
xiongweichao
e21bfde305
Missing break in switch
2021-11-30 15:53:24 +08:00
xiongweichao
745e7e25c8
already defined in bt_target.h
2021-11-30 15:53:24 +08:00
xiongweichao
b6f9c4b62a
Dereference after null check
2021-11-30 15:53:24 +08:00
xiongweichao
d0dd9d446c
Dereference before null check
2021-11-30 15:53:24 +08:00
xiongweichao
0755078ee6
Logically dead code
2021-11-30 15:53:24 +08:00
Yang Zhao
63bd02b1d8
Fix the high-impact issues from the code analysis report from customer
2021-11-26 17:44:40 +08:00
Anton Maklakov
42fd5a948a
Merge branch 'feature/docker_build_use_git_mirror_v3.3' into 'release/v3.3'
...
ci: use LOCAL_GIT_MIRROR in docker build job, if set (v3.3)
See merge request espressif/esp-idf!16114
2021-11-25 05:34:02 +00:00
Ivan Grokhotkov
86f31403e5
ci: use LOCAL_GIT_MIRROR in docker build job, if set
...
When the build runner has a local git mirror configured via
LOCAL_GIT_MIRROR variable, use that mirror when cloning IDF insider
the docker build job. Follows similar logic for
LOCAL_GITLAB_HTTPS_HOST, which is used for geo nodes.
2021-11-24 15:49:34 +01:00
Roland Dobai
a6a39dbb41
Merge branch 'docs/fix_oocd_debug_level_opt_v3.3' into 'release/v3.3'
...
docs: Fixes OpenOCD debug level option (v3.3)
See merge request espressif/esp-idf!16063
2021-11-24 08:38:33 +00:00
Jiang Jiang Jian
bdcc2cb638
Merge branch 'mesh/esp_mesh_send_block_time_v3.3' into 'release/v3.3'
...
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send(backport v3.3)
See merge request espressif/esp-idf!13412
2021-11-24 08:37:20 +00:00
Roland Dobai
84ef653a1e
Merge branch 'feature/oocd_ver_upgrade_v3.3' into 'release/v3.3'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111' (v3.3)
See merge request espressif/esp-idf!16003
2021-11-24 08:35:46 +00:00
Sudeep Mohanty
6a18dba4cd
Merge branch 'bugfix/ringbuf_read_pointer_wrap_v3.3' into 'release/v3.3'
...
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers (v3.3)
See merge request espressif/esp-idf!15893
2021-11-24 06:55:52 +00:00
Alexey Gerenkov
a132363390
idf_tools: Adds 'linux-armhf' platform support
2021-11-23 12:04:47 +03:00
Alexey Gerenkov
c985e5567a
tools: Updates OpenOCD version to 'v0.10.0-esp32-20211111'
2021-11-23 12:04:47 +03:00
Alexey Gerenkov
c2c33ac9a5
docs: Fixes OpenOCD debug level option
2021-11-23 11:50:54 +03:00
Anton Maklakov
fb3dd453df
Merge branch 'feature/ci_runner_failure_retries_v3.3' into 'release/v3.3'
...
ci: runner system failure retries (v3.3)
See merge request espressif/esp-idf!15729
2021-11-19 08:02:28 +00:00
Sudeep Mohanty
6e0fae9878
ringbuf: Fix bug where comparision between a signed and unsigned operand resulted in incorrect free size for no-split/allow-split buffers
...
This commit fixes a bug in no-split and allow-split ring buffers free buffer size calculation.
When the free size available in the buffers less than the size of one item header,
the function prvGetCurMaxSizeNoSplit/AllowSplit() incorrectly returned the maxItemSize instead of 0.
This is due to the comparision between a negative and a positive value
where both operands are treated as unsigned during the comparision operation,
thereby treating the negative operand as a large integer.
Also added new unit tests to test buffer-full and almost-full conditions
where this scenario is likely to be hit.
Closes https://github.com/espressif/esp-idf/issues/7344
Closes https://github.com/espressif/esp-idf/pull/7371
2021-11-18 15:31:57 +05:30
Wang Meng Yang
4cc7a85701
Merge branch 'bugfix/remove_assert_when_inq_done_3.3' into 'release/v3.3'
...
component_bt: fix crash after inquiry has finished (v3.3)
See merge request espressif/esp-idf!15683
2021-11-16 04:55:50 +00:00
Michael (XIAO Xufeng)
7a49a131d3
Merge branch 'feature/support_for_esp32_pico_v3_02_v3.3' into 'release/v3.3'
...
psram: support for esp32-pico-v3-02 (backport v3.3)
See merge request espressif/esp-idf!14156
2021-11-15 06:14:37 +00:00
xiongweichao
7b5456dd27
1. Fix the scan failed issue.
...
2. Fix connection failed with LG 5.0 phone
3. Remove assert when inquiry done
2021-11-11 11:54:00 +08:00
Chinmay Chhajed
20aec9c113
Merge branch 'bugfix/ble_conn_latency_max_value_v3.3' into 'release/v3.3'
...
BLE: Set connection max latency value to 499.
See merge request espressif/esp-idf!15760
2021-11-05 08:06:45 +00:00
Island
77619bafca
Merge branch 'bugfix/ble_mesh_host_init_v3.3' into 'release/v3.3'
...
ble_mesh: nimble: return error if init host twice (v3.3)
See merge request espressif/esp-idf!15791
2021-11-05 03:13:49 +00:00
Island
0e8e3f3d28
Merge branch 'bugfix/sig_ble_mesh_errata_e16350_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG (v3.3)
See merge request espressif/esp-idf!15787
2021-11-05 03:10:03 +00:00
lly
db313f2c00
ble_mesh: nimble: return error if init host twice
2021-11-03 19:21:27 +08:00
lly
95e27869f8
ble_mesh: stack: Apply the errata E16350 from Bluetooth SIG
2021-11-03 19:17:09 +08:00
Chinmay Chhajed
ebc93210a1
BLE: Set connection max latency value to 499.
2021-11-01 17:25:40 +05:30
Anton Maklakov
1d5a967c4c
ci: Add retries on runner system failures
2021-11-01 14:26:22 +07:00
shenjun
37e2e7599a
esp_wifi_mesh: add esp_mesh_send_block_time to set blocking time of esp_mesh_send
...
1. fix the issue that layer2 node connect to lower-layer node when FIXED-ROOT root disappeared
2. add esp_mesh_send_block_time to set blocking time of esp_mesh_send
2021-11-01 15:20:54 +08:00
Anton Maklakov
cc2e952edb
Merge branch 'bugfix/yaml_loader_parameter_3.3' into 'release/v3.3'
...
ci: fix Loader parameter in yaml.loader() (3.3)
See merge request espressif/esp-idf!15746
2021-11-01 07:12:39 +00:00
Chen Yu Dong
678275045f
ci: Fix Loader parameter in yaml.loader()
2021-11-01 11:44:55 +08:00
Anton Maklakov
e0e1fab0ab
Merge branch 'bugfix/support_py34-35_cffi_v3.3' into 'release/v3.3'
...
Tools: Constrain the cffi package for older pythons (v3.3)
See merge request espressif/esp-idf!15633
2021-10-26 09:29:33 +00:00
Sergei Silnov
77799ec529
Tools: Constrain the cffi package for older pythons
2021-10-25 12:39:20 +02:00
Wang Meng Yang
ff8531b08e
Merge branch 'bugfix/bt_x_component_key_check_v3.3' into 'release/v3.3'
...
BT: Check only for same X component of public key in BR/EDR. (3.3)
See merge request espressif/esp-idf!15594
2021-10-25 02:33:39 +00:00
Chinmay Chhajed
6b64edca6d
BT: Check only for same X component of public key in BR/EDR.
2021-10-21 13:38:16 +05:30
Anton Maklakov
15c97b5a58
Merge branch 'bugfix/retry_download_submodule_v3.3' into 'release/v3.3'
...
ci: retry download from Gitlab on error 500 (v3.3)
See merge request espressif/esp-idf!15562
2021-10-20 08:23:49 +00:00
Ivan Grokhotkov
ab4613cadf
ci: revert type annotations in gitlab_api.py to python2 compatible
2021-10-19 19:54:42 +07:00
Ivan Grokhotkov
2c011b6256
ci: retry Gitlab operations on error 500
2021-10-19 19:54:36 +07:00
Fu Hanxi
a100174f47
ci: retry download artifacts
2021-10-19 19:53:28 +07:00
Ivan Grokhotkov
f4909b8ac6
ci: fetch submodules from mirror, if enabled
2021-10-19 19:53:28 +07:00
Fu Hanxi
8340d36359
ci: retry download if catched IOError/EOFError
2021-10-19 19:53:28 +07:00
Anton Maklakov
4734765745
Merge branch 'ci/fix_deploy_docs_preview_url_v3.3' into 'release/v3.3'
...
ci: update docs preview url (v3.3)
See merge request espressif/esp-idf!15513
2021-10-19 11:51:01 +00:00
Marius Vikhammer
e0ef3bb303
ci: update docs preview url
2021-10-14 14:38:18 +08:00
Roland Dobai
38d328b566
Merge branch 'bugfix/constrain_cryptography_v3.3' into 'release/v3.3'
...
Tools: Constrain the cryptography package version in order to avoid breaking changes (v3.3)
See merge request espressif/esp-idf!15464
2021-10-11 07:21:56 +00:00
Mahavir Jain
8a53a75ac3
Merge branch 'fix/update_https_example_root_certificate_v3.3' into 'release/v3.3'
...
Updated the root certificate of https examples (v3.3)
See merge request espressif/esp-idf!15441
2021-10-11 04:00:57 +00:00
Roland Dobai
638b7f5ff4
Tools: Constrain the cryptography package for avoiding breaking changes
...
The cryptography 35 release causes breaking changes. Some of
certificates are rendered invalid and the package cannot be build
without rust. See
https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3500---2021-09-29
for more details.
2021-10-10 19:27:22 +02:00
Harshit Malpani
881522c9b8
Update example test for esp_http_client
2021-10-07 17:24:20 +05:30
Harshit Malpani
7b271ac0ce
Updated the root certificate of https examples
2021-10-07 17:09:41 +05:30
Mahavir Jain
e72de12566
Merge branch 'feature/upgrade_nghttp2_component_v3.3' into 'release/v3.3'
...
nghttp2: upgrade to v1.41.0 release (v3.3)
See merge request espressif/esp-idf!15346
2021-10-05 05:40:18 +00:00
Vikram Dattu
03fc607492
Fixed broken http2_request example.
...
Implementation of `esp_tls_conn_new_sync` now uses timeout_ms value to
give up retries.
Specified this value to be 10 sec. (10 * 1000 ms).
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2021-09-29 09:48:47 +05:30
Mahavir Jain
c6106b5ac0
nghttp2: upgrade to v1.41.0 release
...
Detailed changelog:
https://github.com/nghttp2/nghttp2/releases/tag/v1.41.0
Closes: https://github.com/espressif/esp-idf/issues/4883
Closes IDFGH-2821
2021-09-24 17:48:25 +05:30
lly
3924ca8f03
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2021-09-10 11:27:13 +08:00
lly
53d1eda84c
ble_mesh: stack: Support reporting normal ble adv packets
2021-09-10 11:27:13 +08:00
lly
e742889689
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2021-09-10 11:27:13 +08:00
lly
437b215e62
ble_mesh: stack: Move ble scan funcitons to a single file
2021-09-10 11:27:13 +08:00
lly
033a596810
ble_mesh: stack: Optimize handling received mesh adv packets
2021-09-10 11:27:13 +08:00
Roland Dobai
b95e11939d
Merge branch 'feature/oocd_ver_upgrade_v3.3' into 'release/v3.3'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902' (v3.3)
See merge request espressif/esp-idf!15136
2021-09-09 10:23:30 +00:00
Alexey Gerenkov
c571273674
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210902'
2021-09-08 21:29:26 +03:00
Wang Meng Yang
b1d235ebb5
Merge branch 'bugfix/controller_hci_uart_sdkconfig_v3.3' into 'release/v3.3'
...
controller_hci_uart: fixed the sdkconfig.defaults in the example(backport v3.3)
See merge request espressif/esp-idf!14810
2021-09-08 06:06:04 +00:00
Wang Meng Yang
2a4b854a6d
Merge branch 'bugfix/hf_disc_acl_no_disc_v3.3' into 'release/v3.3'
...
bugfix/acl can't disconnect when hfp_client disconnect [release/v3.3]
See merge request espressif/esp-idf!15060
2021-09-07 10:13:22 +00:00
Wang Meng Yang
3b30f7044c
Merge branch 'bugfix/bt_spp_timer_collision_v3.3' into 'release/v3.3'
...
Fix timer collision in role switch(v3.3)
See merge request espressif/esp-idf!14822
2021-09-06 10:06:03 +00:00
Mahavir Jain
c9033019f9
Merge branch 'feature/update_cjson_submodule_v3.3' into 'release/v3.3'
...
cJSON: Update submodule to v1.7.15 (v3.3)
See merge request espressif/esp-idf!15078
2021-09-06 09:50:53 +00:00
Wang Meng Yang
ca87b35cf1
Merge branch 'bugfix/spp_connect_20_fail_v3.3' into 'release/v3.3'
...
component_bt: fix spp acceptor deadlock
See merge request espressif/esp-idf!14111
2021-09-06 09:38:44 +00:00
Mahavir Jain
216d0777fd
Merge branch 'feature/update_expat_v3.3' into 'release/v3.3'
...
expat: Update library from 2.2.9 to 2.4.1(backport v3.3)
See merge request espressif/esp-idf!15072
2021-09-06 04:01:12 +00:00
jincheng
98cf27dbf8
fix timer collision in role switch
2021-09-06 10:36:54 +08:00
Shubham Kulkarni
63b2ca84c4
cJSON: Update submodule to latest release.
...
This update fixes NULL pointer dereference issues in previous release
Closes https://github.com/espressif/esp-idf/issues/7317
2021-09-06 07:45:57 +05:30
yuanjm
6f0848aa3d
expat: Update library from 2.2.9 to 2.4.1
2021-09-03 19:28:02 +08:00
jincheng
f4ce4efdb8
fix acl can not disconnect when hf_client disconnect
2021-09-03 11:03:52 +08:00
Alberto García Hierro
aafbb8f5a8
Enable IO20 on ESP32
...
Some newer ESP32 variants (like ESP32-PICO-V3 and ESP32-PICO-MINI-02)
do implement this pin and it can be used as a normal GPIO.
Fixes #6016
Fixes #6837
Closes https://github.com/espressif/esp-idf/pull/6918
(cherry picked from commit 6deaefde69 )
2021-09-01 10:48:59 +08:00
Wang Meng Yang
e173e47322
Merge branch 'bugfix/SCO_connect_fail_after_peer_not_accept_sniff_v3.3' into 'release/v3.3'
...
bugfix/unable to initiate SCO connection when peer device not accept sniff mode (v3.3)
See merge request espressif/esp-idf!14399
2021-08-23 05:19:36 +00:00
Jiang Jiang Jian
07167c8c7b
Merge branch 'bugfix/spp_memory_leak_v3.3' into 'release/v3.3'
...
Fix spp memory leak(v3.3)
See merge request espressif/esp-idf!14866
2021-08-20 02:51:59 +00:00
xiongweichao
a6c52e1924
components/bt: fix spp memory leak
2021-08-19 14:53:20 +08:00
xiongweichao
873a759f48
fix spp acceptor deadlock
2021-08-19 08:11:44 +08:00
Island
6a2d7ef994
Merge branch 'bugfix/ble_mesh_cve_recommendation_v3.3' into 'release/v3.3'
...
ble_mesh: Update the SIG recommendations for CVE issues (v3.3)
See merge request espressif/esp-idf!14845
2021-08-18 12:42:36 +00:00
lly
71fc9de66b
ble_mesh: Update the SIG recommendations for CVE issues
2021-08-18 11:01:17 +08:00
wangmengyang
c631fdf33c
controller_hci_uart: fixed the sdkconfig.defaults in the example
2021-08-16 16:39:43 +08:00
Zim Kalinowski
44e9dd3e29
Merge branch 'feature/skip_known_failure_cases_v3.3' into 'release/v3.3'
...
CI: Ignore Known Failure Cases Result (v3.3)
See merge request espressif/esp-idf!14652
2021-08-10 02:31:41 +00:00
Fu Hanxi
41a9d01ee5
feat(tiny_test_fw): ignore known failure cases result
...
py
2021-08-10 10:31:36 +08:00
Roland Dobai
f189ba5883
Merge branch 'feature/oocd_ver_upgrade_v3.3' into 'release/v3.3'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721' (v3.3)
See merge request espressif/esp-idf!14697
2021-08-09 15:01:11 +00:00
Alexey Gerenkov
dafc6c27b7
tools: Updates OpenOCD version to 'v0.10.0-esp32-20210721'
2021-08-06 21:42:18 +03:00
Zim Kalinowski
c406655e47
Merge branch 'bugfix/freertos_ut_suspend_v3.3' into 'release/v3.3'
...
freertos: Increases delta for UT - Test suspend-resume CPU. The number of... (v3.3)
See merge request espressif/esp-idf!14634
2021-08-05 05:12:02 +00:00
KonstantinKondrashov
8c987d0f04
freertos: Increases delta for UT - Test suspend-resume CPU. The number of tick_hook should be the same for both CPUs
2021-08-03 15:35:20 +05:00
Zim Kalinowski
c621ea7c8c
Merge branch 'bugfix/uart_sw_sw_flow_error_typo_v3.3' into 'release/v3.3'
...
uart: fix typo in error message (v3.3)
See merge request espressif/esp-idf!14617
2021-08-03 02:25:25 +00:00
Marius Vikhammer
d5447f197d
uart: fix typo in error message
...
Closes https://github.com/espressif/esp-idf/issues/7360
2021-08-03 09:31:12 +08:00
Krzysztof Budzynski
30d1564b3c
Merge branch 'feature/self_hosted_v3.3' into 'release/v3.3'
...
docs: self host docs (v3.3)
See merge request espressif/esp-idf!12103
2021-07-30 11:13:14 +00:00
Marius Vikhammer
38b0870fab
docs: self host docs
...
Move doc hosting from readthedocs to espressif servers
Update CI, Sphinx configs and add IDF Sphinx theme
2021-07-30 19:13:08 +08:00
Anton Maklakov
09840aeeaa
Merge branch 'bugfix/ttfw_fix_flush_index_error_v3.3' into 'release/v3.3'
...
test: TTFW fix flush index error (v3.3)
See merge request espressif/esp-idf!14266
2021-07-30 06:35:24 +00:00
aleks
e1374b9c7c
freemodbus: add affinity option for modbus stack tasks
2021-07-28 10:07:17 +02:00
Mahavir Jain
8f0bcc570a
Merge branch 'bugfix/fix_truncated_headers_for_esp_http_client_v3.3' into 'release/v3.3'
...
esp_http_client: Fix header truncated when responded header length over buffer_size (backport v3.3)
See merge request espressif/esp-idf!14387
2021-07-28 07:10:49 +00:00
yuanjm
c47854f1fc
esp_http_client: Optimize code structure
2021-07-27 20:01:05 +08:00
Clickau
4b07e33a12
esp_http_client: fix truncated headers
...
Signed-off-by: yuanjm <yuanjianmin@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6370
2021-07-27 20:01:05 +08:00
Mahavir Jain
f69d7cafce
Merge branch 'fix/memory_leaks_identified_by_cppcheck_v3.3' into 'release/v3.3'
...
Fix/memory leaks identified by cppcheck (v3.3)
See merge request espressif/esp-idf!14505
2021-07-26 04:04:06 +00:00
Alex Henrie
5401610a4e
Fix memory leak on error path in http_header_set_format
2021-07-25 07:59:27 +05:30
Alex Henrie
f1ba2b3e3a
Fix memory leak on error path in md5_printf
2021-07-25 07:59:10 +05:30
Jakob Hasse
b2a9dc283b
Merge branch 'bugfix/esp_event_any_id_unregister_3.3' into 'release/v3.3'
...
ESP Event: fix unregister documentation (backport 3.3)
See merge request espressif/esp-idf!14435
2021-07-23 07:49:09 +00:00
Roland Dobai
30f6bbf218
Merge branch 'ci/rename_test_log_path_v3.3' into 'release/v3.3'
...
CI: rename log path of IT jobs (v3.3)
See merge request espressif/esp-idf!14456
2021-07-22 13:22:12 +00:00
Zim Kalinowski
c43792e792
Merge branch 'docs/fix_readme_links_v3.3' into 'release/v3.3'
...
docs: fixed dead readme links (v3.3)
See merge request espressif/esp-idf!14468
2021-07-22 02:43:00 +00:00
aleks
a7ce9603de
freemodbus: fix uart_wait_tx_done() reenable tx_done interrupt
2021-07-21 15:31:08 +02:00
Marius Vikhammer
cc40b77c4c
docs: fixed dead readme link
2021-07-21 17:45:12 +08:00
Mahavir Jain
b37d504cd0
Merge branch 'feature/upgrade_mbedtls_to_v3.3' into 'release/v3.3'
...
mbedtls: upgrade to release v2.16.11 (v3.3)
See merge request espressif/esp-idf!14441
2021-07-21 09:44:08 +00:00
He Yin Ling
5f251dfc70
CI: rename log path of IT jobs
2021-07-21 10:37:03 +08:00
Mahavir Jain
08d29e2aaa
mbedtls: upgrade to release v2.16.11
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.11
2021-07-20 14:43:06 +05:30
Jakob Hasse
352fb9168a
[esp_event]: fixed and improved docs
...
* Description of unregistering was incorrect
* Made clear that event loop arg mustn't be NULL
* Added parameter check in create function
Closes https://github.com/espressif/esp-idf/issues/6761
Closes IDFGH-4969
2021-07-20 16:09:53 +08:00
Jiang Jiang Jian
fb3b6e0094
Merge branch 'bugfix/a2dp_deint_crash_v3.3' into 'release/v3.3'
...
component_bt: fix a2dp deinit crash(v3.3)
See merge request espressif/esp-idf!14422
2021-07-20 03:20:10 +00:00
xiongweichao
e793571cc4
Not initialized or in the process of de-initialization, calling API will return ERR
2021-07-19 21:53:55 +08:00
xiongweichao
b1985c2392
fix a2dp deinit crash
2021-07-19 21:53:49 +08:00
Mahavir Jain
28669ca32a
Merge branch 'bugfix/update_ota_cert_v3.3' into 'release/v3.3'
...
OTA examples: Update server certificate (v3.3)
See merge request espressif/esp-idf!14358
2021-07-19 07:30:05 +00:00
xiongweichao
cd40b05bd0
Add remove sniff when peer not accepted sniff mode
2021-07-19 10:53:23 +08:00
Chinmay Chhajed
4b81abe053
bt/controller: Fix for BLE ACL tx flush issue during reset.
2021-07-19 10:53:23 +08:00
Yang Zhao
af8e81d18e
1.If the scan window set as 4 slots and the scan interval set as 5 slots,
...
then the device will crash when starting scanning.This commit is to fix this bug.
2.Remove duplicate events in r_lld_evt_end
2021-07-19 10:53:23 +08:00
Zim Kalinowski
700eee91ca
Merge branch 'bugfix/prefetch_invalid_v3.3' into 'release/v3.3'
...
soc: add dummy bytes to ensure instr prefetch always valid (v3.3)
See merge request espressif/esp-idf!12997
2021-07-19 01:42:17 +00:00
Zim Kalinowski
41676c779c
Merge branch 'docs/spi_max_transfer_sz_limit_v3.3' into 'release/v3.3'
...
spi_docs: Fixed the default value of max_transfer_sz_limit (backport v3.3)
See merge request espressif/esp-idf!14256
2021-07-16 05:57:32 +00:00
Zim Kalinowski
624eaf4d06
Merge branch 'nimble/fix_broadcaster_role_v3.3' into 'release/v3.3'
...
NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v3.3)
See merge request espressif/esp-idf!14306
2021-07-16 05:56:28 +00:00
Shubham Kulkarni
fcca83efff
OTA examples: Updated server certificate
2021-07-14 12:53:08 +05:30
Roland Dobai
bcf14bca1e
Merge branch 'bugfix/eclipse_make_decode_v3.3' into 'release/v3.3'
...
tools: Fix Eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte” (v3.3)
See merge request espressif/esp-idf!12361
2021-07-13 15:34:50 +00:00
Prasad Alatkar
3deffb785f
NimBLE: Fix build error for broadcaster role and bug in peer_dev_record (v3.3)
...
* Fix bug in nvs deletion of `ble_dev_record`.
* Update NimBLE submodule to nimble-1.1.0-idf-v3.3.
2021-07-13 13:55:37 +08:00
Angus Gratton
bfd4f8646e
Merge branch 'bugfix/mitigate_test_time_adjustment_happens_linearly_v3.3' into 'release/v3.3'
...
newlib: Mitigate UT - time adjustment happens linearly
See merge request espressif/esp-idf!14309
2021-07-13 04:31:44 +00:00
Mahavir Jain
e2015eb371
Merge branch 'bugfix/heap_trace_invalid_addr_v3.3' into 'release/v3.3'
...
heap: fix backtrace termination (v3.3)
See merge request espressif/esp-idf!13899
2021-07-12 12:23:00 +00:00
Zim Kalinowski
d93ad78b46
Merge branch 'feature/regi2c_add_lock_v3.3' into 'release/v3.3'
...
regi2c: add a spinlock for accessing (reg)I2C devices (backport v3.3)
See merge request espressif/esp-idf!13717
2021-07-09 07:34:18 +00:00
Marius Vikhammer
5b91a8173e
soc: add dummy bytes to ensure instr prefetch always valid
...
The CPU might prefetch instructions, which means it in some cases
will try to fetch instruction located after the last instruction in
flash.text.
Add dummy bytes to ensure fetching these wont result in an error,
e.g. MMU exceptions
2021-07-09 14:40:24 +08:00
KonstantinKondrashov
04a6aae1d1
newlib: Mitigate UT - time adjustment happens linearly
2021-07-08 19:21:44 +05:00
Jiang Jiang Jian
ee3e817a93
Merge branch 'ajust_espnow_channel_config_range_v3.3' into 'release/v3.3'
...
ajust espnow channel range
See merge request espressif/esp-idf!13685
2021-07-07 03:25:53 +00:00
He Yin Ling
9d075a728a
ttfw: fix incorrect length when flush data cache after expect:
...
data cache is unicode. while we use bytes in RegEx expect. The index of
matched pattern is calculated with bytes, could be different from
unicode. Now we fix this issue by using unicode in expect.
2021-07-05 20:19:00 +08:00
Michael (XIAO Xufeng)
b59c06c107
spi_docs: Fixed the default value of max_transfer_sz.
...
(cherry picked from commit e89fabb963 )
2021-07-05 14:36:46 +08:00
Ivan Grokhotkov
789914a405
Merge branch 'bugfix/cmake_export_ver_during_reqs_expansion_v3.3' into 'release/v3.3'
...
cmake: set IDF_VERSION_* variables at requirement expansion stage (v3.3)
See merge request espressif/esp-idf!14047
2021-07-02 12:50:46 +00:00
Krzysztof Budzynski
81befb2330
Merge branch 'docs/windows_installer_2.9_backport_3.3' into 'release/v3.3'
...
docs: update Windows Tools 2.9 installation - backport 3.3
See merge request espressif/esp-idf!14193
2021-07-02 05:52:22 +00:00
Juraj Michálek
594d681aae
docs: update Windows Tools 2.9 installation
2021-06-30 12:51:12 +02:00
He Yin Ling
a6176fa73e
Merge branch 'test/merge_ble_mesh_node_and_provioner_in_console_v3.3' into 'release/v3.3'
...
Test:merge ble mesh node and provioner in console(backport v3.3)
See merge request espressif/esp-idf!9910
2021-06-30 06:14:43 +00:00
Lu Chang Jie
9dd12683e6
test: merge ble mesh node and provioner in console
2021-06-30 14:14:36 +08:00
Michael (XIAO Xufeng)
69af3d2a72
Merge branch 'bugfix/fix_adc-dma_reading_gap_for_esp32_backport_v3.3' into 'release/v3.3'
...
bugfix(adc): missing ranges of ADC codes in ESP32 (backport v3.3)
See merge request espressif/esp-idf!12876
2021-06-27 13:31:24 +00:00
chenjianqiang
bc60eb65e2
psram: support for esp32-pico-v3-02
...
1. Support for 16Mbit PSRAM
2. Support for esp32-pico-v3-02
3. Use package identifier to look up SPI flash/PSRAM WP Pin, unless overridden
Closes https://github.com/espressif/esp-idf/issues/7189
2021-06-25 17:54:42 +08:00
Angus Gratton
a130da9e79
Merge branch 'feature/ci_release_zips_v3.3' into 'release/v3.3'
...
ci: Use GitHub Actions to generate recursive source code zips for releases (v3.3)
See merge request espressif/esp-idf!13203
2021-06-24 23:43:27 +00:00
Jiang Jiang Jian
b403b0dbd5
Merge branch 'bugfix/fix_amsdu_fragment_vulnerability_v3.3' into 'release/v3.3'
...
esp_wifi: fix amsdu & fragment vulnerabilities(v3.3)
See merge request espressif/esp-idf!14100
2021-06-24 09:50:38 +00:00
Mahavir Jain
557525eeb9
Merge branch 'bugfix/http_client_test_memcorupt_v3.3' into 'release/v3.3'
...
ci/test: Fix esp_http_client test not to use pointer after free (v3.3)
See merge request espressif/esp-idf!13706
2021-06-23 14:11:50 +00:00
Wang Meng Yang
26d8690525
Merge branch 'bugfix/ble_set_scan_param_error_v3.3' into 'release/v3.3'
...
Fix the bug when ble setting scan param
See merge request espressif/esp-idf!13980
2021-06-23 09:11:59 +00:00
Ivan Grokhotkov
cba17ebc0a
Merge branch 'feature/codeowners_v3.3' into 'release/v3.3'
...
add simplified CODEOWNERS file for older release branches (v3.3)
See merge request espressif/esp-idf!14094
2021-06-23 08:07:13 +00:00
David Cermak
1de77f5412
ci/test: Fix esp_http_client test not to use pointer after free
2021-06-23 08:39:42 +02:00
ChenJianxing
671ab9223c
esp_wifi: fix amsdu & fragment vulnerabilities
2021-06-22 20:48:37 +08:00
Ivan Grokhotkov
ec14f20421
add simplified CODEOWNERS file for older release branches
2021-06-22 09:23:52 +02:00
Angus Gratton
760ea137ee
Merge branch 'bugfix/driver_spi_poll_test_stack_v3.3' into 'release/v3.3'
...
driver test: Increase stack for the "spi poll tasks" test (v3.3)
See merge request espressif/esp-idf!13810
2021-06-22 04:14:08 +00:00
Krzysztof Budzynski
6e136860ae
Merge branch 'bugfix/make_docs_ldgen_v3.3' into 'release/v3.3'
...
docs: remove quotes in ldgen documentation for adding fragment file (v3.3)
See merge request espressif/esp-idf!14004
2021-06-22 03:28:03 +00:00
Anton Maklakov
6731c9daf3
Merge branch 'bugfix/iperf_basic_test_not_running' into 'release/v3.3'
...
CI: fix iperf basic test not running issue
See merge request espressif/esp-idf!13986
2021-06-22 03:19:42 +00:00
Island
708b72190f
Merge branch 'feat/ble_mesh_make_unprov_beacon_interval_configurable_v3.3' into 'release/v3.3'
...
Feat/ble mesh make unprov beacon interval configurable (v3.3)
See merge request espressif/esp-idf!14067
2021-06-21 11:39:57 +00:00
wangjialiang
411abfd70f
ble_mesh: stack: Fix crash for net_key_del when subnet is NULL
2021-06-21 14:57:17 +08:00
wangjialiang
84dd05439d
ble_mesh: stack: Make unprovisioned beacon interval configurable.
...
Closes https://github.com/espressif/esp-idf/issues/6722
2021-06-21 14:55:10 +08:00
Ivan Grokhotkov
b82577168a
cmake: set IDF_VERSION_* variables at requirement expansion stage
...
Currently IDF_VERSION_* variables are not available to the component
CMakeLists.txt files at the requirements expansion stage. This makes
it harder to write component CMakeLists files compatible with
different IDF versions.
Include version.cmake from the requirements expansion script, add a
build system test.
2021-06-18 15:37:34 +02:00
Island
f5fc806588
Merge branch 'bugfix/AuthValue_leak_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth... (v3.3)
See merge request espressif/esp-idf!14006
2021-06-18 09:02:29 +00:00
wangjialiang
35bbd1ba26
ble_mesh: stack: Fix AuthValue Leak and Predictable AuthValue in Bluetooth Mesh Provisioning Leads to MITM
2021-06-17 17:21:01 +08:00
Krzysztof
9d324fecb7
docs: remove quotes in ldgen documentation for adding fragment file
2021-06-17 10:07:04 +02:00
Island
b3827a4b74
Merge branch 'bugfix/impersonation_attacks_and_AuthValue_disclosure_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation... (v3.3)
See merge request espressif/esp-idf!13928
2021-06-17 03:39:23 +00:00
wangjialiang
78676e7a02
ble_mesh: stack: Add check the value of Provisioning Random & Confirmation sent and received by provisioner
2021-06-16 21:28:10 +08:00
Chen Yudong
4f0ab9ee73
ci: fix iperf basic test not running issue
2021-06-16 15:49:08 +08:00
Yang Zhao
77c7d3be1c
bugfix:Set address resolution enable. If not set enable and the filter
...
policy is 2 or 3, the controller will reply with invalid param error.
2021-06-15 20:08:04 +08:00
He Yin Ling
1b076b5e42
Merge branch 'bugfix/python3_target_test_3.3' into 'release/v3.3'
...
CI: run target test with python3 (v3.3)
See merge request espressif/esp-idf!13460
2021-06-15 08:46:49 +00:00
Island
b65a37795f
Merge branch 'optimize/ble_mesh_miscellaneous_v3.3' into 'release/v3.3'
...
Optimize/ble mesh miscellaneous (v3.3)
See merge request espressif/esp-idf!13935
2021-06-10 09:21:49 +00:00
lly
9590db4cb6
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2021-06-10 09:52:26 +08:00
lly
b2bcbd5559
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2021-06-10 09:52:09 +08:00
lly
94ca8b8917
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2021-06-10 09:51:52 +08:00
lly
85ec75b970
ble_mesh: stack: Update ARRAY_SIZE definition
2021-06-10 09:50:27 +08:00
Chen Yudong
a6fc744026
test: fix socket issue in iperf example test
2021-06-08 17:40:25 +08:00
He Yin Ling
35a7462e69
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-06-08 17:40:14 +08:00
Chen Yudong
9703c1a32f
CI: fix connection failures in asio example tests
2021-06-08 17:40:04 +08:00
Chen Yudong
62359f3442
ci: run target test with python3
2021-06-08 17:39:29 +08:00
Ivan Grokhotkov
19636db724
test: add a (non-automated) case for backtraces with ROM functions
2021-06-08 17:28:00 +10:00
Ivan Grokhotkov
11caa6fcf2
heap: recognize 0x40000000 as an address terminating the backtrace
...
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2021-06-08 17:28:00 +10:00
Angus Gratton
ac6f6a3768
Merge branch 'bugfix/cmake_partition_md5sum_v3.3' into 'release/v3.3'
...
bugfix: Fix CMake partition md5sum generation (v3.3)
See merge request espressif/esp-idf!13884
2021-06-08 04:46:10 +00:00
Angus Gratton
e2d6ce553d
cmake: partition_table: Fix generation of MD5 for partition table when using CMake
2021-06-07 17:59:12 +10:00
Island
cce139e5bd
Merge branch 'bugfix/bt_impersonation_passkey_fix_v3.3' into 'release/v3.3'
...
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack. (v3.3)
See merge request espressif/esp-idf!13762
2021-06-07 06:41:48 +00:00
Angus Gratton
d7562e2b2c
driver test: Increase stack for the "spi poll tasks" test
...
Current stack usage gets very close to overflowing
2021-06-07 02:11:26 +00:00
Wang Meng Yang
c9cf530c51
Merge branch 'bugfix/invalid_feat_page_exec_v3.3' into 'release/v3.3'
...
bt controller: Fixed handling for invalid feature page.
See merge request espressif/esp-idf!13569
2021-06-07 01:35:22 +00:00
Angus Gratton
4e64cbb576
Merge branch 'bugfix/partition_table_integrity_check_v3.3' into 'release/v3.3'
...
paritition_table: Verify the partition table md5sum when loading in the app (v3.3)
See merge request espressif/esp-idf!13587
2021-06-04 08:26:21 +00:00
baohongde
bb824d7a4b
bugfix/fix crash when lmp flooding
2021-06-02 17:34:45 +08:00
baohongde
62a4a0dcaf
Delete the option BLE ADV priority high
...
Fix controller task watchdog in Wi-Fi test
2021-06-02 14:44:09 +08:00
Angus Gratton
22487a65ac
paritition_table: Verify the partition table md5sum when loading the app
...
Additionally, always enable the partition MD5 check if flash encryption is on in
Release mode. This ensures the partition table ciphertext has not been modified
(CVE-2021-27926).
The exception is pre-V3.1 ESP-IDF bootloaders and partition tables, which
don't have support for the MD5 entry.
2021-06-02 16:32:31 +10:00
gengyuchao
906dbd262e
Backport: Fixed handling for invalid feature page. Add missing IRAM_ATTR in coex mode.
2021-06-02 11:55:42 +08:00
Wang Meng Yang
f656c04d12
Merge branch 'bugfix/ble_timeout_disconnect_no_report_v3.3' into 'release/v3.3'
...
ble timeout disconnect but no report to host
See merge request espressif/esp-idf!13769
2021-06-02 02:51:17 +00:00
David Čermák
504a9e178f
Merge branch 'feature/mqtt_intro_new_modes_v3.3' into 'release/v3.3'
...
MQTT: Update submodule reference to support new config modes (v3.3)
See merge request espressif/esp-idf!13712
2021-06-01 05:55:43 +00:00
Ivan Grokhotkov
c7add96e64
Merge branch 'bugfix/fix_idf_monitor_unicode_path_crash_v3.3' into 'release/v3.3'
...
tools: handle exception in case of logging Unicode characters (v3.3)
See merge request espressif/esp-idf!13045
2021-05-31 17:24:06 +00:00
David Cermak
4fce8182b9
MQTT: Update submodule reference to support new config modes
...
* Queueing publish messages to outbox when the client is not connected (default=off -> messages are queued if disconnected)
* Use of incremental msg-id instead of random id (default=off -> msg-id uses platform_random())
* Posting a new event-id if a queued message gets deleted from the outbox (default=off -> events are not posted)
Detailed description of included `esp-mqtt` changes
(da850b0add1e71b3659bfac5d797cc834dc3e89b...9ea804e0ab5368d5ab53ae2301a5fec9d1f12f1a)
* mqtt: Remove unused mqtt_header_state_t
- esp-mqtt commit: b7158a4aea
- esp-mqtt MR: espressif/esp-mqtt!84
- Merges https://github.com/espressif/esp-mqtt/pull/180
* Cleanup public include dirs
- esp-mqtt commit: f65d5d05db
- esp-mqtt MR: espressif/esp-mqtt!85
* Config: Add a new option to use incremental message id
- esp-mqtt commit: 8bb4a26f46
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/176
* Publish: Add new API to enqueue qos>0 messages
- esp-mqtt commit: dc7fd5c0b1
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/155
* Config: Add a new option to disable publishing when disconnected
- esp-mqtt commit: f44dcb1c26
- esp-mqtt MR: espressif/esp-mqtt!85
- Related https://github.com/espressif/esp-mqtt/issues/177
* Events: Add new event to report deleted messages from outbox
- esp-mqtt commit: 2e35d4d4d5
- esp-mqtt MR: espressif/esp-mqtt!85
* Publish: Allow for qos=0 messages to be stored using esp_mqtt_client_enqueue()
- esp-mqtt commit: e2de0f3e3e
- esp-mqtt MR: espressif/esp-mqtt!85
2021-05-31 13:04:18 +00:00
Yang Zhao
ea14555cf9
This issue is caused by modem sleep.The sleep interrupt will come the second time before the CLKN interrupt. If
...
we disable the sleep interrupt when it comes in the first time, the CLKN interrupt will never come.
2021-05-31 09:54:10 +00:00
Chinmay Chhajed
fb55f9f397
Bluedroid: Check only x component of passkey to avoid passkey impersonation attack.
2021-05-31 07:12:57 +00:00
David Čermák
5198a7a46b
Merge branch 'bugfix/ensure_rmii_clock_before_phy_reset' into 'release/v3.3'
...
ethernet: ensure RMII clock before PHY reset
See merge request espressif/esp-idf!13714
2021-05-31 06:53:37 +00:00
Michael (XIAO Xufeng)
6aaddf972c
Merge branch 'bugfix/fix_dac_driver_self_contained_backport_v3.3' into 'release/v3.3'
...
fix dac header file self contained issue (backport v3.3)
See merge request espressif/esp-idf!12890
2021-05-26 10:06:31 +00:00
fuzhibo
4ec4d40af7
bugfix(adc): missing ranges of ADC codes in ESP32
2021-05-26 18:03:50 +08:00
Jiang Jiang Jian
0f80b6363c
Merge branch 'nimble/fix_ble_sm_sc_pub_key_v3.3' into 'release/v3.3'
...
NimBLE: Fix MITM vulnerability and free AES context (v3.3)
See merge request espressif/esp-idf!13600
2021-05-26 04:10:41 +00:00
He Yin Ling
3bc41719ae
Merge branch 'ci/ttfw_fix_dut_exception_not_added_to_junit_report_v3.3' into 'release/v3.3'
...
ttfw: fix DUT exception not added to junit report (v3.3)
See merge request espressif/esp-idf!13615
2021-05-26 03:13:53 +00:00
Omar Chebib
0fb2ff12b8
regi2c: add a spinlock for accessing (reg)I2C devices
...
When not compiling bootloader, a spinlock will be used for reading or writing
I2C internal devices/registers.
When compiling for bootloader, no need to use any lock.
2021-05-26 10:17:15 +08:00
Prasad Alatkar
9f56c39630
NimBLE: Fix MITM vulnerability and free AES context (v3.3)
2021-05-25 14:55:00 +00:00
Jiang Jiang Jian
aacc7e07a6
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop_v3.3' into 'release/v3.3'
...
esp_wifi: Fix setting channel error after WiFi stop (backport v3.3)
See merge request espressif/esp-idf!13453
2021-05-25 14:29:07 +00:00
morris
fc60e09295
ethernet: ensure RMII clock before PHY reset
...
Closes https://github.com/espressif/esp-idf/issues/6821
2021-05-25 18:51:25 +08:00
dongyou
6b263ae8cb
ajust espnow channel range
2021-05-25 11:08:12 +08:00
Patryk Krzywdziński
ea73e952a1
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-05-21 20:59:28 +02:00
David Čermák
d743f8502d
Merge branch 'bugfix/mdns_coll_det_list' into 'release/v3.3'
...
mDNS: Fix of text length calculation when detecting a collision(Backport v3.3)
See merge request espressif/esp-idf!12026
2021-05-20 13:42:11 +00:00
suren.gabrielyan
c4ee49edf1
mDNS: Fix of text length calculation when detecting a collision
2021-05-20 11:05:51 +00:00
suren.gabrielyan
86f4afa330
mDNS: Fix of collision detection during txt length calculation
...
Closes https://github.com/espressif/esp-idf/issues/6114
2021-05-20 11:05:51 +00:00
He Yin Ling
0c2fb10e0c
ttfw: fix DUT exception not added to junit report
2021-05-20 16:53:52 +08:00
Island
b3880ce487
Merge branch 'nimble/fix_host_flow_ctrl_v3.3' into 'release/v3.3'
...
NimBLE: Fix host flow control in NimBLE porting layer and host (release/v3.3)
See merge request espressif/esp-idf!13578
2021-05-19 09:51:10 +00:00
Prasad Alatkar
c15ecf9fcd
NimBLE: Update submodule to include host flow control fixes.
2021-05-17 20:14:16 +05:30
Prasad Alatkar
3bdb0ce5c1
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 20:11:53 +05:30
Michael (XIAO Xufeng)
c0aee61ce0
Merge branch 'bugfix/fix_uart_module_enable_issue_v3.3' into 'release/v3.3'
...
Bugfix (uart): fix uart module reset issue (release V3.3)
See merge request espressif/esp-idf!8586
2021-05-13 06:55:15 +00:00
Jiang Jiang Jian
61a1e0d5c9
Merge branch 'bugfix/generate_value_0_when_prov_auth_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix provisioning input or output count number should be at least 1 (v3.3)
See merge request espressif/esp-idf!13483
2021-05-08 12:53:48 +00:00
Jiang Jiang Jian
01cb29ba5a
Merge branch 'bugfix/endianness_in_output_or_input_oob_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v3.3)
See merge request espressif/esp-idf!13470
2021-05-08 07:12:54 +00:00
wangjialiang
f24f7ab97b
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 13:19:03 +08:00
wangjialiang
e5f496149e
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-05-07 17:03:00 +08:00
Angus Gratton
fa00fd5c8a
Merge branch 'bugfix/freertos_addition_overflow_v3.3' into 'release/v3.3'
...
freertos: Fix addition overflow (v3.3)
See merge request espressif/esp-idf!13426
2021-05-07 08:18:03 +00:00
xiehang
1a47ecbfac
esp_wifi: Fix setting channel error after WiFi stop
2021-05-06 14:06:29 +08:00
Angus Gratton
542c3e07a0
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:38:15 +10:00
Angus Gratton
9772facaca
Merge branch 'bugfix/espsecure_args_v3.3' into 'release/v3.3'
...
esptool: Update to fix espsecure.py sign_data default version argument (v3.3)
See merge request espressif/esp-idf!13321
2021-05-03 08:57:42 +00:00
Angus Gratton
f845643608
esptool: Update to fix espsecure.py sign_data default version argument
...
Regression in Secure Boot signing, reported at https://github.com/espressif/esp-idf/issues/6831
2021-05-03 06:31:18 +00:00
Michael (XIAO Xufeng)
a040ec1eec
Merge branch 'bugfix/put_uart_isr_in_iram_v3.3' into 'release/v3.3'
...
uart: add option to put ISR in IRAM (v3.3)
See merge request espressif/esp-idf!13144
2021-05-01 14:28:58 +00:00
Jiang Jiang Jian
6d44b690b8
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v3.3' into 'release/v3.3'
...
[system]: Remove redundant othercore cache disable (backport v3.3)
See merge request espressif/esp-idf!13360
2021-04-30 09:17:50 +00:00
Jiang Jiang Jian
ef7ae9a3ee
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v3.3' into 'release/v3.3'
...
backport v3.3: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13398
2021-04-30 02:50:33 +00:00
Li Shuai
e74a36da43
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 15:43:00 +08:00
morris
dc9c0a9f6d
uart: add option to put ISR in IRAM
2021-04-28 10:07:23 +00:00
Mahavir Jain
70cafac4bd
Merge branch 'bugfix/esp_http_client_read_v3.3' into 'release/v3.3'
...
Fix esp_http_client_read for file size aligned to 289 bytes (v3.3)
See merge request espressif/esp-idf!13309
2021-04-28 10:03:47 +00:00
Shubham Kulkarni
c8996feebb
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-28 05:00:45 +00:00
houwenxiang
8fcca01384
driver(uart): fix uart module reset issue (release V3.3)
...
On ESP32, due to fifo reset issue, UART2 will work incorrectly if reset the fifo of UART1(TX fifo and RX fifo). The software can workaround the RX fifo reset issue,
while the TX fifo reset issue can not. When UART2 is used and UART1 is used as the log output port, a software reset can reproduce this issue. So we should reset the UART memory
before the software reset to solve this problem.
2021-04-27 10:12:59 +00:00
wuzhenghui
da31949530
remove othercore cache disable
2021-04-27 14:29:49 +08:00
Jiang Jiang Jian
0982de8c05
Merge branch 'bugfix/e8192_and_assert_param_v3.3' into 'release/v3.3'
...
Modify E8192 ELx200 ELx40 log level to LOGD
See merge request espressif/esp-idf!13170
2021-04-25 13:26:17 +00:00
xiongweichao
f11f52b72f
modify E8192 ELx200 ELx40 log level to LOGD
2021-04-25 10:33:47 +00:00
Angus Gratton
648f923015
ci: Use GitHub Actions to generate recursive source code zips for releases
...
We do this for all ESP-IDF releases, this step automates it.
Uses action added in https://github.com/espressif/github-actions/pull/10
2021-04-23 08:36:50 +00:00
Angus Gratton
01fedd2b05
Merge branch 'bugfix/calc_8m_freq_test_v3.3' into 'release/v3.3'
...
rtc: increase CI acceptance range for calc 8M test (v3.3)
See merge request espressif/esp-idf!13089
2021-04-23 07:31:00 +00:00
Jiang Jiang Jian
13a069f276
Merge branch 'component_bt/optimize_spp_stop_server_v3.3' into 'release/v3.3'
...
component_bt/Optimize SPP Stop Server API[backport v3.3]
See merge request espressif/esp-idf!13164
2021-04-22 05:59:52 +00:00
Jiang Jiang Jian
aa8f1bef1e
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v3.3' into 'release/v3.3'
...
Bugfix/btdm backport ble bugs v3.3
See merge request espressif/esp-idf!12440
2021-04-22 05:59:38 +00:00
Jiang Jiang Jian
c3678c5378
Merge branch 'feature/support_transport_keepalive_v3.3' into 'release/v3.3'
...
Feature/support transport keepalive v3.3 [backport v3.3]
See merge request espressif/esp-idf!12154
2021-04-22 05:59:05 +00:00
Jiang Jiang Jian
9ab19d7b68
Merge branch 'nimble/add_error_prints_acl_buf_v3.3' into 'release/v3.3'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v3.3)
See merge request espressif/esp-idf!12972
2021-04-22 05:58:24 +00:00
Jiang Jiang Jian
cf79bfbc5f
Merge branch 'bugfix/fix_wifi_interface_use_v3.3' into 'release/v3.3'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA (backport v3.3)
See merge request espressif/esp-idf!12055
2021-04-22 05:57:04 +00:00
Jiang Jiang Jian
65b494567b
Merge branch 'bugfix/ble_mesh_server_model_deinit_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix deinit server models with no matching id (v3.3)
See merge request espressif/esp-idf!12317
2021-04-22 05:53:25 +00:00
Jiang Jiang Jian
22502bbd38
Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v3.3' into 'release/v3.3'
...
components/bt: Shutdown Bluetooth before esp_restart.(V3.3)
See merge request espressif/esp-idf!11758
2021-04-22 05:52:18 +00:00
Jiang Jiang Jian
067f73d4ea
Merge branch 'bugfix/btdm_assert_without_sw_coex_enable_v3.3' into 'release/v3.3'
...
components/bt: Fix assert without sw coexist enabled
See merge request espressif/esp-idf!12529
2021-04-22 05:51:39 +00:00
Jiang Jiang Jian
a943d21126
Merge branch 'feature/add_a2dp_init_deinit_comp_evt' into 'release/v3.3'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v3.3]
See merge request espressif/esp-idf!10151
2021-04-22 05:51:24 +00:00
Jiang Jiang Jian
fab97e2405
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v3.3' into 'release/v3.3'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v3.3)
See merge request espressif/esp-idf!12492
2021-04-22 05:50:58 +00:00
Jiang Jiang Jian
94f5bc17a9
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config_v3.3' into 'release/v3.3'
...
bugfix/fix_arp_buffer_error_in_smart_config_v3.3
See merge request espressif/esp-idf!12291
2021-04-22 05:50:23 +00:00
Jiang Jiang Jian
c3e3f8b490
Merge branch 'bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v3.3' into 'release/v3.3'
...
bugfix/fix_iperf_example_exception_handling_for_no_ap_found_v3.3
See merge request espressif/esp-idf!12274
2021-04-22 05:49:00 +00:00
Jiang Jiang Jian
eaa02c0ef8
Merge branch 'feat/ble_mesh_multiple_nvs_namespace_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces (v3.3)
See merge request espressif/esp-idf!11950
2021-04-22 05:48:44 +00:00
Jiang Jiang Jian
5f03326833
Merge branch 'bugfix/fix_a2dp_underrun_issue_3_3' into 'release/v3.3'
...
Fix a2dp underrun issue [backport v3.3]
See merge request espressif/esp-idf!12280
2021-04-22 05:47:51 +00:00
Jiang Jiang Jian
bc625858ae
Merge branch 'bugfix/esp_pm_dump_critical_v3.3' into 'release/v3.3'
...
esp_pm: esp_pm_dump_locks: don't print from a critical section, and fix formatting (backport v3.3)
See merge request espressif/esp-idf!12017
2021-04-22 05:47:12 +00:00
Anton Maklakov
c3251dcf29
Merge branch 'bugfix/ci/ci_fetch_submodule_fully_match_return_first_v3.3' into 'release/v3.3'
...
fix(ci): ci_fetch_submodule return full match name first (v3.3)
See merge request espressif/esp-idf!13214
2021-04-20 11:20:07 +00:00
Fu Hanxi
6828b0fcc7
fix(ci): ci_fetch_submodule return full match name first
2021-04-19 20:24:27 +08:00
liqigan
85be396cd3
add API esp_spp_stop_srv_scn to stop a specific server
2021-04-16 09:52:27 +08:00
Angus Gratton
63d482e162
Merge branch 'backport/anti-fi-check-sbv1-v3.3.3' into 'release/v3.3'
...
bootloader: Add fault injection resistance to Secure Boot bootloader verification
See merge request espressif/esp-idf!12738
2021-04-12 23:53:05 +00:00
Krzysztof Budzynski
600a0f841d
Merge branch 'bugfix/doxygen_input_file_bug_v3.3' into 'release/v3.3'
...
docs: fix doxygen compile warnings for doxygen 1.9.1 (v3.3)
See merge request espressif/esp-idf!13080
2021-04-12 00:44:01 +00:00
Marius Vikhammer
9a338bc8c3
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:43:57 +08:00
Marius Vikhammer
a680159bbb
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:55 +08:00
Juraj Michálek
0b0364c719
tools: handle exception in case of logging Unicode characters
2021-04-06 19:17:45 +02:00
Sachin Parekh
3c7f439d5b
bootloader: Add fault injection resistance to Secure Boot bootloader verification
2021-03-31 17:54:45 +05:30
Angus Gratton
08ce445ab6
Merge branch 'feature/twdt_prints_backtrace_v3.3' into 'release/v3.3'
...
Add Task Watchdog backtrace printing (v3.3)
See merge request espressif/esp-idf!12624
2021-03-31 05:17:23 +00:00
Prasad Alatkar
2b18d3c628
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-03-31 10:44:07 +05:30
Mahavir Jain
7c86027531
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v3.3' into 'release/v3.3'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v3.3)
See merge request espressif/esp-idf!12421
2021-03-26 06:42:07 +00:00
Mahavir Jain
5713bb1bb8
Merge branch 'fix/esp_tls_add_warning_if_ca_chain_has_invalid_cert_v3.3' into 'release/v3.3'
...
esp_tls: Add warning if the CA chain provided contains one/more invalid cert
See merge request espressif/esp-idf!11942
2021-03-26 06:25:37 +00:00
Mahavir Jain
9eb39ef409
Merge branch 'bugfix/http_client_buffer_overread_v3.3' into 'release/v3.3'
...
esp_http_client: Fix buffer overread, update https_request example to use HTTP/1.1 (v3.3)
See merge request espressif/esp-idf!12111
2021-03-26 05:23:07 +00:00
Mahavir Jain
dfdf9fe4e2
Merge branch 'bugfix/update_howsmyssl_cert_v3.3' into 'release/v3.3'
...
examples/protocols: update www.howsmyssl.com certificate to fix test failures (v3.3)
See merge request espressif/esp-idf!12214
2021-03-26 05:04:13 +00:00
Mahavir Jain
f227fc69e5
Merge branch 'feature/upgrade_mbedtls_to_v3.3' into 'release/v3.3'
...
mbedtls: upgrade to v2.16.9 release (v3.3)
See merge request espressif/esp-idf!11902
2021-03-26 05:02:46 +00:00
Mahavir Jain
30c7be6542
Merge branch 'bugfix/httpd_session_close_lru_v3.3' into 'release/v3.3'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru (v3.3)
See merge request espressif/esp-idf!12115
2021-03-26 04:56:52 +00:00
Mahavir Jain
12cb4243f5
examples/protocols: update www.howsmyssl.com certificate to fix test failures
2021-03-26 02:42:44 +00:00
Mahavir Jain
069de99a9e
mbedtls: upgrade to v2.16.9 release
...
For details release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.9
2021-03-26 02:42:29 +00:00
Shubham Kulkarni
b082ed5d2b
Enable lru_purge_enable in simple HTTP server example
2021-03-26 02:41:50 +00:00
Shubham Kulkarni
f5acc1e446
esp_http_server: Add lru_socket flag in sock_db to indicate httpd_sess_close is called from httpd_sess_close_lru
2021-03-26 02:41:50 +00:00
Shubham Kulkarni
e16ab463d9
esp_http_client.c: Clear raw_len for response buffer after dispatching HTTP_EVENT_ON_FINISH event
...
Closes: https://github.com/espressif/esp-idf/issues/6146
2021-03-26 02:41:24 +00:00
Aditya Patwardhan
832128faf0
esp_tls: Add warning if the CA chain provided contains one/more invalid cert
2021-03-26 02:41:15 +00:00
Angus Gratton
85c43024cb
Merge branch 'update/version_3_3_5' into 'release/v3.3'
...
Update version to 3.3.5
See merge request espressif/esp-idf!12901
2021-03-26 00:29:05 +00:00
xiehang
2091f4db1c
esp_wifi: Modify WIFI_IF_AP to TCPIP_ADAPTER_IF_AP
2021-03-25 10:53:50 +08:00
xiehang
1975d39d44
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-03-25 10:53:28 +08:00
xiehang
ee2b8a65a0
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-03-25 10:51:36 +08:00
He Yin Ling
03810c4a06
versions: Update version to 3.3.5
2021-03-25 10:23:16 +08:00
fuzhibo
61a68ae95e
driver(dac): fix dac header file self contained issue
2021-03-24 17:12:11 +08:00
Jiang Jiang Jian
343521ab1a
Merge branch 'bugfix/fix-modem-sleep-mr-v3.3' into 'release/v3.3'
...
Fix the bug of modem sleep
See merge request espressif/esp-idf!12861
2021-03-24 09:06:57 +00:00
“YangZhao”
8eb75313d4
Fix the bug of modem sleep which may lead to the crash issue "assert(-218959118,0)"
2021-03-23 21:29:33 +08:00
Jiang Jiang Jian
b34dee5d9e
Merge branch 'mesh/bugfix_fix_error_when_mesh_and_ble_enabled' into 'release/v3.3'
...
esp_wifi_mesh: fix error issue when both mesh and ble are enabled
See merge request espressif/esp-idf!11701
2021-03-23 06:41:56 +00:00
shenjun
73117b8c94
esp_wifi_mesh: fix error issue when both mesh and ble are enabled
2021-03-15 14:30:34 +08:00
Jiang Jiang Jian
c43efe1502
Merge branch 'bugfix/revert_refactor_wifi_interface_v3.3' into 'release/v3.3'
...
Revert "Refactor wifi_interface_t" (v3.3)
See merge request espressif/esp-idf!12483
2021-03-15 03:26:08 +00:00
xiehang
cd90dfa38b
Revert "Refactor wifi_interface_t"
...
This reverts commit ae24692785 .
Closes: https://github.com/espressif/arduino-esp32/issues/4905
2021-03-08 17:02:22 +08:00
Angus Gratton
0b1bc0b5b8
Merge branch 'bugfix/ttfw_example_test_fails_port_remains_open_v3.3' into 'release/v3.3'
...
ci: Fix CI issue if one example test fails, and if serial port returns some noise (v3.3)
See merge request espressif/esp-idf!12384
2021-03-07 23:42:24 +00:00
baohongde
a10dac936c
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-05 21:54:47 +08:00
baohongde
2ad908f71e
components/bt: Shutdown Bluetooth before esp_restart.
2021-03-05 21:54:20 +08:00
Jiang Jiang Jian
0bfff0b25a
Merge branch 'bugfix/fix_csa_channel_crash_v3.3' into 'release/v3.3'
...
esp_wifi: fix CSA and BAR crash issue(v3.3)
See merge request espressif/esp-idf!12552
2021-03-05 12:31:58 +00:00
Darian Leung
a1fd207aee
Add Task Watchdog backtrace printing
...
This commit makes the Task Watchdog print the backtrace of both
cores when it times out.
2021-03-04 19:01:48 +11:00
Darian Leung
1786fc9ed2
esp32: Refactor backtrace and add esp_backtrace_print()
...
This commit refactors backtracing within the panic handler so that a common
function esp_backtrace_get_next_frame() is used iteratively to traverse a
callstack.
A esp_backtrace_print() function has also be added that allows the printing
of a backtrace at runtime. The esp_backtrace_print() function allows unity to
print the backtrace of failed test cases and jump back to the main test menu
without the need reset the chip. esp_backtrace_print() can also be used as a
debugging function by users.
2021-03-04 19:01:48 +11:00
Jiang Jiang Jian
c8915cd157
Merge branch 'bugfix/fix_spp_can_not_connect_twice' into 'release/v3.3'
...
Bugfix/Fix SPP Reconnect Failed after Disconnet
See merge request espressif/esp-idf!12241
2021-03-04 03:37:21 +00:00
Angus Gratton
a85b97a6f5
ci: ttfw: Encode serial port data to whatever the console encoding is
...
This is a bit of a hack, but gives us a way to always log it
2021-03-04 09:25:44 +11:00
ChenJianxing
88898e2f96
esp_wifi: fix CSA and BAR crash issue
2021-02-27 17:09:57 +08:00
aditi_lonkar
d6cafddaa3
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:07:33 +05:30
baohongde
716edebbbd
components/bt: Fix assert without sw coexist enabled
2021-02-26 14:44:57 +08:00
zhiweijian
47c0ce6fca
add connection parameter check
2021-02-22 15:14:32 +08:00
zhiweijian
c02d5a4d85
fix ble connection maximum latency is 499
2021-02-22 15:11:03 +08:00
zhiweijian
7ffe2c3136
disable bluedroid congest error log print
2021-02-22 14:58:59 +08:00
zhiweijian
208c2fb0fb
fix read multi char failed(GATT_27001)
2021-02-22 14:56:10 +08:00
zhiweijian
1f4d3ac30a
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-02-22 14:54:01 +08:00
zhiweijian
928e004208
fix ble read multi char err when the number of handles is more than 10
2021-02-22 14:51:33 +08:00
zhiweijian
db72885f15
fix scan rsp length err
2021-02-22 14:45:05 +08:00
KonstantinKondrashov
1e4552533d
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option
...
Closes: https://github.com/espressif/esp-idf/issues/6037
2021-02-19 20:02:49 +08:00
Island
7a85334d80
Merge branch 'bugfix/ignore_null_valued_comb_key_3_3' into 'release/v3.3'
...
Bugfix/ignore null valued comb key 3 3
See merge request espressif/esp-idf!12362
2021-02-19 11:38:57 +00:00
Angus Gratton
0aca88a6e9
ci: Log failure to close any DUT
2021-02-15 10:54:50 +11:00
Chinmay Chhajed
dcaaddae37
component/bt: Added check for NULL valued combination key.
2021-02-10 17:19:20 +05:30
Chinmay Chhajed
4936e8f86c
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-10 17:16:47 +05:30
Chinmay Chhajed
6a4e69f442
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-10 17:12:27 +05:30
lly
19a578c2e0
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-07 11:20:44 +08:00
dongyou
c505fe650f
fix smartconfig issue when router reply arp late
2021-02-05 12:01:05 +08:00
weitianhua
94e84e6c0c
Fix audio underrun issue with oppo x20
2021-02-04 19:39:39 +08:00
dongyou
44f22150f2
add exception handling for iperf example's scan when no ap was found
2021-02-04 17:59:13 +08:00
Jiang Jiang Jian
d8082b7f39
Merge branch 'bugfix/espnow_recv_fail_v3.3' into 'release/v3.3'
...
fix the bug that espnow recv fail (v3.3)
See merge request espressif/esp-idf!12090
2021-02-04 16:10:43 +08:00
lly
4005df854f
ble_mesh: ci: Add settings sdkconfig test files
2021-02-04 07:16:35 +00:00
lly
98e17de350
ble_mesh: stack: Provisioner supports multiple nvs namespaces
...
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2021-02-04 07:16:35 +00:00
liqigan
539718735b
fix spp connect failed or discovery failed after the first connection release
2021-02-03 17:23:45 +08:00
Angus Gratton
92676f05fa
Merge branch 'bugfix/force_sync_only_esptool_for_target_test_jobs' into 'release/v3.3'
...
ci: force sync only esptool for target test jobs (v3.3)
See merge request espressif/esp-idf!11904
2021-02-02 11:28:42 +08:00
Fu Hanxi
664597f4ce
CI: only fetch esptool for target test jobs
2021-02-01 08:51:31 +00:00
Ivan Grokhotkov
b9f6a5da51
make: fix undefined variable warning (IDF_SKIP_CHECK_SUBMODULES)
2021-02-01 08:51:31 +00:00
He Yin Ling
a79c9402d6
ci: fix fetch submodule error on python3
2021-02-01 08:51:31 +00:00
He Yin Ling
6418be692a
CI: build system do not check submodule for CI
2021-02-01 08:51:31 +00:00
He Yin Ling
729451ef60
CI: modify fetch submodule method:
...
download archive for submodules instead of clone
2021-02-01 08:51:31 +00:00
He Yin Ling
1b0a3f8924
CI: add utility gitlab_api
2021-02-01 08:51:31 +00:00
weitianhua
33ad4b6f84
Add A2DP Init and Deinit Complete Evt
2021-01-26 11:15:35 +08:00
yuanjm
36c3b8980d
Make OTA example support keepalive
2021-01-25 17:48:54 +08:00
Shubham Kulkarni
8610ce4f34
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-01-25 17:48:54 +08:00
yuanjm
af50ceb5e6
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
2021-01-25 17:48:47 +08:00
zhangyanjiao
a3740c97c9
fix the bug that espnow recv fail
2021-01-21 15:07:57 +08:00
Jiang Jiang Jian
3f15854d96
Merge branch 'bugfix/fix_some_wifi_bugs_0105_v3.3' into 'release/v3.3'
...
Bugfix/fix some wifi bugs 0105 v3.3 (backport v3.3)
See merge request espressif/esp-idf!11945
2021-01-18 21:22:48 +08:00
Jiang Jiang Jian
808f456442
Merge branch 'bugfix/fix_iperf_example_crash_issue_v3.3' into 'release/v3.3'
...
Bugfix/fix iperf example crash issue v3.3 (backport v3.3)
See merge request espressif/esp-idf!12018
2021-01-18 19:18:53 +08:00
Jiang Jiang Jian
854ccb743d
Merge branch 'bugfix/bluedroid_avoid_same_bdaddr_conn_v3.3' into 'release/v3.3'
...
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR. (v3.3)
See merge request espressif/esp-idf!11993
2021-01-18 14:35:25 +08:00
Jiang Jiang Jian
5ee8a808c8
Merge branch 'bugfix/fix_tcp_mss_issue_v3.3' into 'release/v3.3'
...
esp_wifi: The maximum value of modifying TCP MSS is 1460 (v3.3)
See merge request espressif/esp-idf!11999
2021-01-18 14:21:36 +08:00
Jiang Jiang Jian
71a50021ca
Merge branch 'bugfix/fix_ping_specify_length_issue_v3.3' into 'release/v3.3'
...
bugfix: fix ICMP specify length issue (backport v3.3)
See merge request espressif/esp-idf!11988
2021-01-18 14:20:43 +08:00
Ivan Grokhotkov
5080a23ac3
esp_pm: fix formatting issues in esp_pm_dump_locks
...
- line was truncated because 64 characters were not sufficient
- length passed to snprintf should be full buffer length, not -1
- make the width of lock name field fixed
- fix alignment of lock type column
2021-01-15 12:46:46 +01:00
xiehang
3590a6816f
example: Scan failure should not cause system crash
2021-01-15 19:45:59 +08:00
Ivan Grokhotkov
827bb925b7
esp_pm: esp_pm_dump_locks: don't print from a critical section
...
Reported in https://github.com/espressif/esp-idf/issues/1917
2021-01-15 12:45:45 +01:00
xiehang
2f4ef71beb
example: do not check the return value of esp_wifi_connect()
2021-01-15 19:40:25 +08:00
Ivan Grokhotkov
7e63061fae
Merge branch 'bugfix/xtensa_win_version' into 'release/v3.3'
...
Bugfix/xtensa win version
See merge request espressif/esp-idf!11983
2021-01-15 07:33:27 +08:00
xiehang
a31000dcb6
esp_wifi: The maximum value of modifying TCP MSS is 1660
2021-01-14 19:50:24 +08:00
Chinmay Chhajed
092dc133cc
Bluedroid: Do not connect if peer BD_ADDR is same as own BD_ADDR.
2021-01-14 14:32:58 +05:30
Juraj Michálek
8cef74c151
bugfix: correction of xtensa-esp32-elf version for Windows
2021-01-14 08:36:31 +01:00
ronghulin
675d6f26d4
bugfix: fix ICMP specify length issue
2021-01-14 14:40:13 +08:00
xiehang
d3a27596a1
CI: Fix test_phy_rtc_cache_task stack overflow
2021-01-13 19:48:47 +08:00
xiehang
426736c769
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
2021-01-11 19:21:18 +08:00
xiehang
ae24692785
esp_wifi: Update WiFi lib
...
1. Add check CSA state before CSA timer process
2. Change wifi scan duration from 120ms to 100ms
3. Using deport reg instead of ahb
4. Check TID in ieee80211_recv_bar()
5. Revert to report specific reason code when receiving deauth during 4-way-handshark
6. Fix the bug that tx ampdu parameter is not from peer device
7. Refactor wifi_interface_t
8. Faster WiFi station connect improvement, avoid 100ms passive scan
9. Add FCS failed packets filter
10.Update esp32 phy lib to v4660
11.Fix csa timer issue
12.Fix country code last byte to space instead of NULL
13.Fix softap cannot forward A-MSDU
14.Fix max tx power to 20dBm
15.Fix the issue that the esp_wifi_sta_get_ap_info can't get country
2021-01-11 19:21:13 +08:00
xiehang
3df5b89c91
esp_wifi: ESP32 phy add [sections:phy_iram]
2021-01-11 15:32:46 +08:00
xiehang
3a56cfc9b3
esp_wifi: optimize phy version log
2021-01-11 15:32:37 +08:00
Jiang Jiang Jian
cd59d107b2
Merge branch 'bugfix/ble_mesh_node_id_adv_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix Node ID adv with wrong timeout (v3.3)
See merge request espressif/esp-idf!11880
2021-01-11 11:46:41 +08:00
Jiang Jiang Jian
66a1b39814
Merge branch 'bugfix/add_macro_to_blufi' into 'release/v3.3'
...
component/bt: Add a macro to control the compilation of blufi.(backport v3.3)
See merge request espressif/esp-idf!11891
2021-01-11 11:45:14 +08:00
Jiang Jiang Jian
1df7be0e58
Merge branch 'feat/ble_mesh_provisioner_recv_hb_support_v3.3' into 'release/v3.3'
...
Feat/ble mesh provisioner recv hb support (v3.3)
See merge request espressif/esp-idf!11916
2021-01-11 11:44:27 +08:00
Jiang Jiang Jian
d3bdcccd3b
Merge branch 'bugfix/fix_wifi_stack_overflow_v3.3' into 'release/v3.3'
...
esp_wifi: Fix WiFi stack overflow issue (v3.3)
See merge request espressif/esp-idf!11889
2021-01-11 11:43:53 +08:00
lly
79a5037ee2
ble_mesh: ci: Add enabling hb recv sdkconfig file
2021-01-08 09:36:52 +08:00
lly
e9caf68d6e
ble_mesh: stack: Provisioner supports receiving heartbeat
2021-01-08 09:35:03 +08:00
xiehang
60291300a2
Revert "esp_wifi: Fix handling of multiple AP credentials in WPS"
...
This reverts commit de0d1fffcd .
2021-01-06 19:30:56 +08:00
wangcheng
e9d28837ec
component/bt: Add a macro to control the compilation of blufi.
2021-01-06 18:04:30 +08:00
lly
6c6ad3f772
ble_mesh: stack: Fix Node ID adv with wrong timeout
2021-01-05 20:16:42 +08:00
Jiang Jiang Jian
71df1f7422
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v3.3' into 'release/v3.3'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v3.3)
See merge request espressif/esp-idf!10245
2021-01-05 11:10:35 +08:00
XieWenxiang
d8b42e565c
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v3.3)
2021-01-05 01:53:33 +00:00
Jiang Jiang Jian
509de0aac3
Merge branch 'bugfix/mcpwm_period_error_v3.3' into 'release/v3.3'
...
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v3.3)
See merge request espressif/esp-idf!7186
2021-01-05 09:53:22 +08:00
Jiang Jiang Jian
f3aaa39c43
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v3.3' into 'release/v3.3'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v3.3)
See merge request espressif/esp-idf!11724
2021-01-05 09:51:39 +08:00
Angus Gratton
f61f54ee67
Merge branch 'feature/dis_uart_dl_mode_v3.3' into 'release/v3.3'
...
feature: Disable UART download mode (v3.3)
See merge request espressif/esp-idf!10767
2021-01-04 15:29:14 +08:00
Mahavir Jain
6917a40294
Merge branch 'fix/i2c_pm_lock_v3.3' into 'release/v3.3'
...
i2c: Acquire PM lock after acquiring mutex (v3.3)
See merge request espressif/esp-idf!11833
2020-12-30 18:50:14 +08:00
Sachin Parekh
25147f2560
i2c: Acquire PM lock after acquiring mutex
2020-12-30 13:25:40 +05:30
Jiang Jiang Jian
29e69a12d3
Merge branch 'feature/oocd_ver_backport_v3.3' into 'release/v3.3'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' (backport v3.3)
See merge request espressif/esp-idf!9750
2020-12-28 11:50:57 +08:00
Chen Zheng Wei
d3eb487d40
mcpwm: fix the issue of wrong period (backport v3.3)
2020-12-28 03:48:11 +00:00
Jiang Jiang Jian
c4aafb06ce
Merge branch 'feature/nvs_erase_check_init_3.3' into 'release/v3.3'
...
NVS Flash: prevent erasing initialized partition (backport v3.3)
See merge request espressif/esp-idf!10072
2020-12-28 11:46:34 +08:00
Jiang Jiang Jian
777c8bbd44
Merge branch 'bugfix/bt_bluedroid_same_public_key_attack_v3.3' into 'release/v3.3'
...
Bluedroid: Fixes for some Bluetooth vulnerabilities. (v3.3)
See merge request espressif/esp-idf!11767
2020-12-28 11:41:19 +08:00
Chinmay Chhajed
0b84a1242e
Bluedroid: Fixes for some vulnerabilities.
...
This commit fixes 'Impersonation in Passkey entry protocol'
(CVE-2020-26558) and suggests fixes for other vulnerabilites like
'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and
'Authentication of the LE Legacy Pairing Protocol'
CVE-2020-26558 can be easily implemented if the peer device can
impersonate our public key. This commit adds a check by comparing our
and received public key and returns failed pairing if keys are same.
This commit also adds comments suggesting to use secure connection when
supported by all devices.
2020-12-25 16:03:33 +05:30
Jiang Jiang Jian
cc8525f630
Merge branch 'bugfix/backport_v3.3_esp_tls_closing_fd0' into 'release/v3.3'
...
Bugfix/backport v3.3 esp tls closing fd0
See merge request espressif/esp-idf!11055
2020-12-24 16:05:11 +08:00
Anton Maklakov
0713c7dbb4
Merge branch 'feature/ci_relative_submodules_v3.3' into 'release/v3.3'
...
CI: relative submodules (v3.3)
See merge request espressif/esp-idf!11735
2020-12-24 11:13:06 +08:00
XieWenxiang
b0719d3fc6
component/bt: fix Blufi sends longer customer data will will lead congested
2020-12-24 09:37:35 +08:00
Jiang Jiang Jian
8ff6e2eee5
Merge branch 'bugfix/wps_multiple_ap_creds_v3.3' into 'release/v3.3'
...
Bugfix/wps multiple ap creds v3.3 (backport v3.3)
See merge request espressif/esp-idf!11727
2020-12-23 23:33:46 +08:00
Anton Maklakov
6dfb8a5fc3
Merge branch 'bugfix/mdns_example_test_exit_v3.3' into 'release/v3.3'
...
ci: Fixed mdns example test to correctly exit helper thread
See merge request espressif/esp-idf!11676
2020-12-23 21:50:18 +08:00
Jiang Jiang Jian
1a6530156d
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v3.3' into 'release/v3.3'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v3.3]
See merge request espressif/esp-idf!11725
2020-12-23 21:39:51 +08:00
Anton Maklakov
5487864df9
tools: Add a script for switching to real submodules in forks
2020-12-23 17:41:33 +07:00
Anton Maklakov
d7d8857fc5
ci: Use relative submodule URLs over IDF. Correct CI accordindly
...
Clean up `before_script`s
Update `check_submodule_sync`
Remove tools/ci/mirror* stuff
2020-12-23 17:41:33 +07:00
Anton Maklakov
69cd53dbd9
ci: Remove unused IS_PRIVATE and IS_PUBLIC environment
2020-12-23 16:52:57 +07:00
xutao
9c252b8f22
bugfix: backport esp_tls_closing_fd0 to v3.3
2020-12-23 09:51:48 +00:00
xiehang
56416dddda
esp_wifi: Updata WiFi lib
...
1. Fix handling of multiple AP credentials in WPS
2. Fix esp_wifi log levels
2020-12-23 15:48:06 +08:00
xiehang
de0d1fffcd
esp_wifi: Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-12-23 15:05:28 +08:00
liqigan
46fa26b56f
fix spp vfs demo crash when use dynamic memory
2020-12-23 14:44:48 +08:00
Jiang Jiang Jian
896180ec73
Merge branch 'bugfix/collection_bugfix_backport_for_3_3' into 'release/v3.3'
...
Bugfix/collection bugfix backport for 3 3
See merge request espressif/esp-idf!11708
2020-12-23 11:23:14 +08:00
Jiang Jiang Jian
1e747edd7d
Merge branch 'bugfix/blufi_config_potential_double_free_v3.3' into 'release/v3.3'
...
component/bt: Fix a potential double free error.
See merge request espressif/esp-idf!11716
2020-12-23 11:22:40 +08:00
wangcheng
929ad413cb
component/bt: Fix a potential double free error.
2020-12-22 19:09:15 +08:00
weitianhua
282d234ea5
components/bt: Fixed the problem of early release of pointer(p_ccb) in funcion
2020-12-22 15:12:55 +08:00
weitianhua
86de405578
Collection of bugfix backport for release/v3.3
2020-12-22 15:08:59 +08:00
Jiang Jiang Jian
3e6dd18075
Merge branch 'bugfix/revert_tx_optimization_v3.3' into 'release/v3.3'
...
esp_wifi: revert tx optimization(v3.3)
See merge request espressif/esp-idf!11688
2020-12-21 23:19:08 +08:00
Jiang Jiang Jian
1b4a46a28f
Merge branch 'bugfix/ipv6_check_ns_na_packet_length' into 'release/v3.3'
...
lw-ip:bugfix for ipv6 check ns na packet length
See merge request espressif/esp-idf!11680
2020-12-21 23:18:27 +08:00
zhangyanjiao
d5f9d1f748
Revert "esp_wifi: optimize WiFi TX performance"
...
This reverts commit 7b245e59c4 .
2020-12-21 15:53:19 +08:00
Michael (XIAO Xufeng)
ed420aacc0
Merge branch 'bugfix/WEL_DISABLE_V3.3' into 'release/v3.3'
...
spi_flash: ensure wel is diabled when flash is not being operated
See merge request espressif/esp-idf!11653
2020-12-21 15:48:51 +08:00
xueyunfei
ee1f925dff
bugfix for ipv6 check ns na packet length
2020-12-21 10:54:24 +08:00
Jiang Jiang Jian
0a80c654e9
Merge branch 'bugfix/decouple_wifi_bt_with_coex_v3.3' into 'release/v3.3'
...
esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size(backport v3.3)
See merge request espressif/esp-idf!11644
2020-12-20 16:26:40 +08:00
David Cermak
86dbff4297
ci: Fixed mdns example test to correctly exit helper thread
2020-12-18 16:54:04 +01:00
Ivan Grokhotkov
857e2f0943
Merge branch 'bugfix/docker_gdb_python_v3.3' into 'release/v3.3'
...
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies (backport v3.3)
See merge request espressif/esp-idf!10310
2020-12-17 23:16:26 +08:00
Angus Gratton
a461605003
efuse: Add ESP32 V3 'disable Download Mode' functionality
2020-12-17 17:44:21 +11:00
Xia Xiaotian
3cf6f36765
esp_wifi: decouple Wi-Fi and bluetooth with coexist to reduce binary file size
2020-12-17 14:21:59 +08:00
Cao Sen Miao
6d63c59ddb
spi_flash: ensure sel is diabled when flash is not being operated
2020-12-17 10:58:49 +08:00
Martin Stejskal
ace26dda76
tools/docker: Add libpython2.7 in order to satisfy GDB dependencies
...
It was not possible to run xtensa-esp32-elf-gdb from container due to
missing libpython2.7 library.
Merges https://github.com/espressif/esp-idf/pull/5817
Closes https://github.com/espressif/esp-idf/issues/5284
2020-12-16 02:50:32 +00:00
Ivan Grokhotkov
3ca579bc23
Merge branch 'test/disable_twai_example_ci_v3.3' into 'release/v3.3'
...
Temporarily disable TWAI network example test (backport v3.3)
See merge request espressif/esp-idf!11564
2020-12-16 04:22:50 +08:00
Mahavir Jain
fb6fb2df3b
Merge branch 'bugfix/redirection_v3.3' into 'release/v3.3'
...
esp_http_client: Skip check for redirection counter if status code is success, fix issue with digest auth, configurable user agent string. (v3.3)
See merge request espressif/esp-idf!11600
2020-12-14 20:20:20 +08:00
Jiang Jiang Jian
f33381b8e8
Merge branch 'fixbug/baidu_tcp_recv_assert_for_3.3' into 'release/v3.3'
...
lw-ip:fix bug for tcp recv assert(backport 3.3)
See merge request espressif/esp-idf!11289
2020-12-14 19:00:45 +08:00
Scott Shell
6d104d49b4
Make the UserAgent string in esp-http-client configurable
...
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/6044
2020-12-14 14:44:40 +05:30
Shubham Kulkarni
193fcc70dd
http_auth.c: Fix crash when opaque field is not present in challenge string
...
Closes: https://github.com/espressif/esp-idf/issues/5888
2020-12-14 14:44:33 +05:30
Shubham Kulkarni
35d0b93ecf
esp_http_client: Skip check for redirection counter if status code is success.
...
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-12-14 14:44:22 +05:30
Angus Gratton
6f3478dae0
Merge branch 'bugfix/esptool_version_v3.3' into 'release/v3.3'
...
esptool: Update esptool to latest v2.x version (backport v3.3)
See merge request espressif/esp-idf!11585
2020-12-14 15:14:45 +08:00
Jiang Jiang Jian
4767568837
Merge branch 'nimble/fix_misc_coverity_issue_v3.3' into 'release/v3.3'
...
Nimble: Fix misc issues in NimBLE NVS, `ble_eddystone`, recursive call and L2CAP CoC (v3.3)
See merge request espressif/esp-idf!11393
2020-12-12 19:21:41 +08:00
Jiang Jiang Jian
c2f5fc0c88
Merge branch 'optimize/ble_mesh_provision_dev_uuid_check_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Need uuid when adding device for provisioning (v3.3)
See merge request espressif/esp-idf!11582
2020-12-12 17:57:37 +08:00
Jiang Jiang Jian
e38adae62b
Merge branch 'backport/need_commit_to_v3.3' into 'release/v3.3'
...
components/bt: Backport some fixes to v3.3
See merge request espressif/esp-idf!11470
2020-12-12 17:53:20 +08:00
radim.karnis
54ee2f2ebc
Changed esptool version to latest v2.x
2020-12-11 13:29:19 +01:00
lly
60ebc7f8e3
ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files
2020-12-11 20:12:45 +08:00
lly
bff66d7653
ble_mesh: stack: Need uuid when adding device for provisioning
2020-12-11 20:10:57 +08:00
Krzysztof Budzynski
17ca685a15
Merge branch 'feature/python2-deprecation-warn_v3.3' into 'release/v3.3'
...
Tools: Add Python 2 deprecation warning (v3.3)
See merge request espressif/esp-idf!11550
2020-12-11 16:31:18 +08:00
baohongde
a36ed1c60b
components/bt: insert the llcp packet to the top of the tx_prog linked list
2020-12-11 11:28:12 +08:00
wangcheng
04d28bdf40
components/bt: Fix ble disconnect issue in coex mode
2020-12-11 11:28:12 +08:00
baohongde
2711f35552
components/bt: Fix waking up fail while sleeping
2020-12-11 11:28:12 +08:00
baohongde
fcbaa63c4e
components/bt: Make sleep avaliable in hli(for future use)
2020-12-11 11:27:35 +08:00
baohongde
809a1ff74c
components/coex: Some bugfix about ble dynamic prio
...
Rewrite ble dynamic prio to fix ble disconn in conn_param_update/channel_map_update
Rewrite ble dynamic prio in connection establishment
Fix ble dynamic prio with latency
Fix status bit set error when conn fail
2020-12-11 11:27:35 +08:00
wangcheng
b8f061334a
components/bt: backport requires commit to release v3.3
2020-12-11 11:27:35 +08:00
wangcheng
c82ba10521
components/bt: fixed memory damage caused by bluetooth memory release
2020-12-11 11:27:35 +08:00
wangcheng
83ee0eef9e
Fix BT controller dead issue when clkn overflow
2020-12-11 11:27:35 +08:00
wangcheng
ddab5b2a2a
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-12-11 11:27:35 +08:00
wangcheng
3622e29465
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-12-11 11:27:35 +08:00
wangcheng
510110228c
btdm: Add comments to clarify the two different device names of GAP and ADV in the ble_spp_server_demo example, as the old example might confuse users.
2020-12-11 11:27:35 +08:00
wangmengyang
8744b8266b
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-12-11 11:27:35 +08:00
Jiang Jiang Jian
ab41d84a2f
Merge branch 'bugfix/fix_spp_read_flow_control_v3.3' into 'release/v3.3'
...
component_bt/fix spp flow control and vfs write[backport 3.3]
See merge request espressif/esp-idf!11471
2020-12-10 22:50:56 +08:00
Jiang Jiang Jian
720a2a113e
Merge branch 'bugfix/fix_some_wifi_bugs_1204_v3.3' into 'release/v3.3'
...
Bugfix/fix some wifi bugs 1204 v3.3
See merge request espressif/esp-idf!11504
2020-12-10 22:48:24 +08:00
Darian Leung
fca496b4b6
twai: Temporarily disable network example test
...
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:44:21 +08:00
daiziyan
228bec2371
add CN translation for adding python2 deprecation warning(MR 11115)
2020-12-10 14:04:57 +01:00
xiehang
65a1e1269f
esp_wifi: Update wifi lib
...
1. Optimize WiFi log
2. Optimize 4way handshake failure time
3. Fix eapol frames encryption during reauth
4. Set softap beacon DTIM count according to TSF timer
5. Remove wifi tx buffer limits
6. Remove coexist warnings in ESP_WIFI_MESH
7. Update some APIs descriptions, tables format and typos
8. Fix wifi tx all
2020-12-10 02:55:22 +00:00
xiehang
7b245e59c4
esp_wifi: optimize WiFi TX performance
2020-12-10 02:55:22 +00:00
xiehang
42061dded1
esp_wifi: add limitation for setting maximum WiFi TX power
...
Limit the WiFi TX power range to 10dBm ~ 20.5 dBm
2020-12-10 02:55:22 +00:00
dongyou
1e519370dd
Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
...
Remove description of unusable API esp_wifi_restart()
Update esp_now_fetch_peer discription
Update table format prblm for esp_wifi_set_max_tx_power()
Update description for ssid and password
2020-12-10 02:55:22 +00:00
xiehang
022192411e
esp_wifi: remove wifi tx buffer limits
2020-12-10 02:55:22 +00:00
xiehang
afad32da9e
esp_wifi: set softap beacon DTIM count according to TSF timer
2020-12-10 02:55:22 +00:00
xiehang
77b3ad8385
eps_wifi: Optimize WiFi debug log
...
1. Add esp_wifi_statis_dump()
2. Optimize WiFi related debug log
2020-12-10 02:55:22 +00:00
liqigan
7a52ed2f15
fix spp flow control and vfs write
2020-12-10 10:44:44 +08:00
martin.gano
7af26fa6d6
Tools: add Python 2 deprecation warning
2020-12-10 00:12:09 +01:00
Jiang Jiang Jian
0416586dcc
Merge branch 'bugfix/add_protection_for_spp_api_3_3' into 'release/v3.3'
...
componnet_bt:/ Add protection for btc and some comment correction [backport v3.3]
See merge request espressif/esp-idf!11455
2020-12-09 22:10:26 +08:00
Michael (XIAO Xufeng)
a2142eae7e
Merge branch 'bugfix/phy_xpd_v3.3' into 'release/v3.3'
...
wifi: add set_xpd_sar override(backport v3.3)
See merge request espressif/esp-idf!11491
2020-12-09 10:49:55 +08:00
Island
fca750b4ea
Merge branch 'feature/btdm_support_some_ble_new_features_v3.3' into 'release/v3.3'
...
components/bt: backport some new features for Bluedroid BLE(release v3.3)
See merge request espressif/esp-idf!11464
2020-12-09 10:28:39 +08:00
Krzysztof Budzynski
6a1cf51938
Merge branch 'bugfix/sleep_comments_v3.3' into 'release/v3.3'
...
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions (v3.3)
See merge request espressif/esp-idf!8569
2020-12-08 17:42:13 +08:00
Cao Sen Miao
5490dbcaf7
adc_i2s: solve the i2s_adc issue when using wifi
2020-12-08 16:15:03 +08:00
Angus Gratton
debd4ad723
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions
...
Closes https://github.com/espressif/esp-idf/issues/4681
Discussion https://esp32.com/viewtopic.php?f=13&t=15145
2020-12-08 18:00:11 +11:00
Jiang Jiang Jian
a7ec2e6503
Merge branch 'bugfix/add_disconn_req_action_when_no_link_3_3' into 'release/v3.3'
...
component_bt/bugfix: add_disconn_req_action_when_no_link [backport v3.3]
See merge request espressif/esp-idf!11456
2020-12-07 12:11:47 +08:00
Michael (XIAO Xufeng)
24b910916a
Merge branch 'bugfix/can_backport_accumulated_fixes_v3.3' into 'release/v3.3'
...
CAN backport accumulated fixes (backport v3.3)
See merge request espressif/esp-idf!11463
2020-12-04 23:57:09 +08:00
Darian Leung
fcabc257a5
CAN: ISR runs when cache is disabled
...
This commit adds the feature where the CAN ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_CAN_ISR_IN_IRAM option.
2020-12-04 17:58:02 +08:00
Jiang Jiang Jian
d96e1442b3
Merge branch 'bugfix/update_toolchain_5.2.0_psram_final_v3.3' into 'release/v3.3'
...
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5 (backport v3.3)
See merge request espressif/esp-idf!11103
2020-12-04 11:57:30 +08:00
xiewenxiang
a15ce322b5
component/bt: support BLE Read Attribute value by UUID
2020-12-03 21:04:21 +08:00
xiewenxiang
dfefe7bfd7
component/bt: refactor ble random address setting
2020-12-03 20:44:58 +08:00
xiewenxiang
ea678c3fd1
component/bt: support BLE Application Layer Encryption key size check
2020-12-03 20:36:19 +08:00
xiewenxiang
456d3461a1
component/bt: support BLE Authorization
2020-12-03 20:25:47 +08:00
xiewenxiang
1896249485
component/bt: fix incorrect encryption flag setting
2020-12-03 20:07:05 +08:00
weitianhua
3e3445811a
Correct some debug log for BT Stack & Add protection for rfcomm close API in SPP
2020-12-03 19:29:20 +08:00
weitianhua
810e3b7d79
Separating AVRC & A2DP
...
1. Remove uneccessary macro
2. Add bda_addr for esp_bt_a2dp_disconn_req API
3. Rewrite a2dp clean_up function
2020-12-03 19:05:24 +08:00
Jiang Jiang Jian
b4c0751692
Merge branch 'bugfix/fix_spp_dynamic_memory_bugs' into 'release/v3.3'
...
componet_bt/fix SPP init deynamic memory bugs
See merge request espressif/esp-idf!11435
2020-12-03 16:53:52 +08:00
xiehang
d037923265
esp_wifi: Update WiFi toolchain to 1.22.0-97-gc752ad5
2020-12-03 15:54:55 +08:00
Darian Leung
3574ca6156
can: Fix critical section ESP_LOG functions
...
This commit removes any function calls within
the CAN driver that result in a call to ESP_LOG
whilst inside a critical section.
These function calls are either moved outside
critical sections (e.g., intr_alloc and gpio
functions), or substituted (e.g., assert()).
2020-12-02 21:50:38 +08:00
Darian Leung
35511d0e87
can: Fix semaphore take in critical section
...
This commit fixes can_reconfigure_alerts() which
could lead to a call to xSemaphoreTake() whilst
inside a critical section.
2020-12-02 21:41:47 +08:00
Darian Leung
540b401e95
CAN: Fix size of RX msg count field on the esp32
...
This commit fixes the size of the RX message count register field
on the esp32.
2020-12-02 21:40:17 +08:00
Jiang Jiang Jian
aee3303084
Merge branch 'bugfix/fix_some_wifi_bugs_1202_v3.3' into 'release/v3.3'
...
esp_wifi: fix some wifi bugs 1202 (backport v3.3)
See merge request espressif/esp-idf!11437
2020-12-02 20:06:51 +08:00
Hrudaynath Dhabe
e456bfedd7
wpa_supplicant: Fix configurable debug log feature's warning issue
2020-12-02 17:00:58 +08:00
GOPTIONS\pfrost
b4b51f5a5e
Reduce log level of hexdumps to verbose
...
Revert "Reduce log level of hexdumps to verbose"
Add a menuconfig option to enable or disable the logging in wpa_supplicant
Clarify help message
2020-12-02 16:53:49 +08:00
ronghulin
6d82b0a749
bugfix: fix TCP timer interval
2020-12-02 16:53:49 +08:00
ronghulin
d77991744f
fix TCP retransmission interval
2020-12-02 16:53:49 +08:00
Jan-Hendrik Frintrop
e6bc6951af
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com >
https://github.com/espressif/esp-idf/pull/5186
2020-12-02 16:53:49 +08:00
dongyou
f70a819761
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-12-02 16:53:49 +08:00
Angus Gratton
42f4fa4de6
Merge branch 'bugfix/blecent_example_test_v3.3' into 'release/v3.3'
...
Fix CI blecent example test (backport v3.3)
See merge request espressif/esp-idf!11320
2020-12-02 15:44:39 +08:00
liqigan
25774f41db
fix SPP init deynamic memory bugs
2020-12-02 12:24:05 +08:00
Shivani Tipnis
cbabe5bacc
ci: Fix blecent example test
...
(cherry picked from commit fc146a98e4 )
2020-11-30 22:49:31 +05:30
Artem Godlevskyi
7b030c3943
Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition
...
Signed-off-by: Prasad Alatkar <prasad.alatkar@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5825
2020-11-30 18:51:13 +05:30
Prasad Alatkar
5900f9601e
NimBLE: Fix misc coverity issues in NimBLE host
...
- NimBLE NVS : Additional check to account for NVS operation failure
- NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen
- NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857
2020-11-30 18:50:57 +05:30
Angus Gratton
c33fc7821a
Merge branch 'ci/fix_annotated_tag_check_v3.3' into 'release/v3.3'
...
ci: Fix annotated tag check (v3.3)
See merge request espressif/esp-idf!11334
2020-11-24 06:32:17 +08:00
Jiang Jiang Jian
31f5334ae1
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v3.3' into 'release/v3.3'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!11330
2020-11-23 15:49:20 +08:00
Angus Gratton
7e2c75fae7
ci: Fix annotated tag check
...
Regression in 1612f84
2020-11-23 17:33:52 +11:00
liqigan
b9bf3f7cc9
components/bt: Fix SPP using NULL point with dynamic memory
2020-11-23 11:48:34 +08:00
Jiang Jiang Jian
fea21b8e44
Merge branch 'bugfix/backport_v3.3_fix_pthread_priority_inheritance' into 'release/v3.3'
...
pthread: fix the priority inheritance (backport v3.3)
See merge request espressif/esp-idf!11293
2020-11-21 17:51:42 +08:00
Jiang Jiang Jian
025b8c3f21
Merge branch 'feature/mqtt_submodule_update_23c8e1ec_v3.3' into 'release/v3.3'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes) (v3.3)
See merge request espressif/esp-idf!11315
2020-11-21 17:26:18 +08:00
Jiang Jiang Jian
e8a0ecddd8
Merge branch 'bugfix/att_buffer_count_fixed_v3.3' into 'release/v3.3'
...
Bugfix/att buffer count fixed v3.3
See merge request espressif/esp-idf!9164
2020-11-21 17:05:47 +08:00
Jiang Jiang Jian
dc4856e292
Merge branch 'bugfix/backport_v3.3_fix_websocket_issue' into 'release/v3.3'
...
websocket_client: fix some issues for websocket client(backport v3.3)
See merge request espressif/esp-idf!11295
2020-11-21 16:20:28 +08:00
David Čermák
a19f58355a
Merge branch 'bugfix/fix_transport_ssl_blocking_v3.3' into 'release/v3.3'
...
transport_ssl: Fix a bug in transport_ssl (backport v3.3)
See merge request espressif/esp-idf!11294
2020-11-20 17:43:41 +08:00
David Cermak
e846274e59
MQTT: Update submodule reference: config, error handle, minor fixes
...
Updates esp-mqtt reference to include fixes below related mainly to:
* configuration update (disable keepalive, network timeout)
* minor fixes (size_t for all sizes, unbalanced lock, api for
outbox-size)
* extended error handle to include socket's errno
Closes https://github.com/espressif/esp-idf/issues/5906
Config: Added config value to disable keepalive mechanism
esp-mqtt commit: 8562437c8a
Related https://github.com/espressif/esp-mqtt/issues/179
Added esp_mqtt_client_get_outbox_size API
esp-mqtt commit: 0a1d9d0300
Related https://github.com/espressif/esp-mqtt/pull/178
mqtt_outbox: Removed unused retry_count field from outbox_item_t
esp-mqtt commit: 673086e13a
config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS
esp-mqtt commit: 259baaec96
Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path
esp-mqtt commit: 845c2a3a1e
Related https://github.com/espressif/esp-mqtt/issues/173
Related https://github.com/espressif/esp-mqtt/pull/174
Extended mqtt error handle to capture transport's socket errno (IDF
v4.3+)
esp-mqtt commit: 23c8e1ecf5
Config: Added configuration value to set network timeout
esp-mqtt commit: a03228ac46
Related https://github.com/espressif/esp-mqtt/pull/166
Used size_t for all lengths to allow for other architectures
esp-mqtt commit: b9db8d9020
2020-11-20 10:25:59 +01:00
xutao
9da4c47e74
websocket_client: fix some issues for websocket client(backport v3.3)
2020-11-19 15:54:36 +08:00
xutao
cf4eba2f5d
pthread: fix the priority inheritance (backport v3.3)
2020-11-19 15:30:49 +08:00
xueyunfei
858c7b122e
fix bug for tcp recv assert
2020-11-19 11:27:14 +08:00
Island
2c6eb0bd74
Merge branch 'optimize/ble_mesh_gattc_conn_param_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Update connection parameters used by Central (v3.3)
See merge request espressif/esp-idf!11285
2020-11-19 11:23:21 +08:00
Island
adcab65d7d
Merge branch 'feat/ble_mesh_node_local_data_func_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Add node local netkey/appkey func (v3.3)
See merge request espressif/esp-idf!11282
2020-11-19 11:23:12 +08:00
lly
1a36790014
ble_mesh: stack: Update connection interval to 15ms
2020-11-18 20:25:26 +08:00
lly
a9ac3e87db
ble_mesh: stack: Update connection parameters used by Central
2020-11-18 20:25:14 +08:00
lly
d2a99ec816
ble_mesh: stack: Fix wrong declaration of node bind AppKey func
2020-11-18 20:16:25 +08:00
lly
42bdf7ecc2
ble_mesh: stack: Add node local netkey/appkey func
2020-11-18 20:16:06 +08:00
Island
f62e92c35f
Merge branch 'optimize/ble_mesh_reduce_code_size_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Optimization introduced to reduce code size (v3.3)
See merge request espressif/esp-idf!11250
2020-11-18 20:08:44 +08:00
Mahavir Jain
77119a793e
Merge branch 'fix/protocomm_simple_ble_v3.3' into 'release/v3.3'
...
Protocomm/simple_ble: Fix gatt table map size to number of handles received (v3.3)
See merge request espressif/esp-idf!11268
2020-11-18 12:14:35 +08:00
Prasad Alatkar
c8354f0231
Protocomm/simple_ble: Make gatt table map size equal to number of handles received (v3.3)
...
- Fixes memcpy failure observed while adding 2 or more endpoints in
wifi_provisioning.
Closes IDF-2250
Closes https://github.com/espressif/esp-idf/issues/6121
2020-11-17 16:27:29 +05:30
lly
c6f809ec03
ble_mesh: example: Update sdkconfig test files for disabling Health Server model
2020-11-17 11:40:52 +08:00
lly
2c66a82434
ble_mesh: stack: Add a Kconfig option to make Health Server model optional
2020-11-17 11:40:31 +08:00
lly
f1def7f24e
ble_mesh: stack: Split model Kconfig menu into foundation and others
2020-11-17 11:39:07 +08:00
lly
aecb897fb8
ble_mesh: example: Fix fast provisioning compile error
2020-11-17 11:37:32 +08:00
lly
10a396d17c
ble_mesh: ci: Add disabling mesh model sdkconfig test files
2020-11-17 11:36:37 +08:00
lly
d9ffe54991
ble_mesh: stack: Add Kconfig options to make server models optional
2020-11-17 11:33:10 +08:00
lly
c90def0992
ble_mesh: stack: Use Kconfig option to make client models optional
2020-11-17 11:30:15 +08:00
lly
4c7a021acd
ble_mesh: stack: Make some internal static functions inline
2020-11-17 11:29:28 +08:00
lly
841a015d6c
ble_mesh: ci: Add disabling mesh deinit sdkconfig test files
2020-11-17 11:28:54 +08:00
lly
09ac1b596d
ble_mesh: stack: Add a Kconfig option to make deinit optional
2020-11-17 11:19:49 +08:00
lly
bc4ebea32c
ble_mesh: stack: Introduce a new header file mesh_config.h
2020-11-17 11:18:14 +08:00
Jiang Jiang Jian
68b237fe53
Merge branch 'bugfix/customer_baidu_psram_stack_backtrace_v3.3' into 'release/v3.3'
...
backport v3.3: added psram stack check in backtrace
See merge request espressif/esp-idf!8460
2020-11-12 21:01:12 +08:00
Angus Gratton
c823b14802
Merge branch 'bugfix/doc_remove_cmake_defconfig_v3.3' into 'release/v3.3'
...
Remove defconfig from idf.py (v3.3)
See merge request espressif/esp-idf!10086
2020-11-11 10:44:17 +08:00
Angus Gratton
7a08ec735f
Merge branch 'bugfix/ci_use_local_mirror_for_getting_submodules_v3.3' into 'release/v3.3'
...
ci: Use local git mirror for getting submodules v3.3
See merge request espressif/esp-idf!10383
2020-11-11 08:05:52 +08:00
Island
53bbc94ced
Merge branch 'bugfix/fix_node_test_func_not_set_role_v3.3' into 'release/v3.3'
...
ble_mesh: test: Fix node test function not update role flag (v3.3)
See merge request espressif/esp-idf!11043
2020-11-10 16:44:18 +08:00
lly
330f39ee23
ble_mesh: test: Fix node test function not update role flag
2020-11-09 02:42:36 +00:00
Jiang Jiang Jian
44ec7972bd
Merge branch 'bugfix/fix_16mbit_psram_id_read_error_v3.3' into 'release/v3.3'
...
psram: fix 16mbit psram id read error (backport v3.3)
See merge request espressif/esp-idf!9441
2020-11-05 23:02:09 +08:00
Michael (XIAO Xufeng)
49ace4968f
spiram: fix the read id failure
...
The issue is caused by:
1. The disable_qio_mode inside read_id may have side effects.
2. read_id twice may have side effects.
Fix this issue by moving disable_qio_mode out of read_id and only do it
once before read_id. And retry read_id only when the first one is
failed.
Issue introduced in 3ecbb59c15 .
2020-11-05 06:11:29 +00:00
chenjianqiang
1903c05d53
psram: fix 16mbit psram id read error
2020-11-05 06:11:29 +00:00
Jiang Jiang Jian
5d42f3075e
Merge branch 'feature/toolchain_gcc52_revert_PSRAM_fixes_2020r3_v3.3' into 'release/v3.3'
...
Update toolchain to 1.22.0-97-gc752ad5 (v3.3)
See merge request espressif/esp-idf!10348
2020-11-05 14:08:47 +08:00
Jiang Jiang Jian
8667591004
Merge branch 'bugfix/lwip_netdb_cpp_guards_v3.3' into 'release/v3.3'
...
lw-IP: Changed to C linkage in netdb.h for fixing bug when using mixed C/C++ code (v3.3)
See merge request espressif/esp-idf!11092
2020-11-05 14:00:42 +08:00
Jiang Jiang Jian
e0a8eb60dd
Merge branch 'feature/lwip_tcp_isn_hook_v3.3' into 'release/v3.3'
...
lw-ip: enable TCP ISN hook (v3.3)
See merge request espressif/esp-idf!11065
2020-11-05 12:10:59 +08:00
Jiang Jiang Jian
25781e7c88
Merge branch 'mesh/bugfix_1023_backport_v3.3' into 'release/v3.3'
...
esp_wifi_mesh: update wifi mesh libs(Backport v3.3)
See merge request espressif/esp-idf!11081
2020-11-05 12:08:19 +08:00
Anton Maklakov
d429fd7031
ci: Use a local mirror for getting submodules
2020-11-04 10:19:57 +07:00
Anton Maklakov
1f78540cbb
windows: Update the prebuilt MSYS2 environment to use then new toolchain
...
No other changes in the environment contents.
2020-11-04 10:08:00 +07:00
Ivan Grokhotkov
843889fd03
pthread: add dummy implementation of pthread_setcancelstate
...
Used by new versions of newlib in stdio functions.
2020-11-04 10:08:00 +07:00
Anton Maklakov
873aca4c0d
newlib: Build psram libc with the new toolchain
...
Generated from commit 02c81fb7 in the newlib script repo
2020-11-04 10:08:00 +07:00
Anton Maklakov
81da2bae2a
Update toolchain to 1.22.0-97-gc752ad5
...
Revert a part of PSRAM workaround because of regression
Add a C++ locale fix for multithreading
2020-11-04 10:07:58 +07:00
Ivan Grokhotkov
d8456c621e
Merge branch 'bugfix/ci_clone_https_v3.3' into 'release/v3.3'
...
ci: use HTTPS for cloning in IT jobs (v3.3)
See merge request espressif/esp-idf!11098
2020-11-03 21:45:37 +08:00
Ivan Grokhotkov
cc8f9cc539
ci: use HTTPS for cloning in IT jobs
2020-11-03 19:33:21 +08:00
mathiasbredholt
737fce72cc
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
...
Merges https://github.com/espressif/esp-idf/pull/5900
2020-11-03 08:43:09 +01:00
shenjun
a15f77e1c7
esp_wifi_mesh: update wifi mesh libs
...
1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
2020-11-03 15:23:28 +08:00
Mahavir Jain
652f43d9ee
esp_netif: initialize TCP ISN hook if enabled in configuration
2020-11-02 16:01:58 +05:30
Mahavir Jain
516ca4698f
lwip: provide configuration option to enable TCP ISN hook
2020-11-02 16:01:53 +05:30
Mahavir Jain
59112bbd76
tcp_isn: use ROM APIs for md5 calculations
2020-11-02 14:32:58 +05:30
Mahavir Jain
a4ad6f7547
lwip: add custom TCP ISN hook implementation
...
Source:
https://git.savannah.nongnu.org/cgit/lwip/lwip-contrib.git/
2020-10-30 16:42:08 +05:30
Angus Gratton
71af965514
Merge branch 'bugfix/err_to_name_paths_windows_v3.3' into 'release/v3.3'
...
tools: fix path handling errors in gen_esp_err_to_name.py for Windows (v3.3)
See merge request espressif/esp-idf!10898
2020-10-30 15:12:42 +08:00
Angus Gratton
1960d3c700
Merge branch 'bugfix/ldgen_section_windows_line_ending_v3.3' into 'release/v3.3'
...
tools/ldgen: Fix parsing of section names on Windows (v3.3)
See merge request espressif/esp-idf!11037
2020-10-30 15:12:05 +08:00
Roland Dobai
3280f45259
tools/ldgen: Fix parsing of sections names on Windows
2020-10-29 08:34:57 +01:00
He Yin Ling
66d3783c89
Merge branch 'bugfix/relative_import_error' into 'release/v3.3'
...
bugfix: import error in example tests
See merge request espressif/esp-idf!11003
2020-10-29 10:42:51 +08:00
Jiang Jiang Jian
ec4124676f
Merge branch 'bugfix/bredr_bugfix_release_for_qa_dummy_disconnect_3_3' into 'release/v3.3'
...
Bugfix/bredr bugfix release for qa dummy disconnect 3.3
See merge request espressif/esp-idf!10649
2020-10-28 21:26:29 +08:00
Jiang Jiang Jian
3616ae4da4
Merge branch 'bugfix/add_clear_bond_complete_evt_3_3' into 'release/v3.3'
...
componenet_bt/bugfix: add remove bond device complete event 3.3
See merge request espressif/esp-idf!10658
2020-10-28 16:58:49 +08:00
Chen Yu Dong
312f100551
bugfix: import error in example tests
...
relative import error in lib_ble_client
import Queue error in blehr_test
import http server error in ota tests
2020-10-28 14:19:30 +08:00
Jiang Jiang Jian
39f26cce95
Merge branch 'bugfix/fix_dhcp_renew_fail_for_3.3' into 'release/v3.3'
...
lw-ip: Fix dhcp renew fail in t1 and will renew ip in t2 every 1s
See merge request espressif/esp-idf!10986
2020-10-28 11:21:46 +08:00
Jiang Jiang Jian
4e71047a2a
Merge branch 'bugfix/fix_bredr_read_rssi_delta_v3.3' into 'release/v3.3'
...
Bugfix/Fix Read Rssi Delta Bug in Bredr [backport v3.3]
See merge request espressif/esp-idf!10810
2020-10-26 21:44:39 +08:00
Jiang Jiang Jian
e5cf7bc370
Merge branch 'bugfix/fix_tsf_bug_v3.3' into 'release/v3.3'
...
WiFi: fix tsf bug (backport v3.3)
See merge request espressif/esp-idf!10951
2020-10-26 21:32:56 +08:00
zhangyanjiao
91fca12f6a
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-26 11:16:34 +00:00
xueyunfei
668347e9c1
fix(dhcp): Fix dhcp renew fail in t1 and will renew ip in t2 every 1s util renew successful.(backport 3.3)
2020-10-26 16:35:32 +08:00
Angus Gratton
c1b49c419d
Merge branch 'bugfix/ldgen_unicode_path_v3.3' into 'release/v3.3'
...
tools/ldgen: Parse paths with Unicode characters in archives (v3.3)
See merge request espressif/esp-idf!10967
2020-10-26 12:08:28 +08:00
Jiang Jiang Jian
cd06c14265
Merge branch 'bugfix/fix_get_bond_device_list_v3.3' into 'release/v3.3'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v3.3]
See merge request espressif/esp-idf!9669
2020-10-26 11:47:08 +08:00
Jiang Jiang Jian
410d59d53d
Merge branch 'feature/esp_spp_stop_srv_v3.3' into 'release/v3.3'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v3.3]
See merge request espressif/esp-idf!10010
2020-10-26 11:46:56 +08:00
Jiang Jiang Jian
77486506e3
Merge branch 'bugfix/fix_hci_max_page_num_v3.3' into 'release/v3.3'
...
bugfix/Support for more Bluetooth HID devices [backport v3.3]
See merge request espressif/esp-idf!9663
2020-10-26 11:46:11 +08:00
Michael (XIAO Xufeng)
adaed2c79d
Merge branch 'spi_dma_close_before_cpu_reset_v3.3' into 'release/v3.3'
...
spi: fix issue with closing DMA before CPU reset (3.3)
See merge request espressif/esp-idf!10865
2020-10-25 23:51:21 +08:00
He Yin Ling
4a9f946278
Merge branch 'feature/move_auto_test_script_to_new_repo_3.3' into 'release/v3.3'
...
ci: move auto_test_script to new repo (backport 3.3)
See merge request espressif/esp-idf!10881
2020-10-24 09:26:11 +08:00
Chen Yu Dong
632530ef3c
test: move auto test script to new repo (backport)
...
known issues +
2020-10-24 09:26:08 +08:00
Roland Dobai
ef43198018
tools/ldgen: Parse paths with Unicode characters in archives
...
Closes https://github.com/espressif/esp-idf/issues/5996
2020-10-23 13:46:19 +02:00
Jiang Jiang Jian
4a3e7bc40d
Merge branch 'bugfix/udpv6_fail_to_receive_data_for_the_first_time' into 'release/v3.3'
...
lw-ip:udpv6 failed to receive data for the first time
See merge request espressif/esp-idf!10942
2020-10-23 15:25:55 +08:00
boblane
c5b23a85b8
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
...
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-10-23 06:14:24 +00:00
liqigan
35b2eeaa65
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request !9114
2020-10-22 08:33:39 +00:00
boblane
fc6f480e89
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-10-22 06:32:16 +00:00
Angus Gratton
394d0ecb65
Merge branch 'bugfix/embed_file_symbol_names_v3.3' into 'release/v3.3'
...
cmake: fix C identifier generation from embedded file (v3.3)
See merge request espressif/esp-idf!10667
2020-10-22 12:16:49 +08:00
xueyunfei
2e3dfd23e7
udpv6 failed to receive data for the first time
2020-10-22 11:40:04 +08:00
Mahavir Jain
83809a37a7
Merge branch 'bugfix/esp_idf_version_v3.3' into 'release/v3.3'
...
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files (v3.3)
See merge request espressif/esp-idf!10902
2020-10-21 20:07:54 +08:00
liqigan
d61459e692
modify read rssi related function names
...
Closes https://github.com/espressif/esp-idf/issues/5660
2020-10-20 12:31:50 +00:00
Jiang Jiang Jian
5543b6a85b
Merge branch 'bugfix/fix_some_wifi_bugs_0924_v3.3' into 'release/v3.3'
...
fix some wifi bugs 0924 (v3.3)
See merge request espressif/esp-idf!10615
2020-10-20 20:29:50 +08:00
Island
d25b00bd5e
Merge branch 'bugfix/ble_mesh_autorsp_description_v3.3' into 'release/v3.3'
...
esp_ble_mesh: api: fixed comment about autoresp (v3.3)
See merge request espressif/esp-idf!10891
2020-10-19 16:34:26 +08:00
Shubham Kulkarni
5a287c3a31
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
2020-10-19 13:23:20 +05:30
Marius Vikhammer
a1c57aa022
tools: fix path handling errors in gen_esp_err_to_name.py for Windows
...
Exclude paths that were specified with slash as a path separator were compared
as strings. This would fail on Windows which uses backslash as a path separator.
2020-10-19 14:44:33 +08:00
andreachiara
b097435596
esp_ble_mesh: api: fixed comment about autoresp
2020-10-19 11:32:52 +08:00
Armando
2a0dc304c0
spi: fix issue with closing DMA before CPU reset
2020-10-16 14:13:32 +08:00
Renz Bagaporo
b94c309fd9
cmake: fix C identifier generation from embedded file
2020-10-15 21:29:24 +08:00
Alexey Gerenkov
495ffcc899
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-10-14 19:03:06 +00:00
Island
3901f38de6
Merge branch 'optimize/ble_mesh_make_buf_config_invisible_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Make mesh buf debug option invisible (v3.3)
See merge request espressif/esp-idf!10797
2020-10-13 19:51:59 +08:00
Island
58c5b7a1bf
Merge branch 'feat/ble_mesh_device_properties_v2_v3.3' into 'release/v3.3'
...
Feat/ble mesh device properties v2 (v3.3)
See merge request espressif/esp-idf!10790
2020-10-13 19:50:17 +08:00
lly
0d92639439
ble_mesh: stack: Make mesh buf debug option invisible
2020-10-13 09:31:47 +00:00
lly
23a21f92be
ble_mesh: stack: Add mesh device properties v2 definitions
...
Also fixes wrong characteristic value length of some device
properties.
2020-10-13 09:30:16 +00:00
lly
aa329b08ce
ble_mesh: stack: Move device property to model common part
2020-10-13 09:30:16 +00:00
Island
7d8d841659
Merge branch 'bugfix/ble_mesh_proxy_cfg_replay_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh proxy cfg replay (v3.3)
See merge request espressif/esp-idf!10821
2020-10-13 17:24:11 +08:00
zhangyanjiao
a5b5467dca
esp_wifi:
...
1. Optimize some debug logs for probe response
2. Optimize phy and soc files
3. Fix the bug that no event for connect
4. Fix the bug that set_channel doesn't work for softAP
5. Drop receiving packets from myself
2020-10-13 17:22:47 +08:00
lly
18cc96d188
ble_mesh: stack: Store kr phase after value changed [Zephyr]
2020-10-13 14:32:51 +08:00
lly
3e61d519c1
ble_mesh: stack: Fix rpl not check by proxy cfg [Zephyr]
2020-10-13 14:32:36 +08:00
David Čermák
ad0b1ac8d7
Merge branch 'feature/mqtt_sub_update_01594bf1_v3.3' into 'release/v3.3'
...
MQTT: Update submodule reference (Backport v3.3)
See merge request espressif/esp-idf!10234
2020-10-13 14:13:52 +08:00
David Čermák
651dc8788f
Merge branch 'bugfix/ws_stop_deadlock_v3.3' into 'release/v3.3'
...
Websocket client: avoid deadlock if stop called from event handler (Backport v3.3)
See merge request espressif/esp-idf!10229
2020-10-13 14:12:52 +08:00
David Čermák
31d272e460
Merge branch 'bugfix/openss_strict_verify_mode_3.3' into 'release/v3.3'
...
openssl: made verification mode conversion to mbetls modes more strict (v3.3)
See merge request espressif/esp-idf!10502
2020-10-13 14:10:54 +08:00
Island
b4338b61a2
Merge branch 'bugfix/ble_mesh_node_deinit_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Persistent storage misc fixes (v3.3)
See merge request espressif/esp-idf!10815
2020-10-13 14:06:23 +08:00
Jiang Jiang Jian
5d1da96e3e
Merge branch 'bugfix/ipv6_address_get_fail_after_wifi_disconnect_for_3.3' into 'release/v3.3'
...
lw-ip:ipv6 address get fail after wifi disconnect for 3.3(backport 3.3)
See merge request espressif/esp-idf!10792
2020-10-13 12:28:46 +08:00
lly
542b6bdbc1
ble_mesh: stack: Persistent storage misc fixes
...
* Fix the issue that deinit node with "erase_flash"
set to true, but info is not erased from nvs
* Reuse bt_mesh_cfg_reset() when deinit node
* Optimize Provisioner related erase operations
* No store pending timeout will be used when Node
is not provisioned OR Provisioner is disabled
and erase operation is performed
* Change the default timeout for settings operation
to 0, and rpl store rate to 0
2020-10-13 10:55:58 +08:00
Island
733aaa4af0
Merge branch 'bugfix/ble_mesh_settings_fix_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh settings fix (v3.3)
See merge request espressif/esp-idf!10786
2020-10-13 10:50:07 +08:00
Marius Vikhammer
0b42900063
Websocket client: avoid deadlock if stop called from event handler
2020-10-12 10:15:55 +00:00
Marius Vikhammer
22ce545187
MQTT: Update submodule reference
...
SSL: add config option for skipping common name check
esp-mqtt commit: 5e8950e681 )
Closes https://github.com/espressif/esp-mqtt/issues/158
Websocket: Allow the query part of the uri to be a part of the path
esp-mqtt commit: 40b06deb10 )
Closes https://github.com/espressif/esp-mqtt/issues/161
Config: Add check for consistency between config settings
esp-mqtt commit: 8a412c147d )
Add IDF version check for secure element feature
esp-mqtt commit: db4bce01ab )
Fix esp_mqtt_client_stop deadlock
esp-mqtt commit: 5e17dcaeb2 )
Closes https://github.com/espressif/esp-mqtt/issues/163
Add dispatch error event for read errors
esp-mqtt commit: d4aaec08ff
Closes https://github.com/espressif/esp-idf/issues/5704
Cleanup expired messages when offline
esp-mqtt commit: bdadd77c6e
Closes https://github.com/espressif/esp-idf/issues/5668
esp_mqtt_client_publish now returns msg id for QoS > 0 when offline
esp-mqtt commit: f7325bfa10
2020-10-12 10:15:19 +00:00
David Cermak
4a1016411b
openssl: made verification mode conversion to mbetls modes more strict
2020-10-12 10:14:21 +00:00
xueyunfei
a9f6748de9
lw-ip:ipv6 address get fail after wifi disconnect for 3.3
2020-10-12 10:58:50 +08:00
lly
b4c3c87c75
ble_mesh: stack: Use settings_core_erase when deinit
2020-10-12 10:02:05 +08:00
lly
3940ab80a3
ble_mesh: stack: Fix storing next net_idx and app_idx
2020-10-12 10:02:05 +08:00
lly
d7c2d66d55
ble_mesh: stack: Continue restore even if failure happens
...
Previously we have used this solution for node info
restore. Here use the same solution for other mesh
information restore.
2020-10-12 10:02:05 +08:00
lly
4fc62b7983
ble_mesh: stack: Split model settings store and clear
2020-10-12 10:02:05 +08:00
lly
de15e502a7
ble_mesh: stack: Erase netkey and appkey with key index
2020-10-12 10:02:05 +08:00
lly
d51431fff5
ble_mesh: stack: Add clear hb_pub in settings
2020-10-12 10:02:05 +08:00
lly
d4651bbb30
ble_mesh: stack: Transport rx reset settings update
...
When reset the rx info of transport layer, the
rpl list will always cleared, and rpl stored
in the nvs will only be erased when erase flag
is true and BLE_MESH_SETTINGS is enabled.
Compared with the previous solution, it should
be more clear.
2020-10-12 10:02:05 +08:00
lly
e202225bd1
ble_mesh: stack: Use erase settings functions
2020-10-12 10:02:05 +08:00
lly
1a3515ab76
ble_mesh: stack: Use mutex for settings operation
...
Also expose the settings functions with the parameter
bt_mesh_nvs_handle_t, which will be used for further
updates.
2020-10-12 10:02:05 +08:00
lly
a662d14a4e
ble_mesh: stack: Add role check before enabling device
2020-10-12 10:02:05 +08:00
lly
4dcbe2bd7a
ble_mesh: stack: Define a type for mesh nvs handle
2020-10-12 10:01:47 +08:00
lly
22d01ba674
ble_mesh: ci: Enable settings in sdkconfig.ci.xxx
2020-10-12 08:49:52 +08:00
Jiang Jiang Jian
4782dde73a
Merge branch 'bugfix/fix_ble_hci_desync_deadlock_v3.3' into 'release/v3.3'
...
components/bt: Fix for HCI desync deadlock issue in BLE controller.
See merge request espressif/esp-idf!10625
2020-10-09 19:52:42 +08:00
Jiang Jiang Jian
151e4e156f
Merge branch 'bugfix/nimble_host_rcv_pkt_length_check_v3.3' into 'release/v3.3'
...
NimBLE: host_rcv_pkt event buf size check. (v3.3)
See merge request espressif/esp-idf!10761
2020-10-09 15:19:47 +08:00
Chinmay Chhajed
1aa40de934
NimBLE: host_rcv_pkt event buf size check.
...
Check if the size of HCI event buffer is greater than the received HCI
packet. If not then abort with the error message.
2020-10-09 09:32:37 +05:30
Angus Gratton
471d79edae
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci_v3.3' into 'release/v3.3'
...
CI: get git describe from annotated tags (v3.3)
See merge request espressif/esp-idf!10676
2020-10-08 16:44:49 +08:00
Mahavir Jain
1ffeff5948
Merge branch 'bugfix/bootloader_anti_rollback_mmap_v3.3' into 'release/v3.3'
...
bootloader_support: fix issue in memory mapping for getting app descriptor (v3.3)
See merge request espressif/esp-idf!10737
2020-10-08 16:31:35 +08:00
Angus Gratton
0f6b7ad3cf
Merge branch 'bugfix/bootloader_common_get_sha256_of_partition_v3.3' into 'release/v3.3'
...
bootloader_support: Fix bootloader_common_get_sha256_of_partition(), can handle a long image (v3.3)
See merge request espressif/esp-idf!9955
2020-10-08 13:11:46 +08:00
Angus Gratton
111e0361c9
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:53:45 +11:00
Angus Gratton
6c2bffe53c
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 13:53:45 +11:00
Mahavir Jain
0167a5e96d
bootloader_support: fix issue in memory mapping for getting app descriptor
...
For getting secure_version field in anti rollback case, bootloader tries
to map whole firmware partition but fails for cases where partition size
is beyond available MMU free pages capacity.
Fix here ensures to map only required length upto application descriptor
size in firmware partition.
Closes https://github.com/espressif/esp-idf/issues/5911
2020-10-06 14:43:12 +05:30
Michael (XIAO Xufeng)
021e1189c5
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp3.3' into 'release/v3.3'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v3.3)
See merge request espressif/esp-idf!9550
2020-10-02 14:20:12 +08:00
He Yin Ling
936c803ccb
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:34:28 +08:00
xutao
85d63af301
tcp_transport: fix an issue when use
2020-09-30 11:34:00 +08:00
Chinmay Chhajed
02893a2038
components/bt: Fix for HCI desync deadlock issue in BLE controller.
2020-09-29 21:35:15 +05:30
Jiang Jiang Jian
cd86bc9d8d
Merge branch 'bugfix/confirmed_bugfix_from_baidu_proj_3.3' into 'release/v3.3'
...
Confirmed bugfix from Baidu Project 3.3
See merge request espressif/esp-idf!10548
2020-09-29 20:48:50 +08:00
Jiang Jiang Jian
9401c59f89
Merge branch 'bugfix/customer_baidu_int_wdt_v3.3' into 'release/v3.3'
...
backport v3.3: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9217
2020-09-29 14:04:00 +08:00
baohongde
67edd0c10e
components/bt: Replace task post with btc_inter_profile_call, when post message from btc_dm to btc_gap
2020-09-28 19:36:23 +08:00
baohongde
abf6cecde1
components/bt: Fix clear bond fail when connected without ble included
2020-09-28 16:21:25 +08:00
xiongweichao
67276f5d26
add remove bond device complete event
2020-09-28 16:14:52 +08:00
xiongweichao
3c0aee8595
1.revert dummy command
...
2.fix send MEDIA_CTRL command in disconnect
2020-09-28 12:00:28 +08:00
xiongweichao
2233b5d25e
1.fix test case dummy
...
2.fix sink send media control ESP_A2D_MEDIA_CHECK_SRC_RDY
2020-09-28 11:55:46 +08:00
Jiang Jiang Jian
a55f0ebbd5
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v3.3' into 'release/v3.3'
...
wifi: Fix spin lock allocation in PSRAM bug(v3.3)
See merge request espressif/esp-idf!10550
2020-09-27 12:49:32 +08:00
Jiang Jiang Jian
e49a6b95ed
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_v3.3' into 'release/v3.3'
...
lw-ip: fix IPv6 ND6 queue too much pkts cause no mem issue(backport v3.3)
See merge request espressif/esp-idf!10177
2020-09-27 12:47:30 +08:00
Jiang Jiang Jian
4a037fa911
Merge branch 'bugfix/can_mmap_after_get_enough_free_mmu_pages_v3.3' into 'release/v3.3'
...
flash_mmap: can mmap after get enough free MMU pages (backport v3.3)
See merge request espressif/esp-idf!10587
2020-09-27 12:46:42 +08:00
Island
0b792c44eb
Merge branch 'optimize/ble_mesh_provisioner_delete_dev_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Optimize Provisioner delete device function (v3.3)
See merge request espressif/esp-idf!10606
2020-09-27 10:53:19 +08:00
lly
81354cf24f
ble_mesh: stack: Optimize Provisioner delete device function
...
Since we have provided separate functions for deleting node
information with node's unicast address, device uuid, etc.
So we update the behavior of this function, which will only
be used to delete device information which is not provisioned
or just under provisioning.
2020-09-25 14:04:58 +08:00
Angus Gratton
fcadbaf97c
Merge branch 'update/release_v3.3.4' into 'release/v3.3'
...
v3.3: Update to v3.3.4
See merge request espressif/esp-idf!10520
2020-09-25 10:21:30 +08:00
ChenJianxing
186ad2f6aa
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-09-24 10:43:23 +08:00
jiangguangming
4f3ddbb299
flash_mmap: restore interrupt and cache before err return
2020-09-24 10:06:18 +08:00
jiangguangming
9debc7248a
flash_mmap: can mmap after get enough free MMU pages
2020-09-24 10:06:18 +08:00
Jiang Jiang Jian
fb18b12efe
Merge branch 'bugfix/bt_linkup_fallback_event_v3.3' into 'release/v3.3'
...
Bluedroid: Fixes cases having fallback to link up event. (v3.3)
See merge request espressif/esp-idf!9805
2020-09-22 16:44:07 +08:00
Jiang Jiang Jian
251676181a
Merge branch 'bugfix/backport_some_lwip_bugs_0910_v3.3' into 'release/v3.3'
...
lw-ip:backport bugfix lw-ip for v3.3
See merge request espressif/esp-idf!10409
2020-09-22 14:18:30 +08:00
dongyou
e12593a79f
Fix spin lock allocation in PSRAM bug
2020-09-22 14:11:25 +08:00
weitianhua
7f9a4d25ef
Confirmed bugfix from Baidu Project
2020-09-22 11:57:00 +08:00
Michael (XIAO Xufeng)
4afc8facde
Merge branch 'fixbug/sdmmc_spi_highspeed_v3.3' into 'release/v3.3'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v3.3)
See merge request espressif/esp-idf!9838
2020-09-21 11:10:09 +08:00
Angus Gratton
c73a00e073
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition_v33' into 'release/v3.3'
...
Bugfix/espcoredump fix error reported for blank partition (backport v3.3)
See merge request espressif/esp-idf!9625
2020-09-21 10:45:05 +08:00
Michael (XIAO Xufeng)
f2f13eb8e8
Merge branch 'bugfix/spi_master_multiple_dev_with_diff_cs_lvl_3.3' into 'release/v3.3'
...
spi_master: correctly set cs polarity (3.3)
See merge request espressif/esp-idf!10406
2020-09-21 10:21:22 +08:00
aleks
c9f4b0aba8
espcoredump: fix error reported for blank partition
2020-09-21 01:29:24 +00:00
Ivan Grokhotkov
6e284ea84b
Merge branch 'bugfix/parttool_example_test_fail_v3.3' into 'release/v3.3'
...
examples/parttool: fix the test to work on parallel test runner (backport v3.3)
See merge request espressif/esp-idf!10376
2020-09-18 23:30:58 +08:00
Angus Gratton
34961db9c1
Merge branch 'release/v3.3' into update/release_v3.3.4
2020-09-18 19:44:26 +10:00
Angus Gratton
b64b375234
version: Update to v3.3.4
2020-09-18 19:42:21 +10:00
xueyunfei
315cbe05cf
backport bugfix lwip for v3.3
2020-09-18 02:28:13 +00:00
Island
f54f776905
Merge branch 'bugfix/ble_mesh_check_stack_init_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Check if mesh stack initialized before init vendor client (v3.3)
See merge request espressif/esp-idf!10484
2020-09-18 09:40:14 +08:00
Michael (XIAO Xufeng)
c7a9851de0
Merge branch 'bugfix/fix_bugs_in_gpio_unit_test_v3.3' into 'release/v3.3'
...
bugfix(ut): fix gpio output and input mode test(backport v3.3)
See merge request espressif/esp-idf!10023
2020-09-18 02:17:42 +08:00
lly
1f32a8d95e
ble_mesh: stack: Check if mesh stack initialized before init vendor client
2020-09-17 11:28:02 +08:00
Ivan Grokhotkov
c3e8fb73c7
Merge branch 'bugfix/missing_regex_error_stub' into 'release/v3.3'
...
Add missing regex_error stub
See merge request espressif/esp-idf!8852
2020-09-16 04:50:54 +08:00
Ivan Grokhotkov
9dda741a99
Merge branch 'bugfix/nvs_no_throw_v3.3' into 'release/v3.3'
...
NVS: Changed all new to new (nothrow) (backport v3.3)
See merge request espressif/esp-idf!7858
2020-09-16 02:49:09 +08:00
Jakob Hasse
5d45705ca1
NVS Flash: prevent erasing initialized partition
...
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
* nvs_flash_erase_partition() checks whether
the parition in question is initialized
already and will return an error if so
* reflect changes in the documentation
2020-09-15 18:45:42 +00:00
Jakob Hasse
a7e1c144e2
Add missing regex_error stub
...
Closes IDFGH-3153
* avoids linker error
2020-09-15 18:20:09 +00:00
Angus Gratton
8a79415c2e
Merge branch 'bugfix/ulp_as_version_v3.3' into 'release/v3.3'
...
ulp: fix ULP assembler version detection for localized systems (v3.3)
See merge request espressif/esp-idf!10396
2020-09-15 15:09:30 +08:00
Angus Gratton
1d8bf5356b
Merge branch 'bugfix/eclipse_make_py3_v3.3' into 'release/v3.3'
...
tools: Fix Python 3 incompatibility for building with Eclipse on Windows (v3.3)
See merge request espressif/esp-idf!10401
2020-09-15 15:06:54 +08:00
Angus Gratton
d7ea1b0a08
Merge branch 'bugfix/ut_ext_win_open_file_v3.3' into 'release/v3.3'
...
Tools: Close temporary file before invoking external tools accessing it (v3.3)
See merge request espressif/esp-idf!9858
2020-09-15 14:27:34 +08:00
Ivan Grokhotkov
65d829826e
Merge branch 'feature/ci_fix_docker_build_v3.3' into 'release/v3.3'
...
ci: Use git mirror for docker image (v3.3)
See merge request espressif/esp-idf!10448
2020-09-15 01:47:56 +08:00
Wielebny666
bca1beb3f0
spi_master: correctly set cs polarity
...
All devices must be added to the same spi line before use.
2020-09-14 11:58:10 +00:00
Sergei Silnov
4f11ecebbc
ci: Use git mirror for docker image
2020-09-14 13:11:44 +02:00
Island
64adabfd3a
Merge branch 'bugfix/ble_mesh_prov_iv_index_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Using the latest iv_index for provisioning (v3.3)
See merge request espressif/esp-idf!10419
2020-09-14 14:17:53 +08:00
Michael (XIAO Xufeng)
cbcb218418
Merge branch 'bugfix/fix_i2s_reset_issue_v3.3' into 'release/v3.3'
...
driver(I2S): Fix I2S reset issue for release/v3.3
See merge request espressif/esp-idf!9586
2020-09-14 10:45:50 +08:00
Jiang Jiang Jian
cec88e11ed
Merge branch 'component/seperate_bta_jv_l2c_3.3' into 'release/v3.3'
...
Component/seperate bta jv l2c 3.3
See merge request espressif/esp-idf!9651
2020-09-11 19:38:36 +08:00
lly
34f30a878e
ble_mesh: stack: Using the latest iv_index for provisioning
...
Provisioner should always uses the latest IV Index for provisioning.
For example, if the current IV Index is 0x00000001, but prov->iv_index
is still initialized with 0x00000000, and if Provisioner uses prov->
iv_index for provisioning, this will cause the Provisioner failing to
control the node.
So here bt_mesh.iv_index is used instead of prov->iv_index.
2020-09-11 07:58:20 +00:00
Jiang Jiang Jian
908938bc3c
Merge branch 'bugfix/fix_some_wifi_bugs_0907_v3.3' into 'release/v3.3'
...
bugfix: fix some wifi bugs (backport v3.3)
See merge request espressif/esp-idf!10318
2020-09-10 22:33:18 +08:00
Roland Dobai
518e1da637
tools: Fix Python 3 incompatibility for building with Eclipse on Windows
2020-09-10 09:47:29 +02:00
Roland Dobai
cccdd13937
ulp: fix ULP assembler version detection for localized systems
2020-09-10 09:36:22 +02:00
Island
6c5fc42114
Merge branch 'feat/ble_mesh_use_model_c_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Use model callback for operations [Zephyr] (v3.3)
See merge request espressif/esp-idf!10365
2020-09-10 10:40:19 +08:00
Island
7514850962
Merge branch 'bugfix/ble_mesh_remove_assert_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Avoid using assert in mesh stack (v3.3)
See merge request espressif/esp-idf!10361
2020-09-10 10:39:21 +08:00
Island
fa24dd7f6d
Merge branch 'bugfix/ble_mesh_nimble_ccc_handle_v3.3' into 'release/v3.3'
...
ble_mesh: nimble: Fix updating ccc handle with wrong value (v3.3)
See merge request espressif/esp-idf!10357
2020-09-10 10:38:31 +08:00
Ivan Grokhotkov
e1fd76a11f
examples/parttool: fix the test to work on parallel test runner
...
Pass the DUT port to parttool_example.py as an argument.
2020-09-09 18:40:53 +02:00
lly
9b70ddbb77
ble_mesh: stack: Use model callback for operations [Zephyr]
...
- Previously when a model is initialized or deinitialized, in the
access layer, we need to check the model id with the ids in the
table in order to find the proper model operation function.
- Currently all the operation functions of each model will be set
during the mesh initialization. When the model is found, we can
directly use the corresponding callback for different operations.
- Currently only init/deinit operations are registered, later we
will add more operations.
2020-09-09 14:01:17 +08:00
lly
1090c12acd
ble_mesh: stack: Avoid using assert in mesh stack
2020-09-09 10:58:18 +08:00
lly
d79e95e6e0
ble_mesh: nimble: Fix updating ccc handle with wrong value
2020-09-09 10:50:40 +08:00
Michael (XIAO Xufeng)
a3ef2bbe33
Merge branch 'feature/vfs_uart_set_line_ending_v3.3' into 'release/v3.3'
...
feature: support vfs uart set line endings with specified uart number release/v3.3
See merge request espressif/esp-idf!9595
2020-09-09 10:36:59 +08:00
ronghulin
a571bc0d0a
bugfix: fix some wifi bugs
...
1. add sta connect again ap sent disconnect event
2. add set/get inactive time api
3. fix connect hidden AP doesn't update information
4. add rf test long short support
2020-09-08 14:18:00 +08:00
He Yin Ling
3b79b6b5da
Merge branch 'bugfix/remove_auto_conn_case_v3.3' into 'release/v3.3'
...
test: remove auto conn case because we do not support this anymore (v3.3)
See merge request espressif/esp-idf!9943
2020-09-07 20:45:52 +08:00
Michael (XIAO Xufeng)
7e6572a34d
Merge branch 'bugfix/spi_flash_yield_coredump_v3.3' into 'release/v3.3'
...
spi_flash: don't call vTaskDelay in non-os context (backport v3.3)
See merge request espressif/esp-idf!10300
2020-09-07 13:26:56 +08:00
Ivan Grokhotkov
93ad53c09d
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-09-04 21:30:01 +02:00
Krzysztof Budzynski
10d40d1448
Merge branch 'bugfix/macos_toolchain_url_v3.3' into 'release/v3.3'
...
docs: Fix toolchain URL generation for macos (v3.3)
See merge request espressif/esp-idf!10028
2020-09-04 23:08:01 +08:00
Krzysztof Budzynski
0af1da4416
Merge branch 'doc/broken_readme_links_v3.3' into 'release/v3.3'
...
Docs: Fix broken README links (v3.3)
See merge request espressif/esp-idf!9504
2020-09-04 23:05:57 +08:00
Island
77e3b100eb
Merge branch 'bugfix/ble_mesh_sensor_example_fix_v3.3' into 'release/v3.3'
...
ble_mesh: example: Fix sensor data wrong iteration (v3.3)
See merge request espressif/esp-idf!10276
2020-09-04 16:55:14 +08:00
lly
073542063c
ble_mesh: example: Fix sensor data wrong iteration
2020-09-04 11:57:08 +08:00
Mahavir Jain
b5ac1871de
Merge branch 'feature/upgrade_mbedtls_to_v3.3' into 'release/v3.3'
...
mbedtls: update to mbedtls release v2.16.7 (v3.3)
See merge request espressif/esp-idf!9909
2020-09-03 18:59:16 +08:00
Mahavir Jain
2ad0565e3a
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-09-03 05:10:30 +00:00
Michael (XIAO Xufeng)
ad75a51f43
Merge branch 'ci/test_spi_speed_psram_enabled_3.3' into 'release/v3.3'
...
driver test: disable the spi master performance test when psram is used (v3.3)
See merge request espressif/esp-idf!9639
2020-09-02 08:53:04 +08:00
Michael (XIAO Xufeng)
6552aef2e7
driver test: disable the spi master performance test when psram is used
2020-09-01 16:41:59 +00:00
Island
468c30843c
Merge branch 'bugfix/ble_mesh_example_compile_warn_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh example compile warn (v3.3)
See merge request espressif/esp-idf!10225
2020-09-01 19:16:23 +08:00
lly
f8bf6b1f91
ble_mesh: example: Remove some useless included header files
2020-09-01 14:14:13 +08:00
Carlos Sobrinho
5725cb9342
Fix compilation warnings about portmacro being already define.
2020-09-01 14:13:42 +08:00
Jiang Jiang Jian
b2b47b4465
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v3.3' into 'release/v3.3'
...
fix some wifi bugs 0703 (v3.3)
See merge request espressif/esp-idf!9537
2020-09-01 11:34:29 +08:00
Jiang Jiang Jian
ad2a05a391
Merge branch 'doc/add_UUID_description_in_gattc_demo_backport_v3.3' into 'release/v3.3'
...
docs:add 128-bit UUID description backport v3.3
See merge request espressif/esp-idf!9226
2020-09-01 11:01:06 +08:00
Jiang Jiang Jian
fee489e770
Merge branch 'bugfix/fix_build_err_in_cpp_backport_v3.3' into 'release/v3.3'
...
ble_hid_device_demo: fix build if building with c++ backport v3.3
See merge request espressif/esp-idf!9234
2020-09-01 11:00:21 +08:00
Island
173c76cb04
Merge branch 'bugfix/ble_mesh_client_msg_optimize_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh client msg optimize (v3.3)
See merge request espressif/esp-idf!10207
2020-09-01 09:33:39 +08:00
Jiang Jiang Jian
c30a264d21
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v3.3' into 'release/v3.3'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v3.3)
See merge request espressif/esp-idf!10109
2020-08-31 19:23:26 +08:00
lly
31060cf42b
ble_mesh: stack: Client model related code clean
2020-08-31 13:18:53 +08:00
lly
8a19d03a1c
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-31 13:18:48 +08:00
lly
d5e9fc092c
ble_mesh: stack: Check client msg result in common func
2020-08-31 13:18:42 +08:00
lly
8ae06fde5f
ble_mesh: stack: Fix no events for some error conditions
2020-08-31 13:18:37 +08:00
lly
90e2bbe330
ble_mesh: stack: Move client role set to the msg function
2020-08-31 13:18:31 +08:00
lly
9aa33c344a
ble_mesh: stack: Remove some not used client parameters
2020-08-31 13:18:25 +08:00
lly
7cb6b85ec9
ble_mesh: stack: Remove some not used variables & functions
2020-08-31 13:18:18 +08:00
lly
f11e347e2e
ble_mesh: stack: Update client model msg send
2020-08-31 13:18:11 +08:00
Mahavir Jain
ba47806b8d
Merge branch 'bugfix/http_client_read_v3.3' into 'release/v3.3'
...
Fix error handling in esp_http_client_read and esp_https_ota_perform (v3.3)
See merge request espressif/esp-idf!9205
2020-08-31 13:04:10 +08:00
Mahavir Jain
cfcc189a89
Merge branch 'bugfix/softap_prov_session_v3.3' into 'release/v3.3'
...
protocomm_httpd: Restart security session if request is received on a new session (v3.3)
See merge request espressif/esp-idf!9118
2020-08-31 13:01:12 +08:00
Island
41debcfbd2
Merge branch 'bugfix/ble_mesh_health_current_status_recv_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Fix recv health current status incorrectly (v3.3)
See merge request espressif/esp-idf!10196
2020-08-31 11:15:13 +08:00
lly
726c74ff39
ble_mesh: stack: Fix recv health current status incorrectly
2020-08-28 17:40:59 +08:00
Island
6a2652c685
Merge branch 'bugfix/ble_mesh_misc_updates_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh misc updates (v3.3)
See merge request espressif/esp-idf!10187
2020-08-28 17:32:10 +08:00
lly
c7cb56b507
ble_mesh: ci: Enable friend & low power in build check
2020-08-28 10:51:30 +08:00
lly
ff1132d2e4
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-08-28 10:51:17 +08:00
lly
6ea6de8d42
ble_mesh: stack: Make proxy server & client functions clear
2020-08-28 10:51:02 +08:00
Island
7e26c8ddda
Merge branch 'bugfix/ble_mesh_add_misc_check_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh add misc check (v3.3)
See merge request espressif/esp-idf!9633
2020-08-28 10:43:55 +08:00
Angus Gratton
f043a3da97
Merge branch 'update/release_v3.3.3' into 'release/v3.3'
...
version: Update to v3.3.3
See merge request espressif/esp-idf!10180
2020-08-27 19:38:21 +08:00
lly
f6cc9afaa9
ble_mesh: stack: Add proxy cfg pdu length check
2020-08-27 11:20:50 +00:00
lly
55489bb41a
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-08-27 11:20:50 +00:00
lly
43ffec0bd7
ble_mesh: example: Add result check during mesh init
2020-08-27 11:20:50 +00:00
lly
c1c4990f75
ble_mesh: stack: Add more checks about input prov bearers
2020-08-27 11:20:50 +00:00
Island
72f029abc3
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc_v3.3' into 'release/v3.3'
...
Feat/ble mesh use diff ram for mem alloc (v3.3)
See merge request espressif/esp-idf!9619
2020-08-27 19:19:23 +08:00
Island
c902b1fa24
Merge branch 'bugfix/ble_mesh_update_send_ttl_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh update send ttl v3.3
See merge request espressif/esp-idf!9564
2020-08-27 19:19:01 +08:00
Angus Gratton
95c7b26cdd
version: Update to v3.3.3
2020-08-27 18:21:03 +10:00
Angus Gratton
78003e9437
docs: Fix toolchain URL generation for macos
...
Didn't backport the new URL scheme when we updated the toolchain version.
Have put a link on the server so in this case the "osx" toolchain URL remains
valid.
Closes https://github.com/espressif/esp-idf/issues/5720
2020-08-27 14:10:35 +10:00
lly
2a6b0d68ce
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-08-26 08:24:55 +00:00
lly
da068a639f
ble_mesh: stack: Use macros for adv task name & prio
2020-08-26 08:24:55 +00:00
lly
df8b2c5f3a
ble_mesh: stack: Make freertos static allocation visible
2020-08-26 08:24:55 +00:00
lly
a194c415a8
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-08-26 08:24:55 +00:00
weitianhua
33546a0094
Fix tsk watchdog when running spp vfs demo
2020-08-26 15:33:48 +08:00
weitianhua
8fb47ab0c2
Seperate BTA_JV_L2CAP for less bin size
2020-08-26 15:33:48 +08:00
zhangyanjiao
09113e163b
esp wifi bugfix:
...
1. Fix TX DMA buffer issue
2. API esp_wifi_get_config add acquisition sta.listen_interval
3. Configure bandwidth and phy mode to store NVS
4. If AP's tsf has been restarted, STA will disconnect from AP.
5. Do not reset softAP's tsf except it restart
6. Fix the wifi regdomain update bug
7. Fix the bug for airkiss find hidden AP fail
8. Fix addba and first ampdu send bar
9. Fix WiFi fragment issue
10. Fix WiFi fragment issue
2020-08-26 14:43:53 +08:00
zhangyanjiao
85ca89ee4a
esp_wifi: Add API to get available internal heap size
2020-08-26 14:43:35 +08:00
dongyou
9825d0004f
Add IRAM_ATTR wifi_bt_common_module_enable/disable()
...
Deleted duplicated spinlock and counter.
2020-08-24 14:00:22 +08:00
houwenxiang
c7f33524b4
driver(I2S): Fix I2S reset issue for release/v3.3
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-08-24 01:25:39 +00:00
Chen Yi Qun
c2ead692aa
bugfix(ut): fix gpio output and input mode test(backport v3.3)
2020-08-20 06:25:40 +00:00
Sergei Silnov
01a2ab9329
Remove mention of idf.py defconfig
...
Closes https://github.com/espressif/esp-idf/issues/5075
2020-08-18 16:07:46 +02:00
houwenxiang
a293dfea7a
feature: support vfs uart set line endings with specified uart number release/v3.3
2020-08-14 14:35:44 +08:00
Angus Gratton
9ff108dcd0
Merge branch 'fix/prov_ble_read_offset_v3.3' into 'release/v3.3'
...
BLE provisioning: Add check for valid ble read offset (v3.3)
See merge request espressif/esp-idf!9747
2020-08-13 16:29:02 +08:00
Michael (XIAO Xufeng)
0a75f2d5f8
Merge branch 'bugfix/fix_adc_dac_conflict_backportv3.3' into 'release/v3.3'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v3.3)
See merge request espressif/esp-idf!9364
2020-08-13 09:51:25 +08:00
Prasad Alatkar
fbdcfc8e4a
BLE provisioning: Add check for valid ble read offset
2020-08-12 08:46:01 +00:00
Jiang Jiang Jian
22e3c00b48
Merge branch 'bugfix/fix_udp_tx_performance_issue_v3.3' into 'release/v3.3'
...
lw-ip: fix udp tx packet loss issue (backport v3.3)
See merge request espressif/esp-idf!10007
2020-08-12 16:16:47 +08:00
xiehang
7952bed766
lwip: fix udp tx packet loss issue
2020-08-12 10:38:42 +08:00
Li Shuai
ab63b48f6f
add soft solution for esp32 eco3 live lock issue
2020-08-12 02:16:53 +00:00
Jiang Jiang Jian
8ab3cb0b12
Merge branch 'bugfix/fix_IPv6_memory_leak_issue' into 'release/v3.3'
...
lw-ip: fix IPv6 memory leak issue
See merge request espressif/esp-idf!9933
2020-08-11 22:09:50 +08:00
ronghulin
cb78c1083f
bugfix: fix IPv6 memory leak issue
2020-08-11 14:19:06 +08:00
Jiang Jiang Jian
7e1c529b00
Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v3.3' into 'release/v3.3'
...
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0)
See merge request espressif/esp-idf!9484
2020-08-11 14:11:03 +08:00
Jiang Jiang Jian
f538307629
Merge branch 'bugfix/ipv6_fragment_for_3.3' into 'release/v3.3'
...
lw-ip:fix bug for ipv6 fragment(backport 3.3)
See merge request espressif/esp-idf!9655
2020-08-11 14:09:11 +08:00
xueyunfei
68ecc44d34
fix bug for ipv6 fragment
2020-08-11 09:45:02 +08:00
Jiang Jiang Jian
b244afc208
Merge branch 'feature/make_tcp_rto_configurable_v3.3' into 'release/v3.3'
...
make TCP rto time configurable (backport v3.3)
See merge request espressif/esp-idf!9610
2020-08-10 21:17:45 +08:00
Wang Cheng
bfaa14bfdd
component/bt: Fix buffer count deinit crash.
2020-08-10 11:43:54 +08:00
wangcheng
12d476427f
components/bt: Add api to query the number of available buffers for the current connection
2020-08-10 11:43:54 +08:00
baohongde
debda4a63f
Fix ble disconnect due to instant of channel map update is too small
...
Set AFH in time
Fix ble connecting fail in coexist
2020-08-10 11:43:54 +08:00
baohongde
b76f5b2ef2
Coexistence: Add coexist API to enable BLE connection dynamic priority
2020-08-10 11:43:54 +08:00
wangcheng
d674016d64
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-08-10 11:43:17 +08:00
KonstantinKondrashov
9ce137139b
bootloader: Adds bootloader_sha256_flash_contents()
2020-08-07 23:10:29 +08:00
Piyush Shah
52c089fba7
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-08-06 18:25:53 +00:00
KonstantinKondrashov
035783039b
bootloader_support: Fix bootloader_common_get_sha256_of_partition, can handle a long image
...
Closes: IDFGH-3594
2020-08-05 23:21:52 +08:00
Hou Chen Yao
2e89f963d7
remove auto conn case because we do not support this anymore
2020-08-05 18:04:34 +08:00
Li Shuai
b1990352bb
added psram stack check in backtrace
2020-08-04 05:46:45 +00:00
He Yin Ling
aa6730f0e2
Merge branch 'bugfix/checkout_ref_auto_test_script' into 'release/v3.3'
...
CI: IT jobs use incorrect auto test script branch
See merge request espressif/esp-idf!9867
2020-07-31 17:45:04 +08:00
Jiang Jiang Jian
593ca2255c
Merge branch 'mesh/bugfix_set_type_v3.3' into 'release/v3.3'
...
Mesh/bugfix (backport v3.3)
See merge request espressif/esp-idf!9179
2020-07-30 21:17:11 +08:00
Chen Yudong
dc5eeb8e4b
ci: fix auto test script uses incorrect branch
2020-07-30 20:55:37 +08:00
Roland Dobai
62fea80a01
Tools: Close temporary file before invoking external tools accessing it
2020-07-29 20:24:30 +02:00
Jiang Jiang Jian
44791067ec
Merge branch 'nimble/nrpa_support_v3.3' into 'release/v3.3'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v3.3)
See merge request espressif/esp-idf!9735
2020-07-29 16:35:25 +08:00
Michael (XIAO Xufeng)
55bb42dc63
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-07-28 19:09:38 +08:00
Wielebny666
fc8ba15b33
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-28 03:44:36 +00:00
Chinmay Chhajed
6bbb75f219
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-07-27 14:08:03 +05:30
Angus Gratton
4f5577446b
Merge branch 'bugfix/rs485_test_temp_disable_v33' into 'release/v3.3'
...
Bugfix/rs485 test temp disable v33 (backport v3.3)
See merge request espressif/esp-idf!9521
2020-07-24 11:14:57 +08:00
Prasad Alatkar
7aab15f33d
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v3.3)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-23 11:28:42 +05:30
aleks
b64f4bced8
ci: temporarily disable RS485 related tests
2020-07-22 08:46:57 +00:00
Angus Gratton
bf02206096
Merge branch 'ci/workaround_multiple_ci_failures_v3.3' into 'release/v3.3'
...
CI: workaround multiple ci failures (v3.3)
See merge request espressif/esp-idf!9687
2020-07-22 11:54:45 +08:00
yuanjm
e5066c9969
feat(lwip): make LWIP TCP rto time configurable
2020-07-20 07:58:06 +00:00
Angus Gratton
07942e3991
Merge branch 'bugfix/cmake_bugfixes_v3.3' into 'release/v3.3'
...
CMake-related bugfixes (v3.3)
See merge request espressif/esp-idf!8069
2020-07-20 08:43:52 +08:00
Angus Gratton
62a187b55b
Merge branch 'feature/msys2_toolchain_v3.3' into 'release/v3.3'
...
windows: Update the prebuilt MSYS2 environment to use new toolchain
See merge request espressif/esp-idf!9624
2020-07-20 08:23:08 +08:00
He Yin Ling
858e12a040
CI: do not run cases likely to fail
2020-07-19 15:30:15 +08:00
He Yin Ling
bfb7757feb
CI: disable cases with test env SSC_T5_1
2020-07-19 15:26:29 +08:00
He Yin Ling
de82bd5d19
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 15:24:55 +08:00
He Yin Ling
9a205c654d
CI: remove incorrect MTU related cases
2020-07-19 15:23:21 +08:00
Angus Gratton
ff2fef7e91
windows: Update the prebuilt MSYS2 environment to use then new toolchain
...
No other changes in the environment contents.
2020-07-15 12:04:09 +10:00
chenyudong
83fdac780c
mesh/ci: fix MESH_EST_0216
2020-07-10 17:57:36 +08:00
chenyudong
7c95474f6c
mesh: backport some bugfixes
...
1. If the root is specified (FIXED-ROOT) by set type or set parent, change ie.mesh_type to MESH_ROOT before connect to router.
2. Release esp_mesh_recv_toDS when the root becomes non-root.
3. esp_mesh_set_type now supports MESH_IDLE and MESH_STA.
4. Fix ie.rc_rssi is not updated during scan and vote.
5. Fix ie.mesh_type do not match ie.layer caused by parent switch.
6. Fix during root switch, the original root doesn't disconnect from the router after it receives the switch request from the new voted root. (root switch happens by invoking esp_mesh_waive_root).
7. Fix the routing announce timer is not stopped immediately in a new root if the new root is transformed from non-root.
8. Choose the candidate with less ie.assoc when doing parent switch.
2020-07-10 17:57:34 +08:00
lly
28c0673376
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:15:56 +08:00
lly
9eb66d49e4
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-10 09:15:49 +08:00
Shubham Kulkarni
b45e2699b2
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-07-08 10:02:07 +05:30
Shubham Kulkarni
e84ad136b9
esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read
...
Closes https://github.com/espressif/esp-idf/issues/4960
2020-07-08 10:00:48 +05:30
Shubham Kulkarni
22926742be
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-07-08 10:00:48 +05:30
Angus Gratton
a4fe300cc9
Merge branch 'bugfix/bootloader_efuse_clock_freq_v3.3' into 'release/v3.3'
...
bootloader: Fix regression burning efuses late in boot process
See merge request espressif/esp-idf!9489
2020-07-08 10:29:01 +08:00
Marius Vikhammer
a3ef357b8d
Docs: fix broken example README links
2020-07-07 18:22:55 +08:00
Angus Gratton
9d6c3632e8
bootloader: Fix regression burning efuses late in boot process
...
APB clock get functions not included in iram_loader_seg, meaning
could be overwritten by app depending on app IRAM size and linker
layout.
Regression in dd5190868a
Closes https://github.com/espressif/esp-idf/issues/5456
2020-07-06 16:42:46 +10:00
Jiang Jiang Jian
4891fcea78
Merge branch 'bugfix/beacon_security_downgrade_v3.3' into 'release/v3.3'
...
Avoid parsing RSN/WPA IE's after connection (Backport v3.3)
See merge request espressif/esp-idf!9268
2020-07-03 14:32:04 +08:00
Island
bfb3690821
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh fast prov misc update (v3.3)
See merge request espressif/esp-idf!9464
2020-07-03 11:13:39 +08:00
lly
8753fb359a
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:54:59 +08:00
lly
bbf4ce8d18
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:54:51 +08:00
Island
be526abc13
Merge branch 'bugfix/ble_mesh_split_tinycrypt_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh split tinycrypt (v3.3)
See merge request espressif/esp-idf!9373
2020-07-02 22:45:50 +08:00
Nachiket Kukade
2edc576419
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-02 04:06:35 +00:00
lly
d76a3a8372
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:38:18 +00:00
lly
e36105156c
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:38:18 +00:00
lly
9060de827f
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:38:18 +00:00
lly
8887bd5f3c
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:38:18 +00:00
lly
0940f5b2c3
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-07-02 03:38:18 +00:00
lly
d690e52993
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:38:18 +00:00
lly
12b9f59559
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-07-02 03:38:18 +00:00
Island
d7353cd2ea
Merge branch 'bugfix/ble_mesh_readme_fix_v3.3' into 'release/v3.3'
...
ble_mesh: example: Fix example README & tutorial link error (v3.3)
See merge request espressif/esp-idf!9437
2020-07-02 11:29:54 +08:00
Island
742f40a211
Merge branch 'bugfix/ble_mesh_compile_error_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh compile error (v3.3)
See merge request espressif/esp-idf!9433
2020-07-02 11:29:15 +08:00
lly
144ae4a7fd
ble_mesh: example: Fix example README & tutorial link error
2020-07-01 14:40:42 +08:00
fuzhibo
44887f5fde
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-07-01 06:16:35 +00:00
lly
7a939c148c
ble_mesh: ci: Add different proxy configurations
2020-07-01 12:36:08 +08:00
lly
f835011e2f
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-07-01 12:32:04 +08:00
Island
021e23ebf7
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v3.3' into 'release/v3.3'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v3.3)
See merge request espressif/esp-idf!9398
2020-07-01 11:17:08 +08:00
Island
31b52a5c05
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh set recv rssi (v3.3)
See merge request espressif/esp-idf!9392
2020-07-01 11:15:48 +08:00
wangcheng
095098da0f
components/bt:Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-30 15:56:49 +08:00
wangcheng
58feea1a0e
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-30 15:56:17 +08:00
Jiang Jiang Jian
46bc9e5dc4
Merge branch 'feature/bt_secure_conn_downgrade_check_v3.3' into 'release/v3.3'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9332
2020-06-30 15:12:21 +08:00
lly
9f6375db50
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-06-30 09:23:28 +08:00
lly
96865524c7
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883 ,
copy the recv_rssi for other mesh messages.
2020-06-30 09:06:42 +08:00
mbroek
86cad8b825
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-30 09:06:31 +08:00
Mahavir Jain
d6a63531ce
Merge branch 'bugfix/http_server_lru_v3.3' into 'release/v3.3'
...
esp_http_server: Update LRU counter on accepting a new connection (v3.3)
See merge request espressif/esp-idf!9353
2020-06-29 12:57:43 +08:00
Island
370bb55f42
Merge branch 'bugfix/ble_mesh_get_node_with_name_v3.3' into 'release/v3.3'
...
ble_mesh: Get node info with pre-configured node name (v3.3)
See merge request espressif/esp-idf!9304
2020-06-28 20:25:13 +08:00
Island
70b7a4b868
Merge branch 'bugfix/ble_mesh_example_tag_define_v3.3' into 'release/v3.3'
...
ble_mesh: Move TAG definition to each example (v3.3)
See merge request espressif/esp-idf!9308
2020-06-28 20:24:44 +08:00
Island
1fb6ffecad
Merge branch 'bugfix/ble_mesh_bt_hex_v3.3' into 'release/v3.3'
...
ble_mesh: Fix wrong log output with bt_hex (v3.3)
See merge request espressif/esp-idf!9311
2020-06-28 20:23:56 +08:00
Island
036828a172
Merge branch 'bugfix/ble_mesh_not_define_bool_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh not define bool (v3.3)
See merge request espressif/esp-idf!9318
2020-06-28 20:22:50 +08:00
Island
b9cc633b50
Merge branch 'bugfix/ble_mesh_check_model_status_v3.3' into 'release/v3.3'
...
ble_mesh: stack: Check model status with variable length (v3.3)
See merge request espressif/esp-idf!9321
2020-06-28 20:22:11 +08:00
Shubham Kulkarni
673e433281
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:25:42 +05:30
Chinmay Chhajed
99d572700d
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
2020-06-25 13:59:14 +00:00
Anton Maklakov
f4333c8e3a
Merge branch 'feature/toolchain_gcc52_psram_fixes_v3.3' into 'release/v3.3'
...
Update the toolchain for backport PSRAM workaround and memw fixes (v3.3)
See merge request espressif/esp-idf!9228
2020-06-25 10:38:27 +08:00
lly
42378c8e19
ble_mesh: Move TAG definition to each example
...
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-06-24 12:06:58 +00:00
Anton Maklakov
ff29e3e7a2
Update toolchain to 1.22.0-96-g2852398
...
PSRAM workaround fixes,
Volatile loads with memw fixes
2020-06-24 11:56:59 +00:00
lly
ad970addf0
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-06-24 11:53:59 +00:00
lly
adbc337023
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-24 11:50:58 +00:00
lly
1dbbc55cc0
ble_mesh: Remove boolean type definitions
2020-06-24 11:46:51 +00:00
Nikolaos Strikos
0526de4536
ble_mesh: Do not #define bool when compiling in C++
2020-06-24 11:46:51 +00:00
lly
366dd9759d
ble_mesh: stack: Check model status with variable length
2020-06-24 11:41:58 +00:00
Anton Maklakov
f0b4c08e77
Merge branch 'bugfix/python_lint_v3.3' into 'release/v3.3'
...
tools: fix python lint (v3.3)
See merge request espressif/esp-idf!9328
2020-06-24 19:37:22 +08:00
morris
9b9502451a
tools: fix python lint
2020-06-24 15:14:22 +08:00
Jiang Jiang Jian
39e5184159
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v3.3' into 'release/v3.3'
...
Bugfix/fix event bug in GAP API [backport v3.3]
See merge request espressif/esp-idf!9195
2020-06-23 12:19:04 +08:00
David Čermák
e3f3e0ae0f
Merge branch 'feature/ws_timeout_v3.3' into 'release/v3.3'
...
websocket: add configurable timeout for PONG not received (v3.3)
See merge request espressif/esp-idf!8911
2020-06-19 02:22:08 +08:00
Elvis Dukaj
048fd80450
ble_hid_device_demo: fix build if building with c++
...
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com >
Signed-off-by: liminyang <liminyang@example.com >
Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-18 15:52:56 +08:00
liminyang
6ac7ceef9e
docs:perfect 128-bit UUID description
...
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-18 15:02:44 +08:00
Island
2ea53169ad
Merge branch 'bugfix/blufi_buffer_overflow_report_v3.3' into 'release/v3.3'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 3.3)
See merge request espressif/esp-idf!9198
2020-06-18 13:45:34 +08:00
Michael (XIAO Xufeng)
2aaf254d44
Merge branch 'bugfix/fix_fifo_cnt_bug_v3.3' into 'release/v3.3'
...
bugfix(uart): fix esp32 uart fifo_cnt bug(backport v3.3)
See merge request espressif/esp-idf!9042
2020-06-18 01:43:04 +08:00
David Čermák
e25b710a02
Merge branch 'bugfix/ws_send_abort_v3.3' into 'release/v3.3'
...
websocket client: the client now aborts the connection if send fails (v3.3)
See merge request espressif/esp-idf!8903
2020-06-17 15:05:48 +08:00
wangcheng
563c9901ca
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:32:57 +08:00
liqigan
02f9eaa31a
components/bt: Adjust the description of esp_bt_gap_start_discovery and esp_bt_gap_cancel_discovery.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-06-17 11:27:37 +08:00
Marius Vikhammer
b478dc4ad6
websocket: add configurable timeout for PONG not received
...
Closes IDF-1744
2020-06-17 11:13:26 +08:00
xiongyu
c9d9545310
bugfix(uart): fix esp32 uart fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-15 12:22:33 +08:00
Angus Gratton
332e243f17
Merge branch 'feature/msys2_env_update_v3.3' into 'release/v3.3'
...
windows: Update pre-compiled MSYS2 environment
See merge request espressif/esp-idf!9035
2020-06-12 07:26:41 +08:00
Angus Gratton
5e84ee108c
Merge branch 'bugfix/bootloader_efuse_build_regression_v3.3' into 'release/v3.3'
...
bootloader: add definition of esp_clk_apb_freq (v3.3)
See merge request espressif/esp-idf!9093
2020-06-10 16:01:35 +08:00
Angus Gratton
f17f59fb54
Merge branch 'bugfix/parttool_get_info_wo_info_option_v3.3' into 'release/v3.3'
...
partition_table: Fix parttool.py crashes when retrieving partition info (v3.3)
See merge request espressif/esp-idf!9065
2020-06-10 15:58:01 +08:00
Jiang Jiang Jian
2f6f842d0f
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project_3.3' into 'release/v3.3'
...
Backport MR for baidu project for release/v3.3
See merge request espressif/esp-idf!8990
2020-06-10 13:08:11 +08:00
weitianhua
282433500e
Backport MR from baid proj
2020-06-10 03:53:21 +00:00
Ivan Grokhotkov
618794e1fb
bootloader: add definition of esp_clk_apb_freq
...
Commit 8cd04c80 has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.
Reported at https://esp32.com/viewtopic.php?f=13&t=12035
Closes: https://github.com/espressif/esp-idf/issues/5396
2020-06-08 16:45:29 +08:00
Jiang Jiang Jian
eaca5a11e4
Merge branch 'bugfix/authmode_degrade_fix_v3.3' into 'release/v3.3'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold (backport 3.3)
See merge request espressif/esp-idf!9058
2020-06-05 13:59:48 +08:00
Jiang Jiang Jian
b4c89c6607
Merge branch 'bugfix/add_so_linger_to_menuconfig_for_3.3' into 'release/v3.3'
...
lw-ip:add LINGER to menuconfig(backport 3.3)
See merge request espressif/esp-idf!9062
2020-06-05 13:54:22 +08:00
Jiang Jiang Jian
a5a6ba895e
Merge branch 'optimization/DNS_get_function_for_3.3' into 'release/v3.3'
...
lw-ip:optimization DNS get function(backport 3.3)
See merge request espressif/esp-idf!9061
2020-06-05 13:54:07 +08:00
Jiang Jiang Jian
b336851479
Merge branch 'workaround/wps_iot_fixes_v3.3' into 'release/v3.3'
...
wpa_supplicant: WPS Inter operatability Fixes ( backport v3.3)
See merge request espressif/esp-idf!9060
2020-06-05 13:49:24 +08:00
Michael (XIAO Xufeng)
ace2cff01a
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_3.3' into 'release/v3.3'
...
sdmmc: Correctly check function parameters before using them (3.3)
See merge request espressif/esp-idf!9057
2020-06-05 07:19:11 +08:00
KonstantinKondrashov
28d3d6daac
partition_table: Fix parttool.py crashes when retrieving partition info
...
Closes: IDFGH-3279
Closes: https://github.com/espressif/esp-idf/issues/5271
2020-06-04 16:43:06 +08:00
Angus Gratton
14f4c196c0
windows: Update other MSYS2 package names to all be Python 3
2020-06-04 18:39:20 +10:00
kapil.gupta
21395421d1
wpa_supplicant: WPS Inter operatability Fixes
...
Add WPS IOT fixes under config option
Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-06-04 13:57:20 +05:30
xueyunfei
68d1afb47d
add LINGER to menuconfig
2020-06-04 16:16:03 +08:00
xueyunfei
32b3c255ac
optimization DNS get function
2020-06-04 16:05:17 +08:00
Jiang Jiang Jian
c13b946773
Merge branch 'bugfix/modify_TCP_MSS_range_v3.3' into 'release/v3.3'
...
Change the default value of TCP_MSS (backport v3.3)
See merge request espressif/esp-idf!9050
2020-06-04 15:59:17 +08:00
Jiang Jiang Jian
3838da57f0
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v3.3' into 'release/v3.3'
...
Bugfix/compiler err when performance optimization enabled v3.3
See merge request espressif/esp-idf!7979
2020-06-04 15:58:34 +08:00
kapil.gupta
1625c595ff
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
2020-06-04 13:13:21 +05:30
Nachiket Kukade
c6ca42b1e7
wpa_supplicant: Allow NULL-padded WPS attributes
...
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1.
2020-06-04 12:18:43 +05:30
Alexander Borsuk
cccd679b3e
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 12:07:16 +08:00
xiehang
6f26e72817
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
2020-06-04 12:04:14 +08:00
Island
ad2447a6ea
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v3.3' into 'release/v3.3'
...
ble_mesh: Remove relay option dependency (v3.3)
See merge request espressif/esp-idf!9028
2020-06-03 15:20:56 +08:00
Island
686530d373
Merge branch 'bugfix/ble_mesh_example_nvs_store_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh example nvs store (v3.3)
See merge request espressif/esp-idf!9018
2020-06-03 15:12:28 +08:00
Island
c3902be87f
Merge branch 'bugfix/ble_mesh_model_recv_fix_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh model recv fix (v3.3)
See merge request espressif/esp-idf!9009
2020-06-03 15:11:38 +08:00
Island
88937185ac
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v3.3' into 'release/v3.3'
...
ble_mesh: Rework prov pdu length check (v3.3)
See merge request espressif/esp-idf!9005
2020-06-03 15:11:11 +08:00
lly
7937a51779
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:19:18 +08:00
Jiang Jiang Jian
a94842d8f7
Merge branch 'bugfix/fix_some_wifi_bugs_0525_v3.3' into 'release/v3.3'
...
feature: optimize some wifi API (backport v3.3)
See merge request espressif/esp-idf!8893
2020-06-02 17:39:23 +08:00
lly
5d72e0c33c
ble_mesh: Add nvs operations for examples
...
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info
Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-02 17:29:44 +08:00
lly
cabd3b9e76
ble_mesh: Add mesh example common nvs operations
2020-06-02 17:28:44 +08:00
Angus Gratton
90be3b4970
windows: Update pre-compiled MSYS2 environment
...
* Latest MSYS2 packages
* Uses Python 3 now (no more Python 2 in MSYS2)
This pre-compiled package is not suitable of ESP-IDF v4.x
2020-06-02 18:32:42 +10:00
weitianhua
afae411857
Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S
2020-06-02 08:30:02 +00:00
weitianhua
437bee123c
Initialize mem_start and mem_end
2020-06-02 08:30:02 +00:00
lly
cb0288d399
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-06-02 14:05:26 +08:00
lly
59cdd33dcf
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:05:19 +08:00
lly
36c476833f
ble_mesh: Optimize some send & recv logs
2020-06-02 14:05:12 +08:00
Michael (XIAO Xufeng)
13154fe5c6
Merge branch 'bugfix/fix_gpio_wake_up_disable_invalid_for_rtc_io_v3.3' into 'release/v3.3'
...
bugfix (GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/3.3)
See merge request espressif/esp-idf!7997
2020-06-02 11:16:59 +08:00
Island
bce064e655
Merge branch 'bugfix/ble_mesh_local_model_sub_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh local model sub (v3.3)
See merge request espressif/esp-idf!8985
2020-06-02 10:58:50 +08:00
lly
ac565c97a3
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:33:12 +08:00
lly
8c5a8bef50
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:33:05 +08:00
lly
ac76870ad7
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-02 10:32:57 +08:00
lly
a96e1b80ac
ble_mesh: Rework prov pdu length check
2020-06-02 10:17:20 +08:00
Mahavir Jain
3f57aecabd
Merge branch 'bugfix/httpd_lru_purge_v3.3' into 'release/v3.3'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v3.3)
See merge request espressif/esp-idf!8834
2020-06-01 11:23:53 +08:00
houwenxiang
eab88f51e7
driver(GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/3.3)
2020-06-01 11:16:07 +08:00
lly
6abdc9e542
ble_mesh: Local model (un)subscribes group address
2020-06-01 09:13:57 +08:00
lly
0ee9227b45
ble_mesh: Define a macro for invalid company id
2020-06-01 09:13:43 +08:00
ronghulin
8f3209b7b7
feature: optimize some wifi API
...
1. optimization esp_wifi_set_max_tx_power description
2. add API esp_wifi_ap_get_sta_aid
2020-05-29 12:02:24 +08:00
Jiang Jiang Jian
d7e6eecd66
Merge branch 'bufix/fix_v3.3_bluedroid_bugs_mr' into 'release/v3.3'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 3.3)
See merge request espressif/esp-idf!8754
2020-05-29 11:25:41 +08:00
zwj
38e98acca1
:add congest direct callback and modify congest evt triger threshold
2020-05-28 12:06:10 +00:00
wangcheng
340e40abbe
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-28 12:06:10 +00:00
wangcheng
ed3a172df7
fix bta_dm_deinit_cb
2020-05-28 12:06:10 +00:00
Jiang Jiang Jian
27f03b4ac0
Merge branch 'bugfix/ble_mesh_check_timer_init_v3.3' into 'release/v3.3'
...
ble_mesh: Check the result of creating timer (v3.3)
See merge request espressif/esp-idf!8960
2020-05-28 15:26:53 +08:00
Jiang Jiang Jian
706d704c08
Merge branch 'nimble/update_nimble_submodule_v3.3' into 'release/v3.3'
...
NimBLE: Include upstream fixes and use macros for log level filtering (backport v3.3)
See merge request espressif/esp-idf!8798
2020-05-28 15:23:31 +08:00
lly
b5f3f79716
ble_mesh: Check the result of creating timer
2020-05-28 10:28:36 +08:00
Island
5f43d69d21
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh sync zephyr fixes (v3.3)
See merge request espressif/esp-idf!8950
2020-05-28 10:17:29 +08:00
Island
a70c956a75
Merge branch 'bugfix/ble_mesh_not_use_same_private_key_v3.3' into 'release/v3.3'
...
ble_mesh: Not using pre-initialized private key (v3.3)
See merge request espressif/esp-idf!8947
2020-05-28 10:15:40 +08:00
Island
6d9b618a2d
Merge branch 'bugfix/ble_mesh_comp_data_store_restore_v3.3' into 'release/v3.3'
...
ble_mesh: Same func for storing/restoring comp data (v3.3)
See merge request espressif/esp-idf!8944
2020-05-28 10:14:01 +08:00
Piyush Shah
8890fa98c8
esp_http_server: Fixed a bug which could cause issues with LRU purge
...
LRU counter should be started from 1, and not 0, so that all checks
work fine.
Closes https://github.com/espressif/esp-idf/issues/4753
2020-05-27 17:14:12 +00:00
He Yin Ling
4fa5f9d1a6
Merge branch 'bugfix/ci_push_to_github_on_label_v3.3' into 'release/v3.3'
...
ci: Don't push to Github or deploy docs on customized pipelines (v3.3)
See merge request espressif/esp-idf!8939
2020-05-27 18:16:13 +08:00
lly
822b20eb40
ble_mesh: Transport tx fields overflow [Zephyr]
...
The transport segmented TX nack and seg_pending fields must be at least
6 bits to avoid overflow for 32 segment messages. This change rearranges
the seg_tx fields to gather all state flag fields in one byte, while
making the counter fields whole bytes.
2020-05-27 17:45:12 +08:00
lly
b381998a23
ble_mesh: Friend with unknown appkey [Zephyr]
...
Ensures that friend messages are enqueued, even if the packet is
received with an appkey is unknown to the friend. Previously, sdu_recv
would return EINVAL if the appkey was unknown, which would prevent the
lower transport layer from adding the packet to the friend queue. This
is irrelevant for the logic in lower transport, and should not be
returned as an error.
2020-05-27 17:44:58 +08:00
lly
393e4e9007
ble_mesh: Not using pre-initialized private key
2020-05-27 17:38:41 +08:00
lly
4b191ac6fb
ble_mesh: Same func for storing/restoring comp data
2020-05-27 17:32:56 +08:00
Island
322f461439
Merge branch 'example/ble_mesh_structural_adjust_v3.3' into 'release/v3.3'
...
Example/ble mesh structural adjust (v3.3)
See merge request espressif/esp-idf!8866
2020-05-27 17:22:30 +08:00
Angus Gratton
7b8cd22a46
ci: Don't push to Github or deploy docs on customized pipelines
...
BOT_TRIGGER_WITH_LABEL must be empty (meaning all tests are running).
2020-05-27 19:08:22 +10:00
Jiang Jiang Jian
221ca4b1e5
Merge branch 'bugfix/fix_some_wifi_bugs_0427_v3.3' into 'release/v3.3'
...
Bugfix/fix some wifi bugs 0427 (v3.3)
See merge request espressif/esp-idf!8573
2020-05-26 18:57:43 +08:00
David Čermák
0a558ea3c4
Merge branch 'bugfix/ws_client_fragmented_send_v3.3' into 'release/v3.3'
...
ws_client: fix fragmented send setting proper opcodes (v3.3)
See merge request espressif/esp-idf!8692
2020-05-25 17:22:02 +08:00
Marius Vikhammer
0829b5c5d5
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-05-25 17:11:23 +08:00
Jiang Jiang Jian
19736dbedc
Merge branch 'bugfix/supplicant_general_fixes_33' into 'release/v3.3'
...
wpa_supplicant: Fix some memleaks and invalid memory access(backport V3.3)
See merge request espressif/esp-idf!8741
2020-05-22 21:18:36 +08:00
Island
a809cdba76
Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub_v3.3' into 'release/v3.3'
...
ble_mesh: Fix Provisioner failed to publish (v3.3)
See merge request espressif/esp-idf!8875
2020-05-22 19:14:42 +08:00
lly
879bfc608c
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:49:30 +08:00
David Cermak
612b9e4a58
ws_client: fix fragmented send setting proper opcodes
...
Previous implementation violated the RFC by having both the actual opcode and WS_FIN flag set for all fragments of a message.
Fixed by setting the opcode only for the first fragment and WS_FIN for the last one
Closes IDFGH-2938
Closes https://github.com/espressif/esp-idf/issues/4974
2020-05-22 06:16:29 +00:00
lly
8bc195db3b
ble_mesh: Fix tutorial links in examples README.md
2020-05-22 14:09:21 +08:00
lly
af4ca47300
ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_*
2020-05-22 14:09:21 +08:00
lly
b98eee2445
ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_*
2020-05-22 14:09:21 +08:00
lly
0e4faac0ee
ble_mesh: Rename ble mesh example main & init files
...
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-22 14:09:21 +08:00
lly
6149b640c9
ble_mesh: Move the example init to the components
2020-05-22 14:08:53 +08:00
lly
bdaf56b17a
ble_mesh: Move the button component to components
2020-05-22 10:56:26 +08:00
lly
b6ed032e1d
ble_mesh: Change the EXTRA_COMPONENT_DIRS used by examples
2020-05-22 10:56:26 +08:00
lly
ecf7ea897e
ble_mesh: Rename common_vendor_models to components
...
Since the scripts of CI will bypass components when trying
to get EXAMPLE_PATHS, and these BLE Mesh components will
only be used by other mesh examples, i.e. no need to be
compiled as a single example, so we rename the folder
to componnets.
2020-05-22 10:56:26 +08:00
Island
796dc4bb35
Merge branch 'bugfix/ble_mesh_friend_init_flag_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh friend init flag (v3.3)
See merge request espressif/esp-idf!8849
2020-05-22 10:50:55 +08:00
Island
2ae27a9ae1
Merge branch 'doc/ble_mesh_fix_v3.3' into 'release/v3.3'
...
ble_mesh: Doc miscellaneous fixes (v3.3)
See merge request espressif/esp-idf!8860
2020-05-22 10:49:27 +08:00
lly
6e8529c08d
ble_mesh: Doc miscellaneous fixes
...
- Update ble mesh architecture
2020-05-21 17:49:58 +08:00
Island
6046e7b26f
Merge branch 'bugfix/ble_mesh_node_old_version_to_new_v3.3' into 'release/v3.3'
...
ble_mesh: Fix mesh node device role restore (v3.3)
See merge request espressif/esp-idf!8725
2020-05-21 15:10:29 +08:00
lly
1b1aea24f0
ble_mesh: Clear two more vars during proxy server deinit
2020-05-21 14:29:04 +08:00
lly
e55c65562c
ble_mesh: Add missing sdkconfig.h
2020-05-21 14:28:57 +08:00
lly
1ad9de1131
ble_mesh: Init device name during proxy server init
...
Device name will be reset when deinit mesh stack. If not
initializing device name during the next mesh stack init,
it will fail to set the device name when using bluedroid.
2020-05-21 14:28:49 +08:00
lly
8e4399bf29
ble_mesh: Add init flag for friend init/deinit
...
Since bt_mesh_friend_init() will only be invoked when
a device is provisioned or Provisioner is enabled, so
we add a flag to indicate if the friend functionality
is initialized in case deinit before initialization.
2020-05-21 14:28:40 +08:00
Island
cb4e8cef87
Merge branch 'bugfix/ble_mesh_fix_typos_v3.3' into 'release/v3.3'
...
ble_mesh: Fix typos (v3.3)
See merge request espressif/esp-idf!8727
2020-05-21 11:47:33 +08:00
Island
f55719522e
Merge branch 'bugfix/ble_mesh_remove_patch_v3.3' into 'release/v3.3'
...
ble_mesh: Remove patch for the bug of an App (v3.3)
See merge request espressif/esp-idf!8780
2020-05-21 11:46:49 +08:00
Prasad Alatkar
04e3cf44bc
NimBLE: Include upstream fixes and use macros for log level filtering (backport v3.3)
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-20 16:27:53 +05:30
zhangyanjiao
1a1b3a8538
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the crash issue when fetch peer after delete the cur_peer
5. fix the timeout issue of EAPOL four-way handshake
2020-05-20 17:55:11 +08:00
zhangyanjiao
c3d4c61650
esp_wifi:Add softap example channel configuration
2020-05-20 11:07:29 +08:00
Jiang Jiang Jian
f56937f0eb
Merge branch 'bugfix/fix_switch_channel_without_discon_issue_v3.3' into 'release/v3.3'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect (backport v3.3)
See merge request espressif/esp-idf!8771
2020-05-18 22:27:12 +08:00
lly
d6e189927e
ble_mesh: Remove patch for the bug of an App
2020-05-15 20:24:35 +08:00
xiehang
92e4f84ec5
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-15 14:42:03 +08:00
kapil.gupta
b91bba1a07
wpa_supplicant: Fix some memleaks and invalid memory access
...
Add changes to fix issues reported in clang analyzer
2020-05-14 11:28:27 +05:30
lly
8cdaf34430
ble_mesh: Fix typos
2020-05-13 18:33:46 +08:00
lly
4f402486c6
ble_mesh: Fix mesh node device role restore
...
Old version of BLE Mesh has no device role storage, because
previously we only support storing mesh node info.
If the binary of the node is upgraded from old version to a
new version (support storing provisioner info), the mesh info
of the node will not be restored because mesh role does not
exist in the flash.
2020-05-13 18:24:44 +08:00
Island
19893abd04
Merge branch 'bugfix/sync_zephyr_bt_mesh_bugfix_v3.3' into 'release/v3.3'
...
Bugfix/sync zephyr bt mesh bugfix (v3.3)
See merge request espressif/esp-idf!8689
2020-05-13 18:15:22 +08:00
Island
b3c40e8e06
Merge branch 'bugfix/ble_mesh_not_ignore_msg_in_fast_prov_v3.3' into 'release/v3.3'
...
ble_mesh: Not ignore msg when fast prov is enabled (v3.3)
See merge request espressif/esp-idf!8712
2020-05-13 18:14:51 +08:00
lly
46a8982a80
ble_mesh: A specific fix for compile warning in idf3.3
...
- Remove the extra #include "bt_common.h" in mesh_timer.c
- Compared with the latest idf, idf3.3 defines BIT(nr) in
the "soc/soc.h" without the pre-condition "#ifndef BIT",
which will cause compile warning when using mesh. So we
include the header file "soc/soc.h" in "mesh_util.h",
which can bypass the definition of "BIT" in "mesh_util.h"
when compiling.
2020-05-13 03:40:30 +00:00
lly
8deabb7945
ble_mesh: Fix not update prov addr in fast prov
...
When using fast provisioning, the Provisioner functionality
will be enabled. Unicast addresses within the pre-allocated
range will be used for provisioning nodes. And during the
address assignment, the allocated unicast address will be
checked that if it's duplicated with other nodes addresses
and the Provisioner's own addresses.
So before starting using fast provisioning, we need to update
the Provisioner address.
2020-05-13 03:40:30 +00:00
lly
f1abf94922
ble_mesh: net_key_status only pull one key idx [Zephyr]
...
Fixes bug where the config client's net_key_status handler would attempt
to pull two key indexes from a message which only holds one.
2020-05-13 03:40:30 +00:00
lly
f5f9d34443
ble_mesh: Update client message timeout calculation
...
Since the behavior of sending segmented messages has been
changed properly, the calculation of timeout value which
will be used when sending an acknowledged message by a
client model also needs to be updated.
2020-05-13 03:40:30 +00:00
lly
08a463907e
ble_mesh: Add lock for segmented msg operations
...
Add mutex to protect some variables of the mesh segmented
messages.
Currently the timeout handler of mesh will be executed in
the btc task, while the received mesh messages will be
handled in the btu task. In case some variables are set to
NULL when handled in the btu task, meanwhile these variables
are also accessed in the timeout handler, so we add mutex to
protect these variables and related operations.
2020-05-13 03:40:30 +00:00
lly
367677c3bb
ble_mesh: Fix dereferencing pointer before checking for NULL [Zephyr]
...
The publication context is checked for NULL in bt_mesh_model_publish()
however it was dereferenced before that. Move the assignment to
ctx.send_rel to the same place where other ctx members are set.
2020-05-13 03:40:30 +00:00
lly
b0a6fc7937
ble_mesh: Optimize some mesh log output
2020-05-13 03:40:30 +00:00
lly
30d62cc00f
ble_mesh: Fix restore when revoke keys [Zephyr]
...
Store keys (NetKey and AppKey) again after revoking.
2020-05-13 03:40:30 +00:00
lly
2983f6edb1
ble_mesh: Spit mesh_util.h into different header files
...
Split mesh_util.h into mesh_byteorder.h, mesh_compiler.h,
mesh_ffs.h and mesh_util.h based on the classification of
Zephyr, which will make further porting more clear.
2020-05-13 03:40:30 +00:00
lly
35c5a7a08c
ble_mesh: Split mesh os related into a separate file
2020-05-13 03:40:30 +00:00
lly
0daac93e4e
ble_mesh: Split mesh mutex into a separate file
2020-05-13 03:40:30 +00:00
lly
ec34cd8338
ble_mesh: Rename mesh_kernel.* to mesh_timer.*
2020-05-13 03:40:30 +00:00
lly
92cfbe3c6c
ble_mesh: Add and use transport macro definitions [Zephyr]
2020-05-13 03:40:30 +00:00
lly
e2186b1d3a
ble_mesh: Friend SeqAuth cleanup [Zephyr]
...
The Friend queue uses the message SeqAuth to determine whether the
message is already in the queue. To facilitate this, the SeqAuth is
passed around as a pointer throughout the transport modules. In the
bt_mesh_ctl_send functions, this parameter is also exposed in the API,
but the internal usage is inconsistent and buggy. Also, no one actually
uses this parameter.
- Removes seq_auth param from bt_mesh_ctl_send, instead passing NULL
directly to the friend module, to enforce its addition to the queue.
- Makes the seq_auth pointer const throughout the friend module.
2020-05-13 03:40:30 +00:00
lly
489d32663b
ble_mesh: Rework msg_cache [Zephyr]
...
Changes the behavior of the message cache to optimize for cache
capacity. Previously, the message cache's primary function was to avoid
decrypting messages multiple times, although the cache's main function
in the spec is to avoid message rebroadcasting. Optimizing for minimal
decryption causes us to fill the network cache faster, which in turn
causes more cache misses, potentially outweighing the advantage.
Now stores src + seq in message cache instead of field hash value. This
cuts cache size in two, while including more of the sequence number than
before.
Adds messages to the cache only after the packet is successfully
decrypted. This reduces noise in the cache, and ensures that no
invalid deobfuscations are added.
Additionally, this fixes a bug where multiple calls to net_decrypt with
the same packet failed, as the message cache found its own entry from
the previous call.
2020-05-13 03:40:30 +00:00
lly
febe084113
ble_mesh: Segmented TX to groups [Zephyr]
...
Implements several changes to the transport layer segmented tx to
improve group message performance:
- Moves retransmit counter to tx context instead of per packet. As every
unacked packet is sent every retransmit, the retransmit counters would
be the same in each segment. This makes it easier to control progress.
- Delays the scheduling of the retransmit until the completion of the
last segment by adding a seg_pending counter. This is essentially the
same as the old behavior, except that the old behavior might retrigger
the sending before all segments are finished if the advertising is
slow.
- Allows the group transmits to stop as soon as all retransmits have
been exhausted, instead of timing out waiting for acks that won't
come. This allows group tx to finish without error.
- Fixes a bug where a failed TX would block IV update.
- Cancels any pending transmissions of acked segments.
- Reduces log level for several common group tx scenarios that aren't
erronous.
2020-05-13 03:40:30 +00:00
lly
b6729860dd
ble_mesh: Add comment explaining use of byte order [Zephyr]
...
Add comment that explains why a different byte order is used for the
3-byte opcode on the CID part of the opcode.
2020-05-13 03:40:30 +00:00
lly
9f9acb6c4a
ble_mesh: Use 24-bit functions [Zephyr]
...
Use 24-bit functions for byteorder and net_buf in order to make the
byteorder used more readable.
2020-05-13 03:40:30 +00:00
lly
6d77a8b0c8
ble_mesh: Optimize net_buf_simple routines [Zephyr]
...
Use sys_put_xyz() helpers instead of memcpy() whenever possible. This
brings in straight-line inline code for pushes and adds of known,
small sizes.
2020-05-13 03:40:30 +00:00
lly
fa06b60568
ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h
2020-05-13 03:40:30 +00:00
lly
bb09078b65
ble_mesh: Add push functions for supported bit-variants [Zephyr]
...
Add push functions for bit-widths supported by add and pull functions.
2020-05-13 03:40:30 +00:00
lly
0522ce7cf3
ble_mesh: Add support for 64 bit data type [Zephyr]
...
This enables pulling and pushing values in 64 bit format.
2020-05-13 03:40:30 +00:00
lly
b41d50908b
ble_mesh: Add support for 48 bit data type [Zephyr]
...
This enables pulling and pushing values in 48 bit format.
2020-05-13 03:40:30 +00:00
lly
be57df5e19
ble_mesh: Add 48 bit variants [Zephyr]
...
This adds sys_*_*48 functions that operation on a 48 bits values.
2020-05-13 03:40:30 +00:00
lly
fd5e18eb49
ble_mesh: Add support for 24 bit data type [Zephyr]
...
This enables pulling and pushing values in 24 bit format.
2020-05-13 03:40:30 +00:00
lly
4963d4ddf8
ble_mesh: Add 24 bit variants [Zephyr]
...
This adds sys_*_*24 functions that operation on a 24 bits values.
2020-05-13 03:40:30 +00:00
lly
bc1722260f
ble_mesh: Group resends in proxy nodes [Zephyr]
...
Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.
2020-05-13 03:40:30 +00:00
lly
968772d18a
ble_mesh: Typo in condition in comp_add_elem of cfg_srv [Zephyr]
...
Vendor model IDs take up four (not two) bytes in the composition
2020-05-13 03:40:30 +00:00
lly
a45406fe6e
ble_mesh: GATT Proxy Spec 1.0.1 changes [Zephyr]
...
Backport of https://github.com/apache/mynewt-nimble/pull/724
Mesh spec 1.0.1 changes proxy disabling behavior to only affect the
relaying from proxy nodes. Previously, disabling proxy would shut down
all proxy and node activity.
Tweaks from the original commit:
- Removed redundant call to bt_mesh_adv_update() in gatt_proxy_set()
- Removed invalid ref to 4.2.11.1 in node_identity_set()
---
According to Mesh Profile Spec 1.0.1, Section 4.2.11:
"If the Proxy feature is disabled, a GATT client device can connect
over GATT to that node for configuration and control. Messages from
the GATT bearer are not relayed to the advertising bearer."
Moreover some notes have been removed from the spec compared to
version 1.0:
Mesh Profile Spec 1.0, Section 4.2.11:
"Upon transition from GATT Proxy state 0x01 to GATT Proxy state 0x00
the GATT Bearer Server shall disconnect all GATT Bearer Clients."
"The Configuration Client should turn off the Proxy state as the last
step in the configuration process."
Mesh Profile Spec 1.0, Section 4.2.11.1:
"When the GATT Proxy state is set to 0x00, the Node Identity state
for all subnets shall be set to 0x00 and shall not be changed."
2020-05-13 03:40:30 +00:00
lly
10f2ed14eb
ble_mesh: Support reliable sending when publishing [Zephyr]
...
Until now the choice of reliable sending (segmented messages with
acks) was implicitly dependent on the size of the payload. Add a new
member to the bt_mesh_model_pub to force using segment acks even when
the payload would fit a single unsegmented message.
2020-05-13 03:40:30 +00:00
lly
cd19f6faf1
ble_mesh: Check device uuid when init provisioning
2020-05-13 03:40:30 +00:00
lly
abcfcc47ec
ble_mesh: Fix provisioning buffer initialization [Zephyr]
...
When PB-GATT support has been enabled the provisioning code "borrows"
the buffer from the proxy code. However, the way that initialization
was happening the proxy buffers were initialized only after
provisioning initialization, resulting in a corrupted buffer with
buf->data pointing to NULL. Reorder the initialization calls so that
proxy is done first and provisioning only after it.
2020-05-13 03:40:30 +00:00
lly
e580f98b44
ble_mesh: Skip publish if update fails [Zephyr]
...
Allow models to skip a periodic publish interval by returning an error
from the publish update callback.
Previously, an error return from publish update would cancel periodic
publishing. This can't be recovered from, and as such, no valid model
implementation could return an error from this callback, and there was
no way to skip a periodic publish.
2020-05-13 03:40:30 +00:00
lly
50b4bea45c
ble_mesh: Enable Segmented Control Messages [Zephyr]
...
The function bt_mesh_ctl_send() used to support maximum length of
11 bytes. The segmentation complies with the BLE Mesh Standard.
The ack is disabled in case of non unicast address.
2020-05-13 03:40:30 +00:00
Angus Gratton
5738c3a9c6
Merge branch 'feature/ldgen_output_determinism_v3.3' into 'release/v3.3'
...
ldgen: determinism in mapping rule order (v3.3)
See merge request espressif/esp-idf!8662
2020-05-13 11:30:48 +08:00
lly
4748b07fa2
ble_mesh: Not ignore msg when fast prov is enabled
...
When fast provisioning is enabled, Provisioner shall not
ignore messages from the nodes whose addresses are not in
the provisioning database. Because other nodes which are
not provisioned by the Primary Provisioner will send node
address messages to the Primary Provisioner.
2020-05-13 10:10:40 +08:00
Renz Bagaporo
ccbca45709
ldgen: determinism in mapping rule order
...
This MR imposes some determinism in the mapping rule order in the output
file. For each section, the archives are arranged alphabetically
(ascending), and the mapping rules in each archive are arranged by
increasing specificity then alphabetically (ascending). The default
rules remain the very first rule for each section.
2020-05-12 22:21:35 +08:00
Michael (XIAO Xufeng)
44d1c90d25
Merge branch 'bugfix/timer_group_intr_enable_v3.3' into 'release/v3.3'
...
Fix timer group intr enable (backport v3.3)
See merge request espressif/esp-idf!8531
2020-05-08 15:00:16 +08:00
Island
2c1c87b37d
Merge branch 'bugfix/ble_mesh_add_missing_cpp_v3.3' into 'release/v3.3'
...
ble_mesh: Add missing #ifdef __cplusplus (v3.3)
See merge request espressif/esp-idf!8615
2020-05-06 18:16:20 +08:00
Island
4ac84bca8b
Merge branch 'bugfix/ble_mesh_compile_error_o2_v3.3' into 'release/v3.3'
...
ble_mesh: Fix compile error when -O2 (performance) is chosen (v3.3)
See merge request espressif/esp-idf!8618
2020-05-06 18:15:28 +08:00
Island
5a53e67c7e
Merge branch 'bugfix/ble_mesh_provisioner_check_key_v3.3' into 'release/v3.3'
...
ble_mesh: Check if appkey exist before deleting it (v3.3)
See merge request espressif/esp-idf!8619
2020-05-06 18:09:32 +08:00
Island
6ca0c6830b
Merge branch 'bugfix/ble_mesh_node_reset_erase_v3.3' into 'release/v3.3'
...
ble_mesh: Fix node not erase info completely (v3.3)
See merge request espressif/esp-idf!8624
2020-05-06 18:06:36 +08:00
David Čermák
722043f734
Merge branch 'feature/config_mqtt_task_prio_v3.3' into 'release/v3.3'
...
esp_mqtt: configure task priority, esp_mqtt_abort_connection race condition, clenaup logs and docs (v3.3)
See merge request espressif/esp-idf!8477
2020-05-06 16:18:51 +08:00
lly
745aecb03d
ble_mesh: Fix node not erase info completely
...
Previously only mesh node info is supported to be stored
in flash. So when trying to reset the node, we only need
to judge if the BLE_MESH_VALID flag is set.
Currently we support storing both node & Provisioner info
in flash, when trying to erase the node info from flash,
the BLE_MESH_NODE flag will be checked. So we need to set
bt_mesh.flags to 0 when all the erase operations are done.
2020-05-06 11:45:02 +08:00
lly
e36d1d2f8a
ble_mesh: Check if appkey exist before deleting it
2020-05-06 11:37:03 +08:00
lly
1432daf4c6
ble_mesh: Add length check for some mesh operations
2020-05-06 11:33:41 +08:00
lly
6e7d43dd89
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-05-06 11:33:08 +08:00
lly
3b9e0657d8
ble_mesh: Add missing #ifdef __cplusplus
2020-05-06 11:19:05 +08:00
Mahavir Jain
511dc5516d
Merge branch 'bugfix/wifi_prov_not_stopping_v3.3' into 'release/v3.3'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors (v3.3)
See merge request espressif/esp-idf!8609
2020-05-06 11:18:27 +08:00
Island
53a0b3f951
Merge branch 'feat/ble_mesh_ble_adv_simultaneously_v3.3' into 'release/v3.3'
...
ble_mesh: Support BLE advertising simultaneously (v3.3)
See merge request espressif/esp-idf!8486
2020-05-06 11:14:52 +08:00
Island
b0aeff4797
Merge branch 'bugfix/ble_mesh_rpl_list_size_v3.3' into 'release/v3.3'
...
ble_mesh: Associate replay protection list size with nodes count (v3.3)
See merge request espressif/esp-idf!8497
2020-05-06 11:14:42 +08:00
Island
ff6c18faf2
Merge branch 'bugfix/ble_mesh_use_sdkconfig_ci_v3.3' into 'release/v3.3'
...
ble_mesh: Add bluedroid and nimble example configurations (v3.3)
See merge request espressif/esp-idf!8500
2020-05-06 11:14:08 +08:00
Island
b33b6c4f2a
Merge branch 'doc/ble_mesh_fixes_v3.3' into 'release/v3.3'
...
doc: Fix some ble mesh description (v3.3)
See merge request espressif/esp-idf!8504
2020-05-06 11:12:46 +08:00
Island
93a13dfd10
Merge branch 'feat/ble_mesh_sensor_model_example_v3.3' into 'release/v3.3'
...
ble_mesh: Add ble mesh sensor model examples (v3.3)
See merge request espressif/esp-idf!8509
2020-05-06 11:11:36 +08:00
Island
551af6c4f3
Merge branch 'bugfix/ble_mesh_time_scene_wrong_name_v3.3' into 'release/v3.3'
...
ble_mesh: Fix time scene wrong macro name (v3.3)
See merge request espressif/esp-idf!8512
2020-05-06 11:10:38 +08:00
Piyush Shah
f66fbb75e2
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-05-05 22:10:25 +05:30
David Cermak
dea0a75547
mqtt: clenaup logs and docs, esp_mqtt_abort_connection race condition
...
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition and subsequent crash
esp_mqtt: Change an error print to use ESP_LOGE instead of ESP_LOGI
Move Sending MQTT connect message log from Info to Debug level
docs: Makes clear that publish API could block
Change the message printed after MQTT connection failure
2020-05-04 08:06:59 +02:00
Simon Brélivet
5ede2678aa
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-05-04 08:06:59 +02:00
Krzysztof Budzynski
0c41fc73b5
Merge branch 'doc/openocd_security_features_v3.3' into 'release/v3.3'
...
doc: Add caveats about using JTAG debugging with hardware security features (v3.3)
See merge request espressif/esp-idf!8465
2020-05-04 03:07:40 +08:00
lly
a2dbe4c452
ble_mesh: Fix client local parameters not initialized
2020-04-30 11:47:12 +00:00
lly
eedaf45f43
ble_mesh: Continue node info restore even if failure happens
...
During BLE Mesh Provisioner initialization, the stack will restore
the nodes information if settings storage is enabled.
Previously when a failure happens (e.g. found the same uuid) during
the restore procedure, the information of the following nodes will
not be restored and error will be directly returned.
But this will introduce some problem with user experience, because
some newly provisioned nodes information will not be restored and
Provisioner will not be able to control those nodes.
So we change the operation here, when a failure happens during the
restore procedure, Provisioner will only ignore the information of
the current node and continue restoring other nodes information.
2020-04-30 11:47:12 +00:00
lly
eabf436a23
ble_mesh: Remove some redundant functions
2020-04-30 11:47:12 +00:00
lly
63ab37d721
ble_mesh: Notify unprovisioned device beacon to application layer
...
With this change, if a Provisioner has provisioned the maximum
number of nodes, it can still report the unprovisioned device
beacon from other nodes to the application layer. And this will
be more reasonable compared with the previous implementation.
Previously when the node array of Provisioner is full, no beacon
from unprovisioned devices will be reported, only some warning
logs will be given.
2020-04-30 11:47:12 +00:00
lly
77cf16e337
ble_mesh: Check if assigned node address is duplicated
...
Previously only check the node address when it is assigned by the
application layer. Here we also check the address when the address
is allocated internally. And this will be useful when some mesh
internal tests are performed.
2020-04-30 11:47:12 +00:00
lly
80feb4e70a
ble_mesh: Update next alloc address when node info is added
2020-04-30 11:47:12 +00:00
lly
9cb7faf4bd
ble_mesh: Fix Provisioner provisioning deadlock
2020-04-30 11:47:12 +00:00
lly
fecfd754d9
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-30 11:47:12 +00:00
lly
dbc44ccc7e
ble_mesh: Associate replay protection list size with nodes count
...
The replay protection list of Provisioner should be at least equal
to the number of nodes with the precondition that each node contains
only one element.
The help information of replay protection list is updated, and the
maximum number of nodes for Provisioner is adjusted based on the
replay protection list size.
2020-04-30 11:47:12 +00:00
lly
6e45c091e3
doc: Fix some ble mesh description
2020-04-30 11:39:07 +00:00
lly
6417f498d2
ble_mesh: Add ble mesh sensor model examples
2020-04-30 11:32:53 +00:00
lly
d77da91ffb
ble_mesh: Add some common macros for sensor model
2020-04-30 11:32:53 +00:00
lly
13817a190c
ble_mesh: Allow empty sensor series column value
2020-04-30 11:32:53 +00:00
lly
4e858153a8
ble_mesh: Check if same sensor (settings) property id exists
2020-04-30 11:32:53 +00:00
lly
ca95b54ce4
ble_mesh: Allow empty sensor settings exist
2020-04-30 11:32:53 +00:00
lly
0e89d5874f
ble_mesh: Add bluedroid and nimble example configurations
2020-04-30 08:42:43 +00:00
lly
9b1b2f9b5d
ble_mesh: Support BLE advertising simultaneously
2020-04-30 08:23:24 +00:00
Angus Gratton
093e40b14d
Merge branch 'bugfix/heap_psram_fill_v3.3' into 'release/v3.3'
...
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on (v3.3)
See merge request espressif/esp-idf!8492
2020-04-30 13:45:07 +08:00
Angus Gratton
f19ecd5b88
Merge branch 'bugfix/make_to_cmake_msys_py3_v3.3' into 'release/v3.3'
...
tools: Make Unicode from subprocess result in the CMake convert script (v3.3)
See merge request espressif/esp-idf!8545
2020-04-29 13:44:34 +08:00
Angus Gratton
2086c993d8
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v3.3' into 'release/v3.3'
...
flash: fix spi flash clock config error (backport v3.3)
See merge request espressif/esp-idf!8514
2020-04-29 13:22:03 +08:00
Roland Dobai
b4bddbb22f
tools: Make Unicode from subprocess result in the CMake convert script
...
Fixes an issue with Python 3 in MSYS where it fails while trying to join
paths where one part is Unicode (default string on Python3) and the
second part are bytes (returned by the subprocess call).
Closes https://github.com/espressif/esp-idf/issues/5189
2020-04-28 15:22:44 +02:00
morris
67131b7d78
timer_group: fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-28 12:39:54 +08:00
dowster
6a448bd030
Fix typo with sigmadelta.h #ifdef
2020-04-28 12:37:29 +08:00
Jiang Jiang Jian
b6599abb1f
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v3.3' into 'release/v3.3'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v3.3)
See merge request espressif/esp-idf!8400
2020-04-28 11:36:58 +08:00
chenjianqiang
de6e8ccea7
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-27 17:34:15 +08:00
lly
caeb040857
ble_mesh: Fix time scene wrong macro name
2020-04-27 16:27:52 +08:00
Angus Gratton
bd6bbcdbd0
Merge branch 'bugfix/idf_version_v3.3' into 'release/v3.3'
...
idf: Bump ESP-IDF version to v3.3.2
See merge request espressif/esp-idf!8488
2020-04-27 15:16:56 +08:00
Angus Gratton
543aa45f76
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-27 16:34:43 +10:00
Angus Gratton
ad5e4236b4
idf: Bump ESP-IDF version to v3.3.2
...
Feature was merged after v3.3.2 release.
2020-04-27 15:45:47 +10:00
Island
e8c034c24d
Merge branch 'bugfix/ble_mesh_add_test_function_v3.3' into 'release/v3.3'
...
ble_mesh: Add ble mesh white list test function (v3.3)
See merge request espressif/esp-idf!8160
2020-04-27 11:38:48 +08:00
Island
2c3c348659
Merge branch 'feat/ble_mesh_vnd_model_example_v3.3' into 'release/v3.3'
...
Feat/ble mesh vnd model example (v3.3)
See merge request espressif/esp-idf!8003
2020-04-27 11:35:45 +08:00
lly
012b810d29
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-04-26 06:44:45 +00:00
Angus Gratton
12c7aa9b57
Merge branch 'fix/ci_example_test_prov_v3.3' into 'release/v3.3'
...
CI: Fix prov example test exception handle (v3.3)
See merge request espressif/esp-idf!8441
2020-04-24 16:13:29 +08:00
Angus Gratton
b2fb688eaf
Merge branch 'bugfix/ci_unterminated_sdkconfig_defaults_v3.3' into 'release/v3.3'
...
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci (v3.3)
See merge request espressif/esp-idf!8458
2020-04-24 16:12:06 +08:00
Angus Gratton
6744abaeac
doc: Add warnings about using JTAG debugging with hardware security features
...
This is related to the following issues but is not a fix, just documentation of a workaround until we can
improve the support:
https://github.com/espressif/esp-idf/issues/4878
https://github.com/espressif/esp-idf/issues/4734
2020-04-24 15:34:39 +10:00
Roland Dobai
bdb8c05b25
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
2020-04-23 16:54:46 +02:00
Angus Gratton
92c9c7269b
Merge branch 'bugfix/ci_partition_table_detection_v3.3' into 'release/v3.3'
...
CI: Fix partition table detection if "partition" is in the project name (v3.3)
See merge request espressif/esp-idf!8433
2020-04-23 11:38:00 +08:00
Shivani Tipnis
37bcd4e0ba
CI: Fix prov example test cryptography package version exception handling
2020-04-23 00:48:05 +05:30
Roland Dobai
c97a0a855f
CI: Fix partition table detection if "partition" is in the project name
2020-04-22 10:26:14 +02:00
Jiang Jiang Jian
957e88d12f
Merge branch 'bugfix/dns_lookup_failed' into 'release/v3.3'
...
lw-ip:bugfix for dns lookup failed
See merge request espressif/esp-idf!8308
2020-04-21 11:27:16 +08:00
Jiang Jiang Jian
47b891c25b
Merge branch 'optimization/TCPv6_connect_for_v3.3' into 'release/v3.3'
...
lw-ip:optimization TCPv6 connect for v3.3(backport v3.3)
See merge request espressif/esp-idf!8022
2020-04-21 11:26:28 +08:00
zhangyanjiao
6f85135471
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 10:56:08 +08:00
lly
6a9c1ed48c
ble_mesh: Add ESP BLE Mesh vendor models example
2020-04-17 11:59:52 +00:00
lly
842f7da7d4
ble_mesh: Rename ble_mesh_vendor_models to common_vendor_models
2020-04-17 11:59:52 +00:00
Jiang Jiang Jian
f3f88e241b
Merge branch 'bugfix/btdm_backports_v3.3_0328' into 'release/v3.3'
...
Bugfix/btdm backports v3.3 0328
See merge request espressif/esp-idf!8153
2020-04-16 21:08:10 +08:00
Angus Gratton
249da85fd9
Merge branch 'bufgix/esp_ota_get_app_elf_sha256_v3.3' into 'release/v3.3'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled (v3.3)
See merge request espressif/esp-idf!8368
2020-04-16 14:31:31 +08:00
Angus Gratton
a0b1f1bb07
Merge branch 'bugfix/efuse_get_coding_scheme_and_ut_v3.3' into 'release/v3.3'
...
efuse: Fix get_coding_scheme() using ESP_EARLY_LOG* instead of ESP_LOG* (v3.3)
See merge request espressif/esp-idf!8362
2020-04-16 14:29:54 +08:00
Angus Gratton
c6f78f3071
Merge branch 'feature/add_rtc_xtal_cal_retry_option_v3.3' into 'release/v3.3'
...
esp32: Add a Kconfig option - Number of attempts to repeat 32k XTAL calibration (v3.3)
See merge request espressif/esp-idf!7933
2020-04-16 14:24:01 +08:00
Marius Vikhammer
9f2056dad4
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-04-15 21:49:32 +08:00
KonstantinKondrashov
2705b76371
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-04-15 21:07:02 +08:00
KonstantinKondrashov
383cd73e38
efuse: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-04-15 20:24:41 +08:00
KonstantinKondrashov
a5f9a0cbe4
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-04-15 16:52:23 +08:00
Jiang Jiang Jian
2ebad4639e
Merge branch 'bugfix/psram_single_bit_error_v3.3' into 'release/v3.3'
...
psram: support psram 2T mode to fix single bit error (backport v3.3)
See merge request espressif/esp-idf!7011
2020-04-15 13:28:22 +08:00
Jiang Jiang Jian
a656caed7a
Merge branch 'nimble/fix_ble_hs_reset_v3.3' into 'release/v3.3'
...
NimBLE: Reset master and slave states on host reset and fix build failure (backport v3.3)
See merge request espressif/esp-idf!8219
2020-04-15 13:28:04 +08:00
Jiang Jiang Jian
2aba47f8dd
Merge branch 'bugfix/backport_some_wifi_bugs_0326_v3.3' into 'release/v3.3'
...
esp32: backport some WiFi fixes (backport v3.3)
See merge request espressif/esp-idf!8186
2020-04-15 13:07:01 +08:00
chenjianqiang
22c0334ad9
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 15:25:13 +08:00
xueyunfei
6cdb27a361
bugfix for dns lookup failed
2020-04-10 11:07:54 +08:00
Angus Gratton
ec0605db4c
Merge branch 'feature/idf_version_header_v3.3' into 'release/v3.3'
...
esp_common: add version definitions in code and build system (backport v3.3)
See merge request espressif/esp-idf!8233
2020-04-08 15:08:03 +08:00
Angus Gratton
cde76fece9
Merge branch 'bugfix/efuse_write_config_v3.3' into 'release/v3.3'
...
efuse: set timing configuration before writing (backport v3.3)
See merge request espressif/esp-idf!8231
2020-04-08 15:06:30 +08:00
Prasad Alatkar
aad04405fc
NimBLE: Reset master and slave states on host reset and fix build failure (backport v3.3)
2020-04-07 10:52:01 +05:30
Mahavir Jain
8c5a0a0a57
Merge branch 'feature/upgrade_mbedtls_to_v3.3' into 'release/v3.3'
...
mbedtls: upgrade to release v2.16.5 (v3.3)
See merge request espressif/esp-idf!7988
2020-04-07 12:10:07 +08:00
Mahavir Jain
04d46d5d61
Merge branch 'bugfix/size_calculation_in_ota_v3.3' into 'release/v3.3'
...
Fix size calculation to erase partition range for OTA image (v3.3)
See merge request espressif/esp-idf!8268
2020-04-06 18:04:22 +08:00
Shubham Kulkarni
6f39fea03d
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-04-06 13:40:12 +05:30
Ivan Grokhotkov
ca6b009c26
esp_common: add version definitions in code and build system
...
Closes https://github.com/espressif/esp-idf/issues/4679
2020-04-03 01:24:33 +02:00
Ivan Grokhotkov
dd5190868a
efuse: set timing configuration before writing
2020-04-03 00:51:36 +02:00
David Čermák
1ba3bf2976
Merge branch 'feature/websocket_client_v3.3' into 'release/v3.3'
...
Feature/websocket client v3.3
See merge request espressif/esp-idf!8040
2020-04-02 20:28:24 +08:00
Marius Vikhammer
b56012783c
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
2020-04-02 07:30:12 +00:00
Marius Vikhammer
d6ef9d73bb
websocket: backport of websocket client to v3.3
...
Backports the websocket client and example to ESP-IDF release 3.3.
2020-04-02 07:30:12 +00:00
Jiang Jiang Jian
a71e85fb63
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v3.3' into 'release/v3.3'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.3)
See merge request espressif/esp-idf!8183
2020-04-02 12:08:40 +08:00
liu zhifu
a0d61eca20
esp32: backport some WiFi fixes to v3.3
...
Backport following Wifi fixes:
1. Optimize WiFi sleep in WiFi/BT coexist mode
I> If any data TX/RX in WiFi slice, force wakeup next TBTT
II> Increase active timeout to coex TBTT to avoid sleep in WiFi slice
2. Fix esp_wifi_stop() crash
esp_wifi_stop() crashes if it's called when WiFi is not initialized.
3. Fix WiFi log print level
4. Return fails if AP's configuring AP channel is out of range
5. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-02 10:27:11 +08:00
Mahavir Jain
530b35b222
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-04-01 13:46:09 +00:00
Sagar Bijwe
5723e717e5
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-04-01 13:46:09 +00:00
Angus Gratton
23c4d052ef
Merge branch 'bugfix/kconfiglib_open_encoding_v3.3' into 'release/v3.3'
...
tools: Avoid Unicode error in kconfiglib while opening files (v3.3)
See merge request espressif/esp-idf!8178
2020-04-01 15:15:12 +08:00
Angus Gratton
ba9ef572c0
Merge branch 'backport/malloc_zero_return_null_v3.3' into 'release/v3.3'
...
backport/malloc_zero_return_null_v3.3
See merge request espressif/esp-idf!8144
2020-04-01 14:42:50 +08:00
Mahavir Jain
08af2023c5
Merge branch 'fix/wifi_provisioning_uuid_v3.3' into 'release/v3.3'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script (backport v3.3)
See merge request espressif/esp-idf!8164
2020-04-01 13:04:47 +08:00
xiewenxiang
23474dc737
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.3)
2020-03-31 16:45:57 +08:00
Roland Dobai
e0364cbde1
tools: Avoid Unicode error in kconfiglib while opening files
...
This fix is for IDF v4.0 and earlier versions. The upstream kconfiglib
included since IDF v4.1 doesn't have this issue.
Closes https://github.com/espressif/esp-idf/issues/4977
2020-03-31 08:30:35 +02:00
Prasad Alatkar
3a5c7700a7
Wifi_provisioning_mgr_test: Allow three attempts to connect to AP before concluding provisioning failure(v3.3)
2020-03-30 11:20:53 +05:30
Prasad Alatkar
296ab7c80e
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID (v3.3)
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-30 11:20:30 +05:30
baohongde
0ac0a3126f
components/coex: Fix wakeup delay with DFS
2020-03-28 21:15:21 +08:00
baohongde
41fe01cc99
components/bt: Fix assert when create conntion cancel
2020-03-28 21:08:52 +08:00
Felipe Neves
48e78e6e07
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:35:50 -03:00
Angus Gratton
6c9c253ed1
Merge branch 'bugfix/esp_event_bugfixes_v3.3' into 'release/v3.3'
...
esp_event-related fixes (v3.3)
See merge request espressif/esp-idf!8073
2020-03-26 16:20:10 +08:00
Jiang Jiang Jian
c44a9f9a4e
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v3.3' into 'release/v3.3'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect for 3.3
See merge request espressif/esp-idf!8016
2020-03-25 11:15:52 +08:00
Jiang Jiang Jian
6feb88f69b
Merge branch 'bugfix/Add_lwip_assert_control_v3.3' into 'release/v3.3'
...
lw-ip: Add lw-ip assert control (backport v3.3)
See merge request espressif/esp-idf!8028
2020-03-23 15:07:40 +08:00
Renz Bagaporo
07830df4d3
examples: split source files for one of the ulp examples
2020-03-23 13:12:49 +08:00
Renz Christian Bagaporo
d497c4babd
ldgen: fix build issue on make when build dir is a symlink
...
Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.
Closes https://github.com/espressif/esp-idf/issues/3626
2020-03-23 13:12:49 +08:00
Renz Christian Bagaporo
2d28fd2563
cmake: fix build failure when git repo is initialized but no first commit
...
Closes https://github.com/espressif/esp-idf/issues/3920
2020-03-23 13:12:49 +08:00
Renz Bagaporo
1592f338a6
ci: add test for partition_table target
2020-03-23 13:12:49 +08:00
Renz Christian Bagaporo
0ee287cd32
partition_table: output partition table info for partition_table target
2020-03-23 13:12:49 +08:00
Renz Christian Bagaporo
84227aeac0
esp_event: remove extra line from source file
2020-03-22 22:34:38 +08:00
Renz Christian Bagaporo
2e3a949f3a
esp_event: test that handlers can unregister themselves
2020-03-22 22:34:30 +08:00
Renz Christian Bagaporo
0890ce9115
esp_event: iterate loop nodes safely as well
2020-03-22 22:34:21 +08:00
Xentec
9b16cb75f8
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2020-03-22 22:34:07 +08:00
Rusty Eddy
9c0cf3c28a
Added semi-colon to esp_event_loop_create(...)
...
Title sums it up.
2020-03-22 22:32:46 +08:00
He Yin Ling
42891432c5
Merge branch 'bugfix/modify_ble_mesh_command_for_v3.3' into 'release/v3.3'
...
ble mesh: update ble mesh console example(backport v3.3)
See merge request espressif/esp-idf!8044
2020-03-22 18:35:41 +08:00
Chen Sheng
9fc2212e16
ble mesh: update ble mesh console example(backport v3.3)
2020-03-22 18:35:39 +08:00
Mahavir Jain
5284b0aa4f
Merge branch 'bugfix/newlib_putchar_locking_v3.3' into 'release/v3.3'
...
newlib: don't define non-thread-safe versions of getc, putc (v3.3)
See merge request espressif/esp-idf!8029
2020-03-20 16:56:19 +08:00
Ivan Grokhotkov
f6763a9d84
newlib: don't define non-thread-safe versions of getc, putc
...
getc, getchar, putc, putchar were defined both as functions and as
macros. The macro versions are not thread safe, and should not be used
in multithreaded applications.
Upstream fix: b0f271d1db
2020-03-19 12:44:20 +01:00
xiehang
3d821dc821
LWIP: Add lwip assert control
2020-03-19 19:15:24 +08:00
xueyunfei
1cb4cd5ec6
optimization TCPv6 connect
2020-03-19 11:43:44 +08:00
xueyunfei
649a6afeb9
bugfix for TCPv6 send ok when sta disconnect
2020-03-18 17:58:07 +08:00
Jiang Jiang Jian
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
Island
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
Island
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
lly
cc07e9d203
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 14:42:46 +08:00
gengyuchao
ab175f8845
fix allow to send stop adv hci cmd when host adv state is disable
2020-03-16 21:37:07 +08:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Prasad Alatkar
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
Prasad Alatkar
237f7eb92a
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v3.3)
2020-03-15 21:43:01 +05:30
Hrishikesh Dhayagude
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
Prasad Alatkar
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
lly
a8763e6517
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:53:26 +08:00
lly
de022501b7
ble_mesh: Use the right netkey during iv update
2020-03-13 19:53:23 +08:00
lly
0d6dd36af9
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:53:19 +08:00
lly
68dba56ac8
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:53:16 +08:00
lly
9f32f4b405
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:53:12 +08:00
lly
c19a01d100
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:53:08 +08:00
lly
2ae6eedb30
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:53:02 +08:00
lly
e73ad2c391
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:52:50 +08:00
xiehang
6de264be1e
esp_wifi: Fix scan get rssi err
...
Remove software modify rssi
2020-03-13 19:41:11 +08:00
Jiang Jiang Jian
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
Mahavir Jain
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
Mahavir Jain
6babdfc0b7
ipc: prevent code getting pulled in for unicore configuration
2020-03-12 16:28:00 +05:30
KonstantinKondrashov
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
Mahavir Jain
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
xiehang
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
Shubham Kulkarni
5def4ad7fe
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-09 13:21:21 +05:30
Shubham Kulkarni
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
Shubham Kulkarni
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
Angus Gratton
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
Jiang Jiang Jian
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
Chinmay Chhajed
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
Jakob Hasse
58cf509495
NVS: Changed all new to new (nothrow)
2020-03-04 15:26:34 +08:00
Angus Gratton
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
Angus Gratton
1eaccfae4a
cmake: Fix bug where PHY partition offset incorrectly set
2020-03-02 23:27:51 +00:00
Jiang Jiang Jian
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
lly
0e2c77b185
ble_mesh: Calc incomplete timeout based on msg info
2020-02-27 15:47:26 +08:00
lly
91ad0f9f4a
ble_mesh: Start the timer when starting to send the client message
2020-02-27 15:47:12 +08:00
lly
70eadc0b05
ble_mesh: No timeout for client message to non-unicast address
2020-02-27 15:46:54 +08:00
lly
49fc8c86b3
ble_mesh: Unify client application and lower transport layer timeout
2020-02-27 15:46:19 +08:00
lly
04a6ac3cf5
ble_mesh: Allow maximum 377 octets payload
2020-02-27 15:46:03 +08:00
lly
9fa5c14d58
ble_mesh: Reset transport info when node is removed
2020-02-27 15:45:46 +08:00
lly
cc19e1da9b
ble_mesh: Provisioner ignores msg from removed node
2020-02-27 15:45:15 +08:00
liu zhifu
96bb4c6e78
esp32: fix the bug that WiFi stop leads to memory leak
2020-02-27 14:28:39 +08:00
Ivan Grokhotkov
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
Michael (XIAO Xufeng)
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Michael (XIAO Xufeng)
c9edf16376
mcpwm: decrease test time
...
cherry-pick 538540ce
2020-02-21 22:39:12 +08:00
michael
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
michael
3c6f992cf0
mcpwm: enable some unit tests again
2020-02-21 22:39:03 +08:00
June
2548168277
backport mr !6031 - fix security info restore bug
2020-02-21 20:17:17 +08:00
Anton Maklakov
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
Ivan Grokhotkov
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
chenyudong
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Liu Han
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
Liu Han
8246bfa8fb
fix(transport): Fix a bug of the connection whether be active or not.
2020-02-21 11:00:43 +01:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Hrudaynath Dhabe
e3dadfafb8
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.3)
2020-02-21 14:48:56 +08:00
xueyunfei
681dba4afd
optimization get dns server and add dns enable ipv6 dns retrieval
2020-02-20 14:06:07 +00:00
Mahavir Jain
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
gengyuchao
94255c421d
Fix some typo in idf release v3.3
2020-02-20 20:05:10 +08:00
gengyuchao
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
Mahavir Jain
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
gengyuchao
dcc4943b3d
example/ble_hid_device_demo fix the wrong mask value according to HID protocol
2020-02-20 19:19:33 +08:00
gengyuchao
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
baohongde
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
Shubham Kulkarni
110620a80c
log: Check for ISR context and use proper API to get Tick Count
2020-02-20 16:02:16 +05:30
gengyuchao
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
gengyuchao
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
gengyuchao
4375e60a6e
bugfix: ble add missing gatt descriptors
2020-02-20 17:54:45 +08:00
Jiang Jiang Jian
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
David Cermak
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
David Cermak
12d639e5b2
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:05:48 +01:00
Hrishikesh Dhayagude
e14c55c3ad
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event
2020-02-20 14:02:33 +05:30
Amit Sheth
03b3e5eff2
project_include.cmake: Make esptool_py_custom_target callable from other directories (backport v3.3)
2020-02-20 13:11:52 +05:30
Renz Christian Bagaporo
9d0e3501c5
cmake: fix extra component dirs ordering
2020-02-20 12:31:23 +05:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
xiehang
cee1bc9f8e
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:06:26 +08:00
Michael (XIAO Xufeng)
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
Anton Maklakov
013b8ab34c
ci: Adjust more 'spawn' settings in test_confserver
2020-02-20 04:29:57 +00:00
Jiang Jiang Jian
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
xiehang
a853c84db2
esp_wifi: Small refactor for ic_set_vif
2020-02-19 21:54:04 +08:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Michael (XIAO Xufeng)
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
zhangyanjiao
2dfadc9657
fix the bug for Airkiss can't get the ip of the cellphone
2020-02-19 10:19:26 +08:00
Angus Gratton
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
Angus Gratton
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
baohongde
7592ec77f5
components/coex: Fix a2dp stuck after creating another connection
2020-02-18 20:22:48 +08:00
xiehang
2f1d050133
lw-ip: Enable IPv6 stateless address autoconfiguration
2020-02-18 19:28:22 +08:00
Jiang Jiang Jian
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
Hrishikesh Dhayagude
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
Roland Dobai
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
June
eec53257dc
backport esp32 5p0 new features to v3p3
2020-02-18 15:21:07 +08:00
suda-morris
a476228c8c
replace strncpy with strlcpy in wifi examples for safety's sake
2020-02-18 10:41:33 +08:00
Angus Gratton
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
Angus Gratton
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
Jiang Jiang Jian
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
xueyunfei
a0eb61e8a8
add hostname option to dhcp request on reboot
2020-02-14 22:53:38 +08:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
xueyunfei
5599d05f87
add lwip header missing_C++ guards
2020-02-14 18:50:24 +08:00
Jiang Jiang Jian
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
xueyunfei
4f0ee78558
add feature ETHARP SUPPORT VLAN
2020-02-14 17:44:05 +08:00
Roland Dobai
d12048bcea
Docs: Fix sphinxcontrib dependencies
2020-02-14 10:40:07 +01:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Hrishikesh Dhayagude
cf6f1e8246
Add support of NimBLE host in ESP-BLE-Mesh - v3.3
2020-02-13 12:33:23 +05:30
Xia Xiaotian
79445f4234
soc: clear PHY status when cpu start
2020-02-13 14:20:30 +08:00
Jiang Jiang Jian
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
lly
46b1608f44
ble_mesh: Fix compile error with c++ files
2020-02-13 09:58:56 +08:00
liu zhifu
2118af0163
esp32: fix the crash caused by double free BAR buffer
2020-02-12 19:54:38 +08:00
Ivan Grokhotkov
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
Jiang Jiang Jian
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
Xia Xiaotian
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
Jiang Jiang Jian
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
Ivan Grokhotkov
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
Angus Gratton
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
Marius Vikhammer
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
boarchuz
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
Angus Gratton
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
El Jeffo
79dff0ef12
fix initializer order for BT_CONTROLLER_INIT_CONFIG_DEFAULT
2020-02-07 18:59:03 +08:00
Angus Gratton
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
Angus Gratton
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
Roland Dobai
350f23c9bd
docs: Fix nwdiag dependency for documentation build
2020-02-06 17:52:19 +01:00
Angus Gratton
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
Angus Gratton
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
KonstantinKondrashov
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
Hrishikesh Dhayagude
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
Jiang Jiang Jian
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
lly
925f93614c
ble_mesh: Remove NimBLE implementation for ESP-BLE-MESH
2020-02-03 12:04:00 +08:00
lly
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
Angus Gratton
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
Hrudaynath Dhabe
46bfd878da
Fix wps config for support with gnu++11 as well as c99.
2020-01-31 05:56:00 +00:00
Angus Gratton
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
Ivan Grokhotkov
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
Rosa Elena Veiga Otero
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
Angus Gratton
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
Ivan Grokhotkov
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
Shubham Kulkarni
556f194b94
OTA example: Change OTA example timeout in sdkconfig.ci for CI testing
2020-01-24 18:37:46 +05:30
Angus Gratton
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
Angus Gratton
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
Ivan Grokhotkov
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
Ivan Grokhotkov
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
xueyunfei
a025eeaf5b
fixbug disable TCP_QUEUE OOSEQ compile fail
2020-01-21 16:06:18 +08:00
Alex Winter
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
Angus Gratton
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
David Cermak
3ab801e27e
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-20 07:32:17 +01:00
Jiang Jiang Jian
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
Mahavir Jain
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
Paul Abbott
9c3d2b4f70
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:26:15 +08:00
Hrishikesh Dhayagude
b4383d609f
NimBLE: Update the documentation link in the examples
2020-01-16 17:13:21 +05:30
baohongde
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
KonstantinKondrashov
106f165899
esp32: Add UT for DPORT
2020-01-16 14:33:56 +08:00
KonstantinKondrashov
68791163b2
esp32: Fix esp_dport_access_reg_read
2020-01-16 14:33:56 +08:00
Jiang Jiang Jian
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
Ivan Grokhotkov
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
Renz Christian Bagaporo
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
Ivan Grokhotkov
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
Angus Gratton
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
zhiweijian
5187d64c34
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:45:40 +08:00
zhiweijian
927c4afa5b
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:41:45 +08:00
Shubham Kulkarni
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
xiehang
da656f0345
lwip: Drop packets larger than MTU
2020-01-13 15:11:06 +08:00
zhangyanjiao
431080faa1
fix the bugs for espnow and bandwidth
2020-01-13 15:10:09 +08:00
ronghulin
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
Jiang Jiang Jian
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
Anton Maklakov
852c79c76d
ci: fix tags for internal deploy jobs
2020-01-10 18:31:02 +07:00
xueyunfei
92242d5d13
bugfix for add random udp port
2020-01-09 18:01:00 +08:00
Angus Gratton
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
Jiang Jiang Jian
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
weitianhua
e284ff818b
hfp a2dp iphone 3.3
2020-01-08 19:37:51 +08:00
David Cermak
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
Jiang Jiang Jian
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
liu zhifu
531416d95f
esp32: fix WiFi performance issue
2020-01-06 21:07:53 +08:00
baohongde
611c0c3897
components/bt: Choose AVRC category according to A2DP role
2019-12-31 15:31:54 +08:00
Angus Gratton
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
Angus Gratton
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
xiongyu
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
Mahavir Jain
3063679f5a
esp_http_client: fix issue where http parser was not invoking message_complete callback
...
https://github.com/espressif/esp-idf/issues/2625
https://github.com/espressif/esp-idf/issues/4209
2019-12-31 11:14:18 +05:30
Shubham Kulkarni
f335bfdea7
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
...
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c
bootloader_support is added in public requirements of CMake
bootloader_common.h is included in esp_https_ota.h
Closes https://github.com/espressif/esp-idf/issues/4198
Closes IDFGH-2066
2019-12-31 11:14:18 +05:30
Hrudaynath Dhabe
2b44bc47df
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-12-31 11:14:18 +05:30
Hrudaynath Dhabe
012ff5775b
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
...
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.
Closes https://github.com/espressif/esp-idf/issues/3004
2019-12-31 11:14:18 +05:30
Mahavir Jain
b2a1de4d62
Merge branch 'nimble/update_doc_link_v3.3' into 'release/v3.3'
...
NimBLE: Update the link to NimBLE upstream documentation (v3.3)
See merge request espressif/esp-idf!7168
2019-12-31 13:42:59 +08:00
Hrishikesh Dhayagude
4712d675f7
NimBLE: Update the link to NimBLE upstream documentation
2019-12-30 19:20:06 +05:30
Roland Dobai
4cde39ee42
CI: Adjust the test parameters of IDF Monitor
2019-12-30 14:37:33 +01:00
Piyush Shah
36f0728254
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2019-12-30 17:34:30 +05:30
Angus Gratton
37aac8314e
Merge branch 'bugfix/msys2_environment_update_v3.3' into 'release/v3.3'
...
doc: Update MSYS2 pre-compiled environment zip
See merge request espressif/esp-idf!7079
2019-12-30 11:36:10 +08:00
Angus Gratton
a4f872c181
doc: Update MSYS2 pre-compiled environment zip
...
Required to get working MSYS2 Python cryptography package
Closes https://github.com/espressif/esp-idf/issues/4457
2019-12-30 13:44:37 +11:00
Jiang Jiang Jian
45329c2fdc
Merge branch 'bugfix/btdm_revert_changes_of_security_mask_v3.3' into 'release/v3.3'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7120
2019-12-29 14:12:50 +08:00
baohongde
09b8979987
components/bt: Revert changes of security mask
2019-12-25 20:13:35 +08:00
Mahavir Jain
9945c2fdcd
Merge branch 'bugfix/touchpad_interrupt_v3.3' into 'release/v3.3'
...
Change critical section API for touch pad interrupt (backport v3.3)
See merge request espressif/esp-idf!7107
2019-12-25 14:09:04 +08:00
Shubham Kulkarni
afb8064a29
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 18:00:19 +05:30
Jiang Jiang Jian
1a657c255c
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.3' into 'release/v3.3'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6726
2019-12-22 21:37:00 +08:00
Jiang Jiang Jian
c5d79efcc5
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v3.3' into 'release/v3.3'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.3)
See merge request espressif/esp-idf!5988
2019-12-22 19:21:18 +08:00
baohongde
83184631a4
components/bt: Disable some unsupported security mask
2019-12-22 08:56:18 +00:00
Angus Gratton
c3571e97cb
Merge branch 'bugfix/config_assert_thread_safety_backport_v3.3' into 'release/v3.3'
...
freertos: Fix configASSERT thread safety (backport v3.3)
See merge request espressif/esp-idf!6660
2019-12-20 13:26:30 +08:00
Angus Gratton
e395d14c59
Merge branch 'bugfix/update_can_target_test_backport_v3.3' into 'release/v3.3'
...
CAN: Reenable example tests (backport v3.3)
See merge request espressif/esp-idf!6735
2019-12-20 13:03:20 +08:00
Jiang Jiang Jian
54c1882b99
Merge branch 'bugfix/put_more_rx_code_to_iram_v3.3' into 'release/v3.3'
...
wifi: Put some rx code to iram (backportv3.3)
See merge request espressif/esp-idf!6647
2019-12-18 16:39:48 +08:00
Darian Leung
0cf891785e
CAN: Reenable example tests
...
This commit updates the CAN example tests and updates the job
and environment labels in the target-test.yml
2019-12-18 15:39:25 +08:00
Mahavir Jain
1d70441bdc
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-12-18 06:49:59 +00:00
Darian Leung
2c96976b13
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-12-18 06:49:59 +00:00
Jiang Jiang Jian
a109f7de57
Merge branch 'bugfix/btdm_fix_doc_and_host_bug_backport_v3.3' into 'release/v3.3'
...
Bugfix/btdm fix doc and host bug backport v3.3
See merge request espressif/esp-idf!6955
2019-12-18 14:19:14 +08:00
Geng Yu Chao
db8bcc60f9
Bugfix/btdm fix doc and host bug backport v3.3
2019-12-18 14:19:13 +08:00
Angus Gratton
62f9b975ac
Merge branch 'bugfix/doc_fix_debian_requirements_v3.3' into 'release/v3.3'
...
Docs: Update Debian & Ubuntu install prerequisites (v3.3)
See merge request espressif/esp-idf!7037
2019-12-18 07:35:27 +08:00
Roland Dobai
71b29fac71
Docs: Update Debian & Ubuntu install prerequisites
...
Latest versions of apt-get don't install as much packages by default
as older ones. This fix adds some missing packages discovered for an OS
derived from the latest stable Debian. These packages exist for older
Debian derivatives as well (tested with Ubuntu 16.04 LTS).
Closes https://github.com/espressif/esp-idf/issues/4480
2019-12-17 13:58:51 +01:00
xiehang
b764454e52
esp_wifi:Put some rx code to iram
2019-12-17 12:55:47 +00:00
Jiang Jiang Jian
de9fd03b3e
Merge branch 'bufgix/esp_timer_set_alarm_v3.3' into 'release/v3.3'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v3.3)
See merge request espressif/esp-idf!6997
2019-12-16 19:40:52 +08:00
Jiang Jiang Jian
97dba89daf
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.3' into 'release/v3.3'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6884
2019-12-16 14:07:20 +08:00
Angus Gratton
88cf7ed87e
Merge branch 'bugfix/wifi_internal_memory_v3.3' into 'release/v3.3'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v3.3)
See merge request espressif/esp-idf!6628
2019-12-16 13:39:43 +08:00
Jiang Jiang Jian
82f1be5e5a
Merge branch 'bugfix/hfp_client_indication_v3.3' into 'release/v3.3'
...
component/bt: Fix bugs in HFP feature v3.3
See merge request espressif/esp-idf!6852
2019-12-16 11:32:10 +08:00
Jiang Jiang Jian
ce9ec29737
Merge branch 'bugfix/http_client_buffer_overflow_v3.3' into 'release/v3.3'
...
Fix HTTP client buffer overflow (v3.3)
See merge request espressif/esp-idf!6667
2019-12-16 11:31:55 +08:00
Jiang Jiang Jian
7b73cf613c
Merge branch 'component_bt/osi_fixed_queue_v3.3' into 'release/v3.3'
...
component_bt/: Fix_pointer_type_fixed_queue v3.3
See merge request espressif/esp-idf!6847
2019-12-16 11:31:24 +08:00
Jiang Jiang Jian
a980a1780a
Merge branch 'bugfix/fix_the_bug_in_espnow_example_v3.3' into 'release/v3.3'
...
espnow: fix the bug for calling esp_wifi_set_channel (backport v3.3)
See merge request espressif/esp-idf!6693
2019-12-16 11:30:56 +08:00
Angus Gratton
762a9fe83f
Merge branch 'bugfix/hide_unsupported_cmake_features_v3.3' into 'release/v3.3'
...
security: Hide Secure Boot & Flash Encryption config items when using CMake
See merge request espressif/esp-idf!6899
2019-12-16 11:17:49 +08:00
KonstantinKondrashov
d071cd11c8
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:38:30 +08:00
Mahavir Jain
659ccfa999
Merge branch 'bugfix/set_mconf_idf_build_dir_v3.3' into 'release/v3.3'
...
cmake: set build dir for mconf-idf (v3.3)
See merge request espressif/esp-idf!7007
2019-12-13 20:06:45 +08:00
Shubham Kulkarni
781bd398dc
cmake: set build dir for mconf-idf
...
Fixes an issue where if idf_build_process is called in a CMake
subdirectory, menuconfig looks for the mconf-idf binary in the wrong
place (in the subdirectory build dir instead of root binary dir).
2019-12-13 16:10:01 +05:30
Angus Gratton
876ac4e963
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
Angus Gratton
6231961683
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
KonstantinKondrashov
32ec2750e0
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2019-12-12 14:43:44 +08:00
Angus Gratton
a0c14f46ba
Merge branch 'ci/artifact_expiry' into 'release/v3.3'
...
ci: Minimum 4 days for artifact expiry (v3.3)
See merge request espressif/esp-idf!6982
2019-12-12 14:29:50 +08:00
Angus Gratton
9926a12943
ci: Minimum 4 days for artifact expiry
2019-12-11 18:15:23 +11:00
Ivan Grokhotkov
143d26aa49
Merge branch 'bugfix/doc_package_versions_v3.3' into 'release/v3.3'
...
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5 (v3.3)
See merge request espressif/esp-idf!6975
2019-12-11 14:23:07 +08:00
Angus Gratton
e1eabe6f6a
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-11 14:40:41 +11:00
Angus Gratton
0407ab426e
Merge branch 'bugfix/update_libexpat_v3.3' into 'release/v3.3'
...
expat: Update library from 2.2.5 to 2.2.9 (v3.3)
See merge request espressif/esp-idf!6922
2019-12-09 13:21:10 +08:00
Roland Dobai
bcbc4a9599
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:21:29 +01:00
Jiang Jiang Jian
50737018cc
Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_v3.3' into 'release/v3.3'
...
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth (backport v3.3)
See merge request espressif/esp-idf!6707
2019-12-04 14:57:09 +08:00
Xia Xiaotian
19913cec43
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-04 04:19:58 +00:00
Jiang Jiang Jian
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
Angus Gratton
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
Mahavir Jain
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
Prasad Alatkar
86c4d8737e
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (v3.3)
2019-12-03 02:17:34 +08:00
weitianhua
3ceae811be
adaptation for nano-format
2019-11-29 17:55:22 +08:00
weitianhua
8977e92b4c
component_bt/:bugfix_hfp_client_indication_define_and_cnum_error
2019-11-29 16:22:34 +08:00
baohongde
42b2524776
components/bt: Fix AVRC metadata length error
2019-11-29 15:56:51 +08:00
Tian Hao
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
Jiang Jiang Jian
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
weitianhua
97b43b4054
component_bt/: Fix pointer type in fixed_queue
2019-11-27 16:09:44 +08:00
Angus Gratton
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
Jiang Jiang Jian
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
Angus Gratton
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
Mahavir Jain
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
Ivan Grokhotkov
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
KonstantinKondrashov
51d2d9041c
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-20 15:49:13 +08:00
Jack
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
David Cermak
40d5f61c4d
http_client: added comments to http header generation function
2019-11-19 14:07:38 +00:00
David Cermak
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
Shubham Kulkarni
0f3f7d984a
Fixed warnings for components driver, esp32 and mbedtls
2019-11-19 15:04:01 +05:30
Angus Gratton
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
He Yin Ling
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
Angus Gratton
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
Angus Gratton
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
Jiang Jiang Jian
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
Michael (XIAO Xufeng)
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
baohongde
0f7dc2ec02
components/bt: Fix assert due to no free element form
2019-11-14 15:51:39 +08:00
Jiang Jiang Jian
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
zhangyanjiao
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
ronghulin
92c8fd24bb
lwip: fix DHCP timeout truncation bug
2019-11-12 13:06:55 +08:00
Angus Gratton
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
Ivan Grokhotkov
5a3af62f44
tools/docker: use correct branch and commit of IDF when building
2019-11-06 18:01:24 +01:00
Chen Zheng Wei
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
Nachiket Kukade
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
Ivan Grokhotkov
71d0d08c4e
tools, ci: backport idf_tools.py and IDF Docker image
2019-11-03 03:25:39 +01:00
Darian Leung
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
Marius Vikhammer
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
Ivan Grokhotkov
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Angus Gratton
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
Xia Xiaotian
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
KonstantinKondrashov
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
KonstantinKondrashov
f52b877199
esp32: Add UTs to check the System time does not jump back
2019-10-29 17:17:26 +00:00
Ivan Grokhotkov
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
baohongde
c570e253fe
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 20:04:15 +08:00
Marius Vikhammer
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
wangmengyang
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
baohongde
28c19e623f
components/bt: Disable BR/EDR GATT
2019-10-29 10:10:52 +00:00
Tian Hao
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
Jiang Jiang Jian
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
Angus Gratton
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
Angus Gratton
9911823658
docs: Add ESP-IDF support period policy
2019-10-29 16:36:08 +11:00
Jiang Jiang Jian
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
Angus Gratton
20db198401
ci: Temporarily ignore CAN example test failures
...
Due to internal CI issue.
2019-10-28 14:54:21 +08:00
Darian Leung
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
Darian Leung
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
fc6b44f500
esptool: Bump to v2.8 release
2019-10-23 09:08:34 +11:00
David Cermak
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
Darian Leung
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
Roland Dobai
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
Angus Gratton
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
David Cermak
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
David Cermak
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Konstantin Kondrashov
f2dfb0cf70
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-10-21 07:32:25 +00:00
Konstantin Kondrashov
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
Angus Gratton
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
Roland Dobai
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Mahavir Jain
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
Ajita Chavan
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
Jiang Jiang Jian
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
Ivan Grokhotkov
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
Kedar Sovani
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
Jiang Jiang Jian
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
Angus Gratton
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
Angus Gratton
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
Prasad Alatkar
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
Angus Gratton
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
Angus Gratton
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
Ivan Grokhotkov
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
xueyunfei
6c60d3ef29
fix ipv6 bug that input the wrong broadcast address to return OK
2019-10-15 09:40:57 +00:00
Angus Gratton
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Kerry Jones
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
Konstantin Kondrashov
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
Konstantin Kondrashov
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
Angus Gratton
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
KonstantinKondrashov
5ba3b8c587
newlib: Fix UT - test time adjustment happens linearly
2019-10-14 14:52:24 +08:00
Angus Gratton
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
Mahavir Jain
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
Mahavir Jain
b5aa65c136
bootloader_support: fix logging prints around chip revision
2019-10-13 11:58:29 +05:30
ganeshlandge
61486620c7
fixes : set_url discards username and password
2019-10-12 10:50:27 +05:30
liu zhifu
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
Konstantin Kondrashov
2165154c04
rmt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
46e918cfa1
pcnt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
051d2fbdd5
sdmmc_host/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
41f91d3ef6
i2s/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
ffce53449b
can/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
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
Vikram Dattu
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
Angus Gratton
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
Mahavir Jain
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
Roland Dobai
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
suda-morris
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
aleks
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
Jitin George
25f837a148
esp-tls: Add support to add CN from config and validate PEM buffers
2019-10-09 14:02:48 +00:00
Jitin George
53e295a616
example/simple_ota_example: Fix python formatting and KConfig
2019-10-09 14:02:48 +00:00
Jitin George
156ffa412e
example/simple_ota_example: Add support for skipping OTA server certificate CN field
2019-10-09 14:02:48 +00:00
Jitin George
7726102bfb
esp_http_client: Add support to disable validation of certificate's CN field
2019-10-09 14:02:48 +00:00
Jitin George
8c74a4a989
tcp_transport: Add API to allow skipping of certificate CN validation
2019-10-09 14:02:48 +00:00
Jitin George
48bd2152d0
example/simple_ota_example: Add example test
2019-10-09 14:02:48 +00:00
Gregory Eslinger
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
Jitin George
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
Jitin George
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
Jitin George
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
Sachin Parekh
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
Sachin Parekh
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
Sachin Parekh
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
Per-Olov Jernberg
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
Jiang Jiang Jian
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
Mahavir Jain
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
chenjianqiang
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
suda-morris
c67b02db52
freertos: remove semicolon in xTaskNotifyGive
2019-10-08 12:39:07 +08:00
suda-morris
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
David Cermak
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
David Cermak
b1f264be69
esp_event: fix minor memory leak when overwriting alredy registered handler
2019-10-07 19:15:59 +00:00
David Cermak
d14f2c5fca
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected
2019-10-07 19:15:59 +00:00
David Cermak
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
Aditya Patwardhan
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
KonstantinKondrashov
c5b1b57b09
esp32: Fix UT - Check pre-read workaround DPORT and Hi-interrupt
2019-09-30 19:04:38 +08:00
zhangyanjiao
fbd38ad19a
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-09-30 12:03:58 +08:00
zhangyanjiao
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Prasad Alatkar
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
suda-morris
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
suda-morris
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
baohongde
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
wangmengyang
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
Angus Gratton
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
chenyudong
e943181f72
test: move wifi library check to esp32-wifi-lib ci
2019-09-20 17:50:23 +08:00
xiehang
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
liu zhifu
3badf6ebd9
mesh: fix the bug that esp_mesh_stop() doesn't return
2019-09-20 17:49:49 +08:00
liu zhifu
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
liu zhifu
b933d851bf
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-09-20 17:49:49 +08:00
liu zhifu
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
Angus Gratton
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
Angus Gratton
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
Mahavir Jain
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
KonstantinKondrashov
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
Martin Thierer
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
KonstantinKondrashov
ca3df7de7f
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-14 09:52:58 +00:00
KonstantinKondrashov
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
Angus Gratton
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
Angus Gratton
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
Renz Christian Bagaporo
3a291da164
cmake: fix variable scope issues
2019-09-13 01:32:50 +00:00
Mahavir Jain
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
chenyudong
f6d0a913de
test: fix test case MESH_EST_2403
2019-09-12 02:50:17 +00:00
Jiang Jiang Jian
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
Roland Dobai
94091761c4
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:39:01 +02:00
zhangyanjiao
262f3774e8
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:45:08 +08:00
Angus Gratton
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
Xia Xiaotian
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
Angus Gratton
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
Chinmay
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
wangmengyang
0ce9d2662d
add missing source files to CMakeLists for HFP
2019-09-03 11:51:16 +08:00
Angus Gratton
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
Angus Gratton
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
Jiang Jiang Jian
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
Angus Gratton
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
Mahavir Jain
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
Roland Dobai
c2bb7d7cd6
Fix path in the Efuse table test
2019-08-29 09:53:17 +02:00
redchenjs
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
Roland Dobai
cc3ba7186f
esp_http_client: fix CI issues & return value
2019-08-28 16:46:04 +05:30
Nguyễn Hồng Quân
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
Piyush Shah
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
wangmengyang
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
Sergei Silnov
cfd7a5b84e
idf.py: Add check for new cmake cache values
2019-08-27 18:37:25 +02:00
chenjianqiang
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
He Yin Ling
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
He Yin Ling
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
He Yin Ling
7b39d5e5c5
Apply suggestion to tools/ci/build_examples_cmake.sh
2019-08-26 11:00:46 +08:00
He Yin Ling
d5b0b36758
Apply suggestion to tools/ci/build_examples.sh
2019-08-26 11:00:33 +08:00
He Yin Ling
0a609be968
CI: use parallel attribute in CI config file
2019-08-26 10:46:39 +08:00
Konstantin Kondrashov
8fa409a0b5
esp32: Add UTs for DPORT and Hi-interrupt
2019-08-21 09:48:16 +00:00
Konstantin Kondrashov
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
Angus Gratton
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
Angus Gratton
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
Jiang Jiang Jian
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
Michael (XIAO Xufeng)
7b3bedbc10
sdio_slave: fix the send_flush infinite loop issue
...
Also add some helper functions.
2019-08-20 16:25:58 +08:00
Angus Gratton
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
chenjianqiang
4cd7fd89f5
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-16 07:38:54 +00:00
Angus Gratton
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
Angus Gratton
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
suda-morris
b482ba117d
efuse: update the scheme of getting chip revision
2019-08-13 15:49:01 +08:00
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Renz Christian Bagaporo
dbd05d8986
cmake: link test components to executable directly
2019-08-09 15:18:06 +08:00
raldone01
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
Angus Gratton
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
Angus Gratton
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
kooho
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
Vikram Dattu
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
Vikram Dattu
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
Vikram Dattu
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
Jiang Jiang Jian
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Kirill Chalov
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
Angus Gratton
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
Angus Gratton
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
krzychb
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
Tian Hao
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
Angus Gratton
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
Mahavir Jain
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
Mahavir Jain
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
Mahavir Jain
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
baohongde
b9f2531e8c
components/bt: Fix memory leak about rfcomm
2019-07-25 16:51:40 +08:00
xiehang
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
He Yin Ling
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
He Yin Ling
31c8be0738
tiny-test-fw: support translate backtrace in IDFDUT
2019-07-23 09:44:28 +00:00
He Yin Ling
cbc438c807
tiny-test-fw: support detect exception in IDFDUT
2019-07-23 09:44:28 +00:00
Jitin George
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
Jitin George
ff2624f09c
esp_http_client: Fix header sent event bug
2019-07-21 07:24:11 +00:00
Angus Gratton
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
Jiang Jiang Jian
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
KonstantinKondrashov
8ed62223cd
app_update: Add [timeout=90]
2019-07-17 18:52:39 +08:00
Ivan Grokhotkov
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
Angus Gratton
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
Jiang Jiang Jian
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
Ramesh
5758b739f1
Fixed the bug that the malloc memory size is smaller than the actual required.
2019-07-16 15:09:23 +08:00
zhangyanjiao
2d7124e319
fix the watchdog bug during WiFi scan and BLE scan
2019-07-16 10:31:19 +08:00
chenjianqiang
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
chenjianqiang
9821e533db
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-15 14:26:53 +08:00
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Mahavir Jain
6af30250a8
spi_flash: add test case for stale read issue on memory mapped partition
2019-07-11 04:23:51 +00:00
Mahavir Jain
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
Renz Christian Bagaporo
d7569b5862
cmake: refactor finding components
2019-07-10 16:50:23 +08:00
Renz Christian Bagaporo
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
Angus Gratton
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
Renz Christian Bagaporo
0ef3af367d
ldgen,make: simplify os check
2019-07-10 12:04:56 +08:00
V.Dudnik
9afe47425b
project_config_mk: fix if condition
2019-07-10 12:04:20 +08:00
Renz Christian Bagaporo
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
Jiang Jiang Jian
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
kooho
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
baohongde
e64bae3a0c
components/bt: Fix iphone can't get song's informations
2019-07-08 19:40:22 +08:00
Angus Gratton
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
Angus Gratton
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
Sagar Bijwe
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
Angus Gratton
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
Jiang Jiang Jian
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
Anurag Kar
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
Jiang Jiang Jian
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
Anurag Kar
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
Anurag Kar
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
Anurag Kar
b7eb82d191
Provisioning Examples : Bugfix in copying Wi-Fi SSID and Passphrase
2019-07-05 13:20:40 +00:00
Anurag Kar
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
Jiang Jiang Jian
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
Shivani Tipnis
881cd4310c
nvs_util: Add check for keylen in input csv
2019-07-05 10:52:17 +00:00
Ajita Chavan
13e6e9f592
i2s: test case for variation in apll clock rate
2019-07-04 18:27:12 +05:30
redchenjs
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
zhiweijian
62e359a4e1
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 20:12:04 +08:00
Angus Gratton
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
qiyuexia
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
Mahavir Jain
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
chenjianqiang
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
chenjianqiang
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
chenjianqiang
55f5c2e08d
feat(psram): config SPI psram pins based on efuse value
2019-07-02 14:15:55 +08:00
Angus Gratton
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
Mahavir Jain
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
Shivani Tipnis
2073a6e738
nvs_util: Set previous page state to FULL before creating new page
2019-06-30 10:55:08 +00:00
Anurag Kar
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
Anurag Kar
2617dee69f
wifi_prov_mgr : Free memory allocated by cJSON_Print
2019-06-28 07:49:03 +00:00
Anurag Kar
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
Anurag Kar
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
Anurag Kar
52f0b86965
Provisioning : Added Wi-Fi Provisioning Manager example and test script
2019-06-28 07:49:03 +00:00
Anurag Kar
12bbe0f39b
wifi_provisioning : Docs updated with information about new provisioning manager
2019-06-28 07:49:03 +00:00
Anurag Kar
536b2d8a65
wifi_provisioning : Wi-Fi Provisioning Manager added
2019-06-28 07:49:03 +00:00
Angus Gratton
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
Angus Gratton
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
Mahavir Jain
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
Angus Gratton
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
Konstantin Kondrashov
166918e802
mbedtls: Add UTs for modexp
2019-06-26 14:19:40 +08:00
Konstantin Kondrashov
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
He Yin Ling
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
Chen Sheng
dc9c2f3b60
test: modify test cases for bluedroid (backport v3.3)
2019-06-25 23:18:34 +08:00
Sachin Parekh
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
Sachin Parekh
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
Sachin Parekh
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
Sachin Parekh
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
Sachin Parekh
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
Sachin Parekh
28a8349fb8
timer: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
Sachin Parekh
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
Sachin Parekh
4ae01f0c9d
rmt: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-06-25 04:33:32 +00:00
Sachin Parekh
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
Sachin Parekh
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
Angus Gratton
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
zhiweijian
0e022b7db9
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 03:23:59 +00:00
Angus Gratton
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
Krzysztof
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
He Yin Ling
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
Angus Gratton
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
Renz Christian Bagaporo
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
Angus Gratton
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
Krzysztof
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
Jiang Jiang Jian
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
Michael (XIAO Xufeng)
1d2a9efa55
spi: fix a possible concurrency issue
2019-06-19 12:44:24 +08:00
Roland Dobai
5ab4a9da51
Temporarily fix incompatibility with pyparsing 2.4.0
2019-06-17 09:40:06 +00:00
Angus Gratton
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
hemal.gujarathi
6cf4e14671
remove secure boot test mode
2019-06-14 14:37:02 +05:30
Angus Gratton
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
He Yin Ling
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
Jiang Jiang Jian
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
xueyunfei
b908d4325b
lwip:fix dns bug for 3.3
2019-06-13 19:36:55 +08:00
Jiang Jiang Jian
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
Roland Dobai
60b937b5ca
spi_flash: Fix Kconfig indentation
...
Closes https://github.com/espressif/esp-idf/issues/3598
2019-06-13 07:55:40 +02:00
Angus Gratton
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
baohongde
2ee0f98d05
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:49:28 +08:00
Jiang Jiang Jian
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
xiehang
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
Jiang Jiang Jian
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
Konstantin Kondrashov
d54fadef41
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-05 10:22:48 +00:00
Konstantin Kondrashov
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
Renz Christian Bagaporo
261c5bf6a8
ci: check that build uses ccache when present
2019-06-04 23:28:02 +08:00
Renz Christian Bagaporo
6132d7bce3
cmake: restore ccache use when present
...
Closes https://github.com/espressif/esp-idf/issues/3116
2019-06-04 23:27:18 +08:00
Konstantin Kondrashov
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
liu zhifu
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
Angus Gratton
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
Angus Gratton
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
Jiang Jiang Jian
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
Anurag Kar
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
Anurag Kar
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
Anurag Kar
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
Anurag Kar
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
Angus Gratton
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
Anurag Kar
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
Angus Gratton
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
Shivani Tipnis
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
liu zhifu
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
Konstantin Kondrashov
33121c3311
soc: Add some headers into gpio_periph.h
2019-05-29 13:37:22 +08:00
Konstantin Kondrashov
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
Renz Christian Bagaporo
e821c22a8c
ci: check that custom bootloader overrides original
2019-05-27 17:04:23 +08:00
Renz Christian Bagaporo
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
Jiang Jiang Jian
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
zhangyanjiao
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
Angus Gratton
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
Jiang Jiang Jian
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
Angus Gratton
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
liu zhifu
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
Jiang Jiang Jian
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
Krzysztof
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
xiehang
5c42c831f5
wifi: fix softap crash when sta reset (backport v3.3)
2019-05-20 20:47:47 +08:00
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Renz Christian Bagaporo
fc3aa765cf
ci: fix cmake example build fail
2019-05-13 11:58:41 +08:00
Angus Gratton
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
suda-morris
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
Angus Gratton
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
Angus Gratton
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
suda-morris
6dc31101ce
cJSON: update to v1.7.11
...
Closes https://github.com/espressif/esp-idf/issues/3332
2019-05-10 10:26:04 +08:00
Ivan Grokhotkov
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
V.Dudnik
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
Jiang Jiang Jian
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
Angus Gratton
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
Roland Dobai
5988e77a3a
VFS: Allocate socket select semaphore outside ISR
2019-05-06 16:11:59 +02:00
Roland Dobai
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
Anurag Kar
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
Anurag Kar
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
Anurag Kar
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
zhangyanjiao
8e3a1876cb
wifi: fix the bug that WPS fails when AP is encrypted
2019-05-06 10:50:04 +08:00
Jiang Jiang Jian
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
Angus Gratton
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
zhangyanjiao
0033b31442
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-04-29 16:21:58 +08:00
Angus Gratton
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
Jiang Jiang Jian
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
Konstantin Kondrashov
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
Vikram Dattu
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
Angus Gratton
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
baohongde
39dbe7daa8
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:30:04 +08:00
Angus Gratton
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
Konstantin Kondrashov
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
Vikram Dattu
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
Renz Christian Bagaporo
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
Jiang Jiang Jian
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
zhiweijian
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
xiehang
924895f832
examples: fix iperf exit error
2019-04-22 19:56:15 +08:00
He Yin Ling
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
Jiang Jiang Jian
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
liu zhifu
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
chenyudong
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
Jiang Jiang Jian
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
zhangyanjiao
18533e132a
wifi: fix the set config bug for bssid_set
2019-04-16 20:40:00 +08:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
GOPTIONS\pfrost
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
Mahavir Jain
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
Jiang Jiang Jian
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
liu zhifu
184f2f0fd6
esp32: add support for WiFi signal test
...
Add support for WiFi signal test
2019-04-15 10:17:14 +08:00
Jiang Jiang Jian
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
Jack
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jack
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
zhiweijian
b8a2b77f70
component/bt: fix memory leak when settig tx power
2019-04-14 06:25:53 +00:00
negativekelvin
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
Wangjialin
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
Jiang Jiang Jian
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
Renz Christian Bagaporo
1b3c6fb1a1
ldgen: rename common module
2019-04-14 12:48:27 +08:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Angus Gratton
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
Angus Gratton
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
Konstantin Kondrashov
a2f00b0adf
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
2019-04-10 20:49:27 +08:00
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Hrishikesh Dhayagude
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
Angus Gratton
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
Angus Gratton
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
liu zhifu
3e972a3ffe
esp32: increase WiFi block scan timeout value
...
Increase WiFi block scan internal timeout value.
2019-04-08 20:02:14 +08:00
Anurag Kar
8bd09fb0a5
esp_http_server : Test added to check limit on max_open_sockets config option
2019-04-08 11:22:12 +05:30
Anurag Kar
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
Renz Christian Bagaporo
2f72645320
ldgen: allow combining mapping fragment definitions
2019-04-05 13:12:32 +08:00
Shivani Tipnis
4be28a798f
mfg_util: Add support for comments in input config csv file only
2019-04-04 18:25:03 +05:30
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Shivani Tipnis
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
baohongde
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
Jiang Jiang Jian
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
baohongde
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
Angus Gratton
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
Shivani Tipnis
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
Liu Zhi Fu
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
maojianxin
ce3d20dcd2
Fix external start fail
2019-04-02 12:54:08 +11:00
Zhang Jun Yi
1dc461ba80
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-04-02 12:54:08 +11:00
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Anurag Kar
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
Anurag Kar
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
Anurag Kar
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
zhangyanjiao
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
Jiang Jiang Jian
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
zhangyanjiao
6d2faf4172
wifi: modify wifi reason code
2019-04-01 11:29:29 +08:00
zhiweijian
826146e985
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
2019-03-28 11:13:30 +08:00
Shivani Tipnis
2faf3c9c34
nvs_util: Add support for creation of unique encryption keys
...
(cherry picked from commit e1f466e708c2c1b825e955ec28b70dc3058f9262)
2019-03-27 18:28:42 +05:30
Shivani Tipnis
3fedc3eb28
nvs_util: Add support for creation of unique encryption keys
...
(cherry picked from commit 8b88b3303d83f5f03249e7b3410f6ecabaa00396)
2019-03-26 16:14:31 +05:30
Shivani Tipnis
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
Shivani Tipnis
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
Shivani Tipnis
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
baohongde
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
Jiang Jiang Jian
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
Ivan Grokhotkov
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
Renz Christian Bagaporo
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
zhiweijian
88fe438524
Component/bt: modify HCI_GET_CMD_BUF
2019-03-22 14:59:11 +08:00
chenyudong
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
Angus Gratton
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
Ivan Grokhotkov
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Angus Gratton
f72df315f7
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
2019-03-20 18:30:25 +11:00
chenyudong
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
zhiweijian
3ed0f8e113
Component/bt: fix build warning when bluedroid disable log
2019-03-20 15:02:57 +08:00
zhiweijian
7e1ccb56a7
Component/bt: fix blufi prepare write crash
2019-03-20 14:23:11 +08:00
Konstantin Kondrashov
50a0b00afa
esp_tool: Exclude elf-sha256 from bootloader
...
Closes: IDFGH-690
2019-03-20 12:19:23 +08:00
Jiang Jiang Jian
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
krzychb
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
zhiweijian
7a530be302
Component/bt: fix no adv report when scaning with sleep enable
2019-03-18 17:09:00 +08:00
zhangyanjiao
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Jiang Jiang Jian
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
Angus Gratton
2f2f0fbcbd
confserver: Send an error response if JSON request is malformatted
2019-03-15 17:37:09 +11:00
Angus Gratton
ec4c75b692
confserver: In protocol V2, a "load" should only send back changes not all items
2019-03-15 17:37:09 +11:00
Angus Gratton
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
Angus Gratton
0176f912b6
esp32: Chunk input blocks for esp_sha() function performance, add perf test
2019-03-15 17:34:06 +11:00
Angus Gratton
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
Angus Gratton
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
Angus Gratton
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
Jiang Jiang Jian
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
Angus Gratton
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
Ivan Grokhotkov
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
Ivan Grokhotkov
50ceb45e6f
console/linenoise: support buffered stdout
2019-03-15 11:31:22 +08:00
KonstantinKondrashov
646c7a7515
tools/test_build_system: Add tests with long IDF_VER
2019-03-14 15:49:16 +08:00
Konstantin Kondrashov
cc7e91e1a3
cmake: Trim IDF_VER to fit a 32-bit field
2019-03-14 15:49:03 +08:00
Konstantin Kondrashov
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
Hrishikesh Dhayagude
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
Tian Hao
f330bb50b2
fix the bug assert(8192 0) in rwble.c 234
2019-03-14 11:43:16 +08:00
He Yin Ling
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
Liu Zhi Fu
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
David Cermak
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
David Cermak
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
David Cermak
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
David Cermak
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
David Cermak
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
Jiang Jiang Jian
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
Angus Gratton
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
zhiweijian
a1546e0714
Component/bt: add BLE adv report flow control
2019-03-13 14:58:32 +08:00
Angus Gratton
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
Angus Gratton
e18c7cb98d
Merge branch 'bugfix/mdns_incorrect_semaphore_use' into 'master'
...
mdns: use binary semaphore instead of mutex when searching
See merge request idf/esp-idf!4464
2019-03-13 13:11:45 +08:00
Angus Gratton
8120efc6ed
Merge branch 'bugfix/modify_dhcpserver_and_tcpip_adapter' into 'master'
...
modify the behavior for dhcpserver and tcpip_adapter
Closes IDFGH-557 and IDFGH-563
See merge request idf/esp-idf!4453
2019-03-13 12:54:55 +08:00
Angus Gratton
76fd26c9fb
Merge branch 'bugfix/build_fails_when_editor_assoc_with_py_scripts' into 'master'
...
Fix issues with CMake builds when python scripts are associated with an editor
See merge request idf/esp-idf!4459
2019-03-13 07:47:27 +08:00
Angus Gratton
b6ddebb861
Merge branch 'bugfix/blink-increase-task-size' into 'master'
...
examples: Increase task size for blink demo
See merge request idf/esp-idf!4342
2019-03-13 07:44:48 +08:00
Renz Christian Bagaporo
5fb1c1ad3e
ci: test full build never runs '/usr/bin/env python' or similar
2019-03-12 17:26:54 +08:00
Ivan Grokhotkov
eef0b5090a
mdns: use binary semaphore instead of mutex when searching
...
mdns_search_once_t::lock is used to synchronize tasks (taken by one
task and given by the other) so it should not be a mutex.
Convert to semaphore, and rename to indicate its purpose.
2019-03-12 09:33:06 +01:00
Renz Christian Bagaporo
d0b2d5ec95
cmake: Fix for Python files executed directly, not via PYTHON variable
...
A problem if the Python interpreter used for idf.py (or set via PYTHON
variable) didn't match
"/usr/bin/env python" (or the associated executable for .py files, on
Windows).
Closes https://github.com/espressif/esp-idf/issues/3160
Possibly also fix for https://github.com/espressif/esp-idf/issues/2936
Adds build system test to catch any future direct execution of Python in
the standard build process.
2019-03-12 13:31:44 +08:00
Angus Gratton
86c9b63546
Merge branch 'feature/sync_issues_to_jira' into 'master'
...
github: Add workflow file to sync issues to JIRA
See merge request idf/esp-idf!4443
2019-03-12 06:31:48 +08:00
Angus Gratton
2f83aea8f3
Merge branch 'bugfix/freemodbus_remove_critical_section' into 'master'
...
freemodbus: Fix remove critical_sections
See merge request idf/esp-idf!4289
2019-03-12 06:30:50 +08:00
Ivan Grokhotkov
fc4823c885
Merge branch 'bugfix/coredump_improvements_refactoring_delete_include' into 'master'
...
esp32: coredump refactoring fix bug (remove duplicated include)
See merge request idf/esp-idf!4328
2019-03-11 19:00:39 +08:00
Angus Gratton
79ca95ddf6
Merge branch 'doc/jtag_debug_zh_CN' into 'master'
...
zh_CN translation of JTAG debugging
See merge request idf/esp-idf!3709
2019-03-11 16:35:04 +08:00
Angus Gratton
9679be19c5
Merge branch 'bugfix/efuse_virtual_mode' into 'master'
...
efuse: When Virtual eFuses are enabled, seed the virtual values as part of startup code
Closes WIFI-338
See merge request idf/esp-idf!4454
2019-03-11 16:33:32 +08:00
Angus Gratton
048b405296
Merge branch 'bugfix/doc_ubuntu_packages' into 'master'
...
docs: Update package dependencies
Closes IDFGH-360
See merge request idf/esp-idf!4406
2019-03-11 15:53:57 +08:00
Angus Gratton
de7daa14a9
Merge branch 'bugfix/msys_cancel_idfpy' into 'master'
...
tools: re-run idf.py in MSYS with winpty
Closes #67
See merge request idf/esp-idf!4341
2019-03-11 12:27:36 +08:00
Angus Gratton
af1ea9b1b9
efuse: When Virtual eFuses are enabled, seed the virtual values as part of startup code
2019-03-11 15:20:40 +11:00
zhangyanjiao
27cc0d1f91
modify the behavior for dhcpserver and tcpip_adapter:
...
1. dhcp_server: suppress send_offer debug output
2. tcpip_adapter: zero-initialize system_event_t structures
3. tcpip_adapter: pass client IP address along with SYSTEM_EVENT_AP_STAIPASSIGNED
Closes https://github.com/espressif/esp-idf/issues/2924
Closes https://github.com/espressif/esp-idf/issues/2949
2019-03-11 12:11:05 +08:00
He Yin Ling
f42ae05d1e
Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed' into 'master'
...
test: fix CI UT job pass even ut app bootup fail
See merge request idf/esp-idf!4208
2019-03-11 10:19:15 +08:00
He Yin Ling
8f3fe52b5a
test: temp disable spi master slave mode test
2019-03-10 06:21:37 +00:00
He Yin Ling
1a9f019d2a
unit-test-app: increase factory partition size
2019-03-10 06:21:37 +00:00
He Yin Ling
323a790f01
test: fix CI UT job pass even ut app bootup fail
2019-03-10 06:21:37 +00:00
Jiang Jiang Jian
09e72776dc
Merge branch 'bugfix/autoip_memoey_leak_debug' into 'master'
...
fix the bug in auto Ip memory leak
See merge request idf/esp-idf!4395
2019-03-08 19:54:25 +08:00
aleks
13e1c0b32f
esp32: coredump header (fix linker.lf)
...
remove duplicated include from components/esp32/incliude/esp_core_dump.h
espcoredump/incliude/esp_core_dump.h:
fix signature of the functions esp_core_dump_to_uart() and esp_core_dump_to_uart();
add espcoredump into COMPONENT_PRIV_REQUIRES list
fix linker.lf file
2019-03-08 09:49:37 +00:00
Angus Gratton
d0e3564603
github: Add workflow file to sync issues to JIRA
2019-03-08 18:39:30 +11:00
Angus Gratton
bba89e1514
Merge branch 'bugfix/console_join_example' into 'master'
...
console: fix wrong timeout settiing in join command
Closes IDF-168
See merge request idf/esp-idf!4366
2019-03-08 12:02:57 +08:00
Angus Gratton
3a410d6a3d
Merge branch 'bugfix/httpd_sess_ctx' into 'master'
...
esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes
See merge request idf/esp-idf!4417
2019-03-08 06:55:44 +08:00
Roland Dobai
ef250ced1b
tools: re-run idf.py in MSYS with winpty
...
This is done in order to cancel subprocesses on keyboard interrupt
(CTRL+C).
2019-03-07 14:47:19 +01:00
Roland Dobai
f0194f2a5e
docs: Update package dependencies
...
Closes https://github.com/espressif/esp-idf/issues/2384
2019-03-07 14:46:59 +01:00
aleks
aaa1cb6eec
freemodbus: change critical sections to semaphore mutex
...
revert changes made in mbrtu.c, mbascii.c
change critical section type to semaphore mutex instead of spin lock
Closes: https://github.com/espressif/esp-idf/issues/3009
2019-03-07 09:59:40 +01:00
Konstantin Kondrashov
1ef7d093e1
freemodbus: Fix remove critical_sections
...
Closes: https://github.com/espressif/esp-idf/issues/3009
2019-03-07 08:00:45 +00:00
Ivan Grokhotkov
5f3bd38d3d
Merge branch 'bugfix/cmakeSpaceProcessForCOMPONENT_SRCS' into 'master'
...
add spaces2list for COMPONENT_SRCS
See merge request idf/esp-idf!4427
2019-03-07 15:11:51 +08:00
Anton Maklakov
5156645348
Merge branch 'bugfix/ci_submodule_paths' into 'master'
...
CI - Fix the parsing of submodule paths
See merge request idf/esp-idf!4429
2019-03-07 13:58:04 +08:00
morris
9297b07a97
cmake: add spaces2list for COMPONENT_SRCS
...
According to ESP-IDF Cmake build system document, COMPONENT_SRCS should support using spaces to sperate source files.
Closes https://github.com/espressif/esp-idf/issues/3130
2019-03-06 20:55:38 +08:00
Anton Maklakov
88ec05cba2
ci: Fix the parsing of submodule paths
2019-03-06 19:37:34 +08:00
morris
378f8f72f0
console: fix wrong timeout settiing in join command
...
1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds
2. Don't clear the CONNECTED_BIT when connected to AP.
2019-03-06 18:25:10 +08:00
Ivan Grokhotkov
ea0a1c3030
Merge branch 'bugfix/docs_PROJECT_VER' into 'master'
...
Updated documentation concerning 'PROJECT_VER' and 'PROJECT_NAME'.
See merge request idf/esp-idf!4410
2019-03-06 17:29:10 +08:00
xiehang
b88b9f4e03
fix the bug in auto Ip memory leak
...
Closes https://jira.espressif.com:8443/browse/WIFI-266
2019-03-06 14:44:06 +08:00
Jiang Jiang Jian
c1e50c8a27
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID' into 'master'
...
Component/bt: fix iOS and win10 compatibility error for HID
See merge request idf/esp-idf!4396
2019-03-06 14:11:38 +08:00
Ivan Grokhotkov
42c906140e
Merge branch 'bugfix/level5_intr_alloc' into 'master'
...
esp32: esp_intr_alloc: Fixed issue with level 5 not being called
Closes IDFGH-616
See merge request idf/esp-idf!4405
2019-03-06 11:18:36 +08:00
Ivan Grokhotkov
d474018725
Merge branch 'feature/gdbstub_task_list' into 'master'
...
Add support for listing tasks to gdb in gdbstub
Closes IDFGH-498
See merge request idf/esp-idf!4357
2019-03-06 11:12:46 +08:00
Ivan Grokhotkov
ff020c3a18
Merge branch 'docs/correct_typos_in_interrupt_handling_docs' into 'master'
...
docs: fix typo and link in high level interrupt documentation
See merge request idf/esp-idf!4419
2019-03-06 11:11:43 +08:00
krzychb
88b153fcf7
Fixed fancy quotes
2019-03-05 19:21:50 +01:00
krzychb
e243ee972d
Updated documentation concerning 'PROJECT_VER' and 'PROJECT_NAME'.
...
Closes https://github.com/espressif/esp-idf/issues/3115 .
2019-03-05 19:21:50 +01:00
Jiang Jiang Jian
0f927791be
Merge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist' into 'master'
...
Decouple WiFi and BT with coexist to reduce bin size
Closes IDF-469
See merge request idf/esp-idf!4363
2019-03-05 15:14:16 +08:00
Ivan Grokhotkov
ddd08a6e13
Merge branch 'doc/add_build_system_cmake_translation' into 'master'
...
zh_CN translation of build system (cmake version)
See merge request idf/esp-idf!4122
2019-03-05 15:02:48 +08:00
Wang Fang
19939e5b60
zh_CN translation of build system (cmake version)
2019-03-05 15:02:48 +08:00
Angus Gratton
48d3a5804d
Merge branch 'bugfix/simple_ota_example' into 'master'
...
bugfix(simple_ota_example): Compatible with V3.1 and V3.2,because the NVS format is different
See merge request idf/esp-idf!3983
2019-03-05 13:05:53 +08:00
Mahavir Jain
2a9d2d5be9
docs: fix typo and link in high level interrupt documentation
2019-03-05 10:27:35 +05:30
Ivan Grokhotkov
c22e572ad0
gdbstub: minor cleanup
...
1. Add Kconfig options to control task listing support.
2. Convert magic values (-1, -2) to named constants.
3. Convert spaces to tabs to match the rest of the file.
4. Rename getAllTasksHandle to getTaskInfo to reflect its purpose.
5. Add some curly braces for single line statements.
2019-03-05 12:11:45 +08:00
X-Ryl669
b797f05558
Add support for listing tasks to gdb in gdbstub
...
…and changing the active task and fetching each task's stack
Merges https://github.com/espressif/esp-idf/pull/2828
2019-03-05 12:00:22 +08:00
Angus Gratton
e053fdafc6
Merge branch 'doc/linker_script_generation_zh_CN' into 'master'
...
zh_CN translation of linker script generation
See merge request idf/esp-idf!4226
2019-03-05 11:02:31 +08:00
XiaXiaotian
b9b401ee39
Decouple WiFi and BT with coexist to reduce bin size
...
1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.
2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.
2019-03-05 10:38:14 +08:00
Jiang Jiang Jian
bf2c46674d
Merge branch 'bugfix/fix_some_wifi_bugs_0301' into 'master'
...
esp32: fix some WiFi bugs
See merge request idf/esp-idf!4399
2019-03-05 10:35:22 +08:00
Krzysztof Budzynski
89ae5908d6
Merge branch 'feature/upgrade_sphinx_and_breathe' into 'master'
...
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and 4.11.1. Updated check of Sphinx warnings to account for the filename instead of the whole path, that for the same errors may be different between English and Chinese docs.
See merge request idf/esp-idf!4282
2019-03-05 03:42:34 +08:00
Piyush Shah
f28f4016cb
esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes
...
By default, if a URI handler changes the http session context,
the webserver internally clears the older context after the handler
returns. However, if applications want to change this behavior and
manage the allocation/de-allocation/freeing themselves and let the
server handle only the "socket close" case, this commit provides such
an option.
2019-03-05 00:21:03 +05:30
Ivan Grokhotkov
dace2d6bc5
Merge branch 'bugfix/uart_fix_critical_section_api_from_isr' into 'master'
...
uart: use correct critical section API from ISR context
See merge request idf/esp-idf!4301
2019-03-04 16:24:22 +08:00
Ivan Grokhotkov
b3ee815ec1
Merge branch 'feature/esp_http_client_global_ca_store' into 'master'
...
esp_http_client: add support for using certs from global ca store
See merge request idf/esp-idf!4302
2019-03-04 16:24:07 +08:00
Christian Hoene
025deab4d2
esp32: esp_intr_alloc: Fixed issue with level 5 not being called
...
Closes https://github.com/espressif/esp-idf/issues/3039
Merges https://github.com/espressif/esp-idf/issues/3040
2019-03-01 17:11:51 +11:00
Liu Zhi Fu
2f547ca7c8
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug that STA incorrectly deletes BA when receiving DelBA request
2. Add out of memory check
3. Fix the bug that STA incorrectly receives packets when scanning in connected status
2019-03-01 11:25:36 +08:00
Jiang Jiang Jian
ebdcbe8c60
Merge branch 'doc/crc_apis_usage' into 'master'
...
Add CRC APIs usage
See merge request idf/esp-idf!4351
2019-03-01 10:03:03 +08:00
Ivan Grokhotkov
6c49f19247
Merge branch 'test/spi_param_wiring_doc' into 'master'
...
spi test: describe the wiring of param test in the comments
See merge request idf/esp-idf!4394
2019-02-28 21:00:41 +08:00
zhiweijian
d71df18d92
Component/bt: fix iOS and win10 compatibility error for HID
2019-02-28 20:39:12 +08:00
michael
12a6664afa
spi test: describe the wiring of param test in the comments
2019-02-28 19:43:58 +08:00
Jiang Jiang Jian
d82c80a07b
Merge branch 'bugfix/wifi_modify_wifi_kconfig' into 'master'
...
esp32: modify WiFi Kconfig in order to achieve better compatility and performance
See merge request idf/esp-idf!4164
2019-02-28 18:21:16 +08:00
Angus Gratton
2a23233ebe
Merge branch 'feature/efuse_manager' into 'master'
...
Feature/efuse manager
See merge request idf/esp-idf!2819
2019-02-28 17:47:22 +08:00
XiaXiaotian
ae69a8adc0
esp32: modify WiFi Kconfig in order to achieve better compatility
...
and performance
2019-02-28 16:57:56 +08:00
Konstantin Kondrashov
509e1264b9
efuse: Fix to pass CI tests
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
c9cd06c886
efuse: Reduce the size of esp_efuse_desc_t to 4 bytes
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
1d7b901aeb
efuse: Add MAX_BLK_LEN define for changing len of field
...
Added docs, improved efuse_table_gen.py, and minor fixes
Checking the generated files for compliance with the coding scheme.
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
95b6273c7c
efuse: Fix docs and script
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
cc094ba789
efuse: Fix python coding style
...
Set python's scripts attribute chmod
Add compatibility with Python3 for efuse_table_gen.py
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
a5fa3b6965
CI: Add host tests
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
303d17792a
efuse: Add a write/read protection
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
b8141f3ad8
efuse: Fix make/cmake build systems and docs
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
9822055851
efuse: Add support coding scheme to script
...
Added support using BLK1 and BLK2 in custom table.
Added change size key in BLK1 and BLK2 if coding scheme was changed.
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
693a5c209b
efuse: Add API efuse
...
Added support 3/4 coding scheme
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
91676b8620
build_system: Add support efuse
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
ba903e7618
docs: Add efuse
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
d82023bf06
soc: Add support efuse
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
ed179ade8d
esp32: Add using efuse component
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
7626145e6d
bootloader: Add support efuse component
2019-02-28 07:31:29 +00:00
Anuj Deshpande
94594af13f
examples: Move blink code to main task
2019-02-28 12:12:24 +05:30
Jiang Jiang Jian
c05a39de02
Merge branch 'bugfix/fix_scan_bugs_and_alloc_eb_fail' into 'master'
...
wifi: fix scan bugs and alloc eb fail
See merge request idf/esp-idf!4373
2019-02-28 13:34:51 +08:00
Ivan Grokhotkov
f746b0d761
Merge branch 'bugfix/pthread_thread_size' into 'master'
...
pthread: Transform the units of the stack size to the FreeRTOS domain
Closes IDFGH-603
See merge request idf/esp-idf!4375
2019-02-28 10:24:34 +08:00
Angus Gratton
ea9b8c3745
Merge branch 'feature/sniffer_app_trace' into 'master'
...
capture WiFi packets to host via JTAG
See merge request idf/esp-idf!4203
2019-02-28 07:38:52 +08:00
Angus Gratton
19fd436e88
Merge branch 'esp_http_server/lru_counter_for_timestamp' into 'master'
...
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer
See merge request idf/esp-idf!4205
2019-02-28 07:04:21 +08:00
krzychb
e1e8c36492
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and 4.11.1. Updated check of Sphinx warnings to account for the filename instead of the whole path, that for the same errors may be different between English and Chinese docs.
2019-02-27 22:11:59 +01:00
Roland Dobai
314c77609e
pthread: Transform the units of the stack size to the FreeRTOS domain
...
Closes https://github.com/espressif/esp-idf/issues/3015
2019-02-27 12:21:23 +01:00
zhangyanjiao
4ea4d4744c
wifi:
...
1. make menuconfig can set the WiFi mgmt short buffer num
2. fix several scan bugs
2019-02-27 18:31:32 +08:00
Jeroen Domburg
a52ba8df7d
Merge branch 'bugfix/make_get_coreid_volatile' into 'master'
...
freertos: Make xPortGetCoreID() volatile
See merge request idf/esp-idf!4359
2019-02-27 17:58:57 +08:00
Jiang Jiang Jian
484d8ab7ed
Merge branch 'bugfix/btdm_fix_remove_bonded_device_warnning' into 'master'
...
Component/bt: fix remove bonded device warnning
See merge request idf/esp-idf!3704
2019-02-27 17:54:37 +08:00
Jiang Jiang Jian
9a1bbcfa1a
Merge branch 'bugfix/ble_reconn_rescan_readv_crash' into 'master'
...
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
See merge request idf/esp-idf!4324
2019-02-27 17:37:46 +08:00
Mahavir Jain
27e00cf7aa
esp_http_client: add support for using certs from global ca store
...
Closes https://github.com/espressif/esp-idf/issues/3062
2019-02-27 14:19:06 +05:30
Jiang Jiang Jian
ebca3e27b1
Merge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'
...
fix the bug in tcp_client
See merge request idf/esp-idf!4330
2019-02-27 16:44:00 +08:00
Mahavir Jain
e9652e8ef3
uart: use correct critical section API (portENTER_CRITICAL_ISR) from ISR context
2019-02-27 08:36:47 +00:00
Angus Gratton
42f64e9a93
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'
...
esp32: make WiFi IRAM optimization configurable
See merge request idf/esp-idf!4037
2019-02-27 16:33:05 +08:00
Angus Gratton
590825824d
Merge branch 'feature/embed_elf_sha256' into 'master'
...
build system: include SHA256 hash of ELF file into app_desc structure
See merge request idf/esp-idf!4093
2019-02-27 16:31:47 +08:00
morris
ae6d19b4fb
sniffer: capture packets to host via JTAG
...
Based on app-trace component, it's able to send sniffer packets to host via JTAG interface.
2019-02-27 16:20:13 +08:00
Ivan Grokhotkov
37b55a5eb5
esp32: print ELF file SHA256 in panic handler
2019-02-27 13:30:25 +08:00
Ivan Grokhotkov
ea52a19c00
build system: include SHA256 hash of ELF file into app_desc structure
2019-02-27 13:30:25 +08:00
Angus Gratton
a8b2e982e1
Merge branch 'example/freertos_real_time_stats' into 'master'
...
freertos: Add real time stats example
See merge request idf/esp-idf!4334
2019-02-27 13:22:59 +08:00
Angus Gratton
80f02cd0ea
Merge branch 'bugfix/bootloader_freq_check_runtime' into 'master'
...
bootloader: check previously used clock frequency at run time
See merge request idf/esp-idf!3827
2019-02-27 13:22:47 +08:00
Angus Gratton
fab11e1cec
Merge branch 'bugfix/cmake_psram_fix_flag' into 'master'
...
cmake: Fix psram workaround compiler flag application
See merge request idf/esp-idf!4335
2019-02-27 13:20:21 +08:00
Ivan Grokhotkov
1bc831f074
Merge branch 'bugfix/esp_timer_monotonic_test' into 'master'
...
esp_timer: fix occasional failures in "esp_timer_get_time returns monotonic values" test
See merge request idf/esp-idf!4340
2019-02-27 11:08:53 +08:00
Darian Leung
3576e54d79
freertos: Make xPortGetCoreID() volatile
...
When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.
Closes #3093
2019-02-26 20:59:49 +08:00
Liu Zhi Fu
711173b3d6
esp32: make WiFi IRAM optimization configurable
...
With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.
2019-02-26 19:55:57 +08:00
jack
299e4ca716
Add CRC APIs usage
2019-02-26 18:12:14 +08:00
xiehang
1e8b8d91a5
fix the bug in tcp_client
...
Closes https://github.com/espressif/esp-idf/issues/3058
2019-02-26 09:28:17 +00:00
Ivan Grokhotkov
8cc6226051
soc: define named constants for DPORT_CPUPERIOD_SEL values
2019-02-26 17:07:59 +08:00
Ivan Grokhotkov
178e5b25e6
bootloader: check previously used clock frequency at run time
...
In the situation when bootloader was compiled for 240MHz, and app was
compiled for 160MHz, and the chip is a revision 0 chip, the
bootloader will assume that the application has also been running at
240MHz. This will cause the chip to lock up later. Modify this to use
a run time check of DPORT_CPUPERIOD_SEL, which indicates which of the
PLL frequencies was used.
Closes https://github.com/espressif/esp-idf/issues/2731 .
2019-02-26 17:02:34 +08:00
Ivan Grokhotkov
dda0208614
soc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL
...
This is not necessary since RTC_CNTL_SOC_CLK_SEL is set before this.
2019-02-26 17:02:34 +08:00
Darian Leung
3e25d441a5
freertos: Add real time stats example
...
The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.
2019-02-26 14:34:53 +08:00
Ivan Grokhotkov
140b6e3893
Merge branch 'bugfix/nvs_hash_blocks_eager_cleanup' into 'master'
...
nvs: do eager cleanup of HashListBlocks
See merge request idf/esp-idf!4337
2019-02-26 12:28:10 +08:00
Angus Gratton
da390618c2
cmake: Fix psram workaround compiler flag application
...
Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.
Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.
2019-02-26 04:07:51 +00:00
Angus Gratton
3952d25a99
Merge branch 'feature/add_api_get_rmt_idle_level' into 'master'
...
feature(rmt): fixed some RMT related issues.
See merge request idf/esp-idf!3864
2019-02-26 11:57:10 +08:00
Angus Gratton
ca72c3e97b
Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug' into 'master'
...
bugfix(gpio): fixed digital gpio unable hold bug during deep-sleep.
See merge request idf/esp-idf!3877
2019-02-26 11:56:27 +08:00
Angus Gratton
280d39aedd
Merge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'
...
bugfix(i2s): allow to use apll in pdm/adc/dac mode
See merge request idf/esp-idf!3800
2019-02-26 11:47:49 +08:00
Angus Gratton
b966ef9fcd
Merge branch 'bugfix/update_ledc_register_and_fix_fade_scale' into 'master'
...
Bugfix (ledc): Fixed ledc fade scale bug
See merge request idf/esp-idf!4109
2019-02-26 11:46:28 +08:00
Angus Gratton
a4edeee51b
Merge branch 'bugfix/btdm_fix_comment_error' into 'master'
...
Component/bt: fix comment error
See merge request idf/esp-idf!3769
2019-02-26 11:45:26 +08:00
Angus Gratton
28f5ca2371
Merge branch 'bugfix/idf_monitor_test' into 'master'
...
CI: Test IDF Monitor after it is ready to receive data
See merge request idf/esp-idf!4055
2019-02-26 11:12:58 +08:00
Angus Gratton
f614f5bfa9
Merge branch 'feature/http_server_err_handling' into 'master'
...
http_server : Add feature for invoking user configurable handlers during server errors
See merge request idf/esp-idf!4229
2019-02-26 11:12:06 +08:00
morris
94e5fba46b
doc: zh_CN translation of linker script generation
...
Translate linker-script-generation to zh_CN.
2019-02-26 10:22:30 +08:00
Ivan Grokhotkov
d3724dc35d
esp_timer: fix occasional failures in "monotonic values" test
...
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.
2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.
3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.
4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-26 02:01:29 +00:00
Ivan Grokhotkov
dae40f4ff1
nvs: add a blob fragmentation test case
...
Ref. TW12937
2019-02-26 01:58:20 +00:00
Ivan Grokhotkov
02a76abb8b
nvs: do eager cleanup of HashListBlocks
...
Previously when HashList was removing items, HashListBlocks were
removed lazily. This resulted in empty HashListBlocks dangling around
in full pages, even when all items have been erased. These blocks
would only be deleted when NVS was re-initialized
(nvs_flash_deinit/nvs_flash_init).
This change does eager cleanup instead, based on the code from
@negativekelvin offered in
https://github.com/espressif/esp-idf/issues/1642#issuecomment-367227994 .
Closes https://github.com/espressif/esp-idf/issues/1642 .
2019-02-26 01:58:20 +00:00
Ivan Grokhotkov
3240f7ff11
Merge branch 'feature/poll' into 'master'
...
VFS: Implement poll() based on select()
See merge request idf/esp-idf!4315
2019-02-26 08:11:22 +08:00
Supreet Deshpande
4c8e997289
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer
...
Replaced the os timer in http server by LRU counter. The timestamp is
unnecessary for LRU.
2019-02-25 10:08:15 +00:00
Roland Dobai
7c959904b5
tools: Test IDF Monitor after it is ready to receive data
2019-02-25 10:35:09 +01:00
Roland Dobai
aa9d302814
VFS: Implement poll() based on select()
...
Closes https://github.com/espressif/esp-idf/issues/2945
2019-02-25 10:34:27 +01:00
Anurag Kar
1af5d0d87c
https_server : Missing uri_match_fn paramater added to default config
2019-02-25 09:13:39 +00:00
Anurag Kar
b26f6662f1
http_server examples : Updated tests and examples to demonstrate usage of httpd_register_err_handler() and accommodate for changes in default error handler behavior
2019-02-25 09:13:39 +00:00
Anurag Kar
28412d8cb6
http_server : Added feature for invoking user configurable handlers during server errors
...
Added APIs :
* httpd_resp_send_err() : for sending HTTP error responses for error codes given by httpd_err_code_t. It uses TCP_NODELAY option to ensure that HTTP error responses reach the client before socket is closed.
* httpd_register_err_handler() : for registering HTTP error handler functions of type httpd_err_handler_func_t.
The default behavior, on encountering errors during processing of HTTP requests, is now to send HTTP error response (if possible) and close the underlying socket. User configurable handlers can be used to override this behavior for each error individually (except for 500 Internal Server Error).
Also fixed some typos.
Closes https://github.com/espressif/esp-idf/issues/3005
2019-02-25 09:13:39 +00:00
Ivan Grokhotkov
5ec58c316d
Merge branch 'bugfix/multiple_can_bugs' into 'master'
...
CAN: Add functions to clear queues and fix multiple bugs
See merge request idf/esp-idf!4279
2019-02-25 15:43:56 +08:00
Angus Gratton
7cdd19fb69
Merge branch 'ci/retry_submodule_sync' into 'master'
...
ci: Retry submodule sync 2 more times before failing
See merge request idf/esp-idf!4323
2019-02-25 14:11:51 +08:00
Angus Gratton
3ac43708e5
ci: Only use "github_sync" tagged runners to talk to GitHub
2019-02-25 02:38:27 +00:00
Angus Gratton
cced2cb147
ci: Retry submodule sync 2 more times before failing
2019-02-25 02:38:27 +00:00
Ivan Grokhotkov
1aa8e8d38e
Merge branch 'bugfix/make_extra_component_dirs' into 'master'
...
make: fix issues related to EXTRA_COMPONENT_DIRS
See merge request idf/esp-idf!4253
2019-02-22 16:00:31 +08:00
Ivan Grokhotkov
6e88822807
Merge branch 'bugfix/kconfig_flex_arg' into 'master'
...
kconfig: fix compatibility with very old versions of flex
See merge request idf/esp-idf!4263
2019-02-22 15:49:11 +08:00
Tian Hao
d877ca4438
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
...
fix 3 bugs:
1. do BLE connect (both of slave and master), it mgiht cause crash due to there's much interrupts happens effect ble code running, for example, wifi run on the same core as bluetooth controller and wifi run throughtput test.
2. do BLE scan stop or adv stop or connection stop, it might cause ASSERT or crash due to memory corrupted in controller memory poll.
3. minor bug fix, not really effect bluetooth.
2019-02-22 06:24:03 +00:00
Ivan Grokhotkov
6264557854
Merge branch 'bugfix/psram_move_qsort_setlocale_flash' into 'master'
...
psram: Move qsort and setlocale to flash
See merge request idf/esp-idf!4321
2019-02-22 12:30:04 +08:00
Angus Gratton
7f28bce42e
newlib: When using psram, link setlocale() to flash not IRAM
2019-02-22 03:28:41 +00:00
Angus Gratton
bd97b139eb
newlib: When using psram, link qsort to flash not IRAM
2019-02-22 03:28:41 +00:00
Ivan Grokhotkov
f4bc6be1d4
Merge branch 'bugfix/remove_lddeps_resolution' into 'master'
...
Remove lddeps resolution for linker script generator template
See merge request idf/esp-idf!4326
2019-02-22 11:28:10 +08:00
Renz Christian Bagaporo
24284b3afd
ldgen: remove resolution of template includes
2019-02-22 08:25:56 +08:00
Ivan Grokhotkov
4ae2c4c282
Merge branch 'feature/coredump_improvements_refactoring' into 'master'
...
coredump: improvements, refactoring (separate FLASH and UART functionality)
See merge request idf/esp-idf!4207
2019-02-21 11:04:19 +08:00
Angus Gratton
5b945cb611
Merge branch 'bugfix/mdns_service_memory_leak' into 'master'
...
mdns: fix memory leak when query for service plus various other fixes
See merge request idf/esp-idf!4270
2019-02-21 06:03:48 +08:00
Angus Gratton
40a55823a9
Merge branch 'feature/anti_rollback_efuse' into 'master'
...
Support anti-rollback
See merge request idf/esp-idf!3682
2019-02-20 16:11:00 +08:00
Angus Gratton
91f97d121f
Merge branch 'revert-23a03cf6' into 'master'
...
Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"
See merge request idf/esp-idf!4292
2019-02-20 15:09:35 +08:00
Angus Gratton
52565ce1a1
Merge branch 'bugfix/btdm_fix_connection_params_update_issues' into 'master'
...
component/bt: fix connection params issues
See merge request idf/esp-idf!4276
2019-02-20 14:18:11 +08:00
Angus Gratton
062893c5da
Merge branch 'bugfix/doc_master_branch_clone_note' into 'master'
...
doc: Fix invalid 'This command will clone master' note in docs
See merge request idf/esp-idf!4240
2019-02-20 08:31:05 +08:00
Jiang Jiang Jian
c960bcb5e6
Merge branch 'bugfix/coex_lc_protect' into 'master'
...
component/esp32 : fix coexist lc protect cause memory corrupted
See merge request idf/esp-idf!4265
2019-02-20 02:11:37 +08:00
Tian Hao
64b7b0f94c
Reduce part of IRAM consumption in wifi libnet80211.a
...
It might be a little effect of WIFI max TX throughput if the limitation is cache hit rate
2019-02-19 15:43:56 +08:00
Angus Gratton
5b182eefc1
Merge branch 'bugfix/spiram_linker_wildcards' into 'master'
...
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
See merge request idf/esp-idf!4152
2019-02-19 13:28:10 +08:00
Ivan Grokhotkov
dc133f9fc4
Revert "Merge branch 'bugfix/external_rtc_start_fail' into 'master'"
...
This reverts merge request !2441
2019-02-19 12:39:47 +08:00
Angus Gratton
0c44e5bfb3
doc: Fix invalid 'This command will clone master' note in docs
...
Was accidentally considering the extra_note text as a tuple, resulted in
corrupt ..note section.
2019-02-19 04:05:39 +00:00
Tian Hao
2cf4c02be9
component/esp32 : fix coexist lc protect cause memory corrupted
...
The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.
2019-02-19 03:28:47 +00:00
Angus Gratton
298fa2168a
Merge branch 'bugfix/freertos_unused_xSize' into 'master'
...
freertos: Fix unused variable warning
See merge request idf/esp-idf!4281
2019-02-19 10:48:04 +08:00
Angus Gratton
6538acc94f
Merge branch 'bugfix/wdt_compability_app_with_old_bootloader' into 'master'
...
esp32: Fix wdt settings in esp_restart_noos
See merge request idf/esp-idf!4098
2019-02-19 10:42:33 +08:00
Angus Gratton
8cd2534213
Merge branch 'bugfix/nvs_key_part_check_err' into 'master'
...
nvs_flash: Detect key partition as uninitialised even if encrypted by bootloader
See merge request idf/esp-idf!4224
2019-02-19 10:22:04 +08:00
Angus Gratton
ff0bd4a13a
Merge branch 'feature/docs_add-ons_and_extensions' into 'master'
...
docs: This is a quick reference of more than a dozen and-ons and extensions prepared over the last two years to add contents, improve look & feel and cut on maintenance of the ESP-IDF documentation.
See merge request idf/esp-idf!4244
2019-02-19 06:06:31 +08:00
Angus Gratton
0b4b5cd419
Merge branch 'feature/get_started_steps' into 'master'
...
Introduced installation steps to improve navigation through the installation…
See merge request idf/esp-idf!4234
2019-02-19 06:04:54 +08:00
Darian Leung
099b83af67
CAN: Add functions to clear queues and fix multiple bugs
...
This commits adds the functions can_clear_transmit_queue() and
can_clear_receive_queue(). Closes #2906
The following bug are fixed:
- CAN_IO_UNUSED is now explicitly cast to enum type. Closes #2825
- Fix multiple documentation errors. Closes #2898 , Closes #2794
- can_reconfigure_alerts() returns incorrect current_alerts. Closes #3028
- Add missing header file. Closes #3065
2019-02-18 21:31:33 +08:00
zwj
faf9126ed4
component/bt: fix connection params update issues
2019-02-18 19:52:16 +08:00
Angus Gratton
bcc21d2262
Merge branch 'feature/wifi_provisioning_handler_ctx' into 'master'
...
Provisioning : Various fixes in protocomm and wifi_provisioning components
See merge request idf/esp-idf!4188
2019-02-18 08:06:12 +08:00
krzychb
ed0db52f74
docs: This is a quick reference of more than a dozen and-ons and extensions prepared over the last two years to add contents, improve look & feel and cut on maintenance of the ESP-IDF documentation.
2019-02-17 20:32:50 +01:00
krzychb
43c6e77c2f
Introduced installation steps to improve navigation through the installation process. Included some updates from GNU make section.
2019-02-17 20:24:17 +01:00
Ivan Grokhotkov
781acfea51
Merge branch 'fix/spi_on_readonly_pins' into 'master'
...
spi: fix the bug of connecting SPI peripheral to read-only pins
See merge request idf/esp-idf!4246
2019-02-17 13:03:28 +08:00
Michael (XIAO Xufeng)
86bcd56109
spi: fix the bug of connecting SPI peripheral to read-only pins
...
The requirements of pin capabilites is different for spi master and
slave. The master needs CS, SCLK, MOSI to be output-able, while slave
needs MISO to be output-able.
Previous code is for master only.
This commit allows to place other 3 pins than MISO on input-only pins
for slaves. Refactoring for spi_common is also included.
Resolves https://github.com/espressif/esp-idf/issues/2455
2019-02-16 20:03:14 +08:00
Jiang Jiang Jian
2ce401c664
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel' into 'master'
...
Bugfix/btdm crash when inquiry cancel
See merge request idf/esp-idf!4142
2019-02-16 16:27:49 +08:00
Darian Leung
7a174f99a3
freertos: Fix unused variable warning
...
This commit fixes an unused variable warning when
configASSERT is undefined.
2019-02-16 01:42:00 +08:00
David Cermak
8462751f95
mdns: fix memory leak in pbuf if tcpipadapter failed to get netif
2019-02-15 15:59:11 +01:00
David Cermak
fbef5297fc
mdns example: fix print result for IPv6 addresses
2019-02-15 15:54:18 +01:00
David Cermak
1a027734af
mdns: fix malfuctional query_txt
...
when running a query for a single txt, result entries were not created and attached to result structure. this issue was introduced when fixing memory leak in txt structure, which worked correctly for PTR queries, but caused trouble for TXT query.
2019-02-15 13:46:51 +01:00
David Cermak
206b47c03a
mdns: fix possible crash when mdns_free called while action queue not empty
2019-02-15 13:23:21 +01:00
Anurag Kar
f4f3b6088a
provisioning examples : typos fixed and minor change in timer callback execution
...
Note : Examples have been updated to prevent invocation of bluedroid/wifi APIs from inside timer callback when stopping provisioning. Workaround is to spawn new task from inside the timer callback.
2019-02-15 10:45:34 +00:00
Anurag Kar
f3a6c63920
protocomm : typos fixed and descriptions corrected
2019-02-15 10:45:34 +00:00
Anurag Kar
6b6ae224d9
protocomm unit_tests : test cases updated
...
Changes:
* Version endpoint test added
* Memory leak test updated to include corner case exceptions in protocomm
2019-02-15 10:45:34 +00:00
Anurag Kar
f4cba0c295
protocomm security : memory leaks fixed
...
List of changes:
* Corner case exceptions are properly handled to ensure release of memory occupied by security infrastructure
* fixed erroneous cleanup of security instance by protocomm_console
2019-02-15 10:45:34 +00:00
Anurag Kar
a1d37c833c
protocomm : version endpoint behavior simplified
...
List of changes:
* Version endpoint now sends the set version string instead of verifying the incoming version string. This simplifies fetching version info from the provisioning application.
* esp_prov script updated to expect version string as response.
2019-02-15 10:45:34 +00:00
Anurag Kar
59b10709d1
wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated
...
Closes https://github.com/espressif/esp-idf/issues/2874
2019-02-15 10:45:34 +00:00
Anurag Kar
776c23da4a
provisioning framework : 'extern C' directives added for C++ support
2019-02-15 10:45:34 +00:00
Ivan Grokhotkov
df71c733df
Merge branch 'doc/cleanup_apptrace2host_example' into 'master'
...
cleanup app_trace_to_host example
See merge request idf/esp-idf!4160
2019-02-15 17:06:57 +08:00
David Cermak
9a4da97fb4
mdns: fix memory leak when query for service receives multiple ptr entries for one instance
...
fixes redmine issue 27300
2019-02-15 07:56:03 +01:00
Angus Gratton
eb4d48815f
Merge branch 'feature/protocomm_httpd_changes' into 'master'
...
Feature/protocomm httpd changes
See merge request idf/esp-idf!4227
2019-02-15 14:21:44 +08:00
Angus Gratton
3300adde21
Merge branch 'feature/lwip_add_linker_fragment' into 'master'
...
add linker fragment for lwip
See merge request idf/esp-idf!4255
2019-02-15 13:55:25 +08:00
Jiang Jiang Jian
2c7f603a83
Merge branch 'bugfix/fix_some_wifi_bugs_0131' into 'master'
...
esp32: fix some wifi bugs
See merge request idf/esp-idf!4216
2019-02-15 12:14:41 +08:00
Angus Gratton
1867da48af
Merge branch 'bugfix/cmake_unit_test_fail' into 'master'
...
Use flasher_args.json for flashing CMake CI unit test
See merge request idf/esp-idf!4225
2019-02-15 08:55:14 +08:00
Angus Gratton
81cde3b44f
Merge branch 'test/disable_sdio_example_ci' into 'master'
...
sdio: temporarily disable the sdio example ci, since the runners have some power issue
See merge request idf/esp-idf!4264
2019-02-15 08:54:06 +08:00
Ivan Grokhotkov
91f5bb3850
Merge branch 'bugfix/default_event_loop_example_failure' into 'master'
...
Fix failures in running esp_event example test
Closes #64
See merge request idf/esp-idf!4252
2019-02-15 08:50:18 +08:00
Angus Gratton
301e3e0d55
Merge branch 'docs/translate-cmake-notes' into 'master'
...
Translate notes regarding CMake-based build system
See merge request idf/esp-idf!4231
2019-02-15 08:19:05 +08:00
Angus Gratton
923b5dc369
Merge branch 'bugfix/relink_on_included_linker_script_change' into 'master'
...
Re-link when linker script included from template file are modified
See merge request idf/esp-idf!4001
2019-02-15 08:16:04 +08:00
Renz Christian Bagaporo
6b7f4bc72f
make: remove unecessary inclusion of ldgen.mk
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
50e860fe8c
ci: test relink on template included file change
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
acd0be8239
cmake,make: add dependencies on template included scripts
2019-02-14 18:58:48 +08:00
Renz Christian Bagaporo
022a1da4e9
ldgen: create python script to find linker script includes
2019-02-14 18:58:48 +08:00
Konstantin Kondrashov
e916cf52a3
bootloader: Add support of anti-rollback
...
Added:
* set a secure version in app/bootloader.
* description anti-rollback to ota part
* emulate the secure_version write and read operations
* efuse_em partition.
* a description about a rollback for native_ota_example.
Closes: TW26335
2019-02-14 18:51:43 +08:00
Renz Christian Bagaporo
bb552dd19c
ci: use flasher_args.json for cmake ci run
2019-02-14 08:33:46 +00:00
Renz Christian Bagaporo
c6b07eec54
ci: copy flasher_args.json to unit test output folder
2019-02-14 08:33:46 +00:00
Michael (XIAO Xufeng)
c465053195
sdio: temporarily disable the sdio example ci, since the runners have
...
some power issue
2019-02-14 15:51:24 +08:00
Renz Christian Bagaporo
86c4950d2f
examples: fix specified location for event loop example test
2019-02-14 14:06:04 +08:00
Renz Christian Bagaporo
a0310e35d7
example: fix expected logging output order for esp_event example
2019-02-14 14:06:04 +08:00
morris
302ca0022f
lwip: add linker fragment
...
Add linker fragment file for lwip component.
2019-02-14 12:42:06 +08:00
Ivan Grokhotkov
fed0f846a4
kconfig: fix compatibility with very old versions of flex
...
See 4e762e4918
Closes https://github.com/espressif/esp-idf/issues/2703
2019-02-14 11:17:48 +08:00
Angus Gratton
23a03cf6ad
Merge branch 'bugfix/external_rtc_start_fail' into 'master'
...
soc/rtc: bypass touchpad8 and touchpad9 current to external 32k crystal oscillator
See merge request idf/esp-idf!2441
2019-02-14 10:40:48 +08:00
Ivan Grokhotkov
7df598a062
make: fix issues related to EXTRA_COMPONENT_DIRS
...
1. When one of the COMPONENT_DIRS points to a component directory
(i.e. a directory containing component.mk, not a directory of multiple
components), and there is a subdirectory in it which also contains
a component, the subdirectory was mistakenly added to the list of
components and compiled.
For example:
main/
component.mk
main.c
test/
component.mk
test_main.c
Would compile test_main.c and link libtest.a.
2. When one of the COMPONENT_DIRS points to a component directory, and
the parent directory contained a directory with the same name as
another component, that directory would be mistakenly added to the
COMPONENT_PATHS.
For example:
esp/
esp-idf/
esp32/
(random stuff)
mycomponent/
component.mk
mycomponent.c
myproject/
main/
Makefile
and Makefile sets EXTRA_COMPONENT_DIRS=$(realpath ../mycomponent),
then "esp32" directory which is at the same level as mycomponent
was added to COMPONENT_PATHS.
3. If EXTRA_COMPONENT_DIRS pointed to a directory with a list of
components, and one of the subdirectories was not a component, but
had the same name as another component, than that directory would be
mistakenly added to COMPONENT_PATHS instead of the real esp32
component directory.
For example:
my_components/
my_component/
component.mk
my_component.c
esp32/
(some random stuff)
and EXTRA_COMPONENT_DIRS would point to my_components/, then "esp32"
directory would be added to COMPONENT_PATHS instead of the real esp32
component directory.
2019-02-13 16:34:50 +08:00
liying
149a5a0d49
translate cmake notes
2019-02-13 05:58:44 +00:00
Angus Gratton
3aa5a1e5a2
Merge branch 'feature/himem_readme' into 'master'
...
Proper README.md for himem example
See merge request idf/esp-idf!3599
2019-02-13 11:26:39 +08:00
maojianxin
0676941332
soc/rtc: fix RTC_TOUCH_TRIG_EN or RTC_ULP_TRIG_EN should keep RTC_PERIPH power on
2019-02-13 10:30:37 +08:00
Zhang Jun Yi
c5b4512a27
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-02-13 10:15:45 +08:00
Jeroen Domburg
72cca0f2a3
Proper README.md for himem example
2019-02-12 19:36:06 +08:00
aleks
6ab722e478
coredump:fix test artifacts
...
Move existing core dump files into espcoredump component folder
Add KConfig, linker.lf, make and CMakeList.txt for new component
Existing functionality separated into core_dump_common, core_dump_flash, core_dump_uart
Update test_core_dump.c and make files to link it as unit test
Update according to review:
Move target and RTOS related functionality into separated file (core_dump_port.c).
Fix test logs and test elf files
2019-02-12 10:22:33 +00:00
aleks
10fe158f67
coredump: improvements refactoring
...
Move existing core dump files into espcoredump component folder
Add KConfig, linker.lf, make and CMakeList.txt for new component
Existing functionality separated into core_dump_common, core_dump_flash, core_dump_uart
Update test_core_dump.c and make files to link it as unit test
Update according to review:
Move target and RTOS related functionality into separated file (core_dump_port.c).
2019-02-12 10:22:33 +00:00
Angus Gratton
4fd418dfe7
Merge branch 'feature/sysview_max_tasks_configuration' into 'master'
...
sys_view: expose max tasks configuration parameter
See merge request idf/esp-idf!4239
2019-02-12 07:37:34 +08:00
Mahavir Jain
e00bac2bd5
sys_view: expose max tasks configuration parameter
2019-02-05 18:18:24 +05:30
Angus Gratton
985e1c4c7f
Merge branch 'bugfix/invoke_ota_operations_on_windows' into 'master'
...
Fix permission denied error on Windows for otatool, parttool
See merge request idf/esp-idf!4086
2019-02-05 09:15:22 +08:00
Angus Gratton
4e770aec61
Merge branch 'feature/predictable_event_dispatch_via_duplication' into 'master'
...
Predictable event handler dispatch
See merge request idf/esp-idf!3932
2019-02-05 08:47:03 +08:00
Angus Gratton
7922e25a04
Merge branch 'bugfix/mdns_notask_timer_crash' into 'master'
...
mdns: fix crash after init if no memory for task
See merge request idf/esp-idf!4171
2019-02-05 08:41:51 +08:00
Piyush Shah
3804c458c7
softap_prov: Changes in the example code as per changes to protocomm_httpd
...
Signed-off-by: Piyush Shah <piyush@espressif.com >
2019-02-04 18:22:43 +05:30
Piyush Shah
759b90a5e1
protocomm_httpd: Allow applications to pass HTTPD handle
...
This will be useful if a webserver is already running and the application
does not want protocomm to start a new instance.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2019-02-04 18:22:05 +05:30
Angus Gratton
a2b47fd314
Merge branch 'bugfix/win_kconfig_backslash' into 'master'
...
tools: Fix Windows related Kconfig issues
See merge request idf/esp-idf!4206
2019-02-04 14:27:38 +08:00
Jiang Jiang Jian
d4d3ccf6d9
Merge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication' into 'master'
...
Component/bt: add handle in gatts conf event for indication
See merge request idf/esp-idf!4024
2019-02-01 21:33:39 +08:00
Jiang Jiang Jian
abea9e4c02
Merge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection' into 'master'
...
Component/bt: fix write char crash after disconnection
See merge request idf/esp-idf!4209
2019-02-01 21:27:29 +08:00
Roland Dobai
80cb4a1a18
tools: Don't use backslashes in Kconfigs and ignore long lines to avoid errors
...
Closes https://github.com/espressif/esp-idf/issues/3012
2019-02-01 11:33:41 +01:00
Roland Dobai
bcd584a63f
tools: check for incorrect case used in Kconfig filenames
2019-02-01 11:33:41 +01:00
Roland Dobai
d1dd3ab0d3
tools: Recognize backslashes in Kconfigs with CR+LF line endings
2019-02-01 11:33:41 +01:00
Sagar Bijwe
d32128440d
nvs_flash: Detect key partition as uninitialised even if encrypted by bootloader
...
Currently, only erase operation performed by the application leads
to detection of NVS key partition as uninitialised. This change
adds additional checks for detecting partition as uninitialised,
when device boots first time right after encryption by bootloader.
2019-02-01 13:28:13 +05:30
Liu Zhi Fu
de79835251
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
after reset.
2019-02-01 11:51:05 +08:00
Jiang Jiang Jian
d7a7a6835b
Merge branch 'mesh/malloc_routing_table' into 'master'
...
mesh: modify to malloc routing table
See merge request idf/esp-idf!4213
2019-02-01 10:02:14 +08:00
morris
ed84bcee7b
cleanup app_trace_to_host example
...
1. Cleanup the README of app_trace_to_host example based on the template.
2. Remove unused header files in the example.
3. Fix typos in public header file.
2019-01-31 21:28:52 +08:00
zhiweijian
06a2e20b15
Component/bt: fix comment error
2019-01-31 20:47:36 +08:00
zhiweijian
b51a0fcea5
Component/bt: fix write char crash after disconnection
2019-01-31 12:18:54 +00:00
qiyuexia
02d3170cce
mesh: modify to malloc routing table
2019-01-31 17:46:11 +08:00
Anton Maklakov
2790d4a049
Merge branch 'bugfix/mdns_test_cleanup' into 'master'
...
mdns tests: execute test services only when running example in ci
See merge request idf/esp-idf!4174
2019-01-31 14:46:10 +08:00
He Yin Ling
83f370630e
Merge branch 'feature/add_ipv6_related_change' into 'master'
...
modify test case to support ipv6
See merge request idf/esp-idf!2253
2019-01-31 14:31:16 +08:00
baohongde
e87d05d81f
components/bt: Add precautions for esp_vhci_host_send_packet
2019-01-31 11:47:58 +08:00
baohongde
27235e023f
components/bt: Fix crash when inquiry stop
2019-01-31 11:47:41 +08:00
Ivan Grokhotkov
131885d547
Merge branch 'bugfix/event_loop_library_memory_leak' into 'master'
...
Fix event loop library memory leak
See merge request idf/esp-idf!4201
2019-01-31 11:02:20 +08:00
Angus Gratton
4b2feb316a
Merge branch 'feature/optionally_disable_https_from_ota_component' into 'master'
...
esp_https_ota: few feature enhancements
See merge request idf/esp-idf!4057
2019-01-31 09:11:35 +08:00
Renz Christian Bagaporo
e9a765d0fd
docs: add notes on handler dispatch order
2019-01-30 20:59:47 +08:00
Renz Christian Bagaporo
a3664ad654
esp_event: test that dispath order follows regisration order
2019-01-30 20:59:47 +08:00
Renz Christian Bagaporo
a10901f44b
esp_event: dispatch order follows registration order
2019-01-30 20:59:47 +08:00
Mahavir Jain
b912d0fa9d
esp_https_ota: add support for configurable ota buffer size
...
Closes https://github.com/espressif/esp-idf/issues/2998
2019-01-30 18:11:09 +05:30
Mahavir Jain
d894e133ad
esp_https_ota: add config option to (optionally) allow http
2019-01-30 18:11:05 +05:30
Renz Christian Bagaporo
2160abd3e4
esp_event: detect leaks in unit test
2019-01-30 18:49:21 +08:00
Renz Christian Bagaporo
34310908cf
esp_event: fix post data type inconsistency
2019-01-30 18:11:13 +08:00
Renz Christian Bagaporo
280894af7f
esp_event: fix memory leaks
...
Closes https://github.com/espressif/esp-idf/issues/2886
2019-01-30 18:11:13 +08:00
David Cermak
74cc7a065f
mdns tests: execute test services only when running example in ci
...
Test services may cause confussion (and did cause some GitHub/forum issues). This update runs test services only when example executed in ci. Also host name is a simple config entry if executed outside of ci.
2019-01-30 09:55:52 +00:00
Jiang Jiang Jian
a0416e9351
Merge branch 'bugfix/tw28445_wps_thread_safe' into 'master'
...
Bugfix/tw28445 wps thread safe
See merge request idf/esp-idf!4175
2019-01-30 17:50:25 +08:00
Ivan Grokhotkov
58b5394266
Merge branch 'bugfix/git_describe_always_for_cmake' into 'master'
...
tools: Add --always option to git describe for Cmake
See merge request idf/esp-idf!4107
2019-01-30 17:48:11 +08:00
Ivan Grokhotkov
024c568c73
Merge branch 'bugfix/cmake_stack_protector' into 'master'
...
esp32: disable stack protector for startup code (CMake)
See merge request idf/esp-idf!4198
2019-01-30 16:28:40 +08:00
David Cermak
a47768dc4e
mdns: fix crash after init if no memory for task
...
mdns init first starts timer task, then starts service task. if service task failed to be created, timer task needs to be stopped too.
fixed https://ezredmine.espressif.cn:8765/issues/28466
2019-01-30 08:17:37 +01:00
Ivan Grokhotkov
05a28ef4e7
Merge branch 'bugfix/aws_iot_examples_cmake_build' into 'master'
...
examples: aws_iot: fix cmake build issue which used to pick dummy certificates
See merge request idf/esp-idf!4180
2019-01-30 14:27:51 +08:00
zhuying
5b938199ab
doc(esp-idf) | JTAG debugging EN update
2019-01-30 11:34:04 +08:00
morris
7ffd0f95d2
doc/jtag_debug: translation of jtag debugging
...
translate JTAG Debugging to zh_CN
2019-01-30 11:34:04 +08:00
Angus Gratton
aa4a5668b0
Merge branch 'bugfix/add_missing_links_to_translation' into 'master'
...
Included missing links between English and Chinese documentation, where…
See merge request idf/esp-idf!4176
2019-01-30 11:32:15 +08:00
Angus Gratton
35a53453f1
Merge branch 'bugfix/doc_updates_from_github' into 'master'
...
Documenation updates from github
See merge request idf/esp-idf!4120
2019-01-30 09:34:28 +08:00
Angus Gratton
784fc51931
Merge branch 'bugfix/mdns_crash_free_strdup' into 'master'
...
mdns: fixed crash on free undefined ptr if strdup is skipped
See merge request idf/esp-idf!4173
2019-01-30 09:33:12 +08:00
Angus Gratton
0a2b54d2e3
Merge branch 'bugfix/correct_kconfigs' into 'master'
...
Correct Kconfigs according to the coding style
See merge request idf/esp-idf!4172
2019-01-30 09:24:22 +08:00
Angus Gratton
6b80955ac7
Merge branch 'update/esptool_repo_sync' into 'master'
...
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
See merge request idf/esp-idf!4194
2019-01-30 09:21:59 +08:00
Roland Dobai
4d156fd734
tools: replace absolute URLs in Kconfig docs
2019-01-29 16:27:02 +01:00
Angus Gratton
a672e4f44b
Merge branch 'bugfix/disable_kconfig_redundant_config_warnings_on_merge' into 'master'
...
Disable warnings on redundant config merge
See merge request idf/esp-idf!4168
2019-01-29 22:03:05 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Ivan Grokhotkov
7fb3218a33
Merge branch 'feature/eth_support_ip101g' into 'master'
...
support new Ethernet PHY (IP101)
See merge request idf/esp-idf!4187
2019-01-29 17:50:40 +08:00
Ivan Grokhotkov
70b14bf615
esp32: disable stack protector for startup code (CMake)
...
Files where stack protector is initialized should not be compiled with
stack protector enabled. This was done for Make but missing for CMake.
Fixes https://github.com/espressif/esp-idf/issues/2990 .
2019-01-29 17:41:00 +08:00
Liu Zhi Fu
fd57c4ee67
esp32: fix WPS thread-safe
...
Fix WPS thread-safe bug
2019-01-29 17:30:21 +08:00
Jiang Jiang Jian
bf1955aac8
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt' into 'master'
...
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at the same time and both enable modem sleep
See merge request idf/esp-idf!4191
2019-01-29 17:12:10 +08:00
David Cermak
e0a8044a16
mdns: fixed crash on free undefined ptr after skipped strdup
...
Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory.
Fixes https://ezredmine.espressif.cn:8765/issues/28465
2019-01-29 10:10:38 +01:00
morris
7528dc0f20
ethernet: support new PHY (IP101)
...
1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.
2019-01-29 14:08:35 +08:00
Ivan Grokhotkov
4725364e04
Merge branch 'feat/spi_slave_timing' into 'master'
...
feat(spi_slave): fine tune the timing of SPI slave
See merge request idf/esp-idf!3925
2019-01-29 14:03:55 +08:00
Angus Gratton
392e820c5e
ci: Remove ALLOW_TO_SYNC_FROM_PUBLIC from esptool mirror repo
2019-01-29 15:06:11 +11:00
Renz Christian Bagaporo
00e53f447a
confgen: disable config override warnings
2019-01-29 11:17:02 +08:00
Renz Christian Bagaporo
178bbfad43
kconfiglib: allow disabling of config override warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
b65baa47f69ae4c3993876a7edf0da0075aa70ff from kconfiglib repository.
2019-01-29 11:16:25 +08:00
XiaXiaotian
a2cec1f636
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
...
the same time and both enable modem sleep
2019-01-29 10:55:45 +08:00
Mahavir Jain
8c1c3d51a9
ci: remove IDF_CI_BUILD variable, no active users
2019-01-28 14:39:36 +05:30
Ivan Grokhotkov
44b97b7fe7
Merge branch 'bugfix/backtrace_from_interrupts' into 'master'
...
Make backtrace work across interrupts
See merge request idf/esp-idf!4084
2019-01-28 16:40:12 +08:00
zhiweijian
b2a515c347
Component/bt: add handle in gatts conf event for indication
2019-01-28 07:12:22 +00:00
Darian Leung
96af064209
freertos: Make backtrace work across interrupts
...
This commit adds the ability for backtracing to trace from the itnerrupt to the
task stack, and across nested interrupts. Test cases have also been added.
2019-01-28 14:34:26 +08:00
Jiang Jiang Jian
9896f45c79
Merge branch 'mesh/bugfix_0124' into 'master'
...
mesh: udpate libs
See merge request idf/esp-idf!4155
2019-01-28 14:06:00 +08:00
Mahavir Jain
1286b93c81
examples: aws_iot: fix cmake build issue which used to pick dummy certificates
...
For CI build now `sdkconfig.ci` file is used which builds examples assuming certificate
stored on SDCard.
2019-01-28 10:45:34 +05:30
Ivan Grokhotkov
a97765c4b3
Merge branch 'feature/modem_pppos' into 'master'
...
support cellular modem && refactor PPPoS client example
See merge request idf/esp-idf!3778
2019-01-28 11:59:41 +08:00
Anton Maklakov
1332d3ba9c
docs: Correct priorities in the PATH string
...
Fixes https://github.com/espressif/esp-idf/pull/2944
2019-01-28 11:28:55 +08:00
krzychb
f675334ebb
Included missing links between English and Chinese documentation, where translation into Chinese is available
2019-01-27 19:01:34 +01:00
huchaoru
932f2707ee
modify test case to support ipv6
2019-01-26 13:02:04 +00:00
michael
41e58bc419
spi: add new test for timing and mode
...
New unit tests added
------------------------
**Local:** Local test uses the GPIO matrix to connect the master and the
slave on the same board. When the master needs the iomux, the master
uses the GPIOs of its own, the slave connect to the pins by GPIO matrix;
When the slave needs the iomux, the slave uses the GPIOs of its own, the
master connects to the pins by GPIO matrix.
- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.
**M & S**: Master & slave tests performs the test with two boards. The
master and slave use iomux or gpio matrix according to the config.
- Provide a new unit test which performs freq scanning in mode 0. It
scans frequency of 1M, 8M, 9M and all frequency steps up to the maximum
frequency allowed.
- Provide a new unit test which performs mode test with significant
frequencies. It tests mode 0,1,2,3 with low frequency, and the maximum
frequency allowed.
2019-01-26 00:10:41 +08:00
Michael (XIAO Xufeng)
155006243e
spi_master: fix the timing a little so that can assign delay half clock manually
2019-01-26 00:10:41 +08:00
michael
58955a79a2
spi_slave: improve the timing configuration
...
SPI Slave
===========
- Correct the configuration of mode 0~3 using new config in the TRM
- Split the workaround for DMA in mode 0/2 out of normal config, to make it clear.
- Update timing and speed document for the SPI slave.
Resolves https://github.com/espressif/esp-idf/issues/1346 , https://github.com/espressif/esp-idf/issues/2393
2019-01-26 00:10:41 +08:00
michael
d9c5016e08
test: add new test framework for different configurations
...
Paremeterized Test Framework
-----------------------------
The SPI has a lot of parameters, which works in the same process.
This framework provides a way to easily test different parameter sets.
The framework can work in two different ways:
- local test: which requires only one board to perform the test - master
& slave test: which generates two sub test items which uses the same
config set to cooperate to perform the test.
The user defines a (pair if master/slave) set of init/deinit/loop
functions. Then the test framework will call init once, then call loop
several times with different configurations, then call deinit.
Then a unit test can be appended by add a parameter group, and pass it into
a macro.
2019-01-26 00:10:41 +08:00
Renz Christian Bagaporo
5a4fe0bac8
confgen: disable redundant assignment warning
2019-01-25 18:35:58 +08:00
Renz Christian Bagaporo
d6b5f43ea0
kconfiglib: allow disabling of redundant definition warnings
...
Patches ESP-IDF copy of kconfiglib.py with modifications in commit
94c63de77c7a3422347e59e168b05174d0b9e84d from kconfiglib repository.
2019-01-25 18:35:58 +08:00
Jiang Jiang Jian
5c88c5996d
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'
...
component/bt: add a option to make report adv data and scan response individually
See merge request idf/esp-idf!4131
2019-01-25 11:53:06 +08:00
suda-morris
b47fda98f3
update translation of establish-serial-connection
2019-01-24 19:50:55 +08:00
krzychb
7fa8eb91dd
Small updates of wording
2019-01-24 19:50:55 +08:00
ShellAddicted
aa364961d0
docs(en): dialout-linux added specific command for Arch linux the correct group is 'uucp'
...
Merges https://github.com/espressif/esp-idf/pull/2940
2019-01-24 19:50:55 +08:00
qiyueixa
8c675a52a7
mesh: udpate libs
...
1. during parent selection, when scanning a MAP without ext-assoc IE, it will be handled as it has the same router BSSID as itself.
2. for MAP, when its client leaves, always post SYSTEM_EVENT_AP_STADISCONNECTED to mesh layer regardless of whether the client has passed the encrypted authentication or not.
2019-01-24 15:15:09 +08:00
Ivan Grokhotkov
2eabed161a
Merge branch 'feature/merge_multiple_github_prs' into 'master'
...
Multiple Github PRs
See merge request idf/esp-idf!4146
2019-01-24 15:14:47 +08:00
Tian Hao
6c8a8664aa
component/bt: add a option to make report adv data and scan response individually
...
Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.
2019-01-24 14:30:02 +08:00
Angus Gratton
66ffc9d29e
Merge branch 'doc/add_esp_ble_test_case' into 'master'
...
add esp ble compatibility test case
See merge request idf/esp-idf!3989
2019-01-24 14:29:31 +08:00
Wang Fang
ef07bc44ec
add esp ble compatibility test case
2019-01-24 14:29:31 +08:00
Angus Gratton
386b29e5f8
Merge branch 'bugfix/reduce_nvs_init_time' into 'master'
...
nvs_flash: Improve nvs_flash_init_partition() speed
See merge request idf/esp-idf!4097
2019-01-24 14:17:57 +08:00
Jiang Jiang Jian
2dadc7d549
Merge branch 'bugfix/sha_ownership' into 'master'
...
hwcrypto sha: Allow SHA contexts to be shared between tasks
See merge request idf/esp-idf!4010
2019-01-24 14:07:23 +08:00
Ivan Grokhotkov
d96f6d6b12
Merge branch 'feature/efuse_add_voltage_level' into 'master'
...
feature(efuse): add support for setting core voltage in high performance cases
See merge request idf/esp-idf!4124
2019-01-24 13:03:25 +08:00
KonstantinKondrashov
00c1a40006
app_update: Fix a handling of version as string
2019-01-24 12:13:38 +08:00
KonstantinKondrashov
3d1e064e1a
tools: Add unit tests
2019-01-24 12:13:38 +08:00
KonstantinKondrashov
187f9945bc
tools: Add --always option to git describe for Cmake
...
Fixed differences in getting of the project version for Make and Cmake.
2019-01-24 12:06:55 +08:00
Angus Gratton
58acac883d
Merge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'
...
Fix issues with regenerating sdkconfig on modification
Closes #58
See merge request idf/esp-idf!4115
2019-01-24 11:56:52 +08:00
Angus Gratton
7f307423c1
newlib: Provide library name for ROM libc object files linked as PSRAM workarounds
...
Works around bug reported on forums where any source file ending in *lock.c or *creat.c
was being linked to IRAM.
https://esp32.com/viewtopic.php?f=13&t=8909&p=37362#p37362
Also moves all related functionality to newlib component.
2019-01-24 11:30:05 +08:00
Pieter du Preez
496bfe3842
Initialized some uninitialized variables in rtc_clk.c and ringbuf.c.
...
The following 2 compiler warnings are only reproducible when setting:
OPTIMIZATION_FLAGS = -Ofast
esp-idf/components/soc/esp32/rtc_clk.c:
In function 'rtc_clk_cpu_freq_get':
esp-idf/components/soc/esp32/rtc_clk.c:506:12:
error: 'freq' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
return freq;
esp-idf/components/esp_ringbuf/ringbuf.c:
In function 'xRingbufferReceiveSplitFromISR':
esp-idf/components/esp_ringbuf/ringbuf.c:934:26:
error: 'pvTempTailItem' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
*ppvTailItem = pvTempTailItem;
Closes https://github.com/espressif/esp-idf/pull/2878
2019-01-23 16:47:23 +05:30
rustyx
053219283d
Handle esp_tls_conn_read disconnection in ssl_read. Fixes #2805
...
Closes https://github.com/espressif/esp-idf/pull/2967
2019-01-23 16:47:23 +05:30
Damian Reboredo
41e71c2f53
fix esp_http_client_open
...
client->post_len was not bein set therefore content-length was 0
Closes https://github.com/espressif/esp-idf/pull/2917
2019-01-23 16:47:23 +05:30
Michael Reutman
fdd865f22d
Fix typo in error message in esp_bluedroid_init
...
Closes https://github.com/espressif/esp-idf/pull/2835
2019-01-23 16:47:23 +05:30
Michael Reutman
02da4154a1
Add static qualifier to s_light_sleep_wakeup variable to prevent it from being global.
...
Closes https://github.com/espressif/esp-idf/pull/2793
2019-01-23 16:47:23 +05:30
Anders Kalør
8b72dc9fb0
esp_http_client: Add support for mutual authentication
...
Closes https://github.com/espressif/esp-idf/pull/2688
2019-01-23 16:47:23 +05:30
morris
2e1f98f8f5
modem: support modem facility and PPPoS
...
1. add support for ESP32 DTE
2. add support for SIM800/BG96 DCE
3. add PPPoS setup procedure
4. add support for SMS
5. add mqtt example after PPP connection established
2019-01-23 18:53:32 +08:00
Ivan Grokhotkov
07645955a2
Merge branch 'bugfix/bootloader_map_size' into 'master'
...
bootloader: fix incorrect mapping size
See merge request idf/esp-idf!3175
2019-01-23 16:56:58 +08:00
Jiang Jiang Jian
06c3665740
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'
...
esp32: fix invalid channel state information(CSI) data index
See merge request idf/esp-idf!4048
2019-01-23 14:58:49 +08:00
Ivan Grokhotkov
f2b7dd4263
Merge branch 'feature/support_global_der_ca_store' into 'master'
...
Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store
See merge request idf/esp-idf!3795
2019-01-23 13:30:49 +08:00
Angus Gratton
f141b29328
hwcrypto sha: Use spinlocks instead of semaphores for small state changes
...
Significant performance improvement and smaller RAM footprint.
2019-01-23 04:59:44 +00:00
Angus Gratton
f3277cf2dc
hwcrypto sha: Allow SHA contexts to be shared between tasks
...
Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.
Replace with binary semaphore which can be shared between tasks.
Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).
2019-01-23 04:59:44 +00:00
Gautier Seidel
b4c4f8514b
nvs_flash: Improve nvs_flash_init_partition() speed
...
Signed-off-by: Sagar Bijwe <sagar@espressif.com >
2019-01-23 04:53:36 +00:00
Angus Gratton
52b27890de
Merge branch 'bugfix/examples_http_file_server_readme' into 'master'
...
HTTP File Server : Fix README of example
See merge request idf/esp-idf!4112
2019-01-23 09:06:46 +08:00
XiaXiaotian
f3b72ef6aa
esp32: fix invalid channel state information(CSI) data index
...
Due to a hardware limitation in ESP32, the first four bytes of some
CSI data is invalid, not the last four bytes.
Correct a mistake of CSI sub-carrier index in documentation.
2019-01-22 20:11:05 +08:00
Ivan Grokhotkov
b65a088791
tinyfw: update to support new esptool argument
2019-01-22 18:40:25 +08:00
Wangjialin
78bea94d8a
feature: add support for setting core voltage in high performance cases.
...
1. add definitions of EFUSE_RD_VOL_LEVEL_HP_INV in efuse_reg.h
2. modify the core voltage according to the record in efuse in high performance cases.
2019-01-22 12:13:58 +08:00
Ivan Grokhotkov
1ce83f4ef5
Merge branch 'bugfix/http_server_uri_template' into 'master'
...
esp_http_server : Remove casual use of 'template' keyword
See merge request idf/esp-idf!4123
2019-01-22 11:45:45 +08:00
Angus Gratton
87769f4433
Merge branch 'bugfix/cmake_env_var_for_kconfig' into 'master'
...
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.
See merge request idf/esp-idf!4100
2019-01-22 11:11:18 +08:00
Sagar Bijwe
05220d9cda
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.
...
When IDF_PATH is not set by the user, cmake infers the same through
other means and sets it as an environment variable. However, some
sub-invocation of cmake may not see this variable as it is not set
in the parent. This change adds a custom command for exporting IDF_PATH
just before invoking ldgen so that IDF_PATH can be used in Kconfig
without any errors.
2019-01-21 17:02:31 +05:30
Ivan Grokhotkov
d9f0d83466
Merge branch 'bugfix/esp-http-client-incorrect-path' into 'master'
...
esp_http_client: Fix config member path's incorrect setting issue
See merge request idf/esp-idf!4078
2019-01-21 19:08:24 +08:00
Jitin George
4a667ee12c
esp_http_client: Fix config member path's incorrect setting issue
2019-01-21 19:08:24 +08:00
Anurag Kar
cfebbae3ef
esp_http_server : Remove casual use of 'template' keyword
...
Closes https://github.com/espressif/esp-idf/issues/2956
2019-01-21 16:13:01 +05:30
Angus Gratton
a9d91e00bc
Update esptool.py to v2.6
2019-01-19 14:44:55 +08:00
Ivan Grokhotkov
96d0f7f5e2
bootloader: account for load address when mapping cache pages
...
Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.
Reported in https://esp32.com/viewtopic.php?f=13&t=6952 .
2019-01-19 14:44:55 +08:00
Ivan Grokhotkov
182e917d78
bootloader: fix IROM and DROM swapped in log messages
2019-01-19 14:44:55 +08:00
Jiang Jiang Jian
5d7d4ba4f3
Merge branch 'bugfix/phy_rtc_cache_disabled' into 'master'
...
Fix PHY/RTC functions called in ISR, but stored in flash
See merge request idf/esp-idf!4108
2019-01-18 10:53:52 +08:00
Tian Hao
423fbf0006
Fix some bugs in phy
...
1. fix bug PHY/RTC functions called in ISR (update phy to v4007)
2. add UnitTest to test it
3. disable/enable agc to mac deinit/init
2019-01-16 22:41:17 +08:00
Jiang Jiang Jian
83447cae90
Merge branch 'mesh/cs_root_conflict' into 'master'
...
detect and fix root conflicts when router BSSID is not set
See merge request idf/esp-idf!3869
2019-01-16 21:16:56 +08:00
KonstantinKondrashov
bf925869fe
tool: Add unit test for Kconfig gen
2019-01-16 08:16:09 +08:00
Renz Christian Bagaporo
1177427aac
docs: remove invalid arg in confgen invocation on docs generation
2019-01-16 08:16:09 +08:00
Renz Christian Bagaporo
08f472ad1e
cmake: only generate sdkconfig on top level project
2019-01-16 08:16:09 +08:00
Renz Christian Bagaporo
61329f60c3
confgen: base config creation on output type args
2019-01-16 08:16:09 +08:00
qiyueixa
e1ac7ed922
test: modify the reason code from 204 to 15 in WIFI_CONN_0904
...
1. remove the step of testing station connect using a wrong password.
2019-01-15 22:37:49 +08:00
Wang Jia Lin
a62cbfec9a
Merge branch 'bugfix/fix_psram_eid' into 'master'
...
bugfix(psram): fix psram size acquisition method, support esp32-pico chips
See merge request idf/esp-idf!3750
2019-01-15 17:44:51 +08:00
Anurag Kar
c2fb45b6ef
http file_server : Fix README of example
2019-01-15 12:58:55 +05:30
qiyuexia
a05fdd9c10
mesh: update libs
...
1. detect and fix root conflicts when router BSSID is not set.
2. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.
2019-01-15 14:26:05 +08:00
Angus Gratton
dbca85f962
Merge branch 'bugfix/examples_http_file_server_kconfig' into 'master'
...
HTTP File Server : Fix kconfig of example
See merge request idf/esp-idf!4110
2019-01-15 11:59:35 +08:00
Anurag Kar
72d2d2845d
http_file_server : fix kconfig of example
2019-01-15 07:27:22 +05:30
Ivan Grokhotkov
1ee729336f
Merge branch 'feature/http_server_wildcard_uri' into 'master'
...
Wildcard URI matching for http_server
See merge request idf/esp-idf!3973
2019-01-14 19:44:54 +08:00
Ivan Grokhotkov
1ad8b96fed
Merge branch 'bugfix/mqtt_tests_local_broker' into 'master'
...
MQTT tests: connect to local broker when running in CI to make the tests more reliable
See merge request idf/esp-idf!3926
2019-01-14 16:29:43 +08:00
Paul Reimer
a1204f8b16
Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store
...
Signed-off-by: Chirag Atal <chirag.atal@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/2654
2019-01-14 08:25:56 +00:00
Anurag Kar
5127aa1976
HTTP Server : File server example added
...
This example demonstrates the capability of wildcard URI matching
allowing for a full fledged file server to be created using esp_http_server.
2019-01-14 12:03:54 +05:30
Anurag Kar
21878d1bbf
HTTP Server : Unit test added for httpd_uri_match_wildcard() function as given in https://github.com/espressif/esp-idf/pull/2581#issuecomment-430788473
2019-01-14 08:59:55 +05:30
Anurag Kar
416c55e7f0
HTTP Server : Add uri_match_fn field in config structure which accepts custom URI matching functions of type httpd_uri_match_func_t and defaults to basic string compare when set to NULL.
...
Move static uri_matches() function to httpd_uri_match_wildcard() under esp_http_server.h and make it optional.
2019-01-14 08:59:55 +05:30
Anurag Kar
107f52c4fc
HTTP Server : Add helper APIs for sending string content
...
Note : In future consider deprecating usage of -1 for setting
buffer length equal to string length in APIs httpd_resp_send()
and httpd_resp_send_chunk()
2019-01-14 08:36:18 +05:30
Renz Christian Bagaporo
62f1f9f87a
otatool, parttool: Fix permission denied error on Windows
2019-01-14 06:05:39 +08:00
Jiang Jiang Jian
b173cf2817
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state' into 'master'
...
esp32: fix the incorrect tx complete state issue
See merge request idf/esp-idf!4083
2019-01-12 19:54:51 +08:00
Liu Zhi Fu
4b234b0805
esp32: fix the incorrect tx complete state issue
2019-01-12 09:39:59 +08:00
Jiang Jiang Jian
c22e04f5b3
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue' into 'master'
...
esp32: fix wrongly deleting hardware BA index bug
See merge request idf/esp-idf!4101
2019-01-12 09:37:03 +08:00
Wangjialin
d518a19d95
driver(ledc): fix ledc fade API and update the register header file
...
1. fix error when fading is too fast
2. fix error when setting duty and update immediately
3. update register header file to be in accord with TRM
closes https://github.com/espressif/esp-idf/issues/2903
2019-01-12 00:56:38 +08:00
David Cermak
b13a536041
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-11 15:30:15 +01:00
Ivan Grokhotkov
72b3c6d6b8
Merge branch 'feature/check_kconfig' into 'master'
...
Check the style of Kconfig files
See merge request idf/esp-idf!3971
2019-01-11 21:14:27 +08:00
Ivan Grokhotkov
1e93c4e48b
Merge branch 'feature/freemodbus_mb_inst_config' into 'master'
...
examples: freemodbus port serial slave increase MB_INST_MAX_SIZE
See merge request idf/esp-idf!4080
2019-01-11 20:14:46 +08:00
Roland Dobai
00eefe0ef3
Check & correct Kconfig files
2019-01-11 13:05:55 +01:00
aleks
e3a786f2cf
examples: change max register area size to maximum value
...
esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2);
Update support for coils read into freemodbus.c;
TW#28143
Closes https://github.com/espressif/esp-idf/issues/2884
2019-01-11 09:49:11 +01:00
Liu Zhi Fu
85f018edbc
esp32: fix wrongly deleting hardware BA index bug
...
Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.
2019-01-11 16:31:01 +08:00
Ivan Grokhotkov
065b99f28b
Merge branch 'bugfix/unix_makefile_build_on_windows' into 'master'
...
CMake: Fix build error when using Windows command line and MinGW generator
See merge request idf/esp-idf!3997
2019-01-11 16:09:28 +08:00
Ivan Grokhotkov
ad5d81df04
Merge branch 'feature/mqtt_before_connect_event' into 'master'
...
MQTT support for fragmented and packed messages
See merge request idf/esp-idf!3743
2019-01-11 15:38:23 +08:00
Ivan Grokhotkov
1da00b3555
Merge branch 'bugfix/Cmake_support_dhcp_state' into 'master'
...
Added Cmake support for dhcp_state
See merge request idf/esp-idf!3804
2019-01-11 15:23:40 +08:00
Ivan Grokhotkov
a3e3d00cf0
Merge branch 'test/unit_test_multi_devices_case_pass_param_by_signals' into 'master'
...
unit-test-app: support passing parameter with signals
See merge request idf/esp-idf!3960
2019-01-11 15:23:19 +08:00
Ivan Grokhotkov
cdbe1d4d5b
Merge branch 'bugfix/mdns_udp_send_protected' into 'master'
...
mdns networking udp send protected
See merge request idf/esp-idf!3969
2019-01-11 15:20:09 +08:00
Ivan Grokhotkov
aa0c82b9cf
Merge branch 'bugfix/vfs_ut_performance' into 'master'
...
VFS: move all functions into RAM which are called in the performance test
See merge request idf/esp-idf!4047
2019-01-11 14:09:02 +08:00
Ivan Grokhotkov
da15be6dd0
Merge branch 'bugfix/fatfs_perf_test' into 'master'
...
fatfs: bypass newlib buffering in performance test
See merge request idf/esp-idf!4076
2019-01-11 14:05:58 +08:00
Ivan Grokhotkov
082b13eb35
Merge branch 'feature/console_nvs' into 'master'
...
Added support for NVS in console example
See merge request idf/esp-idf!3633
2019-01-11 09:51:50 +08:00
Martin Válik
602d102403
Added support for NVS in console example
2019-01-11 09:51:50 +08:00
Konstantin Kondrashov
82c5e648ad
esp32: Fix wdt settings in esp_restart_noos
...
Fixed compatibility the new apps with the old bootloaders.
Closes: https://github.com/espressif/esp-idf/issues/2927
2019-01-10 20:22:26 +08:00
He Yin Ling
431653bba8
unit-test: fix 2 issues in unit test script:
...
1. Gitlab will only regard failure (not error) as failed case. Use log
failure instead of log error, to display all error msg in test result
2. fix failed case not recognized by test script when failed during
reset DUT
2019-01-10 09:51:17 +00:00
He Yin Ling
7c59207351
test: add test to check wifi conneciton between sta and softap
2019-01-10 09:51:17 +00:00
He Yin Ling
783cb692e8
unit-test-app: support passing parameter with signals
2019-01-10 09:51:17 +00:00
Ivan Grokhotkov
65d01336d3
Merge branch 'bugfix/python_virtualenv_detection' into 'master'
...
python: Add check if current python is inside virtual environment
See merge request idf/esp-idf!4088
2019-01-10 15:52:54 +08:00
MartinValik
e3428adf87
Added Cmake support for dhcp_state
2019-01-10 07:51:54 +00:00
Jiang Jiang Jian
097597b978
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame' into 'master'
...
esp32: do defragmentation only for data and management frame
See merge request idf/esp-idf!4072
2019-01-09 15:54:05 +08:00
chenjianqiang
bd8733f74f
feature(psram): add psram support for esp32-pico chip
...
1. esp32-pico use standard spi driver to access psram
2. for esp32-pico, flash and psram share the clock
3. for esp32-pico, psram cs io can be overwrite via menuconfig
2019-01-09 10:49:07 +08:00
Jiang Jiang Jian
e931fe9f57
Merge branch 'bugfix/fix_mbox_thread_safe_issue' into 'master'
...
tcpip: fix mbox thread-safe issue
See merge request idf/esp-idf!4002
2019-01-09 10:20:50 +08:00
Sergei Silnov
0f61930872
python: Add check if current python is inside virtual environment
2019-01-08 12:21:33 +01:00
Ivan Grokhotkov
456efd3d57
Merge branch 'bugfix/timer_delete_dispatch_race' into 'master'
...
esp_timer: fix race between deleting the timer and executing the callback
See merge request idf/esp-idf!3992
2019-01-08 14:06:46 +08:00
XiaXiaotian
1a492f0715
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame can do
defragmentation.
2019-01-07 20:38:16 +08:00
Ivan Grokhotkov
ea89b8c557
Merge branch 'bugfix/esp-http-client-fixes' into 'master'
...
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
See merge request idf/esp-idf!4023
2019-01-07 16:33:41 +08:00
Jitin George
e2ae69f6fb
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
2019-01-07 16:33:41 +08:00
Liu Zhi Fu
6933c103e5
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-07 13:38:11 +08:00
Jiang Jiang Jian
0700cde229
Merge branch 'bugfix/tw26890_update_wifi_api_guide' into 'master'
...
Bugfix/tw26890 update wifi api guide
See merge request idf/esp-idf!3630
2019-01-07 13:03:20 +08:00
Ondřej Hruška
91d6b3b989
Implement wildcard URI matching for http_server
2019-01-06 03:07:13 +05:30
Ivan Grokhotkov
5339c56bc5
fatfs: bypass newlib buffering in performance test
2019-01-05 14:13:49 +08:00
Wu Jian Gang
577f8d8527
Merge branch 'bugfix/fix_the_country_code_bug' into 'master'
...
wifi: fix the bug that STA can scan the channel out of the country regdomain range
See merge request idf/esp-idf!4065
2019-01-04 11:57:29 +08:00
Roland Dobai
c8e8044293
VFS: move all functions into RAM which are called in the performance test
2019-01-03 19:56:19 +01:00
David Cermak
f7d4a4be6a
mdns: fix networking running udp_sendif from lwip thread
2019-01-03 14:28:29 +01:00
zhangyanjiao
2d5e9d765f
wifi: fix the bug that STA can scan the channel out of the country regdomain range
2019-01-03 17:55:06 +08:00
David Cermak
bed26be427
tcp_transport: modification of ws to read headers first in order to read the exact payload
...
closes https://github.com/espressif/esp-mqtt/issues/69
2019-01-03 09:22:40 +01:00
David Cermak
13bf307c85
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2019-01-03 09:22:24 +01:00
Ivan Grokhotkov
227f8daef3
esp_timer: do not allow deleting timers while callbacks are dispatched
...
timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.
To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.
2019-01-03 07:14:53 +00:00
Angus Gratton
3c94b6e10a
Merge branch 'test/fix_failed_to_download_in_example_test' into 'master'
...
test: fix failed to download in example test
See merge request idf/esp-idf!4061
2019-01-03 15:14:22 +08:00
Liu Zhi Fu
c1022ac22b
docs: udpate wifi document
...
Update WiFi document
2019-01-03 13:46:16 +08:00
He Yin Ling
86cc434ff1
test: get bin path from dut.app.flash_files instead of dut.download_config
2019-01-03 09:57:47 +08:00
Angus Gratton
a9bd658225
Merge branch 'doc/wifi_disclaimer' into 'master'
...
doc: wifi: Remove disclaimers
See merge request idf/esp-idf!4059
2019-01-03 07:45:26 +08:00
Ivan Grokhotkov
52d33e8cbd
Merge branch 'bugfix/esp_attr_sdkconfig' into 'master'
...
esp32: esp_attr.h should include sdkconfig.h
See merge request idf/esp-idf!4058
2019-01-03 03:07:52 +08:00
Ivan Grokhotkov
aba555b349
Merge branch 'bugfix/pthread_detach' into 'master'
...
Bugfix in pthread_detach() implementation
See merge request idf/esp-idf!4038
2019-01-03 03:05:16 +08:00
He Yin Ling
1c54630eaa
test: fix failed to download in example test:
...
1. example test uses auto detect flash size. we need to call
`detect_flash_size` before write flash
2. fix incorrect baudrate used: when using WROVER-Kits, it's likely that download with baudrate 921600
will fail. If we don't reset serial setting in decorator, 921600 will
become the default baudrate. This causes all the subsequent
communication fails
3. do hw reset after used esptool function
2019-01-02 20:49:03 +08:00
Angus Gratton
a027cab718
Merge branch 'bugfix/check_dependencies_msys' into 'master'
...
tools: Be more helpful to MSYS32 users with package installation
See merge request idf/esp-idf!3998
2019-01-02 16:47:31 +08:00
Roland Dobai
aca6e7b66a
tools: Be more helpful to MSYS32 users with package installation
2019-01-02 07:53:57 +01:00
Angus Gratton
9f09431f07
doc: wifi: Remove disclaimers
2019-01-02 17:43:11 +11:00
Angus Gratton
4a42827c4a
esp32: esp_attr.h should include sdkconfig.h
...
Reported on forum https://esp32.com/viewtopic.php?f=13&t=8669#p36395
2019-01-02 17:04:53 +11:00
Jiang Jiang Jian
c4963fc329
Merge branch 'bugfix/btdm_miscellaneous_modifications' into 'master'
...
component/bt: some miscellaneous modifications for BLE
See merge request idf/esp-idf!4032
2019-01-02 14:04:44 +08:00
Angus Gratton
6578673ed4
Merge branch 'feature/esp_platform_cmake_pr2601' into 'master'
...
cmake: Add ESP_PLATFORM in CMake build (PR 2601)
See merge request idf/esp-idf!3823
2019-01-02 14:03:52 +08:00
Jiang Jiang Jian
1de94b7b45
Merge branch 'bugfix/btdm_debug_numeric_comparison_mode' into 'master'
...
component/bt: modify the BLE example to make it run with "numeric comparison" mode
See merge request idf/esp-idf!3500
2019-01-02 14:02:58 +08:00
Angus Gratton
3fdb623ac5
Merge branch 'bugfix/fix_ci_example_test_not_executed' into 'master'
...
ci: init submodule in assign_test job
See merge request idf/esp-idf!4046
2019-01-02 13:59:47 +08:00
Angus Gratton
25ab173799
Merge branch 'bugfix/https_server_cpp_support' into 'master'
...
esp_https_server : add extern C directive for C++ support
See merge request idf/esp-idf!4054
2019-01-02 13:58:37 +08:00
Jiang Jiang Jian
9874bcc8e7
Merge branch 'bugfix/remove_gatts_warning' into 'master'
...
components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing
See merge request idf/esp-idf!4008
2019-01-02 12:00:10 +08:00
Jiang Jiang Jian
264a76c52a
Merge branch 'feature/coex_unforce_wifi_if_no_data_buffered_in_beacon' into 'master'
...
esp32: unforce wifi if receiving beacon with no data buffered in dream state and reduce force receiving broadcast data time
See merge request idf/esp-idf!3963
2019-01-02 11:56:15 +08:00
Anurag Kar
a6f18bda47
https_server : add extern C directive and other minor changes for C++ support
...
Closes https://github.com/espressif/esp-idf/issues/2887
2018-12-31 15:12:42 +05:30
Jiang Jiang Jian
6ae12d20ab
Merge branch 'doc/btdm_modem_sleep_EVED_mode' into 'master'
...
doc/btdm_modem_sleep_EVED_mode
See merge request idf/esp-idf!4017
2018-12-29 10:27:28 +08:00
Jiang Jiang Jian
529ba78c8c
Merge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover' into 'master'
...
add hostname option in dhcp discover
See merge request idf/esp-idf!3937
2018-12-28 20:26:11 +08:00
He Yin Ling
610d829ec1
ci: init submodule in assign_test job:
...
esptool is used by example test, we need to init submodule
2018-12-28 17:40:21 +08:00
Anurag Kar
f5e8e05282
pthread tests : test case added for detach functionality
2018-12-28 14:41:24 +05:30
XiaXiaotian
36c956070b
esp32: unforce wifi if receiving beacon with no data buffered in dream
...
state and reduce force receiving broadcast data time
1. If receiving beacon which indicates that there is no data buffered,
do not force to receive WiFi data.
2. If receiving beacon which indicates that there is broadcast data
buffered, reduce the time to force receiving broadcast data.
2018-12-28 17:09:45 +08:00
Jiang Jiang Jian
97eecfa1b2
Merge branch 'mesh/bugfix_v3.3_cont' into 'master'
...
mesh: bugfix
See merge request idf/esp-idf!4009
2018-12-28 14:08:18 +08:00
Anurag Kar
d816578e3a
bugfix/pthread : pthread_detach implementation fixed to correctly delete pthread object when invoked after task completion
2018-12-27 18:47:46 +05:30
Tree
68626ed494
component/bt: some miscellaneous modifications for BLE
2018-12-26 20:36:33 +08:00
qiyueixa
e3833999ea
mesh: update libs
...
1. when no parent is found, send probe request via broadcast.
2. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
3. fix modify IE encrypt after mesh is started.
4. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
5. fix reason is cleared before vote is done.
2018-12-26 16:10:55 +08:00
Ivan Grokhotkov
1023ff73fb
Merge branch 'bugfix/confserver_on_windows' into 'master'
...
Fix unable to start confserver on windows
See merge request idf/esp-idf!4022
2018-12-25 21:00:39 +08:00
Renz Christian Bagaporo
50fa7c5a89
cmake: fix unable to start confserver on windows
2018-12-23 19:52:58 +08:00
wangmengyang
74eae4b50e
component/bt: add more information and description for bluetooth modem sleep
...
Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test
2018-12-21 19:30:20 +08:00
Angus Gratton
db8bc3eea7
Merge branch 'doc/cmake_branch' into 'master'
...
Make CMake Getting Started guides version-aware
See merge request idf/esp-idf!3984
2018-12-21 17:36:48 +08:00
Jiang Jiang Jian
1f794cfff1
Merge branch 'mesh/bugfix_v3.3' into 'master'
...
wifi: fix STAs can not detect disconnection from AP when encrypt transmission is used
See merge request idf/esp-idf!3907
2018-12-21 17:27:11 +08:00
Angus Gratton
88150cb9bb
docs: Make Getting Started (CMake) guides version-aware
...
Also clean up some changes in Chinese CMake guide which were not propagated from the English guide.
2018-12-21 19:13:20 +11:00
Angus Gratton
39dc1b4ff3
doc: cmake: Add description of ESP_PLATFORM variable
...
Ref: https://github.com/espressif/esp-idf/pull/2601
2018-12-21 19:00:12 +11:00
Angus Gratton
4782aafc4c
cmake: Fail CMake if expand_requirements.cmake fails
2018-12-21 18:59:28 +11:00
Angus Gratton
849088d467
cmake: Add ESP_PLATFORM in idf_set_variables() as well
...
(Handles case where idf.py is not being used.)
Ref https://github.com/espressif/esp-idf/pull/2601
2018-12-21 18:59:28 +11:00
Per Malmberg
25333b59c2
Add ESP_PLATFORM to build environment.
...
Merges https://github.com/espressif/esp-idf/pull/2601
2018-12-21 18:59:28 +11:00
Ivan Grokhotkov
88dc626fd7
Merge branch 'feature/example_defconfig_ci' into 'master'
...
ci, examples: use sdkconfig.ci as an extra defaults file, if present
See merge request idf/esp-idf!3934
2018-12-21 12:14:57 +08:00
Ivan Grokhotkov
71c90ac456
Merge branch 'feature/freemodbus_move_rs485_mode_control' into 'master'
...
examples: freemodbus port serial slave move uart mode settings into example
See merge request idf/esp-idf!3870
2018-12-21 12:13:28 +08:00
Ivan Grokhotkov
1cb65b3e5f
Merge branch 'bugfix/bbpll_wakeup_reset_2' into 'master'
...
soc/rtc: reset another BBPLL related register
See merge request idf/esp-idf!3947
2018-12-21 12:09:18 +08:00
Ivan Grokhotkov
75ef4b2242
Merge branch 'bugfix/ext_ram_bss_align' into 'master'
...
Fix crash if ext_ram_bss is unaligned length
See merge request idf/esp-idf!4000
2018-12-21 12:06:58 +08:00
Ivan Grokhotkov
cd29cffa20
Merge branch 'bugfix/mdns_crash_when_query' into 'master'
...
mdns issues when query
See merge request idf/esp-idf!3910
2018-12-21 11:57:56 +08:00
Angus Gratton
16854e1f40
Merge branch 'bugfix/cmake_list_component_config_alphabetically' into 'master'
...
List menuconfig component config items alphabetically via component name
See merge request idf/esp-idf!3939
2018-12-21 07:50:31 +08:00
Angus Gratton
78487123bf
Merge branch 'feature/cut_len_for_header_struct' into 'master'
...
build: Add trimming PROJECT_VER and PROJECT_NAME vars
See merge request idf/esp-idf!3927
2018-12-21 07:45:22 +08:00
Angus Gratton
aafaf155a8
Merge branch 'bugfix/py_imp_deprecated' into 'master'
...
Fix Python3 deprecation warning for the imp module & run multi-device tests only under Python 2
See merge request idf/esp-idf!3972
2018-12-21 07:44:22 +08:00
Renz Christian Bagaporo
7254476acb
docs: list kconfig components alphabetically via component name
2018-12-20 19:57:46 +08:00
Roland Dobai
0ad452e7b7
ci: Multi-device tests cannot run under Python 3
2018-12-20 12:44:33 +01:00
Roland Dobai
4ca2b149e5
examples, tools: Fix Python3 deprecation warning for the imp module
2018-12-20 12:44:33 +01:00
Renz Christian Bagaporo
16c88bf320
cmake: list items in component config via alphabetical component name
2018-12-20 19:08:00 +08:00
Renz Christian Bagaporo
d3799c8682
mbedtls: fix unix makefile build on windows command line
2018-12-20 18:23:55 +08:00
Hrishikesh Dhayagude
11a5fb8ab6
components/bt: Remove warnings in btc_gatts_arg_deep_copy() that are confusing
...
Fixes: https://github.com/espressif/esp-idf/issues/2811
The warning print "NULL value" is only kept for event
BTC_GATTS_ACT_SET_ATTR_VALUE as this can be useful in case user forgets
to set attribute value
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-12-20 14:20:56 +05:30
Jiang Jiang Jian
65142bc59e
Merge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'
...
components/bt: Configure SSP in menuconfig and fix two bugs
See merge request idf/esp-idf!3892
2018-12-20 15:31:08 +08:00
Ivan Grokhotkov
e2fbee9f9f
Merge branch 'docs/watchpoints_config_gdbinit' into 'master'
...
docs: Adds watchpoints limit configuration to example gdbinit
See merge request idf/esp-idf!3502
2018-12-20 15:13:56 +08:00
Jiang Jiang Jian
f8910cecce
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex' into 'master'
...
component/bt: fix crash when adv and scan coex and optimize duplicate scan
See merge request idf/esp-idf!3975
2018-12-20 14:59:20 +08:00
Alexey Gerenkov
3dcc0ae908
docs: Adds watchpoints limit configuration to example gdbinit
...
Closes https://github.com/espressif/esp-idf/issues/2335
2018-12-20 06:09:23 +00:00
qiyueixa
ed8c5a18cb
mesh: update libs
...
1. fix STAs can not detect disconnection from AP when encrypt transmission is used.
2. fix can not find hidden APs.
3. for root, modify the active scan time to 120ms.
4. remove all rc when clear parent Wi-Fi configuration.
5. fix error in checking Wi-Fi commit ID.
2018-12-20 12:11:30 +08:00
baohongde
d601ed8023
components/bt: Fix two bugs about pairing
...
1. Fix Legacy Pairing failed without remote device name
2. Fix discovery no device after disabling SSP
2018-12-20 11:10:52 +08:00
baohongde
9c48528fcc
components/bt: Configure SSP in menuconfig
2018-12-20 11:10:27 +08:00
Angus Gratton
7b13308549
Merge branch 'feature/pystyle_tools' into 'master'
...
tools: Fix the Python coding style
See merge request idf/esp-idf!3901
2018-12-20 10:36:01 +08:00
Angus Gratton
e1a1c7f17c
psram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end
...
Fixes pointer arithmetic when printing size of remaining heap
2018-12-20 01:40:05 +00:00
Angus Gratton
b1f3586f7e
multi_heap: Fix bug when start of heap is unaligned
...
Alignment was accounted for in one place only.
TW27954
2018-12-20 01:40:05 +00:00
Angus Gratton
db243d092c
linker external bss: Align end of ext bss to word boundary
...
TW27954
2018-12-20 01:40:05 +00:00
Angus Gratton
ee7b660163
Merge branch 'bugfix/windows_install_prerequisites_idf_path' into 'master'
...
windows_install_prerequisites: Fix bug if IDF_PATH is not set
See merge request idf/esp-idf!3874
2018-12-20 09:19:03 +08:00
Jiang Jiang Jian
14d7a63459
Merge branch 'bugfix/wifi_rx_fail' into 'master'
...
wifi: fix wifi rx fails
See merge request idf/esp-idf!3976
2018-12-19 19:12:36 +08:00
Roland Dobai
bfa9610f58
tools: Fix the Python coding style
2018-12-19 11:56:24 +01:00
aleks
5379c941b8
examples: freemodbus port serial slave move uart mode settings into example
...
Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file
TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157
2018-12-19 08:03:18 +00:00
Angus Gratton
d453cce1b3
Merge branch 'bugfix/individual_custom_sections' into 'master'
...
linker: When using section type attributes, create unique sections
See merge request idf/esp-idf!3920
2018-12-19 15:18:26 +08:00
Angus Gratton
fe71ec413d
Merge branch 'feature/app_rollback_example' into 'master'
...
example: App rollback example
See merge request idf/esp-idf!3561
2018-12-19 14:41:54 +08:00
Angus Gratton
ad200227d2
Merge branch 'feature/add_rollback_flags' into 'master'
...
bootloader/app_update: Add a support of an app rollback.
See merge request idf/esp-idf!3547
2018-12-19 14:28:11 +08:00
Angus Gratton
769bd4a4af
linker: When using section type attributes, create unique sections
...
* Prevents section type conflict errors if (say) const & non-const data
is put into the same section (ie with DRAM_ATTR)
* Allows linker --gc-sections to remove unused custom sections
2018-12-19 04:42:04 +00:00
Angus Gratton
6dba472678
Merge branch 'bugfix/unit_test_keep_serial_port_open' into 'master'
...
unit test: Keep serial port open when running esptool
See merge request idf/esp-idf!3889
2018-12-19 07:06:17 +08:00
qiyueixa
2b83460814
wifi: fix wifi rx fails
...
1. add MAC reset.
2. update libphy.a from 4000 to 4006.
2018-12-18 23:39:54 +08:00
kooho
919a36b6b5
driver(gpio): fixed digital gpio unable hold bug during deep-sleep.
2018-12-18 17:04:12 +08:00
Konstantin Kondrashov
51133083f6
app_update: Add EXCLUDE option
...
Added two options for PROJECT_NAME and PROJECT_VER variables to exclude them from the firmware image.
Closes: https://github.com/espressif/esp-idf/issues/2803
2018-12-18 15:58:47 +08:00
Konstantin Kondrashov
7b68e346fa
build: Fix a warning from git describe
...
Fixed a fatal message when run `git describe`.
2018-12-18 15:58:22 +08:00
Wang Jia Lin
f58f39e2f0
Merge branch 'bugfix/clear_intr_status_when_init_hwtimer' into 'master'
...
bugfix(timer_group): fixed bug that init hw_timer caused cresh after system soft reset
See merge request idf/esp-idf!3945
2018-12-18 15:21:23 +08:00
Angus Gratton
ca3641cdd5
Merge branch 'bugfix/fix_aws_iot_example_root_ca' into 'master'
...
examples: update default root-ca for aws_iot demos
See merge request idf/esp-idf!3929
2018-12-18 14:47:44 +08:00
InfiniteYuan1
0fa31d3e31
bugfix(simple_ota): Compatible with V3.1 and V3.2
2018-12-18 14:41:12 +08:00
Mahavir Jain
9a9a319207
examples: update default root-ca for aws_iot demos
2018-12-18 11:05:16 +05:30
Paul Abbott
be567d3eb5
driver(rmt): Fixed some RMT related issues.
...
1. Add missing get function to RMT API: rmt_get_idle_level().
2. Suppress error message from rmt_wait_tx_done() if wait_time==0 (allows for polling).
3. Remove the blank lines between parameter lists.
Merges https://github.com/espressif/esp-idf/pull/2666
2018-12-18 13:32:39 +08:00
Angus Gratton
42dcdecce2
Merge branch 'doc/network' into 'master'
...
docs: Rearrange wifi & ethernet docs under "Networking", add tcpip_adapter docs
See merge request idf/esp-idf!3890
2018-12-18 13:15:05 +08:00
kooho
e22c0cce45
driver(timer_group): fixed bug that init hw_timer caused cresh after system soft reset
...
closes https://github.com/espressif/esp-idf/issues/2756
2018-12-18 13:10:15 +08:00
Angus Gratton
3d03c2b7fd
doc zh_CN: Remove redundant --branch feature/cmake
...
Forgot to remove when updating the English version.
Closes https://github.com/espressif/esp-idf/issues/2834
2018-12-18 15:51:37 +11:00
Jiang Jiang Jian
1607812fef
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled' into 'master'
...
Component/bt: fix receive adv pkt when enable duplicate scan
See merge request idf/esp-idf!3783
2018-12-18 11:44:38 +08:00
Jiang Jiang Jian
fd520a94d7
Merge branch 'bugfix/tw27963_fix_wifi_stop_bug' into 'master'
...
esp32: fix WiFi stop bug in WiFi/BT coexist mode
See merge request idf/esp-idf!3979
2018-12-18 11:40:28 +08:00
Jiang Jiang Jian
9eb2287729
Merge branch 'bugfix/btdm_prevent_light_sleep' into 'master'
...
bugfix/btdm_prevent_light_sleep
See merge request idf/esp-idf!3980
2018-12-18 11:34:50 +08:00
Angus Gratton
b3249d56f3
unit tests: Fix retrying with a new baud rate in IDFDUT.start_app()
2018-12-18 14:09:29 +11:00
Angus Gratton
f6e857c2b9
unit tests: Keep serial port open when running esptool
...
* Call esptool directly not via subprocess
* Use the same serial port instance for listener thread and esptool
* Includes some refactoring for encapsulation of App vs DUT members
2018-12-18 14:09:29 +11:00
Angus Gratton
0a27cfa850
unit_test.py: Allow importing tiny-test-fw from IDF_PATH as well as TEST_FW_PATH
2018-12-18 14:09:05 +11:00
Angus Gratton
9a08e49ca9
tcpip_adapter: Rename DHCP option types to include DHCP in the type name
2018-12-18 14:07:43 +11:00
Angus Gratton
ede47ed33a
tcpip_adapter: Update header descriptions, constify some parameters
2018-12-18 14:07:43 +11:00
Angus Gratton
b240a181b7
docs: Add option to redirect documentation pages which have moved
2018-12-18 14:07:43 +11:00
Angus Gratton
d8b625a32c
Merge branch 'feature/pystyle_components' into 'master'
...
components: Correct the Python coding style
See merge request idf/esp-idf!3882
2018-12-18 11:03:03 +08:00
Angus Gratton
15a7ad78f7
Merge branch 'feature/rename_main_instructions' into 'master'
...
Add instructions on how to rename main component
See merge request idf/esp-idf!3933
2018-12-18 08:08:20 +08:00
Angus Gratton
972cf1b416
Merge branch 'bugfix/ldgen_make_build_regression' into 'master'
...
Fix 'command not found' error when building on linux with make
See merge request idf/esp-idf!3977
2018-12-18 06:41:23 +08:00
Liu Zhi Fu
b3380b79d1
esp32: fix WiFi stop bug in WiFi/BT coexist mode
...
This fix includes following changes:
1. Fix the bug that esp_restart()/esp_wifi_stop() sometimes fails in WiFi/BT coexist mode.
2. Add a timer for WiFi stop and stop WiFi forcibly once the timer expires.
2018-12-17 20:33:31 +08:00
wangmengyang
561021e7f7
component/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due to current imcompatibility
2018-12-17 19:54:57 +08:00
David Cermak
6bb68a5a75
mdns: fixed static memory leak
2018-12-17 12:09:23 +01:00
David Cermak
c8cb4cd3c8
mdns: check all mallocs for failure and add default hook to log error with free heap
...
solves crash about _mdns_result_txt_create when stress test
2018-12-17 12:09:11 +01:00
zhiweijian
05e84cad1e
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:49:04 +08:00
Roland Dobai
e1e6c1ae0a
components: Correct the Python coding style
2018-12-17 07:52:38 +01:00
Renz Christian Bagaporo
911d2352ac
ci: detect command not found build errors
2018-12-17 14:04:49 +08:00
Renz Christian Bagaporo
af5cff0589
cmake: fix regression with linux make builds
...
Closes https://github.com/espressif/esp-idf/issues/2839
2018-12-17 14:04:49 +08:00
Angus Gratton
c69907a54b
Merge branch 'bugfix/ota_magic_byte_issue' into 'master'
...
bugfix/ota_magic_byte_issue: Fixes OTA magic byte error
See merge request idf/esp-idf!3936
2018-12-17 13:19:44 +08:00
Angus Gratton
778b7b1f5f
Merge branch 'bugfix/does_my_chip_have_vref_in_efuse' into 'master'
...
Update information on ADC's eFuse Vref. Inspired by https://esp32.com/viewtopic.php?f=12&t=6832 .
See merge request idf/esp-idf!3931
2018-12-17 13:18:32 +08:00
Krzysztof Budzynski
e53f701577
Update information on ADC's eFuse Vref. Inspired by https://esp32.com/viewtopic.php?f=12&t=6832 .
2018-12-17 13:18:32 +08:00
Angus Gratton
480fb72b46
Merge branch 'bugfix/prov_example_tests' into 'master'
...
Fix provisioning example tests
See merge request idf/esp-idf!3667
2018-12-17 13:06:44 +08:00
Supreet Deshpande
1d4bb7cc4d
bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro
...
Replace 0xE9 by ESP_IMAGE_HEADER_MAGIC.
2018-12-17 09:56:18 +05:30
Ivan Grokhotkov
3f850f1888
Merge branch 'doc/translation_establish-serial-connection_wangfang' into 'master'
...
Doc/translation establish serial connection wangfang
See merge request idf/esp-idf!3731
2018-12-17 11:49:35 +08:00
Wang Fang
e7bc89774d
Doc/translation establish serial connection wangfang
2018-12-17 11:49:35 +08:00
zwj
90a451c181
fix crash when adv and scan coex and optimize duplicate scan
2018-12-17 11:40:50 +08:00
Angus Gratton
6a4955ef74
doc: Rearrange wifi & ethernet docs into a common "network" doc
2018-12-17 14:18:09 +11:00
Jiang Jiang Jian
5436be94b6
Merge branch 'bugfix/btdm_assert_ble_65536' into 'master'
...
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
See merge request idf/esp-idf!3966
2018-12-14 20:29:04 +08:00
Ivan Grokhotkov
da2116f55c
Merge branch 'bugfix/build_system_test_fixes_windows' into 'master'
...
Various fixes for build tests on Windows
See merge request idf/esp-idf!3944
2018-12-14 20:19:51 +08:00
Tian Hao
1a4fa06125
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
2018-12-14 17:38:52 +08:00
Jiang Jiang Jian
6cb37ecc57
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS' into 'master'
...
bugfix/btdm_modem_sleep_cowork_with_DFS
See merge request idf/esp-idf!3797
2018-12-14 14:03:56 +08:00
wangmengyang
b4299433bd
component/bt: add DRAM_ATTR attribute to global variables(bss segment) in bt.c which can be accessed in ISR
2018-12-14 11:29:00 +08:00
Jiang Jiang Jian
bc30569842
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond' into 'master'
...
Component/bt: fix save keys when auth mode without bond
See merge request idf/esp-idf!3782
2018-12-14 10:35:14 +08:00
Renz Christian Bagaporo
d3938c8a66
ldgen: fix issue when not built in msys2
...
Closes https://github.com/espressif/esp-idf/issues/2812
2018-12-13 20:44:29 +08:00
Renz Christian Bagaporo
72cd1ac43f
mbedtls: fix issue with non idf.py build on windows
2018-12-13 20:44:29 +08:00
Renz Christian Bagaporo
5d6e21795b
tools: fix makefile converter windows path issue
2018-12-13 18:20:51 +08:00
Renz Christian Bagaporo
5511541d20
ci: fix build test with IDF_PATH unset on Windows
2018-12-13 18:20:51 +08:00
Jiang Jiang Jian
58a200e70c
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp' into 'master'
...
Component/bt: fix auth_mode error when reconnection in SMP
See merge request idf/esp-idf!3856
2018-12-13 17:04:12 +08:00
zhiweijian
7c6211fe45
Component/bt: fix save keys when auth mode without bond
2018-12-13 15:43:31 +08:00
Jiang Jiang Jian
dc194b565d
Merge branch 'docs/btdm_ble_ibeacon_example' into 'master'
...
docs: refactor BLE iBeacon demo readme
See merge request idf/esp-idf!2905
2018-12-13 15:31:30 +08:00
Jiang Jiang Jian
ded4efced1
Merge branch 'doc/add_coap_readme' into 'master'
...
doc: add CoAP README.md
See merge request idf/esp-idf!2643
2018-12-13 15:22:50 +08:00
Xia Xiaotian
c03f84cecf
add hostname option in dhcp discover
...
Hostname option has been removed from dhcp discover since IDFv3.2.
But it remains in dhcp request due to which ESP32 can not get IPv4 address
from some APs. Re-add hostname option to dhcp discover to solve this issue.
2018-12-13 07:05:46 +00:00
Jiang Jiang Jian
d75ab3208f
Merge branch 'test/add_case_to_detect_ds2ds_issue' into 'master'
...
test: add case to detect ds2ds issue
See merge request idf/esp-idf!3834
2018-12-13 14:49:30 +08:00
Anurag Kar
66a9762b2a
esp_prov : python coding style fixed as per conventions
2018-12-13 11:03:43 +05:30
Anurag Kar
5e0d222188
esp_prov : Added config option for enabling exception throw from within APIs
...
Example tests updated to enable exception throwing feature of esp_prov
2018-12-13 11:01:33 +05:30
Anurag Kar
3fe8065b7f
provisioning : tweak example test timeouts to reduce failures
2018-12-13 11:01:33 +05:30
Anton Maklakov
647145a734
Merge branch 'bugfix/gcc8_compatibility' into 'master'
...
Support for GCC8 compatibility - 2
See merge request idf/esp-idf!3677
2018-12-13 12:57:00 +08:00
Anton Maklakov
f88f06710e
example: Avoid a fallthrough
2018-12-13 12:29:27 +08:00
Anton Maklakov
240c343805
cmake: Put a variable to the cache to have access one in other cmake files
2018-12-13 12:29:27 +08:00
Anton Maklakov
eb13758d1a
example: Fix unused identifier warnings
2018-12-13 12:29:27 +08:00
Anton Maklakov
5e6509232e
example: Fix a truncation warning
2018-12-13 12:29:27 +08:00
Jiang Jiang Jian
bfd22a24da
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth' into 'master'
...
Component/bt: fix accept specified sec auth error
See merge request idf/esp-idf!3770
2018-12-13 11:19:53 +08:00
Anton Maklakov
df20a39faf
Merge branch 'bugfix/idf_monitor_without_toolchain' into 'master'
...
tools: Print useful error message from idf_monitor when toolchain isn't available
See merge request idf/esp-idf!3862
2018-12-12 16:20:14 +08:00
Roland Dobai
b0a43f07d9
tools: Print useful error message from idf_monitor when toolchain isn't available
2018-12-12 08:22:45 +01:00
Ivan Grokhotkov
0cf8d1380e
soc/rtc: reset another BBPLL related register
...
Follow-up to b21ffc8a : an additional register needs to be reset.
Ref. https://github.com/espressif/esp-idf/issues/2711
2018-12-12 12:24:48 +08:00
David Cermak
a6b2b73f03
mdns: resolve memory leak when txt record received multiple times
2018-12-11 21:59:44 +01:00
David Cermak
31163f02d5
mdns: skip sending search when finished, not properly locked timer task
2018-12-11 21:56:01 +01:00
wangmengyang
59f34461d7
component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling
...
1. start an esp_timer on entering sleep to acquire pm_lock before wake up from modem sleep
2. decrease the clock division of XTAL fed to bluetooth low power clock from 32us to 2us period to allow to work under 240MHz Max CPU frequency
3. decrease the minimum sleep duration threshold to allow shorter bluetooth modem sleep period, especially for BLE with short connection interval
4. reconfigure bluetooth baseband(BT-BB) settings after PHY/RF init upon waking up from modem sleep to avoid packet RX/TX performance degradation
2018-12-11 16:49:01 +08:00
Konstantin Kondrashov
cf6b79581b
example: Add a support of an app rollback
2018-12-11 11:58:42 +08:00
Konstantin Kondrashov
dde1fd9b94
bootloader: Add support flags for rollback app
...
Added
* Set actual ota_seq if both ota are init or incorrect.
* Description of rollback
* UT tests
Closes TW15459
2018-12-11 11:54:21 +08:00
Konstantin Kondrashov
c0f5e58bdc
build: Add trimming PROJECT_VER and PROJECT_NAME vars
2018-12-11 11:23:53 +08:00
Ivan Grokhotkov
1e20664952
Merge branch 'bugfix/issues_from_github' into 'master'
...
Docs: Minor PRs from GitHub
See merge request idf/esp-idf!3930
2018-12-11 11:22:33 +08:00
Noeël Moeskops
19cf1bb7db
Typo fix in mqtt.rst.
...
changed 'defalut' to 'default'
Merges https://github.com/espressif/esp-idf/pull/2780
2018-12-10 19:13:01 +01:00
Stephen Bird
bb4936b4d5
Add missing dependency.
...
Merges https://github.com/espressif/esp-idf/pull/2781
2018-12-10 19:12:46 +01:00
Supreet Deshpande
55d5ee1e79
bugfix/ota_magic_byte_issue: Fixes OTA magic byte error
...
On enabling flash encryption, OTA fails with magic byte error in the second chunk
if the http data is split into two or more chunks and first chunk is less than 16.
2018-12-10 17:16:38 +05:30
Ivan Grokhotkov
230147a169
Merge branch 'bugfix/nvs_test_compile_err' into 'master'
...
nvs_flash: Fix compilation of host testcases when g++-8.x is used.
See merge request idf/esp-idf!3699
2018-12-10 17:42:43 +08:00
Ivan Grokhotkov
7ecdb1bb27
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2018-12-10 16:29:24 +08:00
Anton Maklakov
4d898b4655
Merge branch 'bugfix/extra_cflags' into 'master'
...
cmake: add EXTRA_CFLAGS and clean warnings
See merge request idf/esp-idf!3805
2018-12-10 13:28:12 +08:00
Anton Maklakov
81bf07ed4d
test: Fix some unused identifier warnings
2018-12-10 12:34:16 +08:00
Anton Maklakov
0652a4b714
ci: Use more pedantic checking for examples and ut
2018-12-10 12:34:16 +08:00
Anton Maklakov
ac18b1024a
cmake: Add support for EXTRA_CFLAGS and EXTRA_CXXFLAGS
2018-12-10 12:34:16 +08:00
Renz Christian Bagaporo
fd44580e52
docs: add section on renaming main component
2018-12-10 12:30:08 +08:00
Ivan Grokhotkov
26a6b3b243
Merge branch 'feature/unity_set_test_from_gdb' into 'master'
...
unity: add a hook to run test from gdb session
See merge request idf/esp-idf!3916
2018-12-10 12:25:39 +08:00
Ivan Grokhotkov
23b6d40c53
Merge branch 'feature/illegal_instruction_panic_info' into 'master'
...
panic: dump some instruction memory on IllegalInstruction exception
See merge request idf/esp-idf!3924
2018-12-10 12:24:26 +08:00
Wang Jia Lin
d2729840e0
Merge branch 'doc/i2s_example_doc_improve' into 'master'
...
doc(i2s): update README.md file of i2s related examples.
See merge request idf/esp-idf!2664
2018-12-10 11:23:11 +08:00
hou wen xiang
67d95c609b
doc(i2s): update README.md file of i2s related examples.
2018-12-10 10:33:41 +08:00
Sagar Bijwe
fc37dc1944
nvs_flash: Fix compilation of host testcases when g++-8.x is used.
...
When std::bind is used, it requires inclusion of <functional> header.
This was not mandatory with earlier versions of g++ (4.x), may be because they
had experimental support for c++11.
2018-12-07 09:40:45 +00:00
Ivan Grokhotkov
04c511c9b5
panic: dump some instruction memory on IllegalInstruction exception
2018-12-07 16:50:00 +08:00
Ivan Grokhotkov
646d36c728
Merge branch 'feature/nmea-parser' into 'master'
...
NMEA0183 Parser
See merge request idf/esp-idf!3866
2018-12-07 14:32:04 +08:00
Ivan Grokhotkov
6c868c4bee
Merge branch 'bugfix/bbpll_wakeup_reset' into 'master'
...
soc/rtc: reset BBPLL config when enabling it
See merge request idf/esp-idf!3911
2018-12-07 14:21:59 +08:00
Ivan Grokhotkov
8b885fb935
Merge branch 'docs/add_note_for_ulp_set_wakeup_period' into 'master'
...
ulp: add note regarding limitation of ulp_set_wakeup_period in deep sleep mode
See merge request idf/esp-idf!3796
2018-12-07 14:07:14 +08:00
Ivan Grokhotkov
def2a13297
Merge branch 'bugfix/app_version' into 'master'
...
app_update: Fix esp_app_desc unused var for Cmake
See merge request idf/esp-idf!3891
2018-12-07 14:06:17 +08:00
Ivan Grokhotkov
423d7b9a65
Merge branch 'bugfix/sysview_cache_err' into 'master'
...
app_trace: linker fragment fixes
See merge request idf/esp-idf!3835
2018-12-07 14:04:28 +08:00
Ivan Grokhotkov
893cb83343
Merge branch 'bugfix/vfs_unregister_nested' into 'master'
...
vfs: fix unregister removing top level VFS instead of nested
See merge request idf/esp-idf!3917
2018-12-07 14:03:34 +08:00
Ivan Grokhotkov
4e77efc36b
Merge branch 'bugfix/clang_compatibility' into 'master'
...
clang compatibility fixes
See merge request idf/esp-idf!3912
2018-12-07 14:03:05 +08:00
Jiang Jiang Jian
b1630084d1
Merge branch 'bugfix/btdm_assert_ble_32768' into 'master'
...
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
See merge request idf/esp-idf!3915
2018-12-07 13:54:11 +08:00
Konstantin Kondrashov
d4cb14bc65
app_update: Fix esp_app_desc unused var for Cmake
2018-12-07 12:04:40 +08:00
morris
8b7b5821c7
example: add nmea0183 parser example
...
Add NMEA0183 Parser example to illustrate how to use uart event driver together with esp event library to get GPS information.
2018-12-07 10:57:34 +08:00
Angus Gratton
aae955d1ae
Merge branch 'docs/mesh_channel_switch' into 'master'
...
docs: Add documentation about ESP-MESH channel switching and self organized behavior
See merge request idf/esp-idf!3854
2018-12-07 09:24:51 +08:00
Angus Gratton
560e92b101
Merge branch 'feature/pystyle_examples' into 'master'
...
examples: Fix Python coding style
See merge request idf/esp-idf!3881
2018-12-07 09:12:56 +08:00
Anton Maklakov
e224b8a43a
Merge branch 'bugfix/ci_tag_for_cmake_linter' into 'master'
...
ci: A small CI stabilizing fix
See merge request idf/esp-idf!3801
2018-12-07 02:39:51 +08:00
Anton Maklakov
3c8a2a099a
ci: Fix the choice of runner for the CMake verification, and change .check_job_template tag to host_test
2018-12-07 00:52:20 +08:00
Anton Maklakov
812a49bd0d
Merge branch 'bugfix/shell_exit' into 'master'
...
scripts: Fix shell exit
See merge request idf/esp-idf!3908
2018-12-07 00:49:52 +08:00
Ivan Grokhotkov
61beb16225
vfs: fix unregister removing top level VFS instead of nested
...
Credits @neoniousTR.
Fixes https://github.com/espressif/esp-idf/pull/2770
2018-12-06 19:43:49 +08:00
Ivan Grokhotkov
a646ea7993
unity: add a hook to run test from gdb session
2018-12-06 19:37:51 +08:00
Tian Hao
357f2264e6
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
2018-12-06 16:54:14 +08:00
Roland Dobai
57c54f96f1
examples: Fix Python coding style
2018-12-06 09:34:33 +01:00
Ivan Grokhotkov
3150920cb4
heap: __builtin_return_address argument has to be a literal value
...
Clang does not accept const int as an argument of __builtin_return_address.
Ref LLVM-14
2018-12-06 16:14:14 +08:00
Ivan Grokhotkov
94f2dd27d4
examples/console: don’t use raw string literals in C code
...
Raw string literals are a C++ feature, and GCC supports them for C as
an extension. Clang doesn’t support them.
Ref LLVM-11
2018-12-06 16:14:14 +08:00
Ivan Grokhotkov
271a2e8e97
console, ulp: don’t use nested functions
...
These are not supported by clang
Ref LLVM-12
2018-12-06 16:12:47 +08:00
Wang Jia Lin
a36d714d1a
Merge branch 'doc/adc_example_doc_improve' into 'master'
...
doc(adc): Update README.md file of adc example.
See merge request idf/esp-idf!2665
2018-12-06 15:22:50 +08:00
Wang Jia Lin
cbaa4ade42
Merge branch 'doc/pcnt_example_doc_improve' into 'master'
...
doc(pcnt): Update pcnt example README.md file.
See merge request idf/esp-idf!2666
2018-12-06 15:20:46 +08:00
Ivan Grokhotkov
b21ffc8a0c
soc/rtc: reset BBPLL configuration after enabling it
...
A workaround to reset BBPLL configuration after light sleep. Fixes the
issue that Wi-Fi can not receive packets after waking up from light
sleep.
Ref. https://github.com/espressif/esp-idf/issues/2711
2018-12-06 14:43:24 +08:00
Angus Gratton
8c7a6be627
Merge branch 'bugfix/ldgen_make_escaping' into 'master'
...
make/ldgen: Fix generation of ldgen.section_infos file when shell is bash
See merge request idf/esp-idf!3893
2018-12-06 13:27:36 +08:00
Angus Gratton
54532c6189
build example tests: Use portable "sed -i" form
2018-12-06 15:28:18 +11:00
Angus Gratton
8ab2f20c3a
ldgen make: Use "sed -E" for extended POSIX regular expression syntax w/ BSD sed
2018-12-06 15:28:18 +11:00
hou wen xiang
8e9359b4fd
doc(adc): Update README.md file of adc example.
2018-12-06 12:20:29 +08:00
hou wen xiang
062c64fca0
doc(pcnt): Update pcnt example README.md file.
2018-12-06 12:16:45 +08:00
Angus Gratton
ef4a4105f4
make/ldgen: Fix generation of ldgen.section_infos file when shell is bash
...
bash doesn't escape by default from "echo", so use "printf"
Closes https://github.com/espressif/esp-idf/pull/2797
Closes https://github.com/espressif/esp-idf/issues/2796
2018-12-06 10:20:35 +11:00
Angus Gratton
ff71ea9202
Merge branch 'bugfix/win_path_print' into 'master'
...
tools: correct printed path on MS Win
See merge request idf/esp-idf!3853
2018-12-06 07:18:32 +08:00
Anton Maklakov
34109c4171
scripts: Fix shell exit. Really exit from current process, not from child process
2018-12-05 21:25:16 +08:00
Angus Gratton
97a3617a27
Merge branch 'bugfix/docs_pystyle' into 'master'
...
docs: Correct Python coding style
See merge request idf/esp-idf!3859
2018-12-05 17:43:20 +08:00
Angus Gratton
f1b4c18c2a
Merge branch 'bugfix/idfpy_monitor_msys' into 'master'
...
tools: fix idf.py monitor for MSYS
Closes #51
See merge request idf/esp-idf!3839
2018-12-05 17:39:36 +08:00
Jiang Jiang Jian
d3b3f1e4a3
Merge branch 'bugfix/ethernet_enable_second_failure' into 'master'
...
fix ethernet phy init timeout
See merge request idf/esp-idf!3879
2018-12-05 16:12:19 +08:00
Angus Gratton
9f8587360c
ldgen: Fix crash if --sections argument not supplied
2018-12-05 18:29:28 +11:00
Roland Dobai
b56ed1a99e
docs: Correct Python coding style
2018-12-05 08:22:33 +01:00
Roland Dobai
4749b118bc
tools: fix idf.py monitor for MSYS
2018-12-05 07:52:25 +01:00
Jiang Jiang Jian
eb27686416
Merge branch 'bugfix/btdm_bugs_caused_by_coex' into 'master'
...
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
See merge request idf/esp-idf!3860
2018-12-05 14:17:14 +08:00
Ivan Grokhotkov
e92e028679
Merge branch 'feature/sdio_example_gpio_doc' into 'master'
...
Enhanced readability in README.md (port from Github PR)
See merge request idf/esp-idf!3883
2018-12-05 13:46:33 +08:00
Ivan Grokhotkov
37975c186d
Merge branch 'feature/pthread_name_affinity_config' into 'master'
...
pthread: make affinity and task name configurable
See merge request idf/esp-idf!3878
2018-12-05 13:46:05 +08:00
Ivan Grokhotkov
e04fd42176
Merge branch 'feature/refactoring_ota_part' into 'master'
...
bootloader/app_update: Refactoring otadata part
See merge request idf/esp-idf!3544
2018-12-05 12:59:34 +08:00
Angus Gratton
d50af8bd53
Merge branch 'bugfix/no_tests_for_unit_test_example' into 'master'
...
cmake: fix error in converting project variables to namespaced ones
See merge request idf/esp-idf!3887
2018-12-05 12:58:42 +08:00
Angus Gratton
36be9b36dd
Merge branch 'bugfix/fix_menuconfig_for_windows' into 'master'
...
Fix various errors for menuconfig on Windows
Closes #50
See merge request idf/esp-idf!3848
2018-12-05 11:34:49 +08:00
Konstantin Kondrashov
f9522a0eb6
bootloader app_update: Refactoring otadata part
2018-12-05 11:20:03 +08:00
Ivan Grokhotkov
8a7b46aa90
Merge branch 'feature/anti_rollback_exp' into 'master'
...
esp32: Add firmware version to app
See merge request idf/esp-idf!3461
2018-12-05 11:10:04 +08:00
Renz Christian Bagaporo
b11238df4d
ci: add test for setting EXTRA_COMPONENT_DIRS
2018-12-05 10:51:10 +08:00
Renz Christian Bagaporo
0d5660fbde
cmake: fix error in converting project variables to namespaced ones
...
Closes https://github.com/espressif/esp-idf/issues/2764
2018-12-05 10:51:10 +08:00
Angus Gratton
794155f975
Merge branch 'doc/security_features_small_fixes' into 'master'
...
doc: Small secure boot & flash encryption corrections
See merge request idf/esp-idf!3876
2018-12-05 09:03:30 +08:00
Angus Gratton
a2d0fbb9ab
docs: flash encryption: Fix description of behaviour when all bits of FLASH_CRYPT_CNT are set
...
Correct behaviour is described in section 25.3.3 Flash Decryption Block of the ESP32 TRM
2018-12-05 11:15:00 +11:00
Angus Gratton
441e2d5011
Merge branch 'bugfix/register_structs_stdint' into 'master'
...
soc: Add "#include <stdint.h>" to all register structs
See merge request idf/esp-idf!3875
2018-12-05 08:05:56 +08:00
Anton Maklakov
deaecf164d
make: fix unexpected operator warning
2018-12-05 07:54:59 +08:00
Renz Christian Bagaporo
d411175e47
mbedtls, cmake: set host as unix when building in msys
2018-12-05 07:54:59 +08:00
Renz Christian Bagaporo
50d7067391
cmake: fix mconf path for existing mconf
...
Fixes https://github.com/espressif/esp-idf/issues/2771
Fixes https://github.com/espressif/esp-idf/issues/2722
2018-12-05 07:54:59 +08:00
ThisNameIsNotAllowed
b12c58224d
Enhanced readability in README.md
...
Changed text based GPIO-list to some table based version.
This should enhance the readability.
Resolves https://github.com/espressif/esp-idf/pull/2749
2018-12-04 21:20:32 +08:00
zhiweijian
5c5799fa51
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-04 18:05:25 +08:00
morris
dc043109d7
ethernet: phy init timeout
...
When ethernet enable again after disable it before, phy init will report timeout.
The cause of this problem is that the enabling of emac clock is too late, and should be placed before phy init.
2018-12-04 17:13:48 +08:00
Jeroen Domburg
d6ee27e313
Merge branch 'feat/spi_check_length_buffer' into 'master'
...
spi: add checks for slave buffer valid and master length
See merge request idf/esp-idf!3744
2018-12-04 11:48:32 +08:00
Angus Gratton
2b557523ba
Merge branch 'bugfix/generic_cmake_gc_sections' into 'master'
...
generic cmake: Always use gc-sections when linking IDF libraries
See merge request idf/esp-idf!3873
2018-12-04 11:01:51 +08:00
Angus Gratton
2946b5f384
Merge branch 'bugfix/ldgen_cmd_args_too_long' into 'master'
...
Fix issue with generating linker script using Windows command line
See merge request idf/esp-idf!3865
2018-12-04 10:42:58 +08:00
Angus Gratton
ac1d1aa3c8
doc: secure boot: Explain output of digest_secure_bootloader command
...
Mentioned on forum https://esp32.com/viewtopic.php?f=13&t=8162&start=10#p34714
2018-12-04 12:34:59 +11:00
Angus Gratton
b45b0f2348
doc: security: Use less ambiguous language about using bot flash encryption & secure boot together
2018-12-04 12:34:38 +11:00
Angus Gratton
7f32995a4c
soc: Add "#include <stdint.h>" to all register structs
...
Closes https://github.com/espressif/esp-idf/issues/2239
TW24912
2018-12-04 11:17:38 +11:00
Angus Gratton
4c8c88af22
windows_install_prerequisites: Fix bug if IDF_PATH is not set
...
if IDF_PATH is empty, [ -n ] test passes needs to be [ -n "" ]
Closes https://github.com/espressif/esp-idf/issues/2769
TW27714
2018-12-04 11:02:49 +11:00
Angus Gratton
89826e8f47
generic cmake: Always use gc-sections when linking IDF libraries
...
Required for some IDF binary libraries
Reported on forum: https://esp32.com/viewtopic.php?f=13&t=7535&p=34863#p34852
TW27733
2018-12-04 10:47:00 +11:00
Tian Hao
a9429ee5da
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
...
1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
2. Fix BLE assert(512) or assert(1536) in rwble.c at line 222
3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222
The #1 and #2 occurs random.
The #3 bug occurs in certain scenario:
1. If Wifi start softap and BLE is working
2. If wifi start station, but do not use normal station operation, such
as just use espnow, while BLE is working
3. Any other scenario, that wifi works without use software coexist
operation, while BLE is working(such as do advertising and ...)
4. update libcoexist.a version to v1.1.2
2018-12-03 19:41:43 +08:00
Konstantin Kondrashov
3b9cb25fe1
esp32: Add firmware version to app
...
Added a new structure esp_app_desc_t. It has info about firmware:
version, secure_version, project_name, time/date build and IDF version.
Added the ability to add a custom structure with a description of the firmware.
The esp_app_desc_t is located in fixed place in start of ROM secotor. It is located after structures esp_image_header_t and esp_image_segment_header_t.
app_version is filed from PROJECT_VER variable (if set in custom make file) or PROJECT_PATH/version.txt or git repo (git describe).
Add API to get app_desc from partition.
2018-12-03 16:52:04 +08:00
Mahavir Jain
588ecaae09
ulp: add note regarding limitation of ulp_set_wakeup_period in deep sleep mode
2018-12-03 11:41:10 +05:30
Renz Christian Bagaporo
a7a1c32a8e
cmake, make: fix long cmd line args for ldgen
2018-12-03 12:26:38 +08:00
Angus Gratton
3bc970c5f4
Merge branch 'bugfix/partitions_tools_style_check' into 'master'
...
Remove parttool exemption from style check
See merge request idf/esp-idf!3847
2018-12-03 12:25:39 +08:00
Darian Leung
674f0b1ebd
doc: Add mesh channel switching and self organized networking documentation
2018-12-03 11:57:32 +08:00
Angus Gratton
80e6def4b8
Merge branch 'ci/combine_unit_test_and_integration_test' into 'master'
...
ci: combine unit_test and integration_test stage
See merge request idf/esp-idf!3792
2018-12-03 11:39:26 +08:00
Angus Gratton
554cf77963
Merge branch 'bugfix/convert_to_cmake' into 'master'
...
Fix minor issue with convert_to_cmake script
See merge request idf/esp-idf!3666
2018-12-03 11:39:12 +08:00
Angus Gratton
fffa98647b
Merge branch 'feature/docs_more_on_shared_pins_of_esp-wrover-kit' into 'master'
...
Extended information on using pins of ESP-WROVER-KIT that are shared among…
See merge request idf/esp-idf!3841
2018-12-03 07:02:40 +08:00
Angus Gratton
7fa98593bc
Merge branch 'feature/docs_hw_reference_cn' into 'master'
...
Provided translation of 'Hardware Reference' into Chinese
See merge request idf/esp-idf!3555
2018-12-03 07:02:33 +08:00
Krzysztof Budzynski
340e7f3b2f
Provided translation of 'Hardware Reference' into Chinese
2018-12-03 07:02:33 +08:00
Jiang Jiang Jian
6bd497f9ed
Merge branch 'feature/btdm_ble_full_scan_support' into 'master'
...
component/bt: Added the ble full scan supported feature.
See merge request idf/esp-idf!3820
2018-11-30 21:53:21 +08:00
Jiang Jiang Jian
e07c5a22f2
Merge branch 'doc/RF_calibration' into 'master'
...
doc: add documentation for RF calibration
See merge request idf/esp-idf!3828
2018-11-30 21:50:29 +08:00
Jiang Jiang Jian
1cffc90e58
Merge branch 'feature/optimize_wifi_log' into 'master'
...
wifi: add code for setting wifi log level and module
See merge request idf/esp-idf!3710
2018-11-30 21:42:57 +08:00
Darian Leung
f0e8c068d2
docs: Fix mesh doc line wrapping
...
This commit fixes mesh doc line wrapping by making every
paragraph into a single line.
2018-11-30 21:13:28 +08:00
yulong
0f3eb977cd
component/bt: Added the ble full scan supported feature.
...
1. Add the full scan swith in the menuconfig;
2. Change the bt lib in order to support ble full scan
2018-11-30 20:48:42 +08:00
Roland Dobai
f7281c75c7
tools: correct the coding style of check_python_dependencies.py
2018-11-30 13:43:28 +01:00
Roland Dobai
98bc172f58
tools: correct printed path on MS Win
2018-11-30 13:43:28 +01:00
Renz Christian Bagaporo
a3b581bd8c
parttool: remove exemption from style check
2018-11-30 16:39:55 +08:00
Xia Xiaotian
59761b0fcb
doc: add documentation for RF calibration
...
Add an API to erase phy namespace of NVS
2018-11-30 16:26:56 +08:00
zhangyanjiao
e621e0af8b
wifi: add code for setting wifi log level and module
2018-11-30 15:24:22 +08:00
Angus Gratton
7458c1c1e2
Merge branch 'feature/ulp-assembler-version-check' into 'master'
...
Check assembler version
See merge request idf/esp-idf!3156
2018-11-30 14:57:01 +08:00
Angus Gratton
ed21457afc
Merge branch 'doc/ledc_example_doc_improve' into 'master'
...
doc(ledc): Update LEDC example README.md file
See merge request idf/esp-idf!2673
2018-11-30 14:48:25 +08:00
Angus Gratton
a34a27010b
Merge branch 'feature/partition_tools' into 'master'
...
Partition level tools
See merge request idf/esp-idf!3355
2018-11-30 14:15:51 +08:00
Angus Gratton
c22512d27f
Merge branch 'bugfix/ldgen_error_messages' into 'master'
...
ldgen: Improve error output when linker input is invalid
See merge request idf/esp-idf!3824
2018-11-30 11:15:23 +08:00
Ivan Grokhotkov
ba844caa8a
app_trace: fix linker fragment not included in Make build
2018-11-30 11:05:43 +08:00
Ivan Grokhotkov
46a948dafa
app_trace: require timer driver to be in IRAM
...
Closes https://github.com/espressif/esp-idf/issues/2760
2018-11-30 11:05:43 +08:00
Angus Gratton
f845af840f
Merge branch 'bugfix/build_fail_on_idf_as_lib' into 'master'
...
cmake: fix error on building idf as lib when env IDF_PATH is not set
See merge request idf/esp-idf!3832
2018-11-30 10:59:18 +08:00
Angus Gratton
4027a7f2c2
Merge branch 'bugfix/i2c_master_clear_bus' into 'master'
...
fix i2c_master_clear_bus && add i2c_tool example test
See merge request idf/esp-idf!3509
2018-11-30 10:53:39 +08:00
Angus Gratton
afe4c76b6b
Merge branch 'doc/heap_basics' into 'master'
...
docs: Add some more explanation about heap, memory types
See merge request idf/esp-idf!3810
2018-11-30 10:24:51 +08:00
morris
9163e454f1
example_test: using try block to pass the python style check
2018-11-30 10:13:58 +08:00
Wangjialin
924daf7b84
bugfix(i2c): reduce speed of I2C master bus reset routine and release SDA
...
closes https://github.com/espressif/esp-idf/issues/2494
closes https://github.com/espressif/esp-idf/pull/2493
closes https://github.com/espressif/esp-idf/pull/2496
1. Change bus reset to handle interrupted READ sequences.
2. Slow down I2C to 100khz during reset
3. If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH. So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.
2018-11-30 10:08:28 +08:00
chuck todd
e55f9c1e98
1. Slow down I2C to 100khz During Reset
...
I am stealing this delay coding from @jeremyherbert #2493 pr.
2. Change Bus Reset to handle interrupted READ sequences.
The current code does not handle interrupted READ cycles.
If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.
The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH.
So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.
3. fix typo
correct `sda_id` to `sda_io` in `i2c_master_clear_bus()` @ryan-ma found it. This typo was generated when I manually edited this patch on GitHub, I should have done a Copy/Paste operation!
2018-11-30 10:08:28 +08:00
jeremy
34c1d25c7f
reduce speed of i2c master bus reset routine and release sda
2018-11-30 10:08:28 +08:00
morris
2b165f99c4
i2c_tool: add i2c_tool example test
...
1. add example test for i2c-tools
2. make command line arguments number configurable
2018-11-30 10:08:28 +08:00
Angus Gratton
98f9a3c316
Merge branch 'bugfix/flake8' into 'master'
...
Make the flake8 configuration work regardless of installed plugins
See merge request idf/esp-idf!3838
2018-11-30 09:32:43 +08:00
morris
8dc66d3f0f
doc: translate part of build-system
...
Translate the make_size part in build system.
2018-11-30 12:29:38 +11:00
Angus Gratton
a3a1cc080e
docs: Add some more explanation about heap, memory types
2018-11-30 12:29:38 +11:00
krzychb
29b1f86f16
Extended information on using pins of ESP-WROVER-KIT that are shared among peripherals. Inspired by https://esp32.com/viewtopic.php?f=12&t=6856 .
2018-11-29 16:56:49 +01:00
He Yin Ling
b0154cbf58
unit-test-app: fix the RegEx to detect test case:
...
tags are not correctly parsed if eol do not contain `\r`
2018-11-29 23:06:16 +08:00
He Yin Ling
5ae3a11c8d
tiny-test-fw: fix exception when expect RegEx:
...
match.groups() could return None. We can't do decode on None object.
2018-11-29 23:06:16 +08:00
He Yin Ling
582e89eca3
test: add test case to receive ds2ds packet
2018-11-29 23:06:16 +08:00
Ivan Grokhotkov
499fdbd33d
Merge branch 'feature/fatfs_alloc_extram_option' into 'master'
...
fatfs: add option to prefer ext. RAM for internal buffers
See merge request idf/esp-idf!3821
2018-11-29 22:59:01 +08:00
He Yin Ling
edff003e72
Merge branch 'test/driver_i2c' into 'master'
...
add i2c case
See merge request idf/esp-idf!1937
2018-11-29 22:53:06 +08:00
Roland Dobai
a26580d0e8
Make the flake8 configuration work regardless of installed plugins
2018-11-29 15:26:39 +01:00
Ivan Grokhotkov
bbeb62547e
fatfs: add option to prefer ext. RAM for internal buffers
2018-11-29 19:26:46 +08:00
Mahavir Jain
907b1a9032
mbedtls: align CMake build with corresponding component.mk
2018-11-29 16:23:06 +05:30
houchenyao
147447b13e
test: components/driver: i2c case
2018-11-29 18:27:58 +08:00
Mahavir Jain
a3785792eb
tools/ci: add test case for convert_to_cmake script
...
Following issue was already fixed with earlier commit-id f4cfca4353
Here additional build test case is added and marking issue as closed.
Closes: https://github.com/espressif/esp-idf/issues/2660
2018-11-29 15:15:13 +05:30
Ivan Grokhotkov
56e4c6e5a3
Merge branch 'bugfix/menuconfig_fails_on_cmake' into 'master'
...
Fix menuconfig fail on cmake
Closes #48
See merge request idf/esp-idf!3826
2018-11-29 16:10:21 +08:00
Renz Christian Bagaporo
ba6058ba58
cmake: fix error on building idf as lib when env IDF_PATH is not set
2018-11-29 15:40:16 +08:00
He Yin Ling
add7c49a26
Merge branch 'test/driver_i2s' into 'master'
...
component/driver:add i2s case
See merge request idf/esp-idf!2117
2018-11-29 14:41:09 +08:00
Renz Christian Bagaporo
da1f3ea12a
kconfig: pass env variable to menuconfig invocation
2018-11-29 13:22:10 +08:00
Renz Christian Bagaporo
a2f63c09bf
make, ldgen: remove uncessary passed target env variable
2018-11-29 13:21:31 +08:00
Renz Christian Bagaporo
f6375952bb
kconfig: specify full path of built mconf
2018-11-29 13:16:13 +08:00
Wang Jia Lin
62cc522f36
Merge branch 'feature/rmt_add_api_get_free_channel' into 'master'
...
feature(rmt): Add API get rmt channel's status.
See merge request idf/esp-idf!2440
2018-11-29 11:59:39 +08:00
houchenyao
44fdca94e9
test: components/driver: i2s case
2018-11-29 11:32:40 +08:00
Angus Gratton
073dbe6d1d
Merge branch 'bugfix/idf_monitor_tests' into 'master'
...
Adjust the timeout of the idf_monitor tests
See merge request idf/esp-idf!3802
2018-11-29 11:03:25 +08:00
Angus Gratton
759185b16c
Merge branch 'bugfix/bt_ut_build_all' into 'master'
...
Fix unit test cmake build for BT
See merge request idf/esp-idf!3767
2018-11-29 09:52:55 +08:00
Angus Gratton
d4a5682e7d
ldgen: Improve error output when linker input is invalid, don't create output file until end of process
2018-11-29 12:41:35 +11:00
Ivan Grokhotkov
21b3919369
Merge branch 'bugfix/vfs_open_write_close_perf_test' into 'master'
...
Fix VFS unit test failure ("Open & write & close through VFS passes performance test")
Closes #44
See merge request idf/esp-idf!3759
2018-11-29 09:40:54 +08:00
Ivan Grokhotkov
1d2673eda5
Merge branch 'bugfix/uart_select_buffer' into 'master'
...
VFS: select() on UART should return immediately when data is buffered
See merge request idf/esp-idf!3803
2018-11-29 09:30:19 +08:00
Per Malmberg
71f57931bd
#2743 - Implemented ability to core affinity and thread name for pthreads and thus also for std::thread.
2018-11-28 20:43:09 +01:00
Roland Dobai
738c56e84a
Fix VFS_OPEN_WRITE_CLOSE_TIME unit test issue
...
Closes idf/esp-idf#44
2018-11-28 20:36:08 +01:00
Ivan Grokhotkov
2c7fc07aae
Merge branch 'bugfix/various_ldgen_fixes' into 'master'
...
Fix multiple ldgen issues
Closes #47
See merge request idf/esp-idf!3799
2018-11-29 01:46:02 +08:00
Ivan Grokhotkov
98884b4f6c
Merge branch 'bugfix/sysview_trace_taskid' into 'master'
...
freertos: fix task ID sent to the trace
See merge request idf/esp-idf!3807
2018-11-29 01:45:36 +08:00
Jiang Jiang Jian
7312294648
Merge branch 'bugfix/btdm_rf_reg' into 'master'
...
fix bug to unsupport rf reg access from hci cmd
See merge request idf/esp-idf!3787
2018-11-28 21:21:20 +08:00
Jiang Jiang Jian
a134141320
Merge branch 'mesh/feature_channel_switch' into 'master'
...
mesh: add channel switch function
See merge request idf/esp-idf!3772
2018-11-28 20:11:38 +08:00
Renz Christian Bagaporo
b926764385
examples: add otatool and parttool examples
2018-11-28 17:28:20 +08:00
chenjianqiang
a0beff99d2
bugfix(psram): fix psram size acquisition method
...
1. Use BIT[7:5] of EID to determine psram size
2. Add ID support for 16Mbit psram
3. Remove module reset on SPI1
4. Confirmed with the vendor that only the old 32Mbit psram need special clock timing. For other psram chips, we should use standard QPI mode.
2018-11-28 17:05:37 +08:00
Wang Jia Lin
cc5673435b
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core' into 'master'
...
bugfix(uart): fix uart read error bug when using dual core.
See merge request idf/esp-idf!3521
2018-11-28 16:17:13 +08:00
Renz Christian Bagaporo
5e08698039
make: use otatool and parttool for build
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
bceec35d0e
cmake: use otatool and parttool for build
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
8ca6904d55
ota: implement otatool functionality
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
88c81c67b7
partition_table: implement new parttool functionality
2018-11-28 15:57:20 +08:00
Angus Gratton
06eebfe15f
Merge branch 'bugfix/ignore_windows_conf_tools' into 'master'
...
gitignore: Add mconf-idf.exe and conf-idf.exe
See merge request idf/esp-idf!3806
2018-11-28 15:46:15 +08:00
kooho
da223fad4e
driver(rmt): Add API get rmt channel's status.
...
closes https://github.com/espressif/esp-idf/issues/1175
closes https://github.com/espressif/esp-idf/issues/2599
closes https://github.com/espressif/esp-idf/issues/2452
2018-11-28 07:20:45 +00:00
Anton Maklakov
87e8757569
bt: Fix unit tests build with CMake
2018-11-28 15:19:04 +08:00
Anton Maklakov
9dde91ce2b
modbus: Fix a typo in the docs
2018-11-28 15:19:03 +08:00
hou wen xiang
ade39f823f
doc(ledc): Update LEDC example README.md file.
2018-11-28 07:15:56 +00:00
Renz Christian Bagaporo
4c83f456ab
cmake: generate sections info for all static libs as in make
2018-11-28 14:24:21 +08:00
Renz Christian Bagaporo
a9c784339d
ldgen: fix error on parsing archive from sections info
2018-11-28 14:14:54 +08:00
Renz Christian Bagaporo
22b4c95d1e
ldgen: add traceback in case of exception
2018-11-28 14:14:54 +08:00
He Yin Ling
19910c8729
Merge branch 'test/driver_mcpwm' into 'master'
...
test/mcpwm_case
See merge request idf/esp-idf!1831
2018-11-28 13:56:05 +08:00
Ivan Grokhotkov
8eb40bea51
freertos: pass TCB rather than the array to trace functions
2018-11-28 12:26:34 +08:00
Wang Jia Lin
70554e8caa
Merge branch 'doc/uart_lightsleep_wakeup_doc' into 'master'
...
doc(uart): update the comment of uart_set_wakeup_threshold
See merge request idf/esp-idf!3556
2018-11-28 11:35:56 +08:00
Angus Gratton
6f8e2b018f
Merge branch 'feature/generic_cmake_support' into 'master'
...
Generic CMake Support
See merge request idf/esp-idf!3543
2018-11-28 10:42:47 +08:00
houchenyao
11faab2c5d
test: components/driver: pwm case
2018-11-28 10:42:32 +08:00
Angus Gratton
fac12d0dae
Merge branch 'bugfix/windows_install_prerequisites' into 'master'
...
windows_install_prerequisites: Fix generation of PATH command
See merge request idf/esp-idf!3798
2018-11-28 09:11:08 +08:00
Angus Gratton
f7811671ae
gitignore: Add mconf-idf.exe and conf-idf.exe
...
Problem since f6cd55d2ac
Closes https://github.com/espressif/esp-idf/issues/2751
2018-11-28 12:05:29 +11:00
Anton Maklakov
983cdcb7f4
add_path.sh: Fix reuse the script
2018-11-28 11:08:28 +11:00
qiyuexia
1692896e5e
mesh: add channel switch function
...
1. add network channel switch function.
- users can obtain the new channel through the event MESH_EVENT_CHANNEL_SWITCH.
- the entire network will be moved to the same channel as the router without user intervention.
- if no router is in the network, users can call esp_mesh_switch_channel() on the root side to
move the entire network to their desired channel.
2. support not configuring the network channel.
3. support not configuring the router BSSID even if the router is hidden.
4. add allow_channel_switch to mesh configuration.
- if the channel is not specified, this value will be ignored.
- if the channel is specified and this value is set, when "fail" (mesh_attempts_t) times of parent selection
or look for networks are reached, device will change to perform a full channel scan for networks that could join.
- if the channel is specified and this value is set to 0, when a root is not elected, channel switch is not allowed.
but when a root appears, the root performs a full channel scan during the process of connecting to the router,
so even allow_channel_switch is set to 0, the root may still switch channel and eventually the entire network
changes channel.
5. add allow_router_switch to mesh router configuration.
- if the BSSID of router is not specified, this value will be ignored.
- if the BSSID of router is specified and this value is set, when the router of this specified BSSID fails to be found
after "fail" (mesh_attempts_t) times, the entire network is allowed to switch to another router with the same SSID.
6. modify the root to perform a full channel scan when esp_wifi_connect().
7. support handling beacon without DS Paramter Set.
2018-11-27 23:36:01 +08:00
kooho
a9c1124763
driver(uart): fixed uart read error bug when using dual core.
...
closes https://github.com/espressif/esp-idf/issues/2204
2018-11-27 20:53:26 +08:00
Roland Dobai
957cf0ab84
VFS: select() on UART should return immediately when data is buffered
2018-11-27 13:39:00 +01:00
Renz Bagaporo
7e7cc99241
docs: generic cmake support
2018-11-27 19:56:52 +08:00
Renz Christian Bagaporo
f1f0bd4b1c
ci: update for running cmake examples
2018-11-27 19:56:52 +08:00
Renz Christian Bagaporo
bec3bb3ba4
make, cmake: display ulp assembler version
2018-11-27 19:40:50 +08:00
Renz Bagaporo
b35c745c4f
ulp: check assembler version
2018-11-27 19:25:22 +08:00
Wangjialin
4b34ae1258
bugfix(i2s): allow to use apll in pdm/adc/dac mode
...
1. Allow to use apll in pdm mode
2. Add clock frequency configuration for PDM mode
3. Allow to use apll in ADC/DAC mode
2018-11-27 18:41:20 +08:00
Roland Dobai
cedc0b6643
Adjust the timeout of the idf_monitor tests
2018-11-27 09:53:56 +01:00
Renz Christian Bagaporo
90f5432f2a
examples: generic cmake support examples
2018-11-27 13:59:26 +08:00
Renz Christian Bagaporo
0908fba1a3
mbedtls: import mbedtls project w/o modification
2018-11-27 13:59:26 +08:00
Renz Christian Bagaporo
37d30c7a6e
cmake: separate app from idf lib project
...
mbedtls: import mbedtls using unmodified cmake file
2018-11-27 13:59:24 +08:00
Angus Gratton
81231fcc4b
Merge branch 'feature/i2s_tx_descriptor_auto_clear' into 'master'
...
i2s: add (optional) support to clear tx descriptor in underflow case
See merge request idf/esp-idf!2397
2018-11-27 13:45:51 +08:00
Angus Gratton
c75c28faf5
Merge branch 'feature/pystyle' into 'master'
...
Check the Python coding style
See merge request idf/esp-idf!3748
2018-11-27 12:41:17 +08:00
Tian Hao
f3bfdeaeec
fix bug to unsupport rf reg access from hci cmd
...
Always return 0 when read rf register and do nothing when write rf register
2018-11-27 12:00:06 +08:00
Angus Gratton
b7f56e86ba
windows_install_prerequisites: Fix generation of PATH command
...
Accidental regression in 7c8d5d2782 - escape
character didn't move with PATH.
Reported on forum https://esp32.com/viewtopic.php?f=13&t=8201
2018-11-27 09:36:43 +11:00
Roland Dobai
1b464d23a9
tools: Correct coding style of idf_monitor
2018-11-26 15:02:39 +01:00
Roland Dobai
9273de8b43
Check the Python coding style
...
Closes https://github.com/espressif/esp-idf/pull/2747
2018-11-26 15:02:27 +01:00
Jiang Jiang Jian
90a6c9aada
Merge branch 'feature/add_long_range_code' into 'master'
...
example: add long range code
See merge request idf/esp-idf!3552
2018-11-26 17:03:09 +08:00
Jiang Jiang Jian
9890feaa37
Merge branch 'feature/btdm_add_ble_compatibility_test_demo' into 'master'
...
Component/bt: add BLE Compatibility Test demo
See merge request idf/esp-idf!3749
2018-11-26 17:00:55 +08:00
He Yin Ling
bf0f02112d
ci: combine unit_test and integration_test stage:
...
The number of runners of integration test is not bottleneck to CI
pipeline performance now. Combine these 2 stages will make integration
test executed even unit test fails. This could help us to collect more
info about test history.
2018-11-26 16:40:32 +08:00
He Yin Ling
1c65f18422
Merge branch 'test/enhanced_junit_test_result' into 'master'
...
test: enhanced junit test result
See merge request idf/esp-idf!2766
2018-11-26 16:35:08 +08:00
Angus Gratton
03c59658cb
Merge branch 'bugfix/test_idf_monitor_hangs' into 'master'
...
tools: Fix idf_monitor test case occasional hangup or failure
Closes #39
See merge request idf/esp-idf!3651
2018-11-26 15:29:55 +08:00
Angus Gratton
c765035b3a
Merge branch 'update/nvs_part_gen' into 'master'
...
nvs_util: Add changes to nvs part gen util
See merge request idf/esp-idf!3531
2018-11-26 14:26:08 +08:00
michael
cfba157fdd
spi_slave: add valid check for DMA buffers
...
The DMA cannot receive data correctly when the buffer address is not
WORD aligned. Currently we only check whether the buffer is in the DRAM
region.
The DMA always write in WORDs, so the length arguments should also be
multiples of 32 bits.
A check is added to see whether the buffer is WORD aligned and has valid
length.
2018-11-26 03:49:26 +00:00
michael
435adaa22a
spi_master: add check for trans len
...
The driver decide whether use MOSI/MISO phases according to the buffer
address together with the SPI_TRANS_USE_*DATA. However someone may assue
that these phases will be skipped when the ``length``/``rxlength`` is
set to 0. In fact it is a feature that ``rxlength`` is allowed to be
set to 0 when tx and rx have the same length, and the driver fill the
``rxlength`` to ``length``.
An error check is added when the rxlength is 0 but there is data to be
sent.
2018-11-26 03:49:26 +00:00
He Yin Ling
7202aed31e
ci: split build unit test job:
...
it takes long time to build with both make and cmake
2018-11-26 10:07:41 +08:00
He Yin Ling
ca7fa6f01a
ci: use artifacts:reports feature of Gitlab CI
2018-11-26 10:07:41 +08:00
He Yin Ling
ef9eaddd88
ci: assign unit test cases in sequence of config and name
2018-11-26 10:07:41 +08:00
He Yin Ling
5b3d09d5c8
test: fix unit test script code style warnings
2018-11-26 10:07:41 +08:00
He Yin Ling
644571f78b
test: generate junit test report according to executed cases
2018-11-26 10:07:41 +08:00
He Yin Ling
0ad226b375
tiny-test-fw: support capture raw data in DUT:
...
test cases might want to use `expect` and get raw data from DUT at the same time. New added capture method provides a way to do that.
2018-11-26 10:07:41 +08:00
Angus Gratton
fa59b1b1c9
Merge branch 'bugfix/fix_cmake_args_issue' into 'master'
...
Fix CMAKE_ARGS issue for ULP build
See merge request idf/esp-idf!3776
2018-11-26 07:58:09 +08:00
Ivan Grokhotkov
5aa7abb216
Merge branch 'bugfix/spiram_80m_clk_config' into 'master'
...
clk: fix regression in clock setting for SPIRAM with 80MHz config
See merge request idf/esp-idf!3724
2018-11-25 22:25:19 +08:00
Jiang Jiang Jian
a0468b2bd6
Merge branch 'feature/btdm_add_update_duplicate_scan_exceptional_list_apis' into 'master'
...
Component/bt: add update duplicate scan exceptional list APIs
See merge request idf/esp-idf!3763
2018-11-25 18:58:53 +08:00
Roland Dobai
608fc23278
tools: Fix idf_monitor test case occasional hangup or failure
...
Closes idf/esp-idf#39
2018-11-23 13:33:17 +01:00
zhiweijian
18a27b88c7
Component/bt: fix accept specified sec auth error
2018-11-23 20:14:03 +08:00
Mahavir Jain
1751607adf
examples: enable option to auto clear I2S tx descriptor on underflow
...
Closes: https://github.com/espressif/esp-idf/issues/1945
2018-11-23 14:43:20 +05:30
zhangyanjiao
ad22d280c6
wifi: add long range code
2018-11-23 09:09:07 +00:00
Jiang Jiang Jian
64d038c0d5
Merge branch 'bugfix/fix_some_wifi_bugs_1121' into 'master'
...
esp32: fix some wifi bugs
See merge request idf/esp-idf!3756
2018-11-23 17:08:25 +08:00
Mahavir Jain
765bf674d0
i2s: add (optional) support to clear tx descriptor in underflow case
...
It has been observed that, in case of underflow (data unavailability) in
I2S transmission, previously filled up tx descriptors continue to get
transmitted on line, causing noise in case of audio use case.
This change adds optional `tx_desc_auto_clear` field during I2S driver intialization
than can zero initialize tx descriptor in case of underflow situation in
interrupt handler itself.
Closes: https://github.com/espressif/esp-idf/issues/1789
2018-11-23 14:31:09 +05:30
zhiweijian
dd3d89db49
Component/bt: add update duplicate scan exceptional list APIs
2018-11-23 16:46:17 +08:00
Renz Christian Bagaporo
3a02a12aa4
cmake: remove unecessary info passed to bootloader build
2018-11-23 16:08:47 +08:00
Renz Christian Bagaporo
552f17e260
ulp: fix passing ulp srcs due to cmake_args bug
2018-11-23 16:08:41 +08:00
Wang Jia Lin
783ff9c455
Merge branch 'bugfix/i2c_hardware_filter_default_enable' into 'master'
...
driver: Enable I2C master hardware filter by default.
See merge request idf/esp-idf!3715
2018-11-23 14:23:37 +08:00
Liu Zhi Fu
f874b52f0a
esp32: fix some wifi bugs
...
Fix some WiFi bugs:
1. Enable RX BAR
2. Fix the bug that ESP32 AP negotiates with iphone to 11g
3. Fix the bug that ESP32 STA has ap_loss because CMCC AP contains two SSID
2018-11-23 05:41:41 +00:00
Angus Gratton
a081e5d25e
Merge branch 'bugfix/docs_what-you-need' into 'master'
...
Updated 'What you need' picture
See merge request idf/esp-idf!3725
2018-11-23 11:16:28 +08:00
Angus Gratton
83f6ee9912
Merge branch 'bugfix/docs_https_server' into 'master'
...
Docs : esp_https_server API references corrected
See merge request idf/esp-idf!3775
2018-11-23 10:44:55 +08:00
Angus Gratton
269e94f387
Merge branch 'bugfix/fix_ldgen_pyparsing_new_version' into 'master'
...
ldgen: fix issues when using pyparsing 2.3.0
See merge request idf/esp-idf!3739
2018-11-23 10:38:18 +08:00
kooho
33138a3dec
driver(i2c): enable I2C master hardware filter by default.
2018-11-23 10:27:59 +08:00
Renz Christian Bagaporo
1600c3144c
docs: add pyparsing install to setup guide
2018-11-22 22:09:43 +08:00
Renz Christian Bagaporo
8eeddd287c
ldgen: catch exception with python3 compatible style
...
Closes https://github.com/espressif/esp-idf/issues/2720
2018-11-22 22:09:43 +08:00
He Yin Ling
8e70582cad
tiny-test-fw: enhanced junit test report support:
...
1. replace xunitgen with junit_xml, which can log more info
2. allow test cases to handle junit test report by them own
3. allow test cases to log some info into report via `sysout` tag
2018-11-22 20:49:15 +08:00
Jiang Jiang Jian
e199587a11
Merge branch 'bugfix/btdm_move_func_into_iram' into 'master'
...
components/bt: Move function in interrupt into IRAM
See merge request idf/esp-idf!3757
2018-11-22 19:17:37 +08:00
Anurag Kar
684f0b0a32
Docs : esp_https_server API references corrected
2018-11-22 15:57:05 +05:30
baohongde
7e142f9d22
components/bt: Move function in interrupt into IRAM
...
1. Move function in interrupt into IRAM
2. Delete unused code, saving 240B DRAM and some code size
2018-11-22 15:59:53 +08:00
Ivan Grokhotkov
09a01f68ba
Merge branch 'bugfix/calloc_recursive' into 'master'
...
newlib: disable some optimizations for syscalls.c
See merge request idf/esp-idf!3774
2018-11-22 15:24:17 +08:00
Ivan Grokhotkov
8deb885ce3
newlib: disable some optimizations for syscalls.c
...
Don’t allow the compiler to convert malloc + memset into calloc,
causing a recursive call in _calloc_r. Fixes crash when building with
-O2 optimization level.
2018-11-22 12:19:49 +08:00
Jiang Jiang Jian
6252292d9c
Merge branch 'mesh/bugfix_v3.2' into 'master'
...
mesh: bugfix
See merge request idf/esp-idf!3740
2018-11-22 10:22:06 +08:00
Renz Christian Bagaporo
56ed588d4f
tools: install pyparsing using pip
2018-11-22 09:55:31 +08:00
Renz Christian Bagaporo
507328d4db
ldgen: fix issues when using pyparsing 2.3.0
2018-11-22 09:55:31 +08:00
zhiweijian
e9ee9384fc
Component/bt: add BLE Compatibility Test demo
2018-11-21 19:36:51 +08:00
qiyueixa
86fedc3cbb
utest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000
2018-11-21 19:14:07 +08:00
qiyueixa
6c3b5ae5a1
mesh: bugfix
...
1. fix failture of mesh stop caused by block-sending.
2. fix when FIXED_ROOT is set, 2nd layer devices can not receive mesh event ESP_ERR_MESH_NO_PARENT_FOUND.
3. fix when FIXED_ROOT is set and the root turns off mesh function, 2nd layer devices do not look for new parents.
4. add APIs esp_mesh_disconnect() and esp_mesh_connect().
5. disconnect from parent/router when the DSSS channel in received beacon is different from the home channel.
6. remove nvs task to release 3k bytes memory.
2018-11-21 19:13:41 +08:00
Shivani Tipnis
0c72b08872
nvs_util: update test case
2018-11-21 13:40:24 +05:30
Shivani Tipnis
582c547191
Update README
2018-11-21 12:55:47 +05:30
Shivani Tipnis
c44f15441f
Closes https://github.com/espressif/esp-idf/issues/2472
2018-11-21 12:55:47 +05:30
Shivani Tipnis
9db1987892
nvs_util: Add changes to nvs part gen util
...
nvs_util: Add changes to nvs part gen util
nvs_host_test: Add test case for keygen and keyfile paratmeters
2018-11-21 12:55:47 +05:30
Jiang Jiang Jian
0d7f2d77c2
Merge branch 'feature/btdm_add_set_long_adv_data_api' into 'master'
...
Component/bt: add set long adv data api
See merge request idf/esp-idf!3722
2018-11-21 11:31:13 +08:00
Mahavir Jain
2a55e957fd
ci: add unit test job
2018-11-20 18:55:04 +05:30
Mahavir Jain
bd3806193d
unit-test-app: keep CONFIG_SPIRAM_BANKSWITCH_ENABLE enabled only for psram_8m config
2018-11-20 18:54:12 +05:30
Jiang Jiang Jian
e7f9e3f6f6
Merge branch 'bugfix/add_connected_event_after_softap_finish_4_way' into 'master'
...
wifi: add connected event after softap finish 4 way
See merge request idf/esp-idf!3661
2018-11-20 20:04:12 +08:00
Jiang Jiang Jian
69c9e050b0
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params' into 'master'
...
Component/bt: add check peer addr type in set adv params
See merge request idf/esp-idf!3732
2018-11-20 20:02:13 +08:00
Angus Gratton
3970ea60de
Merge branch 'bugfix/ldgen_windows_kconfig_paths' into 'master'
...
ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make
See merge request idf/esp-idf!3746
2018-11-20 17:21:11 +08:00
Angus Gratton
c0298a5712
Merge branch 'bugfix/doc_builds_windows' into 'master'
...
doc: Fix doc builds on Windows MINGW32, add some doc build documentation
See merge request idf/esp-idf!3550
2018-11-20 17:20:40 +08:00
Angus Gratton
92f32f0060
Merge branch 'fix/spi_callback_in_iram' into 'master'
...
spi: fix the crash when callbacks are not in the IRAM
See merge request idf/esp-idf!3498
2018-11-20 16:25:08 +08:00
zhiweijian
5e3d88ee64
Component/bt: fix remove bonded device warnning
2018-11-20 07:15:02 +00:00
Jiang Jiang Jian
ffda37dd16
Merge branch 'feature/btdm_BLE_Blocking_APIs' into 'master'
...
Component/bt: add BLE Blocking APIs
See merge request idf/esp-idf!3513
2018-11-20 14:40:50 +08:00
Jiang Jiang Jian
b422a42697
Merge branch 'bugfix/btdm_errors_in_comment' into 'master'
...
components/bt: Some errors in comment
See merge request idf/esp-idf!3703
2018-11-20 14:26:12 +08:00
Angus Gratton
4f4edcf676
ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make
2018-11-20 17:25:20 +11:00
Angus Gratton
61ee1bd31f
Merge branch 'feature/esp_https_server' into 'master'
...
Add HTTPS Server component
See merge request idf/esp-idf!3608
2018-11-20 13:58:26 +08:00
Ivan Grokhotkov
46e28d7553
Merge branch 'example/sysview_tracing' into 'master'
...
SystemView tracing example
See merge request idf/esp-idf!3514
2018-11-20 13:10:19 +08:00
Michael (XIAO Xufeng)
8cddfa35b8
spi: fix the crash when callbacks are not in the IRAM
...
Introduced in 9c23b8e5 and 4f87a62f . To get higher speed, menuconfig
options are added to put ISR and other functions into the IRAM. The
interrupt flag ESP_INTR_FLAG_IRAM is also mistakenly set when the ISR is
put into the IRAM. However callbacks, which are wrote by the user, are
called in the master and slave ISR. The user may not be aware of that
these callbacks are not disabled during flash operations. Any cache miss
during flash operation will cause panic.
Essentially IRAM functions and intrrupt flag ESP_INTR_FLAG_IRAM are
different, the latter means not disabling the ISR during flash
operations. New bus_config flag intr_flags is offered to help set the
interrupt attribute, including priority level, SHARED, IRAM (not
disabled during flash operations). It introduced a small BREAK to
IDFv3.1 (but the same as IDFv3.0) that the user has to manually set IRAM
flag now (therefore he's aware of the IRAM thing) to void the ISR being
disabled during flash operations.
2018-11-20 13:07:13 +08:00
Alexey Gerenkov
3139b2d533
example: Adds SystemView tracing example app
2018-11-20 04:09:39 +00:00
Alexey Gerenkov
3eaba1c8ce
esp32: Fixes SystemView lock's IRQ state restore
2018-11-20 04:09:39 +00:00
zhiweijian
775c6e5ab7
Component/bt: add set long adv data api
2018-11-20 11:19:51 +08:00
Angus Gratton
4c881708dc
Merge branch 'bugfix/ut_building_test_check' into 'master'
...
esp32, mbedtls: check component name when enabling test flags
See merge request idf/esp-idf!3742
2018-11-20 06:13:58 +08:00
Ivan Grokhotkov
99dd08943c
make/ldgen: fix line continuation
2018-11-20 01:27:25 +08:00
Ivan Grokhotkov
8027adaf81
esp32, mbedtls: check component name when enabling test flags
...
Otherwise flags get enabled even when building tests for other components.
2018-11-20 01:27:24 +08:00
Mahavir Jain
62efef0444
test: spiram: fix and enable test cases for default configuration
2018-11-19 22:40:14 +05:30
Ivan Grokhotkov
00a13bd8d3
Merge branch 'bugfix/init_memctl' into 'master'
...
bootloader, esp32: add workaround for Tensilica erratum 572
See merge request idf/esp-idf!3605
2018-11-19 18:36:47 +08:00
Ivan Grokhotkov
a46b884a14
Merge branch 'feature/unit_test_example' into 'master'
...
Move Unity into components, add unit test example
See merge request idf/esp-idf!3562
2018-11-19 18:35:54 +08:00
zhiweijian
3c7819eaf2
Component/bt: add check peer addr type in set adv params
2018-11-19 17:04:48 +08:00
Angus Gratton
6709d26863
Merge branch 'fix/cryptography_version' into 'master'
...
Update minimum version for cryptography package required
See merge request idf/esp-idf!3712
2018-11-19 15:27:45 +08:00
Angus Gratton
57273d48d4
Merge branch 'doc/translation_eclipse-setup_wangfang' into 'master'
...
Doc/translation eclipse setup wangfang
See merge request idf/esp-idf!3681
2018-11-19 14:04:04 +08:00
Angus Gratton
6cdfea4251
Merge branch 'fix/spi_freq_limit_check' into 'master'
...
spi: modify some docs about the freq limit and the ISR
See merge request idf/esp-idf!3686
2018-11-19 14:02:40 +08:00
Shivani Tipnis
e1774cb6f9
Update minimum version for cryptography package required
2018-11-19 11:13:37 +05:30
Angus Gratton
26a6969873
Merge branch 'doc/add_cmake_translation' into 'master'
...
doc/add_translation_for_cmake_documents
See merge request idf/esp-idf!3636
2018-11-19 12:53:06 +08:00
Angus Gratton
8915f48208
Merge branch 'feature/linker_script_generator' into 'master'
...
Linker script generator
See merge request idf/esp-idf!2286
2018-11-19 12:43:27 +08:00
Ivan Grokhotkov
964f5a91f7
bootloader, esp32: add workaround for Tensilica erratum 572
...
If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.
2018-11-19 04:39:35 +00:00
Ivan Grokhotkov
a5adfd0169
examples: add unit testing example
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
a98674d78b
unity: don't use stdio in runner, fix code style
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
6091021e83
unity: separate common and IDF specific functionality
...
New unity component can be used for testing other applications.
Upstream version of Unity is included as a submodule.
Utilities specific to ESP-IDF unit tests (partitions, leak checking
setup/teardown functions, etc) are kept only in unit-test-app.
Kconfig options are added to allow disabling certain Unity features.
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
d4ef2135f0
ci: support building examples with external components
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
aa692b3483
vfs: implement fsync for UART VFS
2018-11-19 12:36:31 +08:00
Ivan Grokhotkov
5fb3d59a92
esp32: fix typos in rom/uart.h
2018-11-19 12:36:31 +08:00
Angus Gratton
c9a873c034
Merge branch 'docs/fix-eclipse-windows-steps' into 'master'
...
Docs: Change makes Eclipse setup inline with Mac OS and Linux.
See merge request idf/esp-idf!3486
2018-11-19 12:15:53 +08:00
Prasad Alatkar
b1189e9645
Docs: Change makes Eclipse setup inline with Mac OS and Linux.
2018-11-19 12:15:53 +08:00
Angus Gratton
8b6436eb2a
Merge branch 'doc/translation_linux-setup-scratch_wangfang' into 'master'
...
Doc/translation linux setup scratch wangfang
See merge request idf/esp-idf!3679
2018-11-19 12:14:45 +08:00
Wang Fang
7d888ff6eb
Doc/translation linux setup scratch wangfang
2018-11-19 12:14:45 +08:00
Anurag Kar
1d3f4074de
esp_https_server : change config option secure_enable to transport_mode and some minor changes
...
transport_mode accepts enum httpd_ssl_transport_t instead of true/false.
This will allow for extension to dual mode (server running on both secure and insecure ports) in the future.
2018-11-19 04:00:21 +00:00
Anurag Kar
9a9d18e466
esp_http_server : APIs renamed and context get/set implementations fixed
...
* http_sess_set_*_override APIs are now the only ones available to set custom recv/send/pending functions
* Fixed side effects to using http_sess_set/get_context inside URI handlers
2018-11-19 04:00:21 +00:00
Anurag Kar
639502ed5d
esp_http_server example tests : updated advanced_tests as per API changes
2018-11-19 04:00:21 +00:00
Anurag Kar
aa6066a197
esp_https_server : Docs and API references fixed
2018-11-19 04:00:21 +00:00
Ondřej Hruška
4dd0fa61e9
Add a 'esp_https_server' component allowing to use http_server with OpenSSL
2018-11-19 04:00:21 +00:00
Ondřej Hruška
a10fc02dd9
esp_http_server improvements to allow adding transport layer encryption
...
Changes:
- renamed `httpd_free_sess_ctx_fn_t` to `httpd_free_ctx_fn_t`
- added a `httpd_handle_t` argument to `httpd_send_func_t` and `httpd_recv_func_t`
- internal function `httpd_sess_get()` is no longer static, as it's used in other
files besides httpd_sess.c
Bug fixes:
- removed a trailing semicolon from `HTTPD_DEFAULT_CONFIG()`
- fixed issue with failed `select()`, now it automatically closes invalid sockets
instead of shutting down the entire server
New features:
- `httpd_resp_send()` and `httpd_resp_send_chunk()` now accept -1 as length to use
`strlen()` internally
- added `httpd_sess_set_ctx()` to accompany `httpd_sess_get_ctx()`
- added a "transport context" to the session structure (next to user context)
- added `httpd_sess_{get,set}_transport_ctx()` to work with this transport context
- added "global user context" and "global transport context" stored in the server
config (and then the handle); supports a user-provided free_fn
- added a "pending func" to e.g. check for data in the transport layer receive
buffer
- added functions `httpd_set_sess_{send,recv,pending}_override()` that target
a session by ID (i.e. not using a request object)
- added `httpd_set_pending_override()`
- added a "open_fn" and "close_fn" - functions called when creating and closing
a session. These may be used to set up transport layer encryption or some other
session-wide feature
2018-11-19 04:00:21 +00:00
Deng Xin
5b4e3da759
wifi: add connected event after softap finish 4 way
...
Background
Softap will send connected event after receive assoc request as before, however, STA didn't connect to softAP if need security. As our mesh design, it will send data packet after receive connected event, so change the current behavior, softAP will send connected event if have encryption
2018-11-19 11:24:42 +08:00
Jiang Jiang Jian
26bcb7f2cf
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug' into 'master'
...
wifi: fix wifi sta and sniffer phy config bug
See merge request idf/esp-idf!3566
2018-11-19 10:11:23 +08:00
krzychb
7ef74ee863
Updated 'What you need' picture
2018-11-16 22:18:31 +01:00
Mahavir Jain
e3956787f6
clk: fix regression in clock setting for SPIRAM with 80MHz config
...
Support for HSPI to output clock for 4M SPIRAM introduced regression
in clock configuration affecting SPIRAM access with 80MHz clock. This
commit fixes the issue.
2018-11-17 00:08:20 +05:30
Ivan Grokhotkov
960c240578
Merge branch 'bugfix/cmake_ut_parsing' into 'master'
...
cmake: fix for parsing unit test config
See merge request idf/esp-idf!3696
2018-11-16 22:11:14 +08:00
Ivan Grokhotkov
8c9407f22f
Merge branch 'bugfix/fat_lock_log' into 'master'
...
fatfs: Do not log from critical sections
See merge request idf/esp-idf!3683
2018-11-16 21:29:56 +08:00
Renz Christian Bagaporo
364f98b67e
cmake: fix for parsing unit test config
2018-11-16 12:00:39 +00:00
Ivan Grokhotkov
96f152341a
esp_timer: improve unit test robustness
...
1. call esp_timer_get_time and ref_clock_get in the same order on
start and in the loop
2. disable interrupts when calculating delta between ref_clock
and esp_timer
3. ensure both functions are in cache before calculating the delta
2018-11-16 12:00:39 +00:00
Ivan Grokhotkov
0db8c2e618
Merge branch 'feature/ut_filter_test_groups' into 'master'
...
unit test: allow filtering tests using TEST_GROUPS
See merge request idf/esp-idf!3695
2018-11-16 19:31:47 +08:00
Ivan Grokhotkov
a55d350f43
Merge branch 'bugfix/adjtime_test2' into 'master'
...
Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"
Closes #37
See merge request idf/esp-idf!3657
2018-11-16 19:21:45 +08:00
Roland Dobai
ad2cdeb476
fatfs: Do not log from critical sections
...
Logging in the critical section can result in a deadlock when the logger
is redirected to FATFS.
Closes https://github.com/espressif/esp-idf/issues/1693
2018-11-16 11:19:01 +00:00
zhangyanjiao
8be8ea2488
wifi: fix the bug that if station (sleep is enabled) and sniffer are enabled at the same time,
...
when disable sniffer, station will never enable phy and rf again.
Closes: https://github.com/espressif/esp-idf/issues/2545
2018-11-16 11:16:37 +00:00
Jiang Jiang Jian
6fa2f388ef
Merge branch 'bugfix/btdm_controller_disable' into 'master'
...
Fix two bugs when disable bluetooth controller
See merge request idf/esp-idf!3692
2018-11-16 17:10:37 +08:00
Ivan Grokhotkov
43936ab48a
Merge branch 'bugfix/mdns_query_failed_after_init' into 'master'
...
Fixed: mdns query failed after init
See merge request idf/esp-idf!3480
2018-11-16 16:37:11 +08:00
David Cermak
6309643c1d
mdns: added example test for ci runners
2018-11-16 07:22:29 +00:00
David Cermak
d16762a036
mdns: sending search packets also in probing and announcing state
...
mdns queries did not work properly when send imeadiately after set_hostname, which cuased reinit of pcb and therefore restarted probing, so search packets were blocked until probing finished
closes #2507 , closes #2593
2018-11-16 07:22:29 +00:00
Angus Gratton
f2de7602e3
Merge branch 'feature/docs_wireshark_trubleshooting_guide' into 'master'
...
Added wireshark instruction to provide a common workflow for users submitting diagnostic data for Wi-Fi troubleshooting
See merge request idf/esp-idf!3497
2018-11-16 14:44:58 +08:00
Krzysztof Budzynski
6fbc3c4361
Added wireshark instruction to provide a common workflow for users submitting diagnostic data for Wi-Fi troubleshooting
2018-11-16 14:44:58 +08:00
Renz Bagaporo
63411fc556
tools: implement linker script generation
2018-11-16 12:42:02 +08:00
Konstantin Kondrashov
b00be955ee
newlib: Fix UT adjtime
2018-11-16 04:11:55 +00:00
baohongde
ac5a3443a4
components/bt: Some errors in comment
2018-11-16 11:27:22 +08:00
Angus Gratton
b6d7c70238
Merge branch 'doc/console_zh_CN' into 'master'
...
doc/console: translate console.rst into zh_CN
See merge request idf/esp-idf!3320
2018-11-16 11:21:16 +08:00
Tian Hao
9c9aa4ea4c
Fix two bugs when disable bluetooth controller
...
1. Fix the bug that disable controller suddenly cause crash when ble is working. (585cfba1)
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc. (f8546145)
2018-11-16 02:42:38 +00:00
Ivan Grokhotkov
7b86247428
unit-test: use TEST_GROUPS to filter tests for psram_vspi and psram_hspi
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
09e4321e97
unit test: allow filtering tests for configs using TEST_GROUPS
2018-11-15 12:27:05 +00:00
Ivan Grokhotkov
fb56ce7d5c
Merge branch 'feature/core_dump_crc' into 'master'
...
Core Dump CRC
See merge request idf/esp-idf!1290
2018-11-15 15:05:43 +08:00
Alexey Gerenkov
78a7a152d1
esp32: Fixes freezing core dump process when flash write address checks are enabled
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
b152c1020c
esp32: Adds logging level to core dump script
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
76e02cadcc
esp32: Adds support for core dump format version
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
181a40ae30
esp32: Adds menuconfig option for max tasks number in core dump
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
30e766ee6b
esp32: Core dump API to retrieve current core data layout in flash
2018-11-15 06:13:48 +00:00
Alexey Gerenkov
a55cc99f50
esp32: Replaces magic numbers with CRC for core dump in flash
2018-11-15 06:13:48 +00:00
Ivan Grokhotkov
8b5f61eb35
Merge branch 'bugfix/ethernet_fail_twice_init' into 'master'
...
fix bug of multi-call failure in esp_eth_init
See merge request idf/esp-idf!3673
2018-11-15 12:35:55 +08:00
Jiang Jiang Jian
bbdcff1f45
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash' into 'master'
...
fix the crash bug caused by sys_mbox_free
See merge request idf/esp-idf!3654
2018-11-15 10:31:35 +08:00
Anton Maklakov
e677bdf5c9
Merge branch 'bugfix/app_template_build' into 'master'
...
esp-idf-template app: some fixes for the updated template app
See merge request idf/esp-idf!3698
2018-11-15 09:51:00 +08:00
Mahavir Jain
79043882d9
tools: fix cmake build script for sdkconfig test
2018-11-14 22:50:12 +08:00
Anton Maklakov
8e1c91ac7d
cmake: fix the creation dummy main to avoid rebuilding
2018-11-14 22:39:54 +08:00
Anton Maklakov
fe5b2c56a4
ci: If there is no sdkconfig, we have to generate one
2018-11-14 19:46:03 +08:00
Ivan Grokhotkov
f1949a59b6
Merge branch 'bugfix/readdir_ut_timeout' into 'master'
...
spiffs: increase timeout in readdir test
Closes #41
See merge request idf/esp-idf!3687
2018-11-13 22:54:21 +08:00
morris
eec6de57ff
ethernet: multi-call failure in esp_eth_init
...
Because of incomplete state machine, ethernet driver will broken if esp_eth_init is called twice.
Detailed information here: https://ezredmine.espressif.cn:8765/issues/27332
2018-11-13 16:38:45 +08:00
Ivan Grokhotkov
bd34ae0409
Merge branch 'bugfix/ethernet_memory_leak' into 'master'
...
fix potential memory leak in ethernet driver
See merge request idf/esp-idf!3646
2018-11-13 15:53:47 +08:00
michael
26626dfbf2
spi: add documents explicitly showing the executing core of the ISR
...
It is an ESP specific FreeRTOS feature that the ISR is always executed
on the core which calls the interrupt register function. In the SPI
driver, the function is always called in the bus initialization
function.
Hence, the ISR will be executed on the core which initialize the driver.
If the core is starved due to higher priority ISRs, or the interrupt is
disabled on the core (spinlock called, etc.), the ISR will not get
executed and SPI transactions will not be handled.
(MINOR CHANGE)
Resolves https://github.com/espressif/esp-idf/issues/2432 .
2018-11-13 11:49:31 +08:00
michael
a52ab8ca87
spi_master: modify the error msg a little when over freq limit
...
The MISO signal will be delayed if the GPIO matrix is enabled.
However, delay also comes from the slave.
Previous code only considers the former case, and assume the frequency
limitations is only violated when GPIO matrix is used.
Now we are able to calculate the freq limit when extenal MISO delay is
given (feature introduced in 9c6c6ec34ab0641ace89aeb9b1a133eb6fae1a18).
The frequency limit is lower when the external MISO delay is large, and
the limit is likely to be violated even with IOMUX.
Resolves https://github.com/espressif/esp-idf/issues/2690 .
2018-11-13 11:49:31 +08:00
Ivan Grokhotkov
356fe47ce1
spiffs: increase timeout in readdir test
...
Timeout of 15 seconds is not sufficient if SPIFFS partition needs to
be formatted, on some of the boards.
2018-11-13 11:41:19 +08:00
liying
08ef71b386
1.Update 8 English cmake files
...
2.Provide Chinese translation to these 8 cmake files
2018-11-13 11:38:23 +08:00
morris
5fccb73f86
ethernetif: fix potential memory leak
...
1. If L2_TO_L3_RX_BUF_MODE is not selected, we must assign l2_owner explictly before we call pbuf_free.
2. free intr resource in esp_eth_deinit
Closes https://github.com/espressif/esp-idf/issues/2670
2018-11-13 10:11:48 +08:00
Angus Gratton
beada90b06
Merge branch 'bugfix/cmake_utf_decode' into 'master'
...
tools: Fix Unicode decode error & indentation error
See merge request idf/esp-idf!3669
2018-11-13 09:54:28 +08:00
Jiang Jiang Jian
ef4a87d62e
Merge branch 'bugfix/http_literal_caseinsensitive' into 'master'
...
Compare case-insensitive URI schemes
See merge request idf/esp-idf!3558
2018-11-12 17:03:06 +08:00
wangfang
df8feaa5c2
Update translation based on review
2018-11-12 16:16:52 +08:00
Ivan Grokhotkov
7efb3926c5
Merge branch 'feature/build_system_multi_target' into 'master'
...
build system: support for multiple targets (CMake only)
See merge request idf/esp-idf!3499
2018-11-12 15:30:36 +08:00
Jiang Jiang Jian
c7fb749b84
Merge branch 'bugfix/btdm_fix_memory_leak_in_v3.2' into 'master'
...
Component/bt: fix memory leak in service change char
See merge request idf/esp-idf!3631
2018-11-12 11:27:00 +08:00
Jiang Jiang Jian
ccb3841a9e
Merge branch 'feature/btdm_add_vendor_hci_cmd' into 'master'
...
component/bt: add vendor hci cmd
See merge request idf/esp-idf!3577
2018-11-12 11:26:35 +08:00
wangfang
933dc75294
update translation
2018-11-12 10:15:20 +08:00
Angus Gratton
1e99e61c33
Merge branch 'bugfix/uart_examples_match_template' into 'master'
...
examples: Fix UART examples to match the template
See merge request idf/esp-idf!3642
2018-11-12 09:19:14 +08:00
Angus Gratton
521fb5d906
Merge branch 'feature/update_board_guides_for_headers' into 'master'
...
Feature/update board guides for headers
See merge request idf/esp-idf!3590
2018-11-12 09:15:29 +08:00
Natasha
be0123e10e
Feature/update board guides for headers
2018-11-12 09:15:29 +08:00
Angus Gratton
3685d325d8
Merge branch 'bugfix/multiple_github_pr' into 'master'
...
Multiple github PR's
See merge request idf/esp-idf!3665
2018-11-12 09:14:35 +08:00
Angus Gratton
a96deceb27
Merge branch 'feature/cmake_secure_boot_support' into 'master'
...
CMake : Secure Boot support added
See merge request idf/esp-idf!3522
2018-11-12 09:09:30 +08:00
Ivan Grokhotkov
ccfa134533
build system: support for multiple targets
2018-11-11 21:46:02 +08:00
Ivan Grokhotkov
e2ca285fae
confgen.py: allow multiple defaults files
2018-11-11 21:44:35 +08:00
Liu Zhi Fu
4fe3673f35
lwip: fix crash caused by sys_mbox_free
...
Fix lwip crashed bug caused by sys_mbox_free()
2018-11-11 12:15:51 +08:00
wangfang
a0ab2a15d2
add translation
2018-11-09 19:54:43 +08:00
Jiang Jiang Jian
9859428606
Merge branch 'bugfix/btdm_add_scan_window_interval_check' into 'master'
...
Component/bt: add scan window and interval check when set scan params
See merge request idf/esp-idf!3581
2018-11-09 19:32:11 +08:00
zwj
baf57b9702
component/bt: add vendor hci cmd
2018-11-09 14:39:04 +08:00
zhiweijian
fb3aa88565
Component/bt: add BLE Blocking APIs
2018-11-09 03:31:08 +00:00
Roland Dobai
90a4e37acd
examples: Fix UART examples to match the template
2018-11-08 20:06:03 +01:00
Roland Dobai
f4cfca4353
tools: Fix UTF decode error
2018-11-08 13:02:03 +01:00
Cheppali Umasankar Reddy
f85f64b481
docs: corrected typo event_handler
...
esp_http_client_config_t has member event_handler not event_handle
Merges https://github.com/espressif/esp-idf/pull/2662
2018-11-08 15:57:13 +05:30
Stephen Bird
0c9f7271a9
Add checks to for CONFIG_MBEDTLS_SSL_ALPN
...
Merges https://github.com/espressif/esp-idf/pull/2569
2018-11-08 15:57:13 +05:30
Stephen Bird
b5c58557fc
bt: Fix bracket warning
...
Merges https://github.com/espressif/esp-idf/pull/2568
2018-11-08 15:57:12 +05:30
Ondřej Hruška
3ed0f7697d
examples: Correct Content-Length in openssl_server example
...
Before this fix it didn't send all of the response, ending with `</h`
Merges https://github.com/espressif/esp-idf/pull/2535
2018-11-08 15:57:12 +05:30
Damian Reboredo
049c9f7bea
esp_http_client: Fix infinite loop on esp_http_client_fetch_headers
...
error must also be returned if esp_tls_conn_read return 0 because socket was closed
Merges https://github.com/espressif/esp-idf/pull/2534
2018-11-08 15:57:11 +05:30
Paul Reimer
b358581ab8
heap: Compile heap_task_info.c conditionally on CONFIG_HEAP_TASK_TRACKING in heap CMakeLists.txt
...
Merges https://github.com/espressif/esp-idf/pull/2498
2018-11-08 15:57:11 +05:30
shawwwn
288d9b75e9
rtc_clk: bugfix: incorrect divider setting in rtc_clk_cpu_freq_to_config()
...
Merges https://github.com/espressif/esp-idf/pull/2404
2018-11-08 15:57:10 +05:30
mharizanov
17177e352b
examples: Fixing possible memory leak, not freeing "run_time" prior to returning
...
Merges https://github.com/espressif/esp-idf/pull/2367
2018-11-08 15:57:00 +05:30
Jiang Jiang Jian
1b7a4758e3
Merge branch 'bugfix/fix_ble_examples' into 'master'
...
examples/bluetooth: Miscellaneous fixes in some of the examples
See merge request idf/esp-idf!3549
2018-11-08 18:09:29 +08:00
Jiang Jiang Jian
71f1a34540
Merge branch 'feature/btdm_support_oob_in_SMP' into 'master'
...
Component/bt: support OOB in SMP
See merge request idf/esp-idf!3496
2018-11-08 16:44:15 +08:00
Angus Gratton
c15e7b18f8
Merge branch 'doc/create_example_zh_CN' into 'master'
...
translation of creating-examples.rst
See merge request idf/esp-idf!3391
2018-11-08 10:23:14 +08:00
morris
71b9720309
doc/console: translate console.rst into zh_CN
2018-11-07 17:27:15 +08:00
liying
df9d1cc5d4
doc:update_creating_example_cn
2018-11-07 17:18:51 +08:00
morris
5fd76d7490
doc: document of creating-examples_zh_CN
...
Translated the document of creating-examples into Chinese
2018-11-07 17:17:44 +08:00
Jiang Jiang Jian
05838641ff
Merge branch 'bugfix/mesh_start_stop' into 'master'
...
mesh: update libs
See merge request idf/esp-idf!3569
2018-11-07 14:29:27 +08:00
qiyuexia
2d34a93dc4
mesh: update libs
...
1. fix ap_loss that occurs when the parent turns off the mesh function and becomes a normal WiFi with a different SSID.
2. add an event MESH_EVENT_NETWORK_STATE that contains information about whether there is a root in the current network.
3. modify the mechanism of mesh IE update.
4. fix a problem in the process of re-voting to select the root, the device that does not meet the conditions of being a root votes for itself.
5. fix an issue that occurs in esp_mesh_recv_toDS() when stopping the mesh.
6. when the user specifies a parent for the device, the device will set the authmode and password of its AP mode to the same value as the specified parent.
7. add two disconnected reason codes MESH_REASON_EMPTY_PASSWORD and MESH_REASON_PARENT_UNENCRYPTED.
2018-11-06 22:55:48 +08:00
Jiang Jiang Jian
b5d7541c09
Merge branch 'bugfix/fix_bt_btc_gatts_arg_deep_copy' into 'master'
...
components/bt: Fix btc_gatts_arg_deep_copy() and bta_gatts_indicate_handle()
See merge request idf/esp-idf!3058
2018-11-06 21:01:54 +08:00
Hrishikesh Dhayagude
2c353edbc4
components/bt: Fix btc_gatts_arg_deep_copy() and bta_gatts_indicate_handle()
2018-11-06 21:01:54 +08:00
Ivan Grokhotkov
621e316725
Merge branch 'feat/psram_support_hspi' into 'master'
...
esp32: support to use hspi to output clock for 4M psram
See merge request idf/esp-idf!3377
2018-11-06 20:34:41 +08:00
Anurag Kar
1f6622b2d1
CMake : Secure Boot support added
2018-11-06 17:09:55 +05:30
Jiang Jiang Jian
17c70a4a32
Merge branch 'bugfix/wifi_do_not_load_phy_data_if_fail_to_open_nvs' into 'master'
...
esp32: do not try to load PHY data if fail to open NVS
See merge request idf/esp-idf!3538
2018-11-06 18:01:58 +08:00
Jiang Jiang Jian
888406231c
Merge branch 'bugfix/btdm_fuction_in_isr_is_not_in_iram' into 'master'
...
components/bt: Put function in isr into iram
See merge request idf/esp-idf!3619
2018-11-06 17:13:34 +08:00
zhiweijian
77668b3912
Component/bt: add scan window and interval check when set scan params
2018-11-06 08:45:25 +00:00
zhiweijian
2e139c7885
Component/bt: fix memory leak in service change char
2018-11-06 08:43:59 +00:00
Ivan Grokhotkov
85d63871ab
Merge branch 'feature/partition_api_example' into 'master'
...
Add partition API examples
See merge request idf/esp-idf!3427
2018-11-06 12:24:27 +08:00
Ivan Grokhotkov
28f1e1597b
Merge branch 'bugfix/tickless_idle_single_core' into 'master'
...
freertos, pm: fix tickless idle not entered in single core mode
See merge request idf/esp-idf!3584
2018-11-06 12:15:03 +08:00
Ivan Grokhotkov
35d1c7b173
Merge branch 'bugfix/freertos_idle_tick_count' into 'master'
...
freertos: use xTaskQueueMutex to protect tick count
See merge request idf/esp-idf!3478
2018-11-06 12:14:51 +08:00
Ivan Grokhotkov
ddfd62ee66
Merge branch 'bugfix/register_map_LAN8720' into 'master'
...
ethernet: fix some bugs in Ethernet driver
See merge request idf/esp-idf!3490
2018-11-06 12:13:47 +08:00
Jiang Jiang Jian
ded53bd0ff
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc' into 'master'
...
bugfix/btdm_allow_a2dp_codec_dynamic_allocated
See merge request idf/esp-idf!3598
2018-11-06 11:56:30 +08:00
morris
b6d7675e60
ethernet: fix some bugs in phy&mac driver
...
1. Original register mapping for LAN8720 has some registers that doesn't exist/support.
So just remove them, and fix the power and init function for LAN8720.
2. GPIO16 and GPIO17 is occupied by PSRAM, so only ETH_CLOCK_GPIO_IN mode is supported in that case if using PSRAM.
3. Fix bug of OTA failing with Ethernet
4. Fix bug of multicast with Ethernet
Closes https://github.com/espressif/esp-idf/issues/2564
Closes https://github.com/espressif/esp-idf/issues/2620
Closes https://github.com/espressif/esp-idf/issues/2657
2018-11-06 11:07:22 +08:00
Ivan Grokhotkov
364f033a49
Merge branch 'feature/vfs_utime' into 'master'
...
VFS: Implement utime() for FATFS and SPIFFS
See merge request idf/esp-idf!3610
2018-11-06 10:47:02 +08:00
Ivan Grokhotkov
10ada5d106
Merge branch 'bugfix/ut_add_job' into 'master'
...
ci: add unit test job
See merge request idf/esp-idf!3634
2018-11-06 10:45:24 +08:00
Ivan Grokhotkov
f43965e086
Merge branch 'doc/partition_tables_zh_CN' into 'master'
...
translation of partition-tables.rst
See merge request idf/esp-idf!3457
2018-11-06 10:45:11 +08:00
Ivan Grokhotkov
344cb22d41
ci: add unit test job
2018-11-05 23:19:30 +08:00
Ivan Grokhotkov
e4b68c49f2
Merge branch 'bugfix/py3_ci_enable' into 'master'
...
Enable Python 3 bot tests in master
See merge request idf/esp-idf!3615
2018-11-05 19:49:32 +08:00
Ivan Grokhotkov
37da77315c
Merge branch 'doc/storage_example_readme' into 'master'
...
examples/storage: adjust readme files according to standard
See merge request idf/esp-idf!3594
2018-11-05 19:33:16 +08:00
liying
9894d35839
(doc)update_CN/EN_partition_tables
2018-11-05 18:58:54 +08:00
morris
d61680b211
doc/partition-tables: translation of zh_CN
...
1. Translated partition-tables.rst into Chinese.
2. Fixed some error in the English version.
2018-11-05 18:58:22 +08:00
Ivan Grokhotkov
761d44bd36
Merge branch 'bugfix/xts_compile_err' into 'master'
...
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
See merge request idf/esp-idf!3506
2018-11-05 16:58:38 +08:00
Roland Dobai
fb334baa7c
VFS: Implement utime()
2018-11-05 09:54:01 +01:00
Ivan Grokhotkov
ada3bc3fb5
Merge branch 'bugfix/aes_sha_mpi_shared_regs' into 'master'
...
aes/sha/mpi: Bugfix a use of shared registers.
See merge request idf/esp-idf!3580
2018-11-05 16:31:03 +08:00
Roland Dobai
e77d15042d
CI: Update Python 3 ignore list
2018-11-05 08:11:02 +01:00
Roland Dobai
d4ba3bd2eb
idf_ext.py: Fix Python 3 compatibility issue
2018-11-05 08:11:02 +01:00
kooho
ea963c480c
driver(uart):update the comment of uart_set_wakeup_threshold
...
closes https://github.com/espressif/esp-idf/issues/2627
2018-11-05 13:09:12 +08:00
Ivan Grokhotkov
27ef831bcd
examples/storage: adjust readme files according to standard
2018-11-05 12:42:41 +08:00
Ivan Grokhotkov
13046e7625
Merge branch 'bugfix/esp-tls-doc' into 'master'
...
esp-tls: Fix documentaion issue in esp_tls_conn_new_async API
See merge request idf/esp-idf!3545
2018-11-05 12:30:22 +08:00
Ivan Grokhotkov
ee0dea3d0d
Merge branch 'bugfix/esp_http_client_async_crash' into 'master'
...
esp_http_client: Fix crash in async mode
See merge request idf/esp-idf!3551
2018-11-05 12:30:04 +08:00
Konstantin Kondrashov
8bba348528
aes/sha/mpi: Bugfix a use of shared registers.
...
This commit resolves a blocking in esp_aes_block function.
Introduce:
The problem was in the fact that AES is switched off at the moment when he should give out the processed data. But because of the disabled, the operation can not be completed successfully, there is an infinite hang. The reason for this behavior is that the registers for controlling the inclusion of AES, SHA, MPI have shared registers and they were not protected from sharing.
Fix some related issue with shared using of AES SHA RSA accelerators.
Closes: https://github.com/espressif/esp-idf/issues/2295#issuecomment-432898137
2018-11-05 04:22:47 +00:00
Ivan Grokhotkov
fb7ba1baa0
Merge branch 'bugfix/unit_test_adjtime' into 'master'
...
Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"
Closes #37
See merge request idf/esp-idf!3613
2018-11-05 12:20:07 +08:00
Ivan Grokhotkov
0716e65955
pm: prevent entering light sleep again immediately after wakeup
...
When light sleep is finished on one CPU, it is possible that the other
CPU will enter light sleep again very soon, before interrupts on the
first CPU get a chance to run. To avoid such situation, set a flag
for the other CPU to skip light sleep attempt.
2018-11-05 12:18:29 +08:00
Ivan Grokhotkov
22dd3103bd
pm: fix entering light sleep in single core mode
...
Tickless idle/light sleep procedure had a bug in single core mode.
Consider the flow of events:
1. Idle task runs and calls vApplicationIdleHook
2. This calls esp_vApplicationIdleHook, which calls esp_pm_impl_idle_hook, and pm lock for RTOS on the current core is released.
3. Then esp_vApplicationIdleHook calls esp_pm_impl_waiti, which checks that s_entered_light_sleep[core_id]==false and goes into waiti state.
4. Some interrupt happens, calls esp_pm_impl_isr_hook, which takes pm lock for RTOS. PM state goes back to CPU_FREQ_MAX.
5. Once the interrupt is over, vApplicationIdleHook returns, and Idle task continues to run, finally reaching the call to vApplicationSleep.
6. vApplicationSleep does not enter light sleep, because esp_pm_impl_isr_hook has already changed PM state from IDLE to CPU_FREQ_MAX.
This didn’t happen in dual core mode, because waiti state of one CPU was interrupted by CCOMPARE update interrupt from the other CPU, in which case PM lock for FreeRTOS was not taken.
Fix by inverting the meaning of the flag (for convenience) and only setting it to true when vApplicationSleep actually fails to enter light sleep.
2018-11-05 12:18:29 +08:00
Ivan Grokhotkov
ae08bdcc31
freertos: fix compilation warning in single core mode
...
When tickless idle is enabled
2018-11-05 12:18:29 +08:00
Ivan Grokhotkov
b7841ec313
freertos: use xTaskQueueMutex to protect tick count
...
Having two different spinlocks is problematic due to possibly
different order in which the locks will be taken. Changing the order
would require significant restructuring of kernel code which is
undesirable.
An additional place where taking xTickCountMutex was needed was in
vApplicationSleep function. Not taking xTickCountMutex resulted in
other CPU sometimes possibly advancing tick count while light sleep
entry/exit was happening. Taking xTickCountMutex in addition to
xTaskQueueMutex has shown a problem that in different code paths,
these two spinlocks could be taken in different order, leading to
(unlikely, but possible) deadlocks.
2018-11-05 03:08:26 +00:00
Jiang Jiang Jian
4f4bed5e65
Merge branch 'test/change_iperf_test_env' into 'master'
...
test: use simplified env to test iperf cases
See merge request idf/esp-idf!3554
2018-11-05 11:05:45 +08:00
He Yin Ling
242724bbe9
Merge branch 'test/fix_bug_of_scan_interval_and_windows' into 'master'
...
test: fix bug of scan interval and window
See merge request idf/esp-idf!3606
2018-11-05 11:00:58 +08:00
Ivan Grokhotkov
7c5fd9326a
Merge branch 'bugfix/ci_make_html' into 'master'
...
ci: revert accidental change from f0eb9985b9
See merge request idf/esp-idf!3607
2018-11-02 20:38:16 +08:00
baohongde
b33cdfc1f5
components/bt: Put function in isr into iram
2018-11-02 16:37:52 +08:00
Jiang Jiang Jian
930da8fd31
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect' into 'master'
...
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null
See merge request idf/esp-idf!3536
2018-11-02 16:12:31 +08:00
Ivan Grokhotkov
7d465a5487
Merge branch 'bugfix/event_perf_test_psram' into 'master'
...
esp_event: lower test performance threshold for PSRAM config
Closes #34
See merge request idf/esp-idf!3603
2018-11-02 14:12:17 +08:00
Angus Gratton
74d8806af0
Merge branch 'bugfix/build_example_make' into 'master'
...
Better detection failures in built_examples
See merge request idf/esp-idf!3604
2018-11-02 13:04:40 +08:00
Angus Gratton
3f82d21d0e
Merge branch 'test/fix_unit_test_script_cant_process_test_command' into 'master'
...
test: fix UT script can't process cmd after reset
See merge request idf/esp-idf!3372
2018-11-02 13:02:42 +08:00
Ivan Grokhotkov
8e216e4832
Merge branch 'bugfix/example_tests_trow_readable_errors' into 'master'
...
MQTT Example tests cleanup, python 2 and 3 support
See merge request idf/esp-idf!3387
2018-11-01 22:28:31 +08:00
Konstantin Kondrashov
84f1eb5eac
newlib: Fix UT adjtime
2018-11-01 20:34:39 +08:00
baohongde
f2309f1013
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null
...
1. When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2. hcimsgs.h used whether flow control is on or off
2018-11-01 17:33:44 +08:00
David Cermak
8ce1f55b59
mqtt: example tests refactored to provide descriptive failures, addapted to python23, removed workarround for launching without mqtt-paho package
2018-11-01 09:04:09 +01:00
Jiang Jiang Jian
12b2268ee5
Merge branch 'bugfix/btdm_sniff_anchor_point_calculation_error' into 'master'
...
bugfix/btdm_sniff_anchor_point_calculation_error
See merge request idf/esp-idf!3582
2018-11-01 15:58:00 +08:00
Jiang Jiang Jian
a60a71ff07
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs' into 'master'
...
components/bt: Fix the different size of name buffer allocation size
See merge request idf/esp-idf!3587
2018-11-01 15:56:45 +08:00
Jiang Jiang Jian
cac7b951a8
Merge branch 'bugfix/btdm_fix_get_attr_value_error' into 'master'
...
Component/bt: fix get attr value API error
See merge request idf/esp-idf!3583
2018-11-01 15:55:22 +08:00
Jiang Jiang Jian
b601fcfde0
Merge branch 'bugfix/btdm_fix_ble_cannt_send_or_receive_packet_sometimes' into 'master'
...
Component/bt: fix ble cannot send or receive packet sometimes
See merge request idf/esp-idf!3585
2018-11-01 15:55:05 +08:00
Sagar Bijwe
fbcc160675
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
2018-11-01 12:08:45 +05:30
Ivan Grokhotkov
d98d1ef1c2
Merge branch 'bugfix/bootloader_iram_overlap_check' into 'master'
...
bootloader: verify that loaded image does not overlap bootloader code
See merge request idf/esp-idf!3409
2018-11-01 13:56:43 +08:00
Ivan Grokhotkov
d28c99d36c
esp_event: lower test performance threshold for PSRAM config
2018-11-01 13:50:08 +08:00
Ivan Grokhotkov
b9366d2c64
ci: revert accidental change from f0eb9985b9
2018-11-01 12:56:07 +08:00
Ivan Grokhotkov
cd38970ef9
Merge branch 'bugfix/wl_version_update' into 'master'
...
Version update from V1 to V2 now done in correct way.
See merge request idf/esp-idf!3557
2018-11-01 12:50:49 +08:00
Ivan Grokhotkov
c18890875e
Merge branch 'doc/issue_template_compiler_version' into 'master'
...
doc: include compiler version in issue template
See merge request idf/esp-idf!3357
2018-11-01 12:16:30 +08:00
chensheng
d336f1513f
test: fix bug of scan interval and window
2018-11-01 11:54:52 +08:00
Anton Maklakov
0fb6f619c5
ci: Detect undetectable failures in build_examples
2018-11-01 11:38:41 +08:00
Anton Maklakov
124919bfc6
ci: Count build_example jobs in decimal instead of octal
2018-11-01 10:52:19 +08:00
baohongde
373f1c121b
component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF
2018-10-31 16:16:49 +00:00
wangmengyang
159d4ac742
component/bt: bugfix for the error in calculation sniff anchor point which can result in supervision timeout after connection is brought into sniff mode
2018-10-31 16:16:49 +00:00
zhiweijian
1716d12547
Component/bt: fix ble cannot send or receive packet sometimes
2018-10-31 16:13:51 +00:00
wangmengyang
7bb83b0056
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM
2018-10-31 16:11:49 +00:00
Ivan Grokhotkov
a4357aed91
Merge branch 'fix/spi_test_memory_layout' into 'master'
...
test: fix the unit test fail issue under single_core config
See merge request idf/esp-idf!3596
2018-10-31 21:37:56 +08:00
Jiang Jiang Jian
dba29eeb2e
Merge branch 'bugfix/btdm_change_default_CoD_of_BT_profile' into 'master'
...
components/bt: Set default Class of Device of BT profile
See merge request idf/esp-idf!3564
2018-10-31 20:51:15 +08:00
baohongde
e19a352a2b
components/bt: Fix the different size of name buffer allocation size
...
Close https://github.com/espressif/esp-idf/issues/2615
2018-10-31 17:39:31 +08:00
Jiang Jiang Jian
39c03558e8
Merge branch 'bugfix/btdm_add_attr_handle_for_ESP_GATTS_CONF_EVT' into 'master'
...
Component/bt: add attr_handle for ESP_GATTS_CONF_EVT
See merge request idf/esp-idf!3492
2018-10-31 17:20:47 +08:00
Michael (XIAO Xufeng)
4132834faa
test: fix the unit test fail issue under single_core config
...
Introduced in 97e3542947 .
The previous commit frees the IRAM part when single core, but doesn't
change the memory layout functions. The unit test mallocs IRAM memory
from the heap, accidently into the new-released region, which doesn't
match the memory layout function.
This commit update the memory layout function to fix this.
2018-10-31 17:04:32 +08:00
Angus Gratton
a51d5706f6
Merge branch 'bugfix/minor_doc_fixes' into 'master'
...
Documentation fixes
See merge request idf/esp-idf!3529
2018-10-31 13:23:58 +08:00
Angus Gratton
e4369aaed4
Merge branch 'feature/mqtt_mutual_auth' into 'master'
...
MQTT: Added client cert ssl example per PR from GitHub
See merge request idf/esp-idf!3473
2018-10-31 07:06:58 +08:00
Jitin George
3551b84c3a
esp_http_client: Fix crash in async mode
...
Closes https://github.com/espressif/esp-idf/issues/2624
2018-10-30 09:58:57 +00:00
Jiang Jiang Jian
97e3542947
Merge branch 'bugfix/release_some_memory_on_single_core_mode' into 'master'
...
release memory not used in single core mode
See merge request idf/esp-idf!2733
2018-10-30 15:53:31 +08:00
Jiang Jiang Jian
f6dd3520c4
Merge branch 'bugfix/assert_when_do_wps_with_mikrotik' into 'master'
...
wifi: bugfix of assert when do wps with mikrotik
See merge request idf/esp-idf!3572
2018-10-30 15:52:02 +08:00
Jiang Jiang Jian
d335bdcf71
Merge branch 'bugfix/btdm_reduce_iram_size' into 'master'
...
components/bt: Reduce IRAM size
See merge request idf/esp-idf!3574
2018-10-30 15:17:06 +08:00
David Cermak
0cdb33c9dd
mqtt: ssl mutual authentication example added per PR from github, corrected cmake build, updated per idf style
...
Merges https://github.com/espressif/esp-idf/pull/2490
2018-10-30 08:04:09 +01:00
Riccardo Binetti
49df479486
mqtt: Add ssl mutual authentication example
...
Signed-off-by: David Cermak <cermak@espressif.com >
2018-10-30 08:04:09 +01:00
Riccardo Binetti
9ce8e1e5a1
transport_ssl: add support for mutual SSL authentication
...
Signed-off-by: David Cermak <cermak@espressif.com >
2018-10-30 08:04:09 +01:00
Riccardo Binetti
dec70a7601
esp-tls: add support for mutual SSL authentication
...
Signed-off-by: David Cermak <cermak@espressif.com >
2018-10-30 08:04:09 +01:00
zhiweijian
950fe25120
Component/bt: fix get attr value API error
2018-10-30 15:00:23 +08:00
Angus Gratton
b650d19c6b
Merge branch 'bugfix/docs_fixes_from_github' into 'master'
...
Documentation bugfixes from GitHub
See merge request idf/esp-idf!3570
2018-10-30 07:40:16 +08:00
Deng Xin
b8784a1863
wifi: bugfix of assert when do wps with mikrotik
...
Problem Decribe
The problem happenned when do wps with a mikrotik router
1. router always want to do connect with 32 without EAP-WSC step
2. after 4 way timeour, 32 crash
Root Cause
The reason why can not start EAP-WSC step is router's check method is RSN > WPA > WPS, when it found there include RSN and WPS in assoc, it will choice do 4 way rather than WPS
The reason of second problem is 32's EAPOL start timer didn't stop and send EAPOL start to a null pointer
Soultion
1. remove RSN and WPA ie when do WPS step
2. check mac address's pointer before send EAPOL start
closes: https://github.com/espressif/esp-idf/issues/2382
2018-10-29 13:29:41 +00:00
Michael (XIAO Xufeng)
ff346f92af
psram: add test for 4M psram
2018-10-29 20:26:30 +08:00
Michael (XIAO Xufeng)
20a666fe03
esp32: support to use hspi to output clock for 4MB PSRAM
...
Resolves https://github.com/espressif/esp-idf/issues/2128 .
2018-10-29 20:22:44 +08:00
Michael (XIAO Xufeng)
9b5d0f3322
spi: shown owner of spi host explicitly
2018-10-29 20:22:44 +08:00
baohongde
df5839420d
components/bt: Reduce IRAM size
...
libbtdm: 2608B
idf: 924B
2018-10-29 16:54:32 +08:00
Angus Gratton
98a80ccdab
Merge branch 'bugfix/mdns_crash_on_network_change' into 'master'
...
Fixed mdns crashes on network changes
See merge request idf/esp-idf!3546
2018-10-29 16:31:52 +08:00
Angus Gratton
11082598d6
Merge branch 'bugfix/doc_provisioning' into 'master'
...
Docs : Provisioning docs and READMEs updated with links to phone apps
See merge request idf/esp-idf!3511
2018-10-29 14:56:32 +08:00
Hrishikesh Dhayagude
55dfb79e91
examples/bluetooth: Miscellaneous fixes in some of the examples
...
This closes:
https://github.com/espressif/esp-idf/issues/2617
https://github.com/espressif/esp-idf/issues/2622
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-10-29 11:14:09 +05:30
XiaXiaotian
901e2af793
esp32: do not try to load PHY data if fail to open NVS
2018-10-29 02:24:58 +00:00
Angus Gratton
7efbe8178b
Merge branch 'feat/sdio_slave_init_doc' into 'master'
...
sdio_slave: add documentation for the standard init process
See merge request idf/esp-idf!3548
2018-10-29 09:07:30 +08:00
Peter Meerwald-Stadler
6a197d305f
Fix some typos related to ethernet documentation and Kconfig. Closes https://github.com/espressif/esp-idf/pull/2642
2018-10-28 21:12:09 +01:00
fabianpedd
618236d8ff
Fixed spelling in build-system.rst. Closes https://github.com/espressif/esp-idf/pull/2641
2018-10-28 21:07:48 +01:00
baohongde
67e62aa105
components/bt: Set default Class of Device of BT profile
...
The CoD of each profile both are 0x2c0414, now they are as follow:
A2DP sink: 0x240414
A2DP source: 0x280400
HFP: 0x200408
SPP: 0x001F00
2018-10-26 17:03:39 +08:00
Michael (XIAO Xufeng)
7fe4f987fd
sdio_slave: add documentation for the standard init process
2018-10-26 16:56:18 +08:00
He Yin Ling
eac02c2fcd
test: use simplified env to test iperf cases
2018-10-26 16:53:57 +08:00
He Yin Ling
2b4e34171b
test: fix UT script can't process cmd after reset:
...
There's still a small chance that can't process command issue still
happen on some runners. Now we change the way to detect if the runner
reset finished: input `-` to check test history for a few times until it
succeeded. If DUT can process check history command, then it should be
able to process other test commands.
2018-10-26 08:42:22 +00:00
Renz Bagaporo
9459526e50
examples: Add partition API examples
2018-10-26 15:46:53 +08:00
Dmitry
82eca97300
Version update from V1 to V2 now done in correct way.
...
Before this works only first time.
The source and test updated.
State length was changed to macro.
2018-10-26 09:21:30 +03:00
Angus Gratton
f55509bd3f
Merge branch 'bugfix/py3_ci' into 'master'
...
Fix Python3 compatibility issues
See merge request idf/esp-idf!3487
2018-10-26 13:45:19 +08:00
Angus Gratton
bd90f534fb
Merge branch 'feature/esp_event_loop_library' into 'master'
...
event: Implement event loop library
See merge request idf/esp-idf!2881
2018-10-26 13:14:19 +08:00
Renz Christian Bagaporo
5a83347bec
event: Implement event loop library
2018-10-26 13:14:19 +08:00
Angus Gratton
cdb10ec5ad
Merge branch 'bugfix/rename_http_server' into 'master'
...
Rename http_server component to esp_http_server
See merge request idf/esp-idf!3553
2018-10-26 12:59:38 +08:00
Angus Gratton
76fcee55a6
Merge branch 'bugfix/idf_pyserial_error' into 'master'
...
idf.py: Import from pyserial after packages have been checked
See merge request idf/esp-idf!3519
2018-10-26 12:58:03 +08:00
Ivan Grokhotkov
9eeec5d7da
doc: include compiler version in issue template
2018-10-26 12:47:32 +08:00
Ivan Grokhotkov
73d1b5a7a0
bootloader: verify that loaded image does not overlap bootloader code
...
Fixes CVE-2018-18558
2018-10-26 12:44:10 +08:00
morris
0a2049582e
bugfix: minor_doc_fixes into Chinese
2018-10-26 12:42:38 +08:00
Ivan Grokhotkov
338012b776
docs: use generated links in CMake getting started guides
2018-10-26 12:42:38 +08:00
Ivan Grokhotkov
5a3c0d8adf
esp_timer: document limitations on timeout/period
...
Closes https://github.com/espressif/esp-idf/issues/2572
Closes https://github.com/espressif/esp-idf/issues/2350
2018-10-26 12:42:38 +08:00
Ivan Grokhotkov
c8fe9f696c
docs: fix instructions for building toolchain on macOS
...
Closes https://github.com/espressif/esp-idf/issues/503
Closes https://github.com/espressif/esp-idf/issues/2607
2018-10-26 12:42:38 +08:00
Ivan Grokhotkov
d3f5882ed7
docs: fix git submodule update command
...
Closes https://github.com/espressif/esp-idf/issues/2584
2018-10-26 12:42:38 +08:00
Angus Gratton
5bcd864430
Merge branch 'fix/spi_polling_speed_test' into 'master'
...
spi: speed up polling performance and fix several tests
Closes #33
See merge request idf/esp-idf!3530
2018-10-26 12:41:00 +08:00
Angus Gratton
705d184af2
Merge branch 'bugfix/missing_header_file' into 'master'
...
esp32: Add missing header file in esp_task.h
See merge request idf/esp-idf!3353
2018-10-26 12:19:50 +08:00
Angus Gratton
b47aca1175
doc: Fix doc builds on Windows MINGW32, add some doc build documentation
...
Using "find" doesn't work properly in MINGW32 Python, even if a MINGW32 find.exe
is on the PATH...
2018-10-26 04:04:56 +00:00
Ivan Grokhotkov
1e0ba34177
Merge branch 'ci/only_create_required_jobs_in_pipeline' into 'master'
...
CI: only create required jobs when use bot to trigger test
See merge request idf/esp-idf!3404
2018-10-26 11:56:22 +08:00
Jiang Jiang Jian
c884d0a3bc
Merge branch 'bugfix/fix_some_wifi_bugs_1022' into 'master'
...
esp32: fix some wifi bugs
See merge request idf/esp-idf!3539
2018-10-26 11:50:44 +08:00
Jiang Jiang Jian
93dbf2f3ba
Merge branch 'bugfix/btdm_read_multiple_return_callback_status_ESP_GATT_STACK_RSP' into 'master'
...
Component/bt: fix read multiple return callback status: ESP_GATT_STACK_RSP
See merge request idf/esp-idf!3437
2018-10-26 11:41:18 +08:00
Jiang Jiang Jian
0bc364f7ea
Merge branch 'bugfix/btdm_add_sniff_mode_to_spp' into 'master'
...
components/bt: Add sniff mode to SPP
See merge request idf/esp-idf!3472
2018-10-26 11:38:50 +08:00
Jiang Jiang Jian
762c04bd61
Merge branch 'bugfix/btdm_disconnect_ble_when_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_failed' into 'master'
...
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
See merge request idf/esp-idf!3465
2018-10-26 11:34:26 +08:00
Anton Maklakov
6e6f07ba59
http: Compare case-insensitive URI schemes like as in other places
2018-10-25 21:03:44 +08:00
Jitin George
e37aba0d93
esp-tls: Fix documentaion issue in esp_tls_conn_new_async API
...
Closes https://github.com/espressif/esp-idf/issues/2576
2018-10-25 09:13:49 +00:00
Liu Zhi Fu
8404b2546d
esp32: fix some wifi bugs
...
Fix following WiFi bugs:
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug
2018-10-25 16:47:57 +08:00
Jiang Jiang Jian
822de0d038
Merge branch 'bugfix/btdm_fix_remove_bond_list_failed' into 'master'
...
component/bt: fix remove bond list failed
See merge request idf/esp-idf!3475
2018-10-25 15:14:14 +08:00
zhiweijian
4e81705ca2
Component/bt: support OOB in SMP
2018-10-25 07:09:59 +00:00
Roland Dobai
f59358dad3
idf.py: Import from pyserial after packages have been checked
...
Closes https://github.com/espressif/esp-idf/issues/2573
2018-10-25 08:38:00 +02:00
zhiweijian
6b96a3c23b
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
2018-10-25 06:03:16 +00:00
Michael (XIAO Xufeng)
90d229eb6d
spi_master: speed up polling performance by putting into IRAM
2018-10-25 12:31:45 +08:00
Michael (XIAO Xufeng)
d0361a32d7
test: fix the IRAM type conflict issue using heap_caps_malloc
2018-10-25 12:31:44 +08:00
zwj
501ebabc4e
component/bt: fix remove bond list failed
2018-10-24 23:23:50 +00:00
Anurag Kar
e2b1ae259d
Protocomm : Use esp_http_server instead of http_server
2018-10-24 17:32:43 +05:30
Anurag Kar
12b60c51be
HTTP Server Docs : Replace http_server with esp_http_server
2018-10-24 17:32:43 +05:30
Anurag Kar
8340ed3ddb
HTTP Server Examples : Include header esp_http_server.h
2018-10-24 17:32:43 +05:30
Anurag Kar
2af9d7e0ed
HTTP Server : Added esp_ prefix to http_server component files
2018-10-24 17:32:20 +05:30
David Cermak
097282a8e3
mdns: fixed crashes on network changes
...
1) two events AP_STOP, AP_START shortly after each other may cause IGMP config on already stopped netif
2) not properly locked sending packets to queue from timer task
closes #2580
2018-10-24 12:03:41 +02:00
Roland Dobai
9daf51e6be
Fix Python 3 compatibility issues
2018-10-24 11:20:54 +02:00
He Yin Ling
722a7e3b53
CI: only create required jobs when use bot to trigger test:
...
Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.
2018-10-24 09:19:39 +00:00
Angus Gratton
7c29a39d6f
Merge branch 'feature/ci_multi_python' into 'master'
...
CI: Support switching between various versions of Python
See merge request idf/esp-idf!3520
2018-10-24 17:00:38 +08:00
Jiang Jiang Jian
0de637cf9e
Merge branch 'bugfix/tw26711_fix_wifi_memory' into 'master'
...
esp32: fix wifi memory leak
See merge request idf/esp-idf!3523
2018-10-22 21:20:14 +08:00
Angus Gratton
38bd836d05
Merge branch 'feature/cmake-unit-test' into 'master'
...
cmake: add unit tests build support
See merge request idf/esp-idf!3003
2018-10-22 16:29:15 +08:00
Angus Gratton
b964f389db
Merge branch 'bugfix/gcc8_compatibility' into 'master'
...
gcc8 compatibility for master branch
See merge request idf/esp-idf!3481
2018-10-22 11:11:04 +08:00
Angus Gratton
44291e818e
Merge branch 'feature/docs_getting_started_guides_cn' into 'master'
...
Added CN version of 'Getting Started' guides for 'ESP32-DevKitC' and 'ESP-WROVER-KIT'
See merge request idf/esp-idf!3408
2018-10-22 09:10:58 +08:00
Krzysztof Budzynski
46c2112400
Added CN version of 'Getting Started' guides for 'ESP32-DevKitC' and 'ESP-WROVER-KIT'
2018-10-22 09:10:58 +08:00
Liu Zhi Fu
20217c7dfe
esp32: fix wifi memory leak
...
Fix a WiFi memory leak bug
2018-10-21 20:37:08 +08:00
Anton Maklakov
4319e234e2
tcp_transport: Remove the ignore warning because we had idf/esp-idf!3359
2018-10-21 15:11:45 +08:00
Anton Maklakov
4a126e18ed
docs: Correct Linux port names for more relevance
2018-10-21 15:11:45 +08:00
Anton Maklakov
e3fce506b8
test_spi_slave: fix warnings about unused identifiers
2018-10-21 15:11:45 +08:00
Anton Maklakov
ef84773689
intr: fix a type mismatch warning
2018-10-21 15:11:45 +08:00
Anton Maklakov
92caddb501
pthread: fix a type mismatch warning
2018-10-21 15:11:45 +08:00
Renz Bagaporo
cc774111bf
cmake: Add support for test build
2018-10-20 12:07:24 +08:00
Roland Dobai
824e5fac23
CI: Support switching between various versions of Python
2018-10-19 11:12:11 +02:00
zhiweijian
44827bb681
Component/bt: add attr_handle for ESP_GATTS_CONF_EVT
2018-10-19 08:19:36 +00:00
Jiang Jiang Jian
129d32772e
Merge branch 'feature/add_ping_packet_len_and_QoS' into 'master'
...
ping: add length and QoS
See merge request idf/esp-idf!3379
2018-10-19 15:29:58 +08:00
Ivan Grokhotkov
0663ab7609
Merge branch 'feature/uart_rs485_test' into 'master'
...
driver: rs485 test support
See merge request idf/esp-idf!2701
2018-10-19 13:05:55 +08:00
Ivan Grokhotkov
699070e3a0
Merge branch 'feature/simple_sniffer' into 'master'
...
wifi sniffer example
See merge request idf/esp-idf!3412
2018-10-19 12:42:32 +08:00
Ivan Grokhotkov
606acde236
Merge branch 'feature/freemodbus_slave_support_upd' into 'feature/uart_rs485_test'
...
examples: freemodbus port slave basic implementation
See merge request idf/esp-idf!3468
2018-10-19 12:35:00 +08:00
Ivan Grokhotkov
3e65ce3e93
Merge branch 'bugfix/unit_tests_tcpip_adapter' into 'master'
...
unit tests: Only initialise tcpip_adapter() when needed by the test
See merge request idf/esp-idf!3364
2018-10-19 12:33:09 +08:00
Ivan Grokhotkov
bd11965f6c
Merge branch 'bugfix/ndebug_build' into 'master'
...
soc,sdmmc: fix build failures when NDEBUG is used
See merge request idf/esp-idf!3352
2018-10-19 11:55:37 +08:00
morris
900b69a33e
example: add console command for wifi sniffer
...
1. add mount/unmount command
2. add sniffer command, supporting options
3. make pcap a component
2018-10-19 11:51:56 +08:00
Ivan Grokhotkov
c02e218da1
Merge branch 'bugfix/asio_consistent_example_names' into 'master'
...
Renamed examples to be consistent no matter which build system used
See merge request idf/esp-idf!3257
2018-10-19 10:25:47 +08:00
Ivan Grokhotkov
c76f71cd5f
Merge branch 'bugfix/move_ringbuf_lib_to_iram' into 'master'
...
esp_ringbuf: fix default placement from flash to IRAM
See merge request idf/esp-idf!3452
2018-10-18 22:57:46 +08:00
Ivan Grokhotkov
ebe0e2939a
Merge branch 'bugfix/ci_missing_outputs' into 'master'
...
Tiny-test-fw: Fix string comparison which cases ignore of test cases
See merge request idf/esp-idf!3458
2018-10-18 22:41:48 +08:00
Ivan Grokhotkov
efa43df039
Merge branch 'bugfix/fix_random_failure_with_ota_updates' into 'master'
...
app_update: fix intermittent failure with firmware updates
See merge request idf/esp-idf!3401
2018-10-18 22:32:33 +08:00
Jiang Jiang Jian
f47ae9fc26
Merge branch 'bugfix/coex_hw_blocking_2nd' into 'master'
...
coexist : fix coexist bugs related to coex hw blocking
See merge request idf/esp-idf!3414
2018-10-18 21:25:24 +08:00
Anurag Kar
2bb669cfbd
Docs : Provisioning docs and READMEs updated with links to GitHub repositories of Android and iOS apps
2018-10-18 18:23:03 +05:30
Jiang Jiang Jian
88d4217f07
Merge branch 'bugfix/fix_autoip_bug' into 'master'
...
fix the compile bug for autoip
See merge request idf/esp-idf!3450
2018-10-18 14:55:34 +08:00
Angus Gratton
edb59d0909
Merge branch 'bugfix/idf_tools_installer' into 'master'
...
IDF Tools Installer for Windows: Python requirements, ULP & openocd, signed installer
See merge request idf/esp-idf!3428
2018-10-18 14:22:15 +08:00
Mahavir Jain
26845936b3
app_update: remove unrequired static attribute from mmap handle
2018-10-18 04:38:31 +00:00
Mahavir Jain
b3aff63db4
app_update: fix intermittent failure with firmware updates
...
Routine `spi_flash_cache2phys` sometimes return incorrect value,
resulting in failure in getting currently running ota partition.
This in turn aborts firmware update process.This issue was more
prominent with SPIRAM enabled cases.
Fix ensures proper cache guards during `spi_flash_cache2phys`, and
also for few other similar APIs.
In addition, `esp_ota_get_running_partition` has also been optimized
to save currently running partition for subsequent invocations.
Fixes https://github.com/espressif/esp-idf/issues/2451
2018-10-18 04:38:31 +00:00
Mahavir Jain
49130c6b34
esp_ringbuf: fix default placement from flash to IRAM
...
In earlier change this component was decoupled from freertos and hence
regression was introduced which changed default placement to flash. Some
device drivers make use of ringbuffer while flash cache is being disabled
and hence default placement should instead be internal memory.
Closes: https://github.com/espressif/esp-idf/issues/2517
2018-10-17 23:34:07 -05:00
Ivan Grokhotkov
d91b18080b
unit test: split psram config into two configs to free up IRAM
2018-10-17 23:34:07 -05:00
Tian Hao
6934a739d7
coexist : fix coexist bugs related to coex hw blocking
...
1. fix some bugs by previous coex hw blocking bugfix,
such like, rwble.c (64, 0) line 222
2. fix bug that ble scan performance is very low when software coexist
is working.
3. update libcoexist version to v1.1.0
2018-10-18 11:49:10 +08:00
Ivan Grokhotkov
18684f53ee
Merge branch 'bugfix/uart_wait_idle' into 'master'
...
uart: fix uart_tx_wait_idle to wait for fifo empty
See merge request idf/esp-idf!3489
2018-10-18 11:25:59 +08:00
Jiang Jiang Jian
9b566a8965
Merge branch 'bugfix/wpa2_fixes' into 'master'
...
wpa2_enterprise fixes from Github
See merge request idf/esp-idf!3166
2018-10-18 11:10:10 +08:00
Jiang Jiang Jian
7f9dfc060c
Merge branch 'mesh/bugfix_esp_ssid_ie' into 'master'
...
mesh: fix a bug in generating ESP-SSID IE
See merge request idf/esp-idf!3382
2018-10-18 11:06:44 +08:00
Angus Gratton
ca74afd5ca
Merge branch 'feature/httpd_sock_err' into 'master'
...
HTTP Server : Return HTTPD_SOCK_ERR_ based on errno set during send / recv
See merge request idf/esp-idf!3445
2018-10-18 06:59:47 +08:00
Angus Gratton
dac6fd3434
cmake: Fix Windows issue running menuconfig in Command Prompt if winpty on Path
...
Previous version assumed having winpty on the Path meant that it would be needed,
but some tools (like Atlassian Sourcetree) permanently add winpty to the path.
Symptom is arrow keys not working in menuconfig dialog.
2018-10-18 09:56:16 +11:00
Angus Gratton
da0f9717be
Sign IDF Tools installer with 'osslsigncode', update to V1.2
...
Uninstaller is still unsigned, as currently building and signing in 'wine'
and running Linux osslsigncode inside Inno Setup inside wine is awkward.
Closes https://github.com/espressif/esp-idf/issues/1909
TW20810
2018-10-18 09:56:16 +11:00
Angus Gratton
efd62a50b9
windows: Add License (GPL) display to IDF Tools installer
2018-10-18 09:56:16 +11:00
Angus Gratton
0798251355
windows: Add Python dependencies, openocd, and ULP to installer
2018-10-18 09:56:16 +11:00
Angus Gratton
9509c7c1c1
docs: Recommend native 'cryptography' package on Linux as well
2018-10-18 09:56:16 +11:00
Angus Gratton
159ff6e08e
unit tests: Only initialise tcpip_adapter() when needed by the test
...
Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.
2018-10-17 22:53:46 +00:00
David Cermak
9784df1c3a
asio: examples renamed to have consistent binary names when build in make and CMake
2018-10-17 15:00:26 +02:00
zhiweijian
30ea8c7048
Component/bt: read multiple return callback status: ESP_GATT_STACK_RSP
2018-10-17 12:34:34 +00:00
Anurag Kar
a0961ad79c
HTTP Server Docs : Updated to demonstrate handling of timeout errors
2018-10-17 17:36:50 +05:30
Anurag Kar
6a3fa5c180
HTTP Server Examples : Updated examples to manually return 408 and 500 errors
2018-10-17 17:36:50 +05:30
Anurag Kar
1437646ae0
HTTP Server : Automated 408 error response restricted to timeout in receiving packet header
2018-10-17 17:36:50 +05:30
Anurag Kar
ae5989528e
HTTP Server : Added helper functions for sending HTTP error 408 and 500
2018-10-17 17:36:50 +05:30
Anurag Kar
30632c0c34
HTTP Server : Bug fixed in httpd_recv logic and updated function descriptions
2018-10-17 17:36:50 +05:30
Anurag Kar
7e04e283d5
HTTP Server : Use getsockopt instead of errno
2018-10-17 17:36:50 +05:30
Anurag Kar
47a106879a
HTTP Server : Return HTTPD_SOCK_ERR_ based on errno set during send / recv
...
This feature allows `httpd_req_recv()` and `httpd_send()` functions to return
specific `HTTPD_SOCK_ERR_` codes in case of socket errors. This is useful
in case of errors like `EAGAIN`, `EINTR`, etc. when the user may want to
retry `httpd_req_recv()` / `httpd_send()` function call.
2018-10-17 17:36:50 +05:30
Alex Lisitsyn
f0eb9985b9
examples: freemodbus port slave basic implementation
...
This example adds functionality to support basic communication in RS485 networks using Modbus protocol.
This example uses FreeModbus stack and regular UART driver API to communicate in RS485 half duplex mode.
Added initial support of modbus controller pure C api to access device parameters over Modbus transport.
Move freemodbus stack and port files into components folder
Move the modbus_controller interface into components idf folder
Source files updated after review.
Add modbus interface documentation docs/en/api-reference/protocols/modbus.rst
porttimer.c: fix bug with timer1 selected in the Kconfig
Add support of cmake system (added cmake files)
Closes https://github.com/espressif/esp-idf/issues/858
2018-10-17 12:47:12 +02:00
Alex Lisitsyn
5b7b64b946
driver: rs485 test support (remove timeout tag)
...
Adds test functionality with TEST_CASE_MULTIPLE_DEVICES() macro for RS485 test support.
2018-10-17 12:47:12 +02:00
Alex Lisitsyn
61bc733791
driver: rs485 test support
...
Adds test functionality with TEST_CASE_MULTIPLE_DEVICES() macro for RS485 test support.
2018-10-17 12:45:56 +02:00
qiyueixa
71b5dcfd73
mesh: fix a bug in generating ESP-SSID IE
...
1. wifi: if Wi-Fi is not scanning, ignore beacons from different channels.
2018-10-17 17:52:29 +08:00
zhangyanjiao
32f3972284
add ping length and QoS
2018-10-17 09:39:27 +00:00
zhangyanjiao
e3322bde6f
fix the compile bug for autoip
2018-10-17 09:32:08 +00:00
Roland Dobai
374f92c0a0
Tiny-test-fw: Fix string comparison which cases ignore of test cases
...
Example tests from examples/protocols/http_server/ were silently ignored
because of incompatible string comparisons.
2018-10-17 11:07:04 +02:00
island
024f27f3d5
component/bt: modify the BLE example to make it run with "numeric comparison" mode
2018-10-17 16:55:11 +08:00
Angus Gratton
222a7118a9
Merge branch 'docs/freertos_words_to_bytes' into 'master'
...
FreeRTOS: Update API reference from words to bytes
See merge request idf/esp-idf!3453
2018-10-17 16:41:28 +08:00
Ivan Grokhotkov
d57132b212
Merge branch 'bugfix/tw26696_fix_wifi_timer' into 'master'
...
esp32: fix WiFi timer inaccurate bug
See merge request idf/esp-idf!3471
2018-10-17 16:37:22 +08:00
Angus Gratton
b573812d39
Merge branch 'feature/sockets_example' into 'master'
...
Feature/sockets example
See merge request idf/esp-idf!3447
2018-10-17 15:24:38 +08:00
Angus Gratton
813c0748e7
Merge branch 'feature/i2c-tools' into 'master'
...
add i2c-tools example
See merge request idf/esp-idf!3483
2018-10-17 15:23:48 +08:00
Angus Gratton
dad3531f96
Merge branch 'update/mfg_gen' into 'master'
...
Update mfg utility and nvs partition utility to make Python2 and Python3 compatible
See merge request idf/esp-idf!3243
2018-10-17 15:23:27 +08:00
Liu Zhi Fu
1afb8001dd
esp32: fix WiFi timer inaccurate bug
...
Fix the bug that WiFi timer is not accurate when sleep is on
2018-10-17 09:47:25 +08:00
Angus Gratton
95e4bdf030
Merge branch 'bugfix/run_esptool_espport' into 'master'
...
cmake: Handle ESPPORT environment variable correctly
See merge request idf/esp-idf!3482
2018-10-17 08:14:20 +08:00
morris
6d1e23796f
i2c/i2c-tools: add i2c-tools example
...
1. add command i2cconfig
2. add command i2cdetect
3. add command i2cget
4. add command i2cset
5. add command i2cdump
6. add README.md
2018-10-16 16:13:21 +08:00
MartinValik
5a76f1af19
BSD Socket examples
2018-10-16 09:48:57 +02:00
Angus Gratton
66a54c7abf
Merge branch 'feature/34_coding_scheme' into 'master'
...
bootloader: 3/4 Coding Scheme support
See merge request idf/esp-idf!3430
2018-10-16 15:07:43 +08:00
Angus Gratton
f53fef9936
Secure Boot & Flash encryption: Support 3/4 Coding Scheme
...
Includes esptool update to v2.6-beta1
2018-10-16 16:24:10 +11:00
Angus Gratton
7d7975d6c6
Merge branch 'bugfix/fuzzer_ci_tests_to_new_lwip' into 'master'
...
LWIP Fuzzer: updated fuzzer tests to be compatible with new lwip module
See merge request idf/esp-idf!3278
2018-10-16 08:01:00 +08:00
Ivan Grokhotkov
508fb79a26
uart: fix uart_tx_wait_idle to wait for fifo empty
...
In some cases, when data was just written into UART FIFO, transmitter
state could be still zero while the FIFO did contain some data.
This resulted in uart_tx_wait_idle occasionally returning before all
the data was sent out.
Fix by checking both UART transmitter state and TX FIFO count.
2018-10-15 20:08:16 +08:00
Angus Gratton
88625a2501
Merge branch 'bugfix/guide-download' into 'master'
...
Docs: Renamed download links to clearly state they are to download documentation.…
See merge request idf/esp-idf!3271
2018-10-15 16:27:44 +08:00
Jeroen Domburg
a78fd2b13c
Merge branch 'feature/64mb_psram_support_base' into 'master'
...
Feature/64mb psram support base
See merge request idf/esp-idf!2887
2018-10-15 15:54:10 +08:00
Ivan Grokhotkov
a1f809fcc5
bootloader: provide implementation of abort
...
ROM definition of `abort` was removed in 9240bbb . The old definition
resulted in a panic due to a jump to a null pointer (abort member in
ROM stub table was zero). The new definition triggers a debug
exception if JTAG is connected, or goes into an infinite loop to be
reset by the WDT.
2018-10-15 15:02:56 +08:00
Ivan Grokhotkov
a20d9287fe
soc: use _EARLY versions of ESP_LOG
...
Some logging done in soc component may happen before logging via
stdout is possible. Use _EARLY version of log calls to make sure that
output is visible. The downside is that application does not have a
way to silence these logs. However since the soc component doesn’t
use any LOGV/LOGD/LOGI and only logs warnings and errors, this should
not impact the application.
2018-10-15 14:59:46 +08:00
Ivan Grokhotkov
ab68b9d90d
soc,sdmmc: fix build failures when NDEBUG is used
...
Use explicit error checking instead of asserts, use SOC_LOG to print
error/warning messages where needed.
2018-10-15 14:57:12 +08:00
Jeroen Domburg
81e35a142a
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks
2018-10-15 14:32:58 +08:00
Angus Gratton
897670b0ab
cmake: Handle ESPPORT environment variable correctly
...
Closes https://github.com/espressif/esp-idf/issues/2553
2018-10-15 10:25:44 +11:00
Angus Gratton
1ee2bc46ed
Merge branch 'doc/update_i2c_example_readme' into 'master'
...
cleanup readme of i2c example
See merge request idf/esp-idf!3449
2018-10-15 06:34:48 +08:00
Shivani Tipnis
75a4007675
Merge remote-tracking branch 'refs/remotes/origin/update/mfg_gen' into update/mfg_gen
2018-10-12 11:05:02 +05:30
Shivani Tipnis
7c08fcccaf
util: Update docs as per review comments
2018-10-12 11:04:49 +05:30
Shivani Tipnis
5bee9faf49
tools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool
2018-10-12 11:04:49 +05:30
Shivani Tipnis
1d38d8a17f
nvs_util: Add Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
0f6bcec2bc
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
60df21115e
nvs_part_gen: Update to make python version compatible
...
(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)
2018-10-12 11:04:49 +05:30
Shivani Tipnis
302d339640
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
1f49e64730
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Shivani Tipnis
1460f03065
nvs_util: Add Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
fb31788504
nvs_part_gen: Add changes to partition size input
2018-10-12 11:04:49 +05:30
Shivani Tipnis
4bc87a414f
nvs_part_gen: Update to make python version compatible
...
(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)
2018-10-12 11:04:49 +05:30
Shivani Tipnis
807e72adce
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-12 11:04:49 +05:30
Shivani Tipnis
17c907b35e
Update mfg utility as per updated nvs partition util
2018-10-12 11:04:49 +05:30
Shivani Tipnis
94f6b1a9ee
util: Update docs as per review comments
2018-10-12 10:16:39 +05:30
baohongde
a6d054b079
components/bt: Add sniff mode to SPP
...
In idle state for a while, SPP will enter sniff mode.
2018-10-12 11:22:28 +08:00
morris
89d7f7bc89
doc/i2c-example: cleanup readme of i2c example
...
1. Update i2c README to add more detail according to the template.[TW#26530]
2. Move some specific configuration to KConfig
2018-10-12 10:24:39 +08:00
Angus Gratton
12bf6e599c
Merge branch 'bugfix/doc_get_started_cmake' into 'master'
...
doc : Corrected git clone command parameters under get-started-cmake
See merge request idf/esp-idf!3466
2018-10-12 07:01:27 +08:00
Shivani Tipnis
64728a74f9
tools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool
2018-10-11 17:58:12 +05:30
Shivani Tipnis
b521f1b8ba
nvs_util: Add Python2 and Python3 compatible
2018-10-11 17:58:12 +05:30
Shivani Tipnis
0064357a98
nvs_part_gen: Add changes to partition size input
2018-10-11 17:58:12 +05:30
Shivani Tipnis
226b6929e5
nvs_part_gen: Update to make python version compatible
...
(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)
2018-10-11 17:56:21 +05:30
Shivani Tipnis
24fa2342e8
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-11 17:52:57 +05:30
Shivani Tipnis
dd2bc7256d
Update mfg utility as per updated nvs partition util
2018-10-11 17:52:24 +05:30
Shivani Tipnis
dca5ac78f0
nvs_util: Add Python2 and Python3 compatible
2018-10-11 17:50:55 +05:30
Shivani Tipnis
cd7dcd0c85
nvs_part_gen: Add changes to partition size input
2018-10-11 17:50:55 +05:30
Shivani Tipnis
ff30a1fbd3
nvs_part_gen: Update to make python version compatible
...
(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)
2018-10-11 17:50:55 +05:30
Shivani Tipnis
98433d48f1
mfg_gen: Add changes to make Python2 and Python3 compatible
2018-10-11 17:50:55 +05:30
Shivani Tipnis
bc39e9ac75
Update mfg utility as per updated nvs partition util
2018-10-11 17:50:55 +05:30
Anurag Kar
9f1b38a4aa
doc : Corrected git clone command parameters under get-started-cmake
...
Closes https://github.com/espressif/esp-idf/issues/2538
2018-10-11 11:38:55 +05:30
David Cermak
67153be14f
lwip: updated fuzzer tests to be compatible with new lwip module
2018-10-11 08:05:14 +02:00
Jiang Jiang Jian
1a743ad66d
Merge branch 'bugfix/several_bugfix_about_ba_session_setup' into 'master'
...
esp32: several fixes/optimizations about BlockAck(BA) setup
See merge request idf/esp-idf!3374
2018-10-11 11:28:20 +08:00
Angus Gratton
299704cec3
Merge branch 'feature/unified_provisioning' into 'master'
...
provisioning: This patch adds the unified provisioning support
See merge request idf/esp-idf!2812
2018-10-10 16:29:11 +08:00
Angus Gratton
3e0ff8e843
Merge branch 'doc/nvs_encr_doc' into 'master'
...
nvs_flash: Update documentation at various places to indicate NVS encryotion is supported
See merge request idf/esp-idf!3431
2018-10-10 14:58:15 +08:00
Angus Gratton
31cf117404
Merge branch 'feature/bss_seg_in_external_memory' into 'master'
...
memory: support .bss segment can be in psram
See merge request idf/esp-idf!2236
2018-10-10 14:40:21 +08:00
Angus Gratton
fc2230aeda
Merge branch 'feature/error_check_without_abort' into 'master'
...
esp32: Add macro to check a condition without abort
See merge request idf/esp-idf!3348
2018-10-10 14:31:38 +08:00
Angus Gratton
f1ccd47fdb
Merge branch 'bugfix/fix_psram_eid' into 'master'
...
bugfix(psram): fix psram eid
See merge request idf/esp-idf!3392
2018-10-10 11:37:43 +08:00
Angus Gratton
7904da0600
Merge branch 'bugfix/httpd_default_content_type' into 'master'
...
HTTP Server : Default content type of response should be HTTPD_TYPE_TEXT
See merge request idf/esp-idf!3443
2018-10-10 08:21:56 +08:00
Angus Gratton
aaacd5412d
Merge branch 'bugfix/httpd_chunked_content_len' into 'master'
...
Remove Content-Length from chunked encoding
See merge request idf/esp-idf!3442
2018-10-10 08:21:50 +08:00
Angus Gratton
0ea8a2abfd
Merge branch 'feature/docs_update_mcpwm_api' into 'master'
...
MCPWM API doc update
See merge request idf/esp-idf!1602
2018-10-10 08:15:23 +08:00
Krzysztof Budzynski
cd5f8bcf74
MCPWM API doc update
2018-10-10 08:15:23 +08:00
Darian Leung
6f91640690
FreeRTOS: Update API reference from words to bytes
...
This commit updates some of the API references in task.h so
that stack sizes are referred to in bytes rather than words as
found in the vanilla version.
Closes #2528
2018-10-09 20:49:19 +08:00
Jiang Jiang Jian
9c148f6ad6
Merge branch 'bugfix/btdm_fix_connect_interval_error_in_slave_adv_params' into 'master'
...
Component/bt: fix connection interval error in slave adv params
See merge request idf/esp-idf!3407
2018-10-09 17:01:44 +08:00
Roland Dobai
d4e572bdb1
esp32: Add macro to check a condition without abort
...
Closes https://github.com/espressif/esp-idf/issues/2325
2018-10-09 08:57:23 +02:00
Liu Zhi Fu
660770ea97
esp32: several fixes about BA session setup
...
1. Fix the bug that ESP32 will reject the retry AddBA request frame
if AddBA response frame is failed to sent by WiFi LMAC
2. Fix the bug that AddBA request retrys too frequently
3. Forbid BA session setup for VO queue related TID
2018-10-09 12:07:30 +08:00
Angus Gratton
a7bdd288f0
Merge branch 'bugfix/downgrade_future' into 'master'
...
Change python-future to 0.15.2 (again)
See merge request idf/esp-idf!3423
2018-10-09 11:06:45 +08:00
Jiang Jiang Jian
83d4081fba
Merge branch 'bugfix/fix_close_socket_crash_bug' into 'master'
...
lwip: fix the crash when close socket
See merge request idf/esp-idf!3384
2018-10-08 21:23:57 +08:00
Anurag Kar
8be9e0946f
HTTP Server : Default content type of response should be HTTPD_TYPE_TEXT
...
Closes https://github.com/espressif/esp-idf/issues/2527
2018-10-08 18:12:15 +05:30
chenjianqiang
a10b7e892c
bugfix(psram): fix psram driver
...
1. remove use EID to distinguish psram voltage
2. 1V8 64Mbit psram and 3V3 64Mbit psram use the same psram driver(standard spi interface)
3. set cs hold time register as 1
2018-10-08 19:55:13 +08:00
Assaf Inbal
f4e867a148
Remove Content-Length from chunked encoding
...
Content-Length header should not be included when using chunked encoding.
Some browsers will close the socket after seeing the 0 sized response instead of
reading the chunks.
Merges https://github.com/espressif/esp-idf/pull/2458
2018-10-08 15:58:41 +05:30
Angus Gratton
05c510b44e
Merge branch 'test/spi_slave_psram_disable' into 'master'
...
test: disable the spi slave startup test when psram is enabled
See merge request idf/esp-idf!3373
2018-10-08 16:28:41 +08:00
Angus Gratton
a85a633384
Merge branch 'fix/spi_master_cmd_addr_lsbfirst' into 'master'
...
spi_master: fix the command and address field when LSB_FIRST enabled
See merge request idf/esp-idf!3398
2018-10-08 16:26:27 +08:00
Jiang Jiang Jian
221eced06d
Merge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report' into 'master'
...
WiFi: bugfix of no disconnect event report if no correct status code report
See merge request idf/esp-idf!3370
2018-10-08 15:59:07 +08:00
Angus Gratton
1d58429bad
Merge branch 'feature/global_ca_store' into 'master'
...
esp_tls: Support for global CA store.
See merge request idf/esp-idf!3432
2018-10-08 14:51:02 +08:00
Angus Gratton
e99035af94
Merge branch 'feature/ethernet_example_iperf' into 'master'
...
ethernet: add iperf example to test real bandwidth
See merge request idf/esp-idf!3332
2018-10-08 12:27:05 +08:00
morris
7bc36d23e1
ethernet: add iperf example to test real bandwidth
...
1. Add command for Ethernet based on console component.
2. Make cmd_system and iperf a component that can be referenced by other examples
3. Add "version" command to cmd_system.c
4. Clean up the README.md in all ethernet examples[TW#26525]
2018-10-08 09:51:17 +08:00
Angus Gratton
a95dd4712b
Merge branch 'doc/rmt_readme_typo_fix' into 'master'
...
doc(rmt): fixed some typos in rmt example readme file
See merge request idf/esp-idf!3283
2018-10-08 07:25:10 +08:00
Chirag Atal
b7cca3c414
Feature: Support for global CA store.
...
Added a new API esp_tls_set_global_ca_store(esp_tls_cfg_t *cfg) which creates a global_cacert which can be used by multiple connections by setting the use_global_ca_store variable to true in their respective structure of esp_tls_cfg_t. Also changed the cacert in the structure of esp_tls_t to a pointer.
2018-10-05 19:35:57 +05:30
Sagar Bijwe
454b69d2ea
nvs_flash: Update documentation at different places to indicate NVS encryotion is supported
2018-10-05 14:05:21 +05:30
Angus Gratton
1b272bb77e
Merge branch 'bugfix/rom_export_functions' into 'master'
...
esp32, bootloader: fix issues related to linking order
See merge request idf/esp-idf!3375
2018-10-05 12:40:05 +08:00
Angus Gratton
7313e39fde
Merge branch 'feature_add_path_tools_pr2410' into 'master'
...
add_path.sh: cmake: add tools folder to the path
See merge request idf/esp-idf!3344
2018-10-05 12:34:10 +08:00
Angus Gratton
ee0ebc1e1a
Merge branch 'test/enhanced_unit_test_config_dependency' into 'master'
...
test: enhanced config dependency support for CI
See merge request idf/esp-idf!3383
2018-10-05 09:21:30 +08:00
Angus Gratton
445567d067
Merge branch 'bugfix/windows_msys2_updates' into 'master'
...
Windows: Update MSYS2 environment, catch some MSYS2 Python quirks
See merge request idf/esp-idf!3417
2018-10-05 08:06:47 +08:00
michael
6b180f70ac
test: modify the command/address test a bit to test the LSBFIRST feature
2018-10-04 15:03:26 +08:00
michael
e5ed450d95
spi: move gpio direction config to common func for coinsistence
...
(MINOR CHANGE)
2018-10-04 14:57:31 +08:00
Michael (XIAO Xufeng)
2600f43822
spi_master: fix the command and address field when LSB_FIRST enabled
...
Resolves https://github.com/espressif/esp-idf/issues/2444 .
2018-10-04 14:57:30 +08:00
Angus Gratton
3977d4b565
Merge branch 'feature/transpost_methods_renamed_no_collision' into 'master'
...
Renamed transport header files to esp_ prefixed
See merge request idf/esp-idf!3359
2018-10-04 13:11:49 +08:00
Angus Gratton
594dcd525b
Merge branch 'bugfix/esp_error_check_silent' into 'master'
...
esp_err: Don't compile in error message strings in "silent assertions" mode
See merge request idf/esp-idf!3418
2018-10-03 14:33:09 +08:00
Angus Gratton
d8d85ed8e8
Merge branch 'feature/sigmadelta-example-update-readme' into 'master'
...
Updated sigma-delta example description to the latest template
See merge request idf/esp-idf!3388
2018-10-03 09:50:27 +08:00
Anurag Kar
2d199dc521
Docs : Added Provisioning and Protocomm related docs
...
Co-Authored-By: Amey Inamdar <amey@espressif.com >
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com >
2018-10-02 19:07:28 +05:30
Anurag Kar
84f094453b
Examples : Added provisioning examples, tests and client tool.
...
* BLE and softAP provisioning examples added along with tests.
* An application specific example added for demonstrating custom provisioning scheme.
* tools/esp_prov/esp_prov.py can be used as a provisioning client for SoftAP, BLE and CLI based transports.
Co-Authored-By: Amey Inamdar <amey@espressif.com >
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com >
2018-10-02 19:07:28 +05:30
Amey Inamdar
2b52465416
WiFi Provisioning : Added component providing framework for configuring WiFi credentials during provisioning
...
Co-Authored-By: Amey Inamdar <amey@espressif.com >
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com >
2018-10-02 19:07:28 +05:30
Amey Inamdar
9428375368
Protocomm : Added support for choice of transport - WiFi (SoftAP+HTTPD), BLE, Console (development friendly transport)
...
Co-Authored-By: Amey Inamdar <amey@espressif.com >
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com >
2018-10-02 19:07:28 +05:30
Amey Inamdar
e94dffc9c5
Protocomm : Added unit tests and protobuf-c generated files
...
Co-Authored-By: Amey Inamdar <amey@espressif.com >
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com >
2018-10-02 19:07:28 +05:30
Amey Inamdar
d0c777b2e1
Protocomm : Added component core for protocol communication
...
* This manages secure sessions and provides framework for multiple transports.
* The application can use protocomm layer directly to have application specific extensions for provisioning (or non-provisioning) use cases.
* Following features are available for provisioning :
* Security - Security0 (no security), Security1 (curve25519 key exchange + AES-CTR encryption)
* Proof-of-possession support for Security1
* Protocomm requires specific protocol buffer modules for compilation which can be generated from the `.proto` files in the `proto` directory using make.
Co-Authored-By: Amey Inamdar <amey@espressif.com >
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com >
2018-10-02 19:07:28 +05:30
Amey Inamdar
3ba8eed60a
protobuf-c : Added Google's protocol buffer C library as sub-module
...
Source https://github.com/protobuf-c/protobuf-c
Co-Authored-By: Amey Inamdar <amey@espressif.com >
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com >
2018-10-02 19:07:28 +05:30
David Cermak
0d4f5cc495
tcp_transport: transport set handle refactoring, web socket client name updated
2018-10-02 15:19:46 +02:00
David Cermak
e02225cc07
tcp_transport: renamed possibly generic function names to be esp_ prefixed and not to colide with user namespace
2018-10-02 14:16:48 +02:00
Anton Maklakov
2c5a25a42e
tcp_transport: Use getrandom() instead of rand() in the entire esp-mqtt
...
Signed-off-by: David Cermak <cermak@espressif.com >
2018-10-02 14:16:26 +02:00
Anton Maklakov
e3c6839802
tcp_transport: Fix warning, put in order the nearest code, replace sprintf with snprintf
...
Signed-off-by: David Cermak <cermak@espressif.com >
2018-10-02 14:15:27 +02:00
David Cermak
40c6cbb3ab
tcp_transport: renamed transport related header files to esp_ prefixed to avoid collisions
...
tcp_transport component used public header files such as 'transport.h', etc. which are too generic and might collide with user or user libraries headers
This change closes #2417
2018-10-02 14:15:00 +02:00
Angus Gratton
127693126a
esp_err: Don't compile in error message strings in "silent assertions" mode
...
Reported on forum https://esp32.com/viewtopic.php?f=13&t=7396&p=31419#p31419
2018-10-02 17:00:57 +10:00
Angus Gratton
4faa2a8e52
Merge branch 'bugfix/bootloader_gen_secure_boot_digest' into 'master'
...
bootloader: Fix secure boot digest generation for image length where (len%128 < 32)
See merge request idf/esp-idf!3410
2018-10-02 14:55:21 +08:00
Deomid Ryabkov
6a3f486bdc
Change python-future to 0.15.2 (again)
...
Merges https://github.com/espressif/esp-idf/pull/2492
2018-10-02 08:18:13 +02:00
Angus Gratton
326d791ebb
bootloader: Fix secure boot digest generation for image length where (len%128 < 32)
2018-10-02 15:17:14 +10:00
Ivan Grokhotkov
9240bbb708
esp32: remove ROM functions redefined in IDF from LD script
...
In some cases, linker could choose to use ROM functions instead of the
ones defined in IDF.
For functions used in ROM stub table, this would lead to infinite
recursion when the corresponding function was called from ROM.
For crypto functions, some of these were modified in IDF, and
incompatible with ROM counterparts.
2018-10-02 01:20:04 +00:00
Ivan Grokhotkov
f694d057be
bootloader_support: exclude bootloader_init.c when building app
...
Depending on link order of libraries, bootloader implementation of
__assert_func could be linked instead of the one provided by newlib.
2018-10-02 01:20:04 +00:00
Angus Gratton
98b42a8b71
Merge branch 'bugfix/disable_coding_scheme_security_features' into 'master'
...
bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme
See merge request idf/esp-idf!3369
2018-10-02 07:54:11 +08:00
Ivan Grokhotkov
23984c8a03
Merge branch 'bugfix/rtc_fastmem_data_init' into 'master'
...
esp32: fixes related to CONFIG_ESP32_RTCDATA_IN_FAST_MEM
See merge request idf/esp-idf!3403
2018-10-01 18:13:43 +08:00
Angus Gratton
246a608db0
windows: Special check for some MSYS2 Python packages
...
MSYS2 MINGW requires some particular MSYS2-specific packages.
Closes https://github.com/espressif/esp-idf/issues/2480
Closes https://github.com/espressif/esp-idf/issues/2474
Closes https://github.com/espressif/esp-idf/issues/2486
2018-10-01 17:21:48 +10:00
Angus Gratton
319fa2264f
windows: Update MSYS2 environment, add Python requirements to setup script
2018-10-01 16:16:49 +10:00
Angus Gratton
c526839453
Merge branch 'bugfix/win_toolchain_version' into 'master'
...
build: Fix checking the toolchain version on Windows
See merge request idf/esp-idf!3356
2018-10-01 14:03:52 +08:00
Ivan Grokhotkov
94e5ffdedc
Merge branch 'bugfix/workaround_free_peripherals_isr_when_using_dual_core' into 'master'
...
driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores.
See merge request idf/esp-idf!3152
2018-09-30 21:42:52 +08:00
zhiweijian
fe7fd3bf4d
Component/bt: fix connection interval error in slave adv params
2018-09-30 11:14:27 +00:00
Jiang Jiang Jian
fda865b002
Merge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone' into 'master'
...
component/bt: Fix BTU task watchdog timeout after pair with iphone
See merge request idf/esp-idf!3366
2018-09-30 14:39:00 +08:00
Jiang Jiang Jian
42a9f99bc8
Merge branch 'bugfix/btdm_controller_stuck_on_waking_up' into 'master'
...
bugfix/btdm_controller_stuck_on_waking_up
See merge request idf/esp-idf!3395
2018-09-30 14:25:58 +08:00
Jiang Jiang Jian
a662002924
Merge branch 'bugfix/btdm_add_sequential_check_when_add_include_service' into 'master'
...
component/bt: add sequential check when add include service
See merge request idf/esp-idf!3277
2018-09-30 14:19:54 +08:00
Zhi Wei Jian
5d71940178
component/bt: add sequential check when add include service
2018-09-30 14:19:54 +08:00
Jiang Jiang Jian
d6bc6fad8b
Merge branch 'bugfix/btdm_add_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_in_set_security_param_API' into 'master'
...
Component/bt: add only accept sepecified authentication function for SMP
See merge request idf/esp-idf!3385
2018-09-30 14:18:23 +08:00
Jiang Jiang Jian
545778c9a9
Merge branch 'docs/wifi_correct_mistake_in_csi_doc' into 'master'
...
esp32: correct a mistake about secondary channel of CSI in wifi.rst
See merge request idf/esp-idf!3405
2018-09-30 13:47:52 +08:00
Ivan Grokhotkov
757de2518d
Merge branch 'doc/can_remove_disclaimer' into 'master'
...
can: remove license disclaimer
See merge request idf/esp-idf!3381
2018-09-30 12:05:08 +08:00
zhiweijian
3050e55801
Component/bt: add only accept sepecified Authentication
2018-09-29 21:23:55 +08:00
Jiang Jiang Jian
7014c14537
Merge branch 'bugfix/btdm_add_service_source_param_for_ESP_GATTC_SEARCH_CMPL_EVT' into 'master'
...
Component/bt: add “service from” param for ESP_GATTC_SEARCH_CMPL_EVT
See merge request idf/esp-idf!3399
2018-09-29 20:18:26 +08:00
Jiang Jiang Jian
df1ab11a8e
Merge branch 'bugfix/btdm_fix_service_change_cannot_read_write_and_no_descr' into 'master'
...
Component/bt: fix service change char can’t read and write and no descr
See merge request idf/esp-idf!3402
2018-09-29 20:16:07 +08:00
Deng Xin
b557cca6b9
WiFi: bugfix of no disconnect event report if no correct status code report
...
Problem Description
The reporduce steps are as follows:
1. put more than one same ssid AP in the environment;
2. set the STA mac address in one of the APs blacklist, and make sure the AP is closest to STA;
3. set the scan method in station config as all channel scan;
4. try to connect the AP which set STA in blacklist
Phenmenon
STA fail to connect after send auth or assoc with a wrong status code, but no disconnect event report and can not connect the next one in the envrionment
Root Cause
Because there are some same ssid APs in the evnrionment, when do all channel scan, it will collect all the matched AP in rc list, because rc list is not empty, so it would send disconnect event, however, we didn't do other step such as connect to other one
VNC MR 570
closes https://github.com/espressif/esp-idf/issues/2323
2018-09-29 16:16:22 +08:00
XiaXiaotian
5e1b05abc3
esp32: correct a mistake about secondary channel of CSI in wifi.rst
2018-09-29 15:32:09 +08:00
Ivan Grokhotkov
c4a712b0bc
sleep: fix checking length of RTC data sections
...
_rtc_data_{start,end} can now describe data placed into RTC_FAST
segment, if CONFIG_ESP32_RTCDATA_IN_FAST_MEM is enabled.
Use new _rtc_slow_length symbol instead.
2018-09-29 14:02:16 +08:00
Ivan Grokhotkov
70412928de
esp32: fix placement of .rtc_noinit
...
When CONFIG_ESP32_RTCDATA_IN_FAST_MEM is enabled, .rtc_noinit should
be in RTC_FAST memory, same as .rtc.data
2018-09-29 14:02:16 +08:00
Ivan Grokhotkov
3e1c065493
esp32/test: split rtc_fast test cases
...
Move runtime behaviour test cases into test_reset_reason.c, move
placement test cases into test_rtc_fast.c
2018-09-29 14:02:16 +08:00
Ivan Grokhotkov
22b840f3df
bootloader: don’t reload RTC_FAST DRAM after deep sleep
...
When CONFIG_ESP32_RTCDATA_IN_FAST_MEM is enabled, RTC data is placed
into RTC_FAST memory region, viewed from the data bus. However the
bootloader was missing a check that this region should not be
overwritten after deep sleep, which caused .rtc.bss segment to loose
its contents after wakeup.
2018-09-29 14:02:16 +08:00
He Yin Ling
252b9ad5ea
Merge branch 'ci/adjust_expire_time_for_artifacts' into 'master'
...
ci: adjust expire time for CI artifacts:
See merge request idf/esp-idf!3327
2018-09-29 13:43:01 +08:00
He Yin Ling
b4fe43912f
ci: adjust expire time for CI artifacts:
...
set shorter time to save some space on server. For those artifacts need
to be stored for long time, we can manually press "keep" button in job page.
Also add a CI job to check if all artifacts have set expire time.
2018-09-29 03:54:14 +00:00
zhiweijian
e6d737780a
Component/bt: add “service from” param for ESP_GATTC_SEARCH_CMPL_EVT
2018-09-28 12:59:01 +00:00
zhiweijian
54b841dc30
Component/bt: fix service change char can’t read and write and no descr
2018-09-28 19:57:25 +08:00
Krzysztof
bce5d7ba01
Implemented the first round of review comments
2018-09-28 14:04:22 +08:00
Krzysztof
cc52029d14
Updated sigma-delta example description to the latest template
2018-09-28 14:04:22 +08:00
wangmengyang
334cb88256
component/bt: bugfix that hci down stream datapath is unblocked too early on waking up from sleep
...
This issue can cause the controller to stuck after sleep interrupt happens and clock interrupt enabled
2018-09-28 03:45:52 +00:00
Ivan Grokhotkov
0a7065195c
Merge branch 'bugfix/regression_in_light_sleep_mode' into 'master'
...
esp32: fix regression introduced in automatic light sleep pm
See merge request idf/esp-idf!3371
2018-09-28 09:49:39 +08:00
Ivan Grokhotkov
4981c10ab3
Merge branch 'fix/sdio_slave_reset_ret_queue' into 'master'
...
sdio_slave: fix the ret_queue crash issue when being reset by the master
See merge request idf/esp-idf!3360
2018-09-27 18:25:57 +08:00
zhangyanjiao
54b431f2a8
lwip: fix the crash when close socket
2018-09-27 17:35:40 +08:00
He Yin Ling
737f33e379
test: enhanced config dependency support for CI:
...
allow define complex conditions for the dependency of each tag.
2018-09-27 15:23:44 +08:00
Anton Maklakov
7c8d5d2782
docs, scripts: Correct the priority of the PATH setting
2018-09-27 14:55:37 +08:00
Nicola Lunghi
1b3385e51e
add_path.sh: cmake: add tools folder to the path
...
Merges https://github.com/espressif/esp-idf/pull/2410
2018-09-27 14:33:36 +08:00
Ivan Grokhotkov
71b5ce55d3
Merge branch 'feature/mbedtls_2_13_1' into 'master'
...
mbedtls: update to 2.13.1
See merge request idf/esp-idf!3301
2018-09-27 14:15:25 +08:00
Ivan Grokhotkov
0eff312411
can: remove license disclaimer
2018-09-27 13:25:59 +08:00
Ivan Grokhotkov
5ebf4f7022
Merge branch 'feature/move_rtc_data_rtc_rodata_to_RTC_FAST_seg' into 'master'
...
esp32: Add option to place .rtc_data and .rtc_rodata into the RTC_FAST segment
See merge request idf/esp-idf!2128
2018-09-27 13:05:06 +08:00
Ivan Grokhotkov
84d2f510ea
Merge branch 'bugfix/ci_example_test' into 'master'
...
tools: Make Utility.console_log accept Unicode and byte strings as well
See merge request idf/esp-idf!3367
2018-09-27 11:26:44 +08:00
Ivan Grokhotkov
ea7e6bd8f6
Merge branch 'feature/py23_kconfig_new' into 'master'
...
tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py
See merge request idf/esp-idf!3304
2018-09-27 11:26:32 +08:00
Ivan Grokhotkov
11b444b8f4
Merge branch 'bugfix/sysview_enable_cmake' into 'master'
...
cmake: add app_trace as FreeRTOS dependency
See merge request idf/esp-idf!3335
2018-09-27 11:21:54 +08:00
Ivan Grokhotkov
6baf743212
Merge branch 'bugfix/lwip_compat_headers' into 'master'
...
lwip: add compatibility headers for sntp.h and esp_ping.h
See merge request idf/esp-idf!3231
2018-09-27 11:21:37 +08:00
Ivan Grokhotkov
135eef767f
Merge branch 'bugfix/idf_ver_out_of_tree' into 'master'
...
cmake: pass repository path to git when doing git describe
See merge request idf/esp-idf!3328
2018-09-27 11:21:25 +08:00
Jiang Jiang Jian
6163e1d713
Merge branch 'bugfix/btdm_coex_hw_blocking' into 'master'
...
component/bt : fix coexist hardware blocking bug
See merge request idf/esp-idf!3362
2018-09-27 11:17:15 +08:00
Angus Gratton
d8c84cff3a
esptool: Update to v2.5.1
...
Release notes: https://github.com/espressif/esptool/releases/tag/v2.5.1
Needed to no longer burn keys if 3/4 Coding Scheme is enabled.
2018-09-27 10:12:32 +10:00
Tian Hao
337960338d
component/bt : fix coexist hardware blocking bug
...
fix the bug following:
1. after disable bluetooth controller, wifi cannot TX/RX any packets.
2. when software coexist working, there's a little ratio cause wifi task watchdog timeout
3. when software coexist working, there's a little ratio cause bluetooth cannot receive anything.
feature:
1. add libbtdm_app.a git commit local and remote checking
Known issues:
1. there's still a bug occurs with a very very low ratio cause bluetooth
cannot receive anything. The reproduce interval may great than 3days ~ 1week via
7x24 hours heavy testing.
2018-09-26 21:24:46 +08:00
Jiang Jiang Jian
93df37522f
Merge branch 'feature/mesh_decoupling' into 'master'
...
mesh: decoupling
See merge request idf/esp-idf!3261
2018-09-26 20:20:27 +08:00
Roland Dobai
9ea9d111c8
tools: Make Utility.console_log accept Unicode and byte strings as well
2018-09-26 12:56:00 +02:00
Jiang Jiang Jian
fa784476ba
Merge branch 'bugfix/btdm_fix_get_bond_list_error_sometimes' into 'master'
...
Component/bt: fix get bond list error sometimes
See merge request idf/esp-idf!3288
2018-09-26 18:06:23 +08:00
Jiang Jiang Jian
042ef68ea5
Merge branch 'feature/btdm_add_send_service_change_indication_API' into 'master'
...
Component/bt: add gatts send service change indication API
See merge request idf/esp-idf!3302
2018-09-26 18:05:04 +08:00
michael
f4d4183000
test: disable the spi slave startup test when psram is enabled
2018-09-26 17:55:37 +08:00
Angus Gratton
4d99513bdb
bootloader: Fix crash enabling flash encryption
...
Regression in 9c715d7946
2018-09-26 18:26:06 +10:00
Angus Gratton
ff33406e74
bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme
2018-09-26 18:26:06 +10:00
Anton Maklakov
1658833470
build system: Fix checking the toolchain version on Windows
2018-09-26 14:42:01 +08:00
baohongde
15fae990c1
component/bt: Fix BTU task watchdog timeout after pair with iphone
...
Create a new pending queue, then re-submit pending requests in old pending queue,preventing new events being inserted into it.
Closes https://github.com/espressif/esp-idf/issues/2191
2018-09-26 11:59:54 +08:00
Mahavir Jain
b5c321d981
esp32: fix regression introduced in automatic light sleep pm
...
Closes: https://github.com/espressif/esp-idf/issues/2459
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-09-26 08:52:15 +05:30
TianZhongXing
01308df8a6
doc: update document of external memory
2018-09-26 10:39:57 +08:00
kooho
bbca0e46ed
driver(interrupt): fix the issue that interrupt might be allocated and freed on different cores
...
closes https://github.com/espressif/esp-idf/issues/2211
2018-09-26 10:31:09 +08:00
Angus Gratton
607d899503
Merge branch 'feature/py23_examples' into 'master'
...
Examples: Add Python 2&3 support
See merge request idf/esp-idf!3237
2018-09-26 08:41:42 +08:00
Angus Gratton
7e3f498d15
Merge branch 'docs/general_notes_zh_CN' into 'master'
...
docs: translate the general-notes document into Chinese
See merge request idf/esp-idf!2867
2018-09-26 07:23:38 +08:00
qiyueixa
fe4dabe869
mesh: decoupling
...
Remove dependencies which cause mesh code to be linked even if mesh is not used.
2018-09-25 23:49:27 +08:00
michael
d4071a7c19
sdio_slave: fix the ret_queue crash issue when being reset by the master
2018-09-25 20:30:25 +08:00
Jiang Jiang Jian
46ad2c6ad0
Merge branch 'feature/wifi_esptouch_support_both_multicast_and_broadcast_packet' into 'master'
...
esp32: esp-touch supports both multicast and broadcast packets
See merge request idf/esp-idf!3291
2018-09-25 19:48:33 +08:00
Ivan Grokhotkov
e1ac237169
Merge branch 'doc/fix_config_links' into 'master'
...
doc: Fix config links, add navigation lists to config items page
See merge request idf/esp-idf!3310
2018-09-25 18:23:24 +08:00
zhiweijian
9fb188a1d9
Component/bt: add gatts send service change indication API
2018-09-25 08:26:55 +00:00
Ivan Grokhotkov
0139749ba6
esp32: only touch g_ticks_per_us_app in dual core mode
2018-09-25 15:13:47 +08:00
Ivan Grokhotkov
4ff262ecff
ipc: initialise automatically, if called from the app
2018-09-25 15:13:47 +08:00
Jack
2efd6859ed
release memory not used in single core mode
...
1. do not start ipc task in single core mode
2. do not use APP cpu cache memory in single core mode
3. relase data used in rom by APP cpu
2018-09-25 15:13:47 +08:00
Roland Dobai
975688b97f
examples: Use flushed print to see logs on the CI server
2018-09-25 08:05:56 +02:00
Roland Dobai
17b7959de9
Examples: Add Python 2&3 support
2018-09-25 08:05:56 +02:00
morris
0ea7723238
doc/general_notes:translate from en to zh_CN
...
translate the document [general-notes] into Chinese
2018-09-25 12:59:52 +08:00
Darian Leung
3c362f4d75
esp32: Add missing header file in esp_task.h
...
This commit adds a missing header file in esp_task.h
required for configMAX_PRIORITIES.
Closes #2341
2018-09-25 11:21:23 +08:00
XiaXiaotian
7b7964b47a
esp32: esp-touch supports both multicast and broadcast packets
...
Previously, esp-touch only supports multicast packets which are
transmitted from cellphone. But for most dual frequency routers
whose SSIDs of 5G and 2.4G are the same, broadcast packets are
forwarded from 5G interface to 2.4G interface while multicast
packets are not. In order to make esp-touch work when cellphone
connects to 5G interface of these routers, esp-touch is improved
to support both multicast and broadcast packets. Meanwhile, new
APP which is compiled with Andriod or IOS library(>= v0.3.6.2)
must be used in this situation. Note that for some routers,
broadcast and multicast packets are forwarded from 5G interface
to 2.4G interface only when another WiFi device is connected to
2.4G interface of the router. Old APP which is compiled with
Android or IOS library(< v0.3.6.2) also works with this improvement
when cellphone connects to 2.4G interface of the router.
The Android and IOS library of new esp-touch APP is now available
on Github.
Android: https://github.com/EspressifApp/EsptouchForAndroid
IOS: https://github.com/EspressifApp/EsptouchForIOS
2018-09-25 10:38:01 +08:00
Angus Gratton
96cd3b75cd
Merge branch 'feature/mbedtls_mem_alloc_options' into 'master'
...
mbedtls: configurable options for controlling dynamic memory allocations
See merge request idf/esp-idf!3343
2018-09-25 08:24:29 +08:00
Angus Gratton
66fd7e9cc3
Merge branch 'bugfix/python_gen_empty_partition' into 'master'
...
app_update: Make gen_empty_partition.py Python 2 & 3 compatible
See merge request idf/esp-idf!3347
2018-09-25 08:23:38 +08:00
Angus Gratton
dc135ed1f6
Merge branch 'feature/async_esp_http_client' into 'master'
...
Non Blocking `esp_http_perform()` API in esp_http_client
See merge request idf/esp-idf!3049
2018-09-25 08:20:06 +08:00
Angus Gratton
a4aadd1926
Merge branch 'feature/nvs_encryption' into 'master'
...
nvs_flash: Add support for nvs encryption
See merge request idf/esp-idf!2700
2018-09-25 08:15:55 +08:00
Angus Gratton
6ed00f50be
Merge branch 'bug_fix/multipage_blob_support' into 'master'
...
nvs_util: Fix generation of multipage blob data format
See merge request idf/esp-idf!3349
2018-09-25 08:01:57 +08:00
Jiang Jiang Jian
3665715d4d
Merge branch 'mesh/bugfix' into 'master'
...
mesh: bugfix
See merge request idf/esp-idf!3286
2018-09-24 20:31:31 +08:00
Roland Dobai
baca21050f
app_update: Make gen_empty_partition.py Python 2 & 3 compatible
...
Closes https://github.com/espressif/esp-idf/issues/2457
2018-09-24 12:16:16 +02:00
Shivani Tipnis
7c1360b10a
nvs_util: Fix multipage blob data format generate
2018-09-24 15:44:31 +05:30
Sagar Bijwe
48fccbf5dd
nvs_flash: Add support for nvs encryption
2018-09-24 11:25:21 +05:30
Mahavir Jain
5585f699d1
aws_iot: optimize dynamic memory by tweaking tls out buf content length
2018-09-24 11:17:53 +05:30
Mahavir Jain
54382277b6
mbedtls: configurable options for controlling dynamic memory allocations
...
Modifies https://github.com/espressif/esp-idf/pull/2237
2018-09-24 11:17:48 +05:30
Jitin George
0aec63c18e
examples/protocols/esp_http_client: Add example for asynchronous HTTP request
2018-09-24 05:42:28 +00:00
Jitin George
5309ca04d1
esp_http_client: Add support for non-blocking feature in esp_http_client_perform() API
...
Four internal APIs `esp_http_client_connect()`, `http_client_prepare_first_line()`, `esp_http_client_request_send()` and
`esp_http_client_send_post_data()` API have been added for perfoming connection establishment (sync as well as async),
preparing first line, sending request and sending post data respectively.
In `transport_ssl`, `ssl_connect_async()` API has been added for establishing asynchronous connection.
2018-09-24 05:42:28 +00:00
Jitin George
1be97fad09
esp-tls: Add support for non blocking connect
2018-09-24 05:42:28 +00:00
Angus Gratton
4d50427e87
Merge branch 'feature/nvs_util_backport' into 'master'
...
nvs_util: Add changes for utility to support old and new multipage blob
See merge request idf/esp-idf!3270
2018-09-24 11:53:29 +08:00
Angus Gratton
ae5df5d6ce
Merge branch 'feature/pthread_attributes' into 'master'
...
pthread : Add support for attributes
See merge request idf/esp-idf!2980
2018-09-24 11:19:41 +08:00
qiyueixa
9c4cc55012
mesh: bugfix
...
1. suppport mesh type, mesh ID, router and IE crypt func&key at any time after mesh is initalized.
2. support modify parent at any time after mesh is configured.
3. modify manual networking example.
4. update header file.
5. fix issues in root conflicts handling.
6. add max length of beacon to menuconfig.
7. fix issue when received a beacon without DSSS.
2018-09-23 21:11:02 +08:00
Jiang Jiang Jian
623641f26c
Merge branch 'bugfix/two_scenario_may_cause_no_disconnect_event_report' into 'master'
...
Wifi: bugfix of two sceanrio may cause no disconnect event report
See merge request idf/esp-idf!3322
2018-09-23 10:58:44 +08:00
Jiang Jiang Jian
da3c6220a5
Merge branch 'bugfix/IPv6_TCP_connection_fail' into 'master'
...
lwip: fix the bug that IPv6 TCP connection fail
See merge request idf/esp-idf!3331
2018-09-23 08:39:34 +08:00
Anurag Kar
f27db1f241
pthread : Add support for attributes and few APIs
...
This introduces the following changes :
* Implmentation added for pthread attribute related functions :
* pthread_attr_init
* pthread_attr_destroy
* pthread_attr_setdetachstate
* pthread_attr_getdetachstate
* pthread_attr_getstacksize
* pthread_attr_setstacksize
* pthread_create now supports passing attributes/configs through pthread_attr_t structure
* pthread_mutex_timedlock added
* pthread_exit added
* memory for joinable thread is freed before returning from pthread_join
2018-09-22 02:35:27 +05:30
Jiang Jiang Jian
93b588a0cf
Merge branch 'bugfix/wpa2_fixes_2' into 'master'
...
wpa_supplicant: more fixes from github
See merge request idf/esp-idf!3255
2018-09-21 20:14:56 +08:00
TianZhongXing
19a67271ef
lwip:move lwip bss segment to psram
2018-09-21 16:20:31 +08:00
TianZhongXing
974112378b
feature: allow .bss segment in external memory
2018-09-21 16:20:26 +08:00
Ivan Grokhotkov
b97e52210a
cmake: add app_trace as FreeRTOS dependency
...
This is needed because FreeRTOSConfig.h includes header file provided
by app_trace when CONFIG_SYSVIEW_ENABLE=y.
2018-09-21 14:58:34 +08:00
Deng Xin
7186475d94
Wifi: bugfix of two sceanrio may cause no disconnect event report
...
Problem Description
set some of routers as the same ssid in the same channel, when 32 in the fast scan connect mode, there may no disconnect event report in that two sceanrio:
1. set the correct password and connect, if target router didn't report 32's auth req before timeout, the state machine change to init but no disconnect event report
2. set a wrong password, if router send disassoc or deauth after run, rather than wait 4 way handshake timeout, the state machine change to init but no disconnect event report
Root Cause
Because the routers are in the same channel, all of them are matched the ssid, so all of them can be instore in the rc list wait for connect, when the first one want to connect fail at auth or receive
disassoc or deauth when password wrong, the rc list is not empty, it can not send disconnect event because rc is not empty
Solution
1. put the fail the router in the blacklist
2. Judge whether there is another router can be connect, if it has, try to connect with the next one
VNC MR 561
2018-09-21 06:22:20 +00:00
Roland Dobai
bf443a763f
tools: Support overwrite of includes for gen_esp_err_to_name.py
...
gen_esp_err_to_name.py includes files like
components/lwip/include/apps/esp_ping.h as "apps/esp_ping.h" because all
subdirectories of "include" are used. If "components/lwip/include/apps"
is in the path of the compiler instead of "components/lwip/include" then
include "apps/esp_ping.h" will fail. This fix allows to process lines
like:
'// gen_esp_err_to_name.py: some text "esp_ping.h" some text'
in header files for overwriting the include.
2018-09-21 14:09:37 +08:00
Ivan Grokhotkov
f8750eb58d
lwip: add compatibility headers for sntp.h and esp_ping.h
...
Before LwIP was moved into a submodule, sntp and esp_ping were
available as the following includes:
#include "apps/sntp/sntp.h"
#include "esp_ping.h"
This commit makes header files available at the old location, and adds
a deprecation warning for sntp.h.
Closes https://github.com/espressif/esp-idf/issues/2392
2018-09-21 14:09:37 +08:00
Ivan Grokhotkov
2e6e87816c
Merge branch 'feature/crosstool_backport' into 'master'
...
Backport of work of gcc8 toolchain to v3
See merge request idf/esp-idf!3154
2018-09-21 14:07:41 +08:00
Jeroen Domburg
375c3f6cda
Merge branch 'feature/spi_sync_rebase' into 'master'
...
spi_master: add new polling mode to decrease time cost each transaction
See merge request idf/esp-idf!3120
2018-09-21 10:57:16 +08:00
zhiweijian
81e7689bf3
Component/bt: fix get bond list error sometimes
2018-09-21 02:44:16 +00:00
zhangyanjiao
e7d6c861b5
lwip: fix the bug that IPv6 TCP connection fail
...
The lwip code didn't create an new mld group when netif is up,
this will lead to the server can't find the matching netif when
receiving NS(neighbor solicitation) packet
2018-09-21 10:17:20 +08:00
Angus Gratton
688807d5f6
docs: Don't show Kconfig.projbuild from MQTT submodule examples in docs
2018-09-21 11:05:16 +10:00
Angus Gratton
9421f6611f
doc: Render config items "Found in:" as a set of links to menus
2018-09-21 11:05:13 +10:00
Ivan Grokhotkov
a8754ccc6a
Merge branch 'feature/idf_py_print_flash_cmd' into 'master'
...
tiny-test-fw: Detect either 'download.config' or 'flash_project_args'
See merge request idf/esp-idf!3252
2018-09-20 20:03:21 +08:00
Michael (Xiao Xufeng)
4af51833f3
spi_master: add new polling mode to decrease time cost each transaction
2018-09-20 19:46:46 +08:00
Anton Maklakov
3004744f2c
Merge branch 'bugfix/py273_gen_esp32part' into 'master'
...
partition_table: Fix encoding for Python 2.7.3
See merge request idf/esp-idf!3330
2018-09-20 19:06:52 +08:00
Anton Maklakov
7b4054a468
espcoredump: Fix a test case of new gdb from the new toolchain
2018-09-20 18:53:15 +08:00
Anton Maklakov
0d1285ebcf
bluetooth: fix indentation warning
2018-09-20 18:53:15 +08:00
Anton Maklakov
d6a5cd6e82
mqtt: silence a format warning
2018-09-20 18:53:15 +08:00
Anton Maklakov
d4cbfd34cc
cmake: silence some warnings in coap, bt, expat, libsodium, lwip and examples/bluetooth
2018-09-20 18:53:15 +08:00
Anton Maklakov
90d4a1d1e9
cmake: Add a compatible old GCC flag, fix the cmake example building
2018-09-20 18:53:15 +08:00
Anton Maklakov
3471d369f9
lwip: silence uninitialized and fallthrough warnings
2018-09-20 18:53:15 +08:00
Anton Maklakov
ccbe517702
vfs: fix a fallthrough comment to silence the warning
2018-09-20 18:53:15 +08:00
Anton Maklakov
fdb369c76f
test/cxx: Test for exception from libstdc++ with -fno-exceptions
2018-09-20 18:53:15 +08:00
Alexey Gerenkov
e0f7e196f2
cxx: don’t define stubs for __throw_* functions
...
If exception support is disabled in IDF, and libstdc++ tries to throw
an exception, it will call __cxa_allocate_exception which is replaced
with abort in IDF.
We have a dramatically size reduction of the RO-section in binary when using '__throw_'-stubs in GCC5
In the case of using GCC8, we are faced with 'multiple definition' errors when using '__throw_'-stubs.
Good that we don't have the size problem due to gcc8
2018-09-20 18:53:15 +08:00
Anton Maklakov
43116e6e2d
examples/sdio: Fix an uninitialized buffer which sometimes caused a test fail
2018-09-20 18:53:15 +08:00
Alexey Gerenkov
f0c15e749a
gcov: use GCC API to control GCOV data dumps
2018-09-20 18:53:14 +08:00
Anton Maklakov
9a55557ad8
build system: Add a compatible old GCC flag
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
51c9b6b82d
bt: disable implicit fall through warnings
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
dd5d01a83e
bt: silence unused const variables warning
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
0b35292abe
examples/bluetooth: silence unused const variables warnings
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
c2a04f6517
unity: silence unused const variables warning
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
91fa1764e5
docs: generate toolchain download links
2018-09-20 18:53:14 +08:00
Anton Maklakov
10ec85f848
build system: and gcc8 warnings compatibility option
2018-09-20 18:53:14 +08:00
Anton Maklakov
cce02e45f1
build system: print some information about the compiler
2018-09-20 18:53:14 +08:00
Anton Maklakov
16525d3c28
ci: specify default docker image tag
2018-09-20 18:53:14 +08:00
Anton Maklakov
ab21644df4
toolchain: Set the supported toolchain version in a separate file
2018-09-20 18:53:13 +08:00
Jiang Jiang Jian
d68df94d2b
Merge branch 'bugfix/fix_the_bug_create_socket_fail' into 'master'
...
LWIP: fix the bug that failed to create socket
See merge request idf/esp-idf!3300
2018-09-20 18:43:58 +08:00
Roland Dobai
4465dc29bb
partition_table: Fix encoding for Python 2.7.3
...
struct.pack can handle Unicode argument in latest Python 2.7 but cannot
(at least) in 2.7.3.
2018-09-20 12:01:54 +02:00
Ivan Grokhotkov
59d590ff48
cmake: pass repository path to git when doing git describe
...
Fixes getting IDF version in out-of-tree builds
2018-09-20 16:18:25 +08:00
Roland Dobai
130a8ea324
tiny-test-fw: Detect either 'download.config' or 'flash_project_args'
2018-09-20 06:39:04 +00:00
Angus Gratton
593abe0768
Merge branch 'test/fix_ut_cant_process_test_command' into 'master'
...
test: fix ut can't process test command
See merge request idf/esp-idf!3306
2018-09-20 14:38:25 +08:00
Angus Gratton
8cf0f36dcc
Merge branch 'feature/ecc_crypto_wrappers' into 'master'
...
wpa_supplicant: Implement BIGNUM and ECC crypto wrapper apis for ESP using mbedtls
See merge request idf/esp-idf!3225
2018-09-20 13:46:08 +08:00
Ivan Grokhotkov
9188cb066a
mbedtls: update to 2.13.1
...
See release notes:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.13.0
2018-09-20 04:35:45 +00:00
Ivan Grokhotkov
07211ffeff
Merge branch 'bugfix/py23_nvs_flash_division' into 'master'
...
nvs_flash: fix division for Python 2 & 3
See merge request idf/esp-idf!3292
2018-09-20 12:10:18 +08:00
Ivan Grokhotkov
f5e772242d
Merge branch 'feature/py23_partition_table' into 'master'
...
partition_table: Add Python 2 & 3 support
See merge request idf/esp-idf!3290
2018-09-20 12:09:12 +08:00
Ivan Grokhotkov
7660db290b
Merge branch 'feature/roll_back_python_future' into 'master'
...
Downgrade python-future required version to 0.15.2
See merge request idf/esp-idf!3319
2018-09-20 12:05:50 +08:00
Ivan Grokhotkov
af453841ea
Merge branch 'bugfix/ci_cmake_examples' into 'master'
...
CI/cmake: Fix cmake example build failures, gcov
See merge request idf/esp-idf!3296
2018-09-20 12:05:07 +08:00
Jiang Jiang Jian
7657c1c7d4
Merge branch 'bugfix/btdm_fix_crash_when_test_multi_connect' into 'master'
...
Component/bt: fix crash when test multi_connect
See merge request idf/esp-idf!3274
2018-09-20 12:04:18 +08:00
Ivan Grokhotkov
2e411aeccb
Merge branch 'bugfix/ethernet_infinite_loop' into 'master'
...
ethernet: fix infinite loop when init phy or reset mac
See merge request idf/esp-idf!3307
2018-09-20 11:59:51 +08:00
Ivan Grokhotkov
c09d4787ef
Merge branch 'bugfix/parttool_spaces' into 'master'
...
Remove trailing spaces from parttool.py output
See merge request idf/esp-idf!3317
2018-09-20 11:58:40 +08:00
Jiang Jiang Jian
ffbe5b7ae5
Merge branch 'bugfix/btdm_fix_iphoneX_error_when_get_wifi_list' into 'master'
...
Component/bt: fix iPhoneX error when getting wifi list
See merge request idf/esp-idf!3303
2018-09-20 10:54:43 +08:00
Jiang Jiang Jian
57573d0ed7
Merge branch 'feature/btdm_add_clear_rand_addr_API' into 'master'
...
component/bt: add clear rand address API
See merge request idf/esp-idf!3137
2018-09-20 10:47:37 +08:00
morris
20b7f0ec87
ethernet: fix infinite loop when init phy or reset mac
...
1. fix infinite loop problem when init phy device
2. fix infinite loop problem when reset mac
3. fix little bugs in ethernetif_init
4. fix incompatible return value between lwip and esp-idf
Closes https://github.com/espressif/esp-idf/issues/2331
Closes https://github.com/espressif/esp-idf/issues/2141
2018-09-20 10:09:38 +08:00
Angus Gratton
930ddf2b2c
Merge branch 'bugfix/use_component_srcs' into 'master'
...
List files manually for recently added components
See merge request idf/esp-idf!3315
2018-09-20 07:27:37 +08:00
Shivani Tipnis
ca3acef82c
nvs_util: Add support for old and new multipage blob
2018-09-19 22:00:08 +05:30
Deomid Ryabkov
9999720ed0
Downgrade python-future required version to 0.15.2
...
It works fine and this way python-future from Ubuntu 16.04 and 18.04 can be used.
2018-09-19 16:24:10 +03:00
zhangyanjiao
f2d3efd875
lwip: fix the bug that failed to create socket
...
Closes: https://github.com/espressif/esp-idf/issues/2403
https://github.com/espressif/esp-idf/issues/2414
2018-09-19 09:44:28 +00:00
Ivan Grokhotkov
4e9338e357
Merge branch 'test/fix_incorrect_connect_ap_command' into 'master'
...
test: fix case use depreacated sta connect command
See merge request idf/esp-idf!3309
2018-09-19 17:39:58 +08:00
Ivan Grokhotkov
e4725adc87
Merge branch 'bugfix/startup_detect_single_core' into 'master'
...
esp32: abort when running on single core chip in dual core mode
See merge request idf/esp-idf!3308
2018-09-19 17:32:08 +08:00
Renz Bagaporo
8f85fa1bfb
tcp_transport: list files manually in component cmake file
2018-09-19 16:48:31 +08:00
Renz Bagaporo
8fdfc22e2e
mqtt: list files manually in component cmake file
2018-09-19 16:48:12 +08:00
Angus Gratton
9add51bc6d
doc: Re-add summaries of what children each menu item has
...
Slightly different to the original version of this, but same goal.
2018-09-19 17:27:48 +10:00
Angus Gratton
8721173109
doc: Replace :envvar: config links with :ref:
2018-09-19 17:27:48 +10:00
zhiweijian
fdc352d090
Component/bt: fix iPhoneX error when getting wifi list
2018-09-19 15:17:57 +08:00
Ivan Grokhotkov
789855e71b
esp32: abort when running on single core chip in dual core mode
...
Ref. https://esp32.com/viewtopic.php?f=2&t=7307
2018-09-19 15:05:26 +08:00
Roland Dobai
173e6aab3e
tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py
2018-09-19 08:38:09 +02:00
Sagar Bijwe
112244bac4
wpa_supplicant: Implement BIGNUM and ECC crypto wrapper apis for ESP using mbedtls
2018-09-19 11:10:28 +05:30
He Yin Ling
60f0e9b77b
test: fix case use depreacated sta connect command
2018-09-19 13:31:56 +08:00
Angus Gratton
440b08c128
Merge branch 'bugfix/py23_unit_test' into 'master'
...
Correct Python 3 support for some test related scripts
See merge request idf/esp-idf!3236
2018-09-19 12:39:24 +08:00
Angus Gratton
c15d3c1ffc
examples: Copy ca_cert.pem into both example project dirs
...
Keeps projects all-in-one under a single directory.
2018-09-19 14:38:19 +10:00
Angus Gratton
b38a6da74b
cmake: Fix some failing example builds, fix gcov
2018-09-19 14:38:19 +10:00
He Yin Ling
44e8ec584f
test: ut can't process test command:
...
check ut reset done condition is not correct. If bootup pattern already
exist in cache, we will return without waiting for DUT bootup.
2018-09-19 09:40:59 +08:00
Angus Gratton
4b23d70eec
ci: Split build_examples jobs into make & cmake
...
Fix problem where failures in make were being ignored.
2018-09-19 11:06:27 +10:00
Deomid Ryabkov
d40bfd21dc
Remove trailing spaces from parttool.py output
2018-09-18 16:49:30 +03:00
Roland Dobai
9dc024bc4c
partition_table: Add Python 2 & 3 support
2018-09-18 14:10:55 +02:00
Jiang Jiang Jian
72aaeb26ac
Merge branch 'bugfix/btdm_fix_save_error_key_in_smp_when_reconnect' into 'master'
...
Component/bt: fix save error key in smp when reconnect
See merge request idf/esp-idf!3251
2018-09-18 20:06:38 +08:00
Roland Dobai
da6479e6b7
Correct Python 3 support for some test related scripts
2018-09-18 09:55:51 +00:00
Ivan Grokhotkov
91f7a9a9e7
Merge branch 'feature/lwip_task_affinity' into 'master'
...
lwip: allow setting LwIP tasks affinity via sdkconfig
See merge request idf/esp-idf!2913
2018-09-18 15:10:17 +08:00
Angus Gratton
3276a1316f
Merge branch 'feature/cleanup_freertos_hooks' into 'master'
...
Cleanup freertos idle/tick hooks functionality
See merge request idf/esp-idf!3131
2018-09-18 08:07:41 +08:00
Angus Gratton
822fdd6e53
Merge branch 'feature/tasks_can_return' into 'master'
...
freertos: enclose task functions in wrapper function
See merge request idf/esp-idf!2935
2018-09-18 07:38:24 +08:00
Angus Gratton
e54e41fee7
Merge branch 'bugfix/rtd_docs_build' into 'master'
...
docs: Set a default IDF_PATH in docs build (needed for RTD)
See merge request idf/esp-idf!3272
2018-09-18 07:37:59 +08:00
Angus Gratton
3246404740
Merge branch 'bugfix/cmake_make_flash_target' into 'master'
...
cmake: Fix "make flash" & "ninja flash" targets
See merge request idf/esp-idf!3260
2018-09-18 07:31:57 +08:00
Roland Dobai
7183112cc4
nvs_flash: fix division for Python 2 & 3
2018-09-17 16:01:54 +02:00
zwj
fa00e6d4f7
component/bt: add clear rand address API
2018-09-17 20:09:03 +08:00
Mahavir Jain
ff81dc16e0
freertos: cleanup tick/idle hook functionality
...
If CONFIG_FREERTOS_LEGACY_HOOKS is kept enabled then defining
idle/tick hooks will be applications responsibility as was the
case earlier.
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-09-17 17:05:17 +05:30
Mahavir Jain
152043d469
esp_ringbuf: move ringbuf to seperate component
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-09-17 17:04:57 +05:30
Mahavir Jain
b0ef95b6eb
task_wdt: correct critical section API in ISR context
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-09-17 16:11:15 +05:30
Ivan Grokhotkov
5d1ccb9501
lwip: allow setting LwIP tasks affinity via sdkconfig
...
In some cases applications need to ensure that WiFi/BT related tasks
run on CPU1. This option can be used to set task affinity in such case.
https://github.com/espressif/esp-idf/issues/2233#issuecomment-409220381
2018-09-17 18:17:52 +08:00
Ivan Grokhotkov
5bcb7e26d7
freertos: add Kconfig FREERTOS_NO_AFFINITY constant
...
Use in place of tskNO_AFFINITY in Kconfig files
2018-09-17 18:17:52 +08:00
Jiang Jiang Jian
25c8ecaaf5
Merge branch 'bugfix/tw24884_fix_ampdu_sequence_compitable_issue' into 'master'
...
esp32: Fix AMPDU sequence incompitable bug
See merge request idf/esp-idf!3200
2018-09-17 18:07:14 +08:00
Jiang Jiang Jian
d41ee5c628
Merge branch 'bugfix/btdm_enable_modem_sleep_by_default' into 'master'
...
bugfix/btdm_enable_modem_sleep_by_default
See merge request idf/esp-idf!3284
2018-09-17 16:17:34 +08:00
Liu Zhi Fu
0828e8bd53
esp32: fix AMPDU sequence compitability issue
...
Fix AMPDU RX sequence compitability issue when connecting to some special APs, such as Mercury, Fast etc
2018-09-17 13:57:59 +08:00
Angus Gratton
df215d2f02
Merge branch 'bugfix/cmake_idf_version' into 'master'
...
cmake: prefer `version.txt` for IDF_VER if available
See merge request idf/esp-idf!3279
2018-09-17 12:28:47 +08:00
Ivan Grokhotkov
eea49d250a
Merge branch 'feature/dhcp_skip_discovery' into 'master'
...
DHCP restore last ip and skip discovery
See merge request idf/esp-idf!3132
2018-09-17 12:27:56 +08:00
Ivan Grokhotkov
c305bd09dc
Merge branch 'bugfix/ethernet_low_level_output' into 'master'
...
ethernet: fix some bugs and complete some optimization
See merge request idf/esp-idf!3235
2018-09-17 11:33:50 +08:00
MartinValik
2e79baa1db
lwip: DHCP restore last IP
...
Closes https://github.com/espressif/esp-idf/issues/799
2018-09-17 11:11:25 +08:00
Ivan Grokhotkov
49125a87bb
Merge branch 'bugfix/mdns-lwip-update' into 'master'
...
Update network code for mDNS to work with newest LwIP
See merge request idf/esp-idf!3268
2018-09-17 10:42:04 +08:00
wangmengyang
bca2e110fc
component/bt: enable bluetooth modem sleep as default setting
2018-09-17 10:38:13 +08:00
kooho
50a5985b06
doc(rmt): fixed some typos in rmt example readme file
2018-09-17 10:21:07 +08:00
morris
3063a62e3e
ethernet: fix some bugs in ethernet driver
...
1. create a new pbuf to squash linked pbuf
2. optimize emac driver by adding ESP_IRAM_ATTR
3. remove duplicated function declare in esp_eth.h
4. remove duplicated code in emac_setup_tx_desc
5. disable Promiscuous mode
2018-09-17 10:12:46 +08:00
Ivan Grokhotkov
0c6ff65b34
Merge branch 'bugfix/bootloader_set_freq' into 'master'
...
soc: fix CPU frequency not updated in rtc_clk_init
See merge request idf/esp-idf!3256
2018-09-17 09:49:43 +08:00
krzychb
a556240e3e
Docs: Renamed download links to clearly state they are to download documentation. Fixed incorrectly linked documentation build badge.
2018-09-17 01:19:45 +00:00
Angus Gratton
61af7f3903
Merge branch 'doc/error_handling_zh_CN' into 'master'
...
doc/error-handling: translated error-handling.rst
See merge request idf/esp-idf!3148
2018-09-17 09:08:11 +08:00
Jiang Jiang Jian
518942ec61
Merge branch 'bugfix/tw24694_dns_request_no_reply' into 'master'
...
lwip: add code for sending gratuitous ARP periodically
See merge request idf/esp-idf!3241
2018-09-16 15:18:32 +08:00
Jiang Jiang Jian
67160b2236
Merge branch 'bugfix/mdns_memory_leak' into 'master'
...
feat(mdns): fix bug when clean action memory
See merge request idf/esp-idf!3276
2018-09-16 15:04:46 +08:00
Jiang Jiang Jian
054e1ee767
Merge branch 'bugfix/optimize_scan_capability' into 'master'
...
Wifi: Optimize scan capability
See merge request idf/esp-idf!3242
2018-09-16 14:50:36 +08:00
Deng Xin
427fa52276
Wifi: Optimize scan capability
2018-09-14 22:25:28 +08:00
Mahavir Jain
4ec9aa9a00
cmake: prefer version.txt for IDF_VER if available
2018-09-14 17:25:17 +05:30
Jiang Jiang Jian
18a893bd35
Merge branch 'bugfix/btdm_unreserve_scn1_for_hfp' into 'master'
...
component/bt: Unlock reserve of SCN 1 for HFP
See merge request idf/esp-idf!3269
2018-09-14 19:49:47 +08:00
Jiang Jiang Jian
8001737d3e
Merge branch 'bugfix/ble_adv_data_tx_power' into 'master'
...
fix TX power value in ble adv data is incorrect
See merge request idf/esp-idf!3185
2018-09-14 19:46:16 +08:00
Jiang Jiang Jian
8d537432fd
Merge branch 'bugfix/wifi_fix_some_modem_sleep_bugs' into 'master'
...
esp32: fix some bugs of modem sleep
See merge request idf/esp-idf!3223
2018-09-14 18:24:02 +08:00
me-no-dev
3ec0e7e2d2
Update network code for mDNS to work with newest LwIP
...
- Uses one PCB that listens to all interfaces
- Manages multicast groups for each interface
2018-09-14 11:02:47 +02:00
Liu Han
3d4deb9726
feat(mdns): fix bug when clean action memory
2018-09-14 15:36:52 +08:00
Ivan Grokhotkov
d56a400709
Merge branch 'bugfix/cmake_create_dummy_main_windows' into 'master'
...
cmake: use built-in file function to create dummy main
See merge request idf/esp-idf!3253
2018-09-14 15:18:36 +08:00
Liu Zhi Fu
9121ba22e9
esp32: fix some bugs of modem sleep
...
1. Keep awake to receive beacon at TBTT time no matter which state
station is on.
2. If there is any packet to send on dream or sleep state, send NULL
data with power save bit clear first.
2018-09-14 15:12:34 +08:00
Angus Gratton
773fb42a3a
Merge branch 'bugfix/mqtt_move_kconfig_to_idf' into 'master'
...
MQTT: Moved Kconfig from esp-mqtt submodule to esp-idf to support docs genration in RTD
See merge request idf/esp-idf!3265
2018-09-14 15:05:13 +08:00
baohongde
738522f1a3
component/bt: Unlock reserve of SCN 1 for HFP
2018-09-14 06:22:58 +00:00
Ivan Grokhotkov
31c14a5ee4
Merge branch 'feature/py3_espcoredump' into 'master'
...
espcoredump: Add tests and Python3 support
See merge request idf/esp-idf!3212
2018-09-14 12:39:30 +08:00
Angus Gratton
61835faed1
Merge branch 'bugfix/tcpip_stack_size_default' into 'master'
...
Default stack size for TCPIP task increased to avoid stack overflow.
See merge request idf/esp-idf!3258
2018-09-14 12:23:35 +08:00
David Cermak
1f8bf057a0
MQTT: Moved Kconfig from esp-mqtt submodule to esp-idf to support docs genration in RTD
2018-09-14 04:22:13 +00:00
zhiweijian
d0721e8f6d
Component/bt: fix crash when test multi_connect
2018-09-14 11:18:44 +08:00
Darian Leung
3ba63a520c
freertos: Add task function wrapper
...
This commit adds an option to enclose all FreeRTOS task functions within a
wrapper function. In the case that a task function returns, the wrapper function
will log an error and abort the application immediately.
Closes #2269
Closes #2300
2018-09-14 11:07:54 +08:00
Angus Gratton
11f0c73fb0
Merge branch 'bugfix/undetermined_lang_for_target_bt' into 'master'
...
Fix undetermined language for target bt issue
See merge request idf/esp-idf!3264
2018-09-14 10:39:32 +08:00
Renz Bagaporo
454d65bbab
bt: remove non-existing source file from cmakelists
2018-09-14 08:47:22 +08:00
Angus Gratton
44e4535c90
docs: Set a default IDF_PATH in docs build (needed for RTD)
...
RTD builds don't set IDF_PATH, mqtt component uses this variable.
2018-09-14 09:42:57 +10:00
Jiang Jiang Jian
e6e2d7ebee
Merge branch 'feature/btdm_add_adv_packet_duplicate_in_scan_duplicate' into 'master'
...
component/bt: add adv packet duplicate in scan duplicate
See merge request idf/esp-idf!2939
2018-09-13 18:16:22 +08:00
Dmitry
2ff3f8b0c8
Stack size for TCPIP task increased from 2048 to 3072.
2018-09-13 12:38:56 +03:00
Angus Gratton
b774ac425d
Merge branch 'feature/cmake_ulp_support' into 'master'
...
cmake: add ulp components build support
See merge request idf/esp-idf!3100
2018-09-13 14:54:59 +08:00
Renz Christian Bagaporo
946f55db85
cmake: add ulp components build support
2018-09-13 14:54:59 +08:00
Angus Gratton
62c3218981
Merge branch 'fix/spi_slave_free_cs' into 'master'
...
spi_slave: fix the issue rx dma get broken by master unexpected transaction
See merge request idf/esp-idf!3207
2018-09-13 13:50:56 +08:00
Angus Gratton
30388c7e87
cmake: Fix "make flash" & "ninja flash" targets
...
As reported on forum.
Requires a small CMake wrapper script to pick
up environment variables at flashing time.
2018-09-13 15:08:24 +10:00
Jiang Jiang Jian
60a9462f6e
Merge branch 'bugfix/optimize_BLE_memory_debug' into 'master'
...
component/bt: optimize bluetooth memory debug
See merge request idf/esp-idf!3047
2018-09-13 10:49:26 +08:00
He Yin Ling
4b41bd0cdd
test: fix incorrect tx power value in adv
2018-09-13 09:47:23 +08:00
Angus Gratton
2a1c748834
Merge branch 'bugfix/docs_simplify_home_page' into 'master'
...
There are now visible links to change between English and Chinese version of…
See merge request idf/esp-idf!2983
2018-09-13 09:07:16 +08:00
Angus Gratton
7848cfdde7
Merge branch 'feature/mqtt_component' into 'master'
...
added tuan's mqtt library into idf
See merge request idf/esp-idf!2851
2018-09-13 09:06:09 +08:00
Angus Gratton
514487e9a1
Merge branch 'feature/light_sleep_example' into 'master'
...
examples: add light sleep example
See merge request idf/esp-idf!3179
2018-09-13 09:00:59 +08:00
Angus Gratton
866b880ddc
Merge branch 'feature/cmake_make_component_main_again_fixes' into 'master'
...
cmake: fix source list issues
See merge request idf/esp-idf!3248
2018-09-13 08:56:59 +08:00
Renz Christian Bagaporo
944014f9f2
cmake: fix source list issues
2018-09-13 08:56:59 +08:00
Angus Gratton
cf7ae4d898
Merge branch 'bugfix/main_component_kconfig' into 'master'
...
cmake: don't add main component Kconfig twice
See merge request idf/esp-idf!3250
2018-09-13 07:20:32 +08:00
negativekelvin
171f54bd7e
wpa_supplicant: more wpa2_enterprise fixes
...
Merges https://github.com/espressif/esp-idf/pull/2386
Closes https://github.com/espressif/esp-idf/issues/2383
Closes https://github.com/espressif/esp-idf/issues/2381
2018-09-12 22:29:15 +08:00
Jiang Jiang Jian
91f579d714
Merge branch 'feature/wifi_update_csi_api_and_fix_phy_dport_access_issue' into 'master'
...
esp32: update API to set CSI channel filter and HT_LTF data generating
See merge request idf/esp-idf!3180
2018-09-12 21:29:29 +08:00
negativekelvin
8e2856b83d
soc: fix CPU frequency not updated in rtc_clk_init
...
Add missing call to rtc_clk_cpu_freq_set_config
Merges https://github.com/espressif/esp-idf/pull/2398
2018-09-12 21:13:42 +08:00
Tian Hao
b9382b29fa
fix TX power value in ble adv data is incorrect
...
refence to https://github.com/espressif/esp-idf/issues/2284
Before fixing, the tx power in adv data is always 0xeb(-21dbm).
restriction:
If change BLE advertising TX power, please call esp_ble_gap_config_adv_data()
after BLE adv TX power changed.
Later, will implement set BLE advertising TX power via HCI, then the
TX power value in adv data can be update automatically after BLE adv
TX power changed.
2018-09-12 20:23:45 +08:00
Ivan Grokhotkov
d928465151
cmake: use built-in file function to create dummy main
2018-09-12 20:21:38 +08:00
zhiweijian
c462a66726
Component/bt: fix save error key in smp when reconnect
2018-09-12 19:51:59 +08:00
Ivan Grokhotkov
8a38a2332a
cmake: don't add main component Kconfig twice
2018-09-12 19:37:25 +08:00
Ivan Grokhotkov
c4b0f00985
Merge branch 'bugfix/mdns_service_txt_set' into 'master'
...
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
See merge request idf/esp-idf!3244
2018-09-12 18:43:53 +08:00
He Yin Ling
d4eca3abf5
Merge branch 'bugfix/multi_divece_cant_detect_case' into 'master'
...
fix the bug of multi device framework that dut can't detect case
See merge request idf/esp-idf!3176
2018-09-12 18:29:34 +08:00
morris
d338279c03
doc/error-handling: translated error-handling.rst
...
Translated error-handling.rst from en to zh_CN.
2018-09-12 17:54:33 +08:00
Ivan Grokhotkov
ff2cea0df2
Merge branch 'bugfix/cmake_lambda' into 'master'
...
idf.py: Make the lambda function Python 2 & 3 compatible
See merge request idf/esp-idf!3245
2018-09-12 17:36:03 +08:00
Jiang Jiang Jian
540ccf4177
Merge branch 'bugfix/enlarge_coap_server_pdu' into 'master'
...
fix: response failed when set a large response data
See merge request idf/esp-idf!2627
2018-09-12 16:48:12 +08:00
Jiang Jiang Jian
36337da8b2
Merge branch 'bugfix/btdm_a2dp_role_mixed_up' into 'master'
...
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
See merge request idf/esp-idf!3191
2018-09-12 16:44:53 +08:00
Jiang Jiang Jian
3a19fb7e8a
Merge branch 'bugfix/btdm_controller_enable_failed_in_examples' into 'master'
...
bugfix/btdm_controller_enable_failed_in_examples
See merge request idf/esp-idf!3224
2018-09-12 16:41:58 +08:00
Alex Lisitsyn
ec5eb1e5c2
esp32: Add option to place.rtc_data and .rtc_rodata into the RTC_FAST segment
...
Changes:
KConfig: The option CONFIG_ESP32_RTCDATA_IN_FAST_MEM is added in Kconfig file for esp32 component.
esp32.common.ld: added support of RTC_DATA_ATTR, RTC_RODATA_ATTR data placement into appropriate segment according to Kconfig option.
esp32.ld: linker script is modified to set alias for memory segment selected by Kconfig option to place data. The segments for force placement are added for RTC_FAST_ATTR, RTC_SLOW_ATTR attributes.
esp_attr.h: added new attributes RTC_FAST_ATTR, RTC_SLOW_ATTR for force placement into fest/slow memory.
test_rtc_fast.c: Added unit test cases to check data placement into appropriate memory segment.
Updated documentation for RTC_DATA_ATTR, RTC_FAST_ATTR, RTC_SLOW_ATTR in deep_sleep_stub.rst file.
TW#18001
Closes https://github.com/espressif/esp-idf/issues/1553
2018-09-12 09:25:13 +02:00
houchenyao
73a763fecb
fix the bug that multi device's dut can't detect case
2018-09-12 07:18:00 +00:00
Angus Gratton
500ee99219
Merge branch 'bugfix/fix_mcpwm_api_mismatch_bug' into 'master'
...
driver(mcpwm): Fix some mcpwm related bug
See merge request idf/esp-idf!2510
2018-09-12 14:59:02 +08:00
Angus Gratton
cbcc60ae5f
Merge branch 'doc/rmt_example_doc_improve' into 'master'
...
doc(rmt): update README.md file of rmt related example.
See merge request idf/esp-idf!2636
2018-09-12 14:58:04 +08:00
Ivan Grokhotkov
9bdb28c5c8
Merge branch 'bugfix/py23_packages' into 'master'
...
Improve the Python package installation procedure
See merge request idf/esp-idf!3222
2018-09-12 14:44:21 +08:00
Ivan Grokhotkov
5acf886324
Merge branch 'bugfix/set_a_real_wakeup_period' into 'master'
...
Corrected ULP wakeup period setup API to account for time the ULP FSM spends on…
See merge request idf/esp-idf!3228
2018-09-12 14:42:53 +08:00
David Cermak
23345d2021
MQTT: Integrate esp-mqtt library into idf
...
added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
2018-09-12 08:00:59 +02:00
Angus Gratton
fdabd5e0b1
Merge branch 'feature/check_uniqueness_name_of_partitions' into 'master'
...
partition_table: Check - partition names must be unique
See merge request idf/esp-idf!3204
2018-09-12 12:55:14 +08:00
Konstantin Kondrashov
2a87f00942
partition_table: Check - partition names must be unique
2018-09-12 10:58:38 +08:00
krzychb
c8b342cc40
There are now visible links to change between English and Chinese version of documentation. Therefore information on the home page how to switch between languages has been removed. Added 'Download' link to the menu to provide a more visible access to documentation in PDF format for people who prefer to read it offline.
2018-09-12 04:48:50 +02:00
Roland Dobai
dff7a2a302
idf.py: Make the lambda function Python 2 & 3 compatible
2018-09-11 13:11:04 +02:00
Piyush Shah
e5e2702ca3
bugfix: mdns_service_txt_set() wasn't allocating memory for TXT records
...
Allocation was happening later, causing possible use of stack variables
of caller function, which could be invalid.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2018-09-11 16:23:56 +05:30
Roland Dobai
c3d99dd2e4
Encourage to install python packages without administrative rights
...
Using 'sudo pip install' can cause a lot of problems because usually
there are a couple of Python interpreters installed. This fix encourages
developers to use `pip install --user` instead which is safer.
2018-09-11 08:54:37 +02:00
Roland Dobai
5eb452f72e
Add required Python packages
...
On some systems pip and setuptools are no longer installed as
dependencies of the python packages. This commit adds the requirement
for these packages.
2018-09-11 08:54:37 +02:00
Roland Dobai
b9e1869538
espcoredump: Add tests and Python3 support
2018-09-11 08:53:06 +02:00
zhangyanjiao
237cc88b9f
lwip: add code for sending gratuitous ARP periodically
2018-09-11 14:36:42 +08:00
Angus Gratton
17ac4bad73
Merge branch 'feature/py23_docs' into 'master'
...
docs: Make the Python scripts Python 2&3 compatible
See merge request idf/esp-idf!3226
2018-09-11 12:51:49 +08:00
wangmengyang
ee7a73e5a7
component/bt: release some controller memory according to the configuration of bluetooth examples
2018-09-11 11:32:20 +08:00
wangmengyang
37269dbbca
component/bt: bugfix for mismatch of controller mode in sdkconfig.defaults and source code in some examples
2018-09-11 11:32:04 +08:00
Jiang Jiang Jian
9cce5f5a55
Merge branch 'bugfix/fix_the_bug_when_gateway_zero' into 'master'
...
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0
See merge request idf/esp-idf!3210
2018-09-11 10:57:18 +08:00
zhiweijian
9103a04793
component/bt: add adv packet duplicate in scan duplicate
2018-09-11 02:31:11 +00:00
Angus Gratton
94f86e2d88
Merge branch 'feature/cmake_make_main_component_again' into 'master'
...
cmake: make main a component again
See merge request idf/esp-idf!3202
2018-09-11 09:44:12 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
zhiweijian
469b8c7e8e
component/bt: optimize bluetooth memory debug
2018-09-10 09:19:19 +00:00
Ivan Grokhotkov
82b8db196f
examples: add light sleep example
2018-09-10 17:10:43 +08:00
Angus Gratton
f9bed53ea2
Merge branch 'feature/task_wdt_add_timestamp' into 'master'
...
esp32/task_wdt: Add timestamp to message isr_twdt
See merge request idf/esp-idf!3053
2018-09-10 16:31:20 +08:00
Roland Dobai
004c6fb7ff
Docs: Remove unused kconfiglib.py
2018-09-10 10:28:14 +02:00
Angus Gratton
bd1e80b3f0
Merge branch 'bugfix/esp_ipc_call_blocking' into 'master'
...
ipc: fix `esp_ipc_call_blocking` to return after callback execution is completed
See merge request idf/esp-idf!3218
2018-09-10 16:27:50 +08:00
Jiang Jiang Jian
892fc4ac3f
Merge branch 'feature/btdm_add_set_default_passkey_function' into 'master'
...
Component/bt: add set/clear static passkey function
See merge request idf/esp-idf!3128
2018-09-10 16:08:05 +08:00
Angus Gratton
229fe8e2e4
Merge branch 'feature/esp-wrover-kit-v4_1' into 'master'
...
Included ESP-WROVER-KIT V4.1 in documenation: Added 'Get Started' guide and updated 'HW Reference'. Closes https://github.com/espressif/esp-idf/issues/2363 . Closes https://github.com/espressif/esp-idf/issues/2365 .
See merge request idf/esp-idf!3161
2018-09-10 14:48:41 +08:00
Angus Gratton
c5265b12dd
Merge branch 'feature/http_client_custom_method' into 'master'
...
esp_http_client: add support OPPTIONS/SUB/UNSUB/NOTIFY methods
See merge request idf/esp-idf!3214
2018-09-10 14:44:27 +08:00
Roland Dobai
f5a642840a
docs: Make the Python scripts Python 2&3 compatible
2018-09-10 08:37:43 +02:00
Ivan Grokhotkov
c76b6d07f0
Merge branch 'fix/sdio_slave_recv_isr_load' into 'master'
...
sdio_slave: fix the recv crash when trans finish and load at the same time
See merge request idf/esp-idf!3217
2018-09-10 14:37:18 +08:00
krzychb
f6b0b27026
Corrected number of FSM cycles and related description
2018-09-10 07:14:19 +02:00
krzychb
5eee2bf37d
Corrected ULP wakeup period setup API to account for time the ULP FSM spends on internal tasks before being able to execute the program. Inspired by https://esp32.com/viewtopic.php?f=2&t=7081 .
2018-09-10 07:08:12 +02:00
michael
8f88a81f30
sdio_slave: fix the recv crash when trans finish and load at the same time
2018-09-10 13:06:54 +08:00
Ivan Grokhotkov
27d1b04500
Merge branch 'bugfix/cmake_examples_check_stage' into 'master'
...
ci: verify example CMakeLists.txt at check stage
See merge request idf/esp-idf!3230
2018-09-10 12:43:29 +08:00
Ivan Grokhotkov
f41eeb9e03
ci: verify example CMakeLists.txt at check stage
2018-09-10 12:02:02 +08:00
wangmengyang
36a8cd1bf5
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up
...
AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish
2018-09-10 03:35:58 +00:00
wangmengyang
9621904cdc
component/bt: stop to initiate AVDTP connection on failure of A2DP service discovery
...
In opening state of AVDTP connection, if SDP client fails to get valid A2DP service record\
from peer SDP server, then do not initiate AVDTP connection request
2018-09-10 03:35:58 +00:00
wangmengyang
e9e3bc492b
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
...
In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source
2018-09-10 03:35:58 +00:00
Angus Gratton
9844779553
Merge branch 'bugfix/add_missing_CMakeLists' into 'master'
...
Added missing CMakeLists.txt file to satisfy CI checks
See merge request idf/esp-idf!3229
2018-09-10 10:54:48 +08:00
krzychb
15c10b3cbe
Added missing CMakeLists.txt file to satisfy CI checks
2018-09-09 21:32:57 +02:00
Mahavir Jain
94c571c017
ipc: fix esp_ipc_call_blocking to return after callback execution is completed
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-09-07 14:19:35 +05:30
He Yin Ling
6f5820814f
Merge branch 'test/driver_case_review' into 'master'
...
Test/driver case review
See merge request idf/esp-idf!3206
2018-09-07 16:48:59 +08:00
Ivan Grokhotkov
7e514c11ca
Merge branch 'bugfix/http_server_strcasecmp' into 'master'
...
using case-insensitive compare for getting http header
See merge request idf/esp-idf!3155
2018-09-07 16:45:52 +08:00
Angus Gratton
e7243a2cdd
Merge branch 'doc/eclipse_parallel_build' into 'master'
...
doc: Add parallel builds to the Eclipse setup guide
See merge request idf/esp-idf!3209
2018-09-07 16:03:53 +08:00
Ivan Grokhotkov
457e8d4265
Merge branch 'bugfix/slow_mem_keep_rtc_noinit' into 'master'
...
sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used
See merge request idf/esp-idf!3213
2018-09-07 15:54:52 +08:00
morris
1e9ce6a2e1
doc: translate parallel build in Eclipse
2018-09-07 14:39:40 +08:00
Angus Gratton
4eeed31a04
Merge branch 'feature/cmake' into 'master'
...
Merge experimental CMake support to master
See merge request idf/esp-idf!3024
2018-09-07 13:44:17 +08:00
michael
2d748b5d38
spi_slave: fix the issue rx dma get broken by master unexpected transaction
2018-09-07 12:04:55 +08:00
Angus Gratton
70cacc8b4e
doc: Add parallel builds to the Eclipse setup guide
2018-09-07 11:48:17 +08:00
Tuan PM
738d49e02b
esp_http_client: add support OPPTIONS/SUB/UNSUB/NOTIFY methods
2018-09-07 03:06:09 +00:00
XiaXiaotian
7d56115992
esp32: update API to set CSI channel filter and HT_LTF data generating
...
method and apply pre-read APB register dport access method to PHY
Close: https://github.com/espressif/esp-idf/issues/2337
2018-09-07 11:05:59 +08:00
Tuan PM
958bf62e5f
http_server: using case-insensitive compare for getting http header
2018-09-07 03:04:43 +00:00
zhiweijian
d12982dc6e
Component/bt: add set default passkey function
2018-09-07 10:55:44 +08:00
Angus Gratton
aab43e6dda
Merge branch 'bugfix/enlarge_ethernet_mac_stack_size' into 'master'
...
ethernet: enlarge ethernet task stack size
See merge request idf/esp-idf!3203
2018-09-07 10:47:30 +08:00
Ivan Grokhotkov
8893438f08
Merge branch 'feature/cpp_exceptions_example' into 'master'
...
examples: add C++ exception handling example
See merge request idf/esp-idf!3178
2018-09-07 10:34:18 +08:00
Ivan Grokhotkov
13107d5968
Merge branch 'feature/light_sleep_gpio_uart_wakeup' into 'master'
...
sleep: add support for GPIO and UART wakeup from light sleep
See merge request idf/esp-idf!3004
2018-09-07 10:33:33 +08:00
morris
161a506f00
ethernet: enlarge ethernet task stack size
...
1. In original driver, the stack size for emac driver task "emacT" is only 2048 Bytes, which also can not be changed by user.
2. Each time when invoking "emac_start" function, it will reset emac registers, the driver should reconfig some important registers again.
2018-09-07 10:16:34 +08:00
Jiang Jiang Jian
8484b9cfd3
Merge branch 'feature/btdm_legacy_paring' into 'master'
...
component/bt: Add Legacy Pairing
See merge request idf/esp-idf!3057
2018-09-07 10:15:52 +08:00
Angus Gratton
36bc73e5a6
idf.py: Choose a default serial port for all targets if '-p' is not given
2018-09-06 20:32:49 +08:00
Angus Gratton
deb46b415f
lwip: Re-add CONFIG_PPP_SUPPORT check, remove redundant CFLAGS
2018-09-06 20:23:20 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Jiang Jiang Jian
affe75a102
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len' into 'master'
...
bugfix/btdm_hfp_invalid_hci_sync_pkt_len
See merge request idf/esp-idf!3186
2018-09-06 19:51:42 +08:00
houchenyao
0cfed0b79b
rmt test: add the case for bug in github[ #1815 ]
2018-09-06 19:43:30 +08:00
houchenyao
47fcdeaa0b
rmt test: add case test test the bug of re-install problem
...
add pending bug case:rmt_tx_stop function cause the re-install fail when rmt_config_t.tx_config.loop_en==true
2018-09-06 19:43:30 +08:00
houchenyao
09dd1034de
rmt test: add case to check memory block.
...
add RMT channel num and memory block relationship test case to check the memory block range is used in right way.
2018-09-06 19:43:30 +08:00
houchenyao
836d01dcea
ledc test: ignore one case.
...
a bug caused by pcnt. it will fail randomly caused by PCNT bug. It will open when PCNT problem is resolved
2018-09-06 19:43:30 +08:00
Jiang Jiang Jian
b999d10e8c
Merge branch 'feature/sync_lwip_as_submodule' into 'master'
...
Feature/sync lwip as submodule
See merge request idf/esp-idf!2685
2018-09-06 19:43:08 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
houchenyao
f647ea81cc
pcnt test: ignore pcnt two test cases
...
a bug caused by pcnt. these two cases has about 10% fail ratio. they fail randomly in CI. stress test needed. they are ignored until this bug fixed.
2018-09-06 19:42:20 +08:00
Ivan Grokhotkov
de0e9a1e05
Merge branch 'bugfix/http_server_example_tests_regex' into 'master'
...
HTTP Server Example Tests : Fix various issues
See merge request idf/esp-idf!3162
2018-09-06 19:37:11 +08:00
Angus Gratton
55756550dd
Merge branch 'feature/pyenv_multiple_run' into 'master'
...
CI: Simplify running commands with several versions of Python
See merge request idf/esp-idf!3123
2018-09-06 19:29:03 +08:00
Ivan Grokhotkov
281345c53a
sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used
...
Fixes a bug that if application uses RTC_NOINIT variables but doesn’t
use RTC_DATA variables, then RTC_NOINIT variables loose their values
after deep sleep.
Reported in https://esp32.com/viewtopic.php?f=2&t=7045&p=30301#p30299
2018-09-06 18:31:17 +08:00
Roland Dobai
9538059f84
CI: Simplify running commands with several versions of Python
2018-09-06 11:50:17 +02:00
houchenyao
22ac8cf424
ledc test: test low speed mode frequency.
...
remove the comment to test the scenario that ledc in low speed mode frequency can be changed, to make sure the bug has been resolved
2018-09-06 17:44:39 +08:00
houchenyao
98c868ff09
gpio test: add GPIO multi-level interrupt test
...
add case to test the bug of v3.0. If we trigger the level interrupt more than once, will cause the interrupt be triggered many times
2018-09-06 17:43:23 +08:00
XieWX
f278c7c9f8
docs: refactor BLE iBeacon demo readme
2018-09-06 17:31:03 +08:00
krzychb
91c7149f6e
Included information about power on and diagnostics LEDs. Closes https://github.com/espressif/esp-idf/issues/2365 .
2018-09-06 11:28:23 +02:00
Angus Gratton
c1b8949a1e
cmake: Add CMakeLists.txt file for WiFi station example
2018-09-06 16:20:13 +08:00
Ivan Grokhotkov
599da58070
Merge branch 'feature/disable_rom_logging' into 'master'
...
esp32/sleep: Add a function to disable logging from ROM code
See merge request idf/esp-idf!3182
2018-09-06 16:11:23 +08:00
Ivan Grokhotkov
09d0b8d47b
sleep: allow esp_sleep_get_wakeup_cause to be used for light sleep
2018-09-06 15:42:34 +08:00
Ivan Grokhotkov
6fbf585703
docs/sleep: mention new wakeup sources, use generated API reference
2018-09-06 15:42:34 +08:00
Ivan Grokhotkov
31e969aded
examples/console: add light sleep command
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
cf4f2c19e4
sleep: allow disabling all wakeup sources
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
75629b7fc3
sleep: add support for GPIO and UART wakeup from light sleep
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
002d913ab6
uart: add function to set light sleep wakeup threshold
2018-09-06 15:40:46 +08:00
Ivan Grokhotkov
1c5522575e
driver/gpio: support wakeup function for RTC IOs
2018-09-06 15:40:46 +08:00
zhangyanjiao
770e413d4c
esp32: fix the bug that SYSTEM_EVENT_STA_GOT_IP is forbidden when gateway is 0.0.0.0
...
Closes: https://github.com/espressif/esp-idf/issues/2344
2018-09-06 14:52:04 +08:00
Jiang Jiang Jian
5c3ca78a07
Merge branch 'bugfix/btdm_discovery_ble' into 'master'
...
component/bt : fix bug that set discovery mode will stop ble adv
See merge request idf/esp-idf!3183
2018-09-06 14:18:11 +08:00
Jiang Jiang Jian
e675c3cfed
Merge branch 'test/split_test_env_for_integration_test' into 'master'
...
test: split CI test environment
See merge request idf/esp-idf!3099
2018-09-06 13:09:11 +08:00
Angus Gratton
0bc5dcc2c2
cmake: Post-merge fixups
2018-09-06 11:14:30 +08:00
krzychb
1d99531328
Corrected RGB LED pin assignment. Closes https://github.com/espressif/esp-idf/issues/2363 .
2018-09-05 22:10:42 +02:00
krzychb
62389b6be6
Included ESP-WROVER-KIT V4.1 in documenation: Added 'Get Started' guide and updated 'HW Reference'
2018-09-05 22:10:42 +02:00
Anurag Kar
3ed5af18fd
HTTP Server Example Tests : Fix various issues
...
* Fixed regex constraints for parsing IP and other parameters from monitor log.
* httplib connection timeouts set
* Redundent tests (commented out earlier) have been removed from advanced_tests. These tests are already run during unit testing.
2018-09-05 23:29:07 +05:30
Ivan Grokhotkov
a0d2dd0385
Merge branch 'bugfix/eclipse_compiler_command_cpp' into 'master'
...
docs/eclipse: update command to get compiler specs
See merge request idf/esp-idf!3167
2018-09-05 18:35:25 +08:00
Angus Gratton
b1380707e4
Merge branch 'bugfix/ci_github_deploy' into 'master'
...
ci: Fix spurious pipeline failure when deploying a tag to GitHub
See merge request idf/esp-idf!3021
2018-09-05 18:07:24 +08:00
Jiang Jiang Jian
d7079b6842
Merge branch 'bugfix/tw25969_esp_derive_local_mac_missing' into 'master'
...
defination: fix the bug that esp_derive_local_mac() defination missing
See merge request idf/esp-idf!3198
2018-09-05 17:21:02 +08:00
zhangyanjiao
8d698a59f4
defination: fix the bug that esp_derive_local_mac() defination missing
...
Closes: https://github.com/espressif/esp-idf/issues/2352
2018-09-05 14:36:37 +08:00
Ivan Grokhotkov
312424b5ac
docs: update command to get compiler specs in a few more places
2018-09-05 11:05:52 +08:00
Ivan Grokhotkov
bcd384eb87
Merge branch 'doc/get_started_override_options' into 'master'
...
doc: Add environent variable overriding to get started
See merge request idf/esp-idf!3160
2018-09-05 11:02:47 +08:00
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
Ivan Grokhotkov
52477d77fb
Merge branch 'bugfix/nvs_doc' into 'master'
...
nvs_flash: Minor changes to NVS documentation
See merge request idf/esp-idf!3192
2018-09-05 10:20:34 +08:00
He Yin Ling
b9f7e0a1a2
test: split CI test environment:
...
Currently CI test environment is complicated, usually includes NIC, AP.
These devices are not used for a lot test cases. Therefore we split the
test environment, remove unnecessary devices. Then it will be easier to
create CI runners.
2018-09-05 01:45:48 +00:00
Darian Leung
d268677017
doc: Add environemt variable overriding to get started
...
This comit adds details about the overriding of environment variables such as
ESPPORT and ESPBAUD to the get started guide.
2018-09-05 02:05:31 +08:00
Sagar Bijwe
db7c257f33
nvs_flash: Minor changes to NVS documentation
...
1) Change API doc to reflect new limits on string and blob length.
2) Add "version" field to Page Header structure in README.
Fixes: https://github.com/espressif/esp-idf/issues/2321
2018-09-04 18:51:31 +05:30
baohongde
bd8b9960d5
component/bt: Add Legacy Pairing
2018-09-04 21:11:03 +08:00
Ivan Grokhotkov
cb2876ff4e
examples: add C++ exception handling example
2018-09-04 21:00:14 +08:00
Ivan Grokhotkov
6d865c6104
Merge branch 'feature/termios' into 'master'
...
Add basic support for termios.h
See merge request idf/esp-idf!3085
2018-09-04 20:42:21 +08:00
Ivan Grokhotkov
97b2281c49
Merge branch 'bugfix/can_driver_multiple_bugs' into 'master'
...
CAN: Add pm_lock, fix gpio bug, update docs
See merge request idf/esp-idf!3138
2018-09-04 20:34:06 +08:00
Ivan Grokhotkov
2469718481
Merge branch 'bugfix/check_python_order_only_prereq' into 'master'
...
Use check_python_dependencies everywhere as order-only-prerequisite
See merge request idf/esp-idf!3174
2018-09-04 20:31:49 +08:00
Ivan Grokhotkov
4197ee746a
Merge branch 'bugfix/monitor_win_encoding' into 'master'
...
idf_monitor: Fix Unicode decoding on Windows
See merge request idf/esp-idf!3157
2018-09-04 20:31:37 +08:00
wangmengyang
4e6b3936c0
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length
2018-09-04 20:09:07 +08:00
Jiang Jiang Jian
f83926a6e6
Merge branch 'doc/btdm_a2dp_sink_example_improvement' into 'master'
...
component/bt: fix the format and add more content to A2DP sink example
See merge request idf/esp-idf!2995
2018-09-04 19:37:31 +08:00
Jiang Jiang Jian
619eadf8d3
Merge branch 'doc/btdm_a2dp_source_example_improvement' into 'master'
...
component/bt: fix the format and add more content to A2DP source example
See merge request idf/esp-idf!2996
2018-09-04 19:14:55 +08:00
Jiang Jiang Jian
69610acbe3
Merge branch 'feature/modify_simple_wifi' into 'master'
...
modify simple wifi example to getting_started example
See merge request idf/esp-idf!3143
2018-09-04 19:04:42 +08:00
Angus Gratton
2ec0fd8fd6
Merge branch 'feature/signature_verify_updates' into 'master'
...
secure boot: Support signed app verification without hardware secure boot
See merge request idf/esp-idf!2814
2018-09-04 18:56:47 +08:00
Konstantin Kondrashov
dbad72e6b5
examples/ulp: Add using esp_deep_sleep_disable_rom_logging
2018-09-04 18:21:34 +08:00
Tian Hao
069f495006
component/bt : fix bug that set discovery mode will stop ble adv
...
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.
Reference to https://github.com/espressif/esp-idf/issues/2306
2018-09-04 17:07:10 +08:00
Konstantin Kondrashov
38098b713f
esp32/sleep: Add a function to disable logging from ROM code
2018-09-04 16:03:18 +08:00
zhangyanjiao
45d596d821
1. modify simple wifi example
...
2. add README file
2018-09-04 14:44:43 +08:00
Jiang Jiang Jian
b91cf5a33f
Merge branch 'bugfix/esp_bt_mem_release' into 'master'
...
components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM
See merge request idf/esp-idf!3121
2018-09-04 14:17:10 +08:00
Jiang Jiang Jian
76669ca817
Merge branch 'feature/modify_espnow' into 'master'
...
modify espnow example
See merge request idf/esp-idf!3144
2018-09-04 13:09:43 +08:00
Angus Gratton
e54f3d9616
Merge branch 'bugfix/bootloader_random_in_app' into 'master'
...
esp32: Allow bootloader_random.h use in app, add esp_fill_random() function
See merge request idf/esp-idf!3124
2018-09-04 10:39:12 +08:00
Angus Gratton
49656656c3
Merge branch 'bugfix/lock_up_if_supply_is_varying' into 'master'
...
bootloader_support: Fix enable wdt for resolve issue with varying supply
See merge request idf/esp-idf!2769
2018-09-04 00:37:52 +08:00
Angus Gratton
6fa52ca8fe
cmake: Call check_python_dependencies.py from idf.py & cmake
2018-09-03 18:37:53 +08:00
Roland Dobai
f755a0371d
Use check_python_dependencies everywhere as order-only-prerequisite
2018-09-03 11:42:10 +02:00
Angus Gratton
1c452c8e98
Merge branch 'bugfix/make_mconf_deps' into 'master'
...
kconfig: Don't include system headers in dependency files
See merge request idf/esp-idf!3163
2018-09-03 15:43:20 +08:00
Angus Gratton
6976f5671c
Merge branch 'bugfix/heap_dma_pool_fixes' into 'master'
...
heap: Fixes around DMA reserved pool
See merge request idf/esp-idf!3034
2018-09-03 15:43:01 +08:00
Angus Gratton
1a0b39a1b3
Merge branch 'bugfix/add_core_id_to_idle_task_name' into 'master'
...
freertos: Add core ID to idle task names
See merge request idf/esp-idf!3159
2018-09-03 14:40:37 +08:00
Konstantin Kondrashov
26ee0f5203
esp32/task_wdt: Add timestamp to message isr_twdt
...
Closes https://github.com/espressif/esp-idf/issues/2270
2018-09-03 14:31:22 +08:00
Konstantin Kondrashov
4fc84306a2
esp32/task_wdt: Add esp_task_wdt_isr_user_handler function
...
Added esp_task_wdt_isr_user_handler function to receive twdt events in
the user code.
Closes https://github.com/espressif/esp-idf/issues/2270
2018-09-03 14:31:20 +08:00
Darian Leung
977619f23c
freertos: Add core ID to idle task names
...
This commit adds the core number to the name of each idle task.
2018-09-03 13:50:05 +08:00
Konstantin Kondrashov
9c715d7946
bootloader_support: Fix enable rtc_wdt for resolve issue with varying supply
...
Eliminates the issue with the lock up in the bootloader due to a power drawdown during its operation.
Closes https://github.com/espressif/esp-idf/issues/1814
2018-09-03 05:43:01 +00:00
Angus Gratton
83a179abb0
esp32: Add esp_fill_random() function
...
Convenience function to fill a buffer with random bytes.
Add some unit tests (only sanity checks, really.)
2018-09-03 04:39:45 +00:00
Angus Gratton
767ec27350
bootloader_support: Move bootloader_random.h to public header directory
2018-09-03 04:39:45 +00:00
Angus Gratton
ae4efeb3dc
mconf: Don't include system headers in dependency files
...
Fixes issue where build gets stuck because of .d files in the
tools/kconfig directory.
Closes https://github.com/espressif/esp-idf/issues/712
2018-09-03 03:45:15 +00:00
Angus Gratton
5f1844a0c8
Merge branch 'bugfix/heap_poison_swap_check' into 'master'
...
heap: When verifying & swapping a fill pattern, stop swapping if verification fails
See merge request idf/esp-idf!2890
2018-09-03 11:19:16 +08:00
Angus Gratton
084ca82f96
Merge branch 'feature/bootloader_minor_enhancements' into 'master'
...
Feature/bootloader minor enhancements
See merge request idf/esp-idf!3111
2018-09-03 10:56:30 +08:00
Angus Gratton
27a1758908
Merge branch 'mesh/rewrite_docs' into 'master'
...
docs/rewrite_mesh_docs
See merge request idf/esp-idf!2990
2018-09-03 10:52:33 +08:00
Darian Leung
f4c3917712
docs/rewrite_mesh_docs
...
The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.
2018-09-02 21:34:21 +08:00
negativekelvin
1d5dc2b9ef
wpa2_enterprise fixes
2018-09-01 22:19:48 -07:00
Darian Leung
dc3fa14a26
CAN: Add pm_lock, fix gpio bug, update docs
...
This commit does the following
- Add power management lock to CAN driver so that APB frequency does not change
whilst CAN driver is in use
- Fix incorrect flag in can_transmit()
- Refactor can_driver_install() and can_driver_uninstall() so that critical sections
are shorter
- Fix CAN gpio configuration bug on RX pin. Closes #2302
- Add docs about multiple ID configuration and fix example links
2018-09-01 02:46:05 +08:00
Hrishikesh Dhayagude
4abe47437f
components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM
...
Problem:
The new API esp_bt_mem_release() that was added freed BTDM data to heap from esp_bt_controller_mem_release().
Now with the BT memory optimization commit ee787085f9 ,
the BTDM data is optimized and reduced to only 32 bytes which is not sufficient amount to be added to heap.
So, using the API leads to assert saying that the region is too small.
Solution:
Modify heap_caps_add_region_with_caps to return ESP_ERR_INVALID_SIZE in case the range is too small to create a new heap.
Do not assert if return value is ESP_ERR_INVALID_SIZE
This also fixes using API esp_bt_controller_mem_release() with ESP_BT_MODE_BTDM
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-08-31 14:28:23 +00:00
Jiang Jiang Jian
a557e8cc14
Merge branch 'bugfix/fix_bt_hdr_files' into 'master'
...
components/bt: Make a pass through Bluetooth header files
See merge request idf/esp-idf!3093
2018-08-31 22:04:39 +08:00
Jiang Jiang Jian
2d0124698e
Merge branch 'bugfix/btdm_update_private_address' into 'master'
...
component/bt: Update BLE private address after it's private address interval
See merge request idf/esp-idf!2987
2018-08-31 21:33:54 +08:00
Jiang Jiang Jian
4542bf19f7
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash' into 'master'
...
component/bt: Fix bug rfcomm test command cause crash
See merge request idf/esp-idf!3080
2018-08-31 21:33:39 +08:00
Jiang Jiang Jian
e3778d7bd9
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success' into 'master'
...
component/bt: Fix bug of SDP find services by uuid always return success
See merge request idf/esp-idf!3036
2018-08-31 21:27:21 +08:00
Jiang Jiang Jian
da1a439153
Merge branch 'feature/modify_smart_config' into 'master'
...
modify smart config example
See merge request idf/esp-idf!3142
2018-08-31 21:01:57 +08:00
Jiang Jiang Jian
430eeef5a2
Merge branch 'bugfix/esp_wifi_disconnect_fail' into 'master'
...
update wifi lib to fix two bugs
See merge request idf/esp-idf!3125
2018-08-31 21:01:12 +08:00
Jiang Jiang Jian
76413309a5
Merge branch 'bugfix/tw23350_fix_brownout_reset' into 'master'
...
when brownout reset occurs, set the phy TX Power to the lowest
See merge request idf/esp-idf!2854
2018-08-31 20:37:18 +08:00
zhangyanjiao
6daecf73ce
modify espnow example
2018-08-31 19:21:15 +08:00
Roland Dobai
276cba1103
idf_monitor: Fix Unicode decoding on Windows
...
Closes https://github.com/espressif/esp-idf/issues/2348
2018-08-31 12:20:55 +02:00
Angus Gratton
38c0626090
cmake app_update: Add "flash blank otadata" functionality to cmake
2018-08-31 12:30:14 +08:00
Angus Gratton
a6282e3e5e
cmake idf.py: Print flasher file arguments in order of file offset
...
Previously, order was random
2018-08-31 12:29:38 +08:00
Angus Gratton
c921f14128
cmake: Generate list of components with dependent items first, use deterministic ordering
...
Guarantees that a component's project_include.cmake will be called after its dependent components'
project_include.cmake. Because of cycles in the dependency graph, this is less useful than you'd
think but it gives a strong guarantee for any component which is not part of a cycle.
Also applies deterministic ordering (ordering is initialised as COMPONENT_REQUIRES_COMMON then all
COMPONENTS in alphabetical order, but then the sorting by dependencies is applied.)
2018-08-31 12:29:13 +08:00
zhangyanjiao
b952031947
fix the esp_wifi_disconnect() err when wifi is not started or inited
...
Closes: https://github.com/espressif/esp-idf/issues/2336
2018-08-31 10:49:52 +08:00
Angus Gratton
6de75e03ac
Merge branch 'ci/add_check_stage' into 'master'
...
ci: Add 'check' stage, move all check-related jobs to this stage
See merge request idf/esp-idf!2986
2018-08-31 10:08:59 +08:00
Dennis Damen
d8cf8074ec
Updated command to get compiler specs.
...
Eclipse was unable to resolve the std::mutex type eventhough the mutex header file was succesfully included. By adding this modification, the issues was resolved.
2018-08-30 22:00:47 +02:00
Jiang Jiang Jian
4cd1643006
Merge branch 'bugfix/btdm_security_vulnerability' into 'master'
...
fix bluetooth security vulnerability of ECDH public key checking
See merge request idf/esp-idf!3089
2018-08-31 02:02:59 +08:00
Jiang Jiang Jian
cda3eff3a2
Merge branch 'bugfix/wifi_reorder_mpdu_as_ampdu' into 'master'
...
esp32: reorder MPDU as AMPDU
See merge request idf/esp-idf!3108
2018-08-31 01:59:50 +08:00
XiaXiaotian
cfaf6c2729
esp32: reorder MPDU as AMPDU
...
Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
receive both AMPDU and MPDU in order, MPDU must be reordered with
AMPDU.
2018-08-30 17:18:48 +00:00
Roland Dobai
5395435816
Add basic support for termios.h
...
Closes https://github.com/espressif/esp-idf/issues/2063
2018-08-30 14:29:20 +02:00
Ivan Grokhotkov
499d06746b
Merge branch 'bugfix/py3_error_code_generator_from_docs' into 'master'
...
Docs: Check Python packages
See merge request idf/esp-idf!3135
2018-08-30 20:25:09 +08:00
zhangyanjiao
98cf74d1b7
modify static variables and README file
2018-08-30 19:52:10 +08:00
Roland Dobai
7cfef29eb8
Docs: Check Python packages
2018-08-30 13:20:42 +02:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
31cbd1b251
Merge branch 'feature/emmc_ddr' into 'master'
...
sdmmc: eMMC support, command layer refactoring
See merge request idf/esp-idf!3062
2018-08-30 18:14:35 +08:00
Angus Gratton
7440d5f920
Merge branch 'feature/py3_idf_size' into 'master'
...
tools: Support Python 3 in idf_size.py
See merge request idf/esp-idf!2849
2018-08-30 18:12:17 +08:00
zhangyanjiao
5425979932
when brownout reset occurs,set the phy TX Power to the lowest
2018-08-30 14:22:03 +08:00
Angus Gratton
c4ed9d15f7
heap: Drop priority of DMA reserved memory pool
...
Ensures that non-reserved memory should be used up first, before allocating from this pool.
2018-08-30 06:18:18 +00:00
Angus Gratton
776c57e0ac
heap: When adding a new heap, allocate its metadata block from internal memory only
2018-08-30 06:18:18 +00:00
Angus Gratton
fafe532f35
ci: Add 'check' stage, move all check-related jobs to this stage
...
Allows us to prevent pushing to GitHub if a check fails on master/release branch.
2018-08-30 14:14:48 +08:00
Ivan Grokhotkov
da34e3eb68
sdmmc: document eMMC support, host features
2018-08-30 13:14:26 +08:00
Ivan Grokhotkov
b7e5b28f49
sdmmc: update unit tests for ESP_eMMC_TestBoard_V1
...
1. New tests for SD card on slot 0. Currently frequency for 4-bit mode
has to be reduced in the test.
2. Change pin for CD/WP tests, re-enable CD tests.
2018-08-30 13:14:26 +08:00
Ivan Grokhotkov
78fab8a0f9
sdmmc: implement partial DDR support
...
Works for 3.3V eMMC in 4 line mode.
Not implemented:
- DDR mode for SD cards (UHS-I) also need voltage to be switched to 1.8V.
- 8-line DDR mode for eMMC to be implemented later.
2018-08-30 13:11:54 +08:00
Ivan Grokhotkov
de42d99b1d
sdmmc: command layer refactoring
2018-08-30 13:11:54 +08:00
Angus Gratton
1806a69abf
Merge branch 'bugfix/http_server_example_tests' into 'master'
...
http_server : Fix and enable example tests
See merge request idf/esp-idf!2960
2018-08-30 12:46:29 +08:00
Tian Hao
5a8917c337
fix bluetooth security vulnerability of ECDH publick key checking
2018-08-30 11:39:19 +08:00
sergiu2014
383464749a
eMMC/MMC support for ESP32
...
Merges https://github.com/espressif/esp-idf/pull/1941
Previous work in https://github.com/espressif/esp-idf/pull/590
2018-08-30 11:36:28 +08:00
Ivan Grokhotkov
80e47a005d
sdmmc host: minor cleanup
...
Code style, comments
2018-08-30 11:36:28 +08:00
Angus Gratton
100a325129
Merge branch 'fix/spi_example_wait_gpio' into 'master'
...
spi: fix the misleading example, letting the master wait until slave is ready
See merge request idf/esp-idf!3136
2018-08-30 11:29:38 +08:00
He Yin Ling
b01e87bbaf
Merge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'
...
test: fix bug of BTSTK_GATT_25007
See merge request idf/esp-idf!3096
2018-08-30 11:19:04 +08:00
Jiang Jiang Jian
9be09692b1
Merge branch 'bugfix/btdm_get_acl_num' into 'master'
...
component/bt : fix get acl number incorrect due to memory release
See merge request idf/esp-idf!3090
2018-08-30 11:12:46 +08:00
Angus Gratton
e5842f69d0
Merge branch 'doc/python_sphinx_build' into 'master'
...
docs: Call 'python -m sphinx' instead of sphinx-build
See merge request idf/esp-idf!3127
2018-08-30 11:02:35 +08:00
Angus Gratton
ff54bfcde1
Merge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'
...
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation
See merge request idf/esp-idf!3041
2018-08-30 10:00:07 +08:00
Anurag Kar
e2b4ad8f6e
Temporary : Disable leak tests
2018-08-30 03:01:59 +05:30
Anurag Kar
e2da1d9905
http_server : Fix and enable example tests
...
This introduces the following changes in the example test scripts :
* Dependency on python requests library removed in favor of httplib
* Bug fixed in the logic responsible for receiving and processing http chunked responses
* Default timeouts increased Note : Due to connectivity issues (between runner host and DUT) in the runner environment, some of the advanced_tests are being ignored. These tests are intended for verifying the expected limits of the http_server capabilities, and implement sending and receiving of large HTTP packets and malformed requests, running multiple parallel sessions, etc. It is advised that all these tests be run locally, when making changes or adding new features to this component.
2018-08-30 03:01:59 +05:30
Jiang Jiang Jian
ba17648aea
Merge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'
...
mesh: bugfix and add two APIs
See merge request idf/esp-idf!3107
2018-08-29 23:05:32 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
49a910adfb
cmake: partition_table: Use PYTHON interpreter when running parttool.py (fixes flasher args on Windows)
2018-08-29 20:22:55 +08:00
Angus Gratton
a528d3a61a
kconfig: Merge Kconfig.compiler back into Kconfig
...
Reverts 5e0a3d99e8 (no longer needed but also not supported by
mconf-idf built from kconfig-frontends repo.)
2018-08-29 20:22:55 +08:00
Angus Gratton
cb158f1194
cmake: Account for missing partition CSV file at cmake runtime
...
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds
but no flashing offsets, etc. were generated.)
2018-08-29 20:22:55 +08:00
Renz Bagaporo
071aaea66b
Place embedded data on flash
2018-08-29 20:22:55 +08:00
Angus Gratton
408463d0bf
cmake idf.py: Fix bug in JSON parsing when printing flash commands
2018-08-29 20:22:55 +08:00
Angus Gratton
7f06543817
cmake/partitions: Apply offset to partition table metadata correctly
...
Also warn if the parttool.py has an error
2018-08-29 20:22:55 +08:00
Mahavir Jain
8227db4f5e
spi_flash: fix erase_range for block erase check
...
Erase in block (64k) as much as possible, before falling back
to sector (4k) erase.
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-08-29 12:04:32 +00:00
Mahavir Jain
62746e414e
bootloader: add API for erasing flash region
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-08-29 12:04:32 +00:00
Mahavir Jain
4a987dacca
bootloader: keep bootloader_common code to retention region
...
It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-08-29 12:04:32 +00:00
Angus Gratton
a56b3abf84
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-29 19:39:17 +08:00
Angus Gratton
393c29b656
cmake: Fix bt component dependencies
2018-08-29 19:37:25 +08:00
Angus Gratton
068a3e2f6a
cmake: Fix flasher argument generation
2018-08-29 19:37:19 +08:00
Michael (XIAO Xufeng)
0c64d8e822
spi: fix the misleading example, letting the master wait until slave is ready
2018-08-29 18:40:21 +08:00
Jitin George
458b167f1a
docs/en/security: Add documentation for signed apps without hardware secure boot feature
2018-08-29 17:05:34 +08:00
Angus Gratton
b364f23e17
secure boot: Support secure boot signatures without hardware secure boot
...
Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.
Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).
Requires:
* [ ] More testing
* [ ] Documentation
2018-08-29 17:05:29 +08:00
Ivan Grokhotkov
27f3c3e668
Merge branch 'bugfix/gcc8_warnings' into 'master'
...
Fix or silence warnings found by GCC 8
See merge request idf/esp-idf!3130
2018-08-29 15:53:28 +08:00
Angus Gratton
1abd346943
docs: Call 'python -m sphinx' instead of sphinx-build
...
Fixes mismatches where default Python interpreter may not match the most recently
installed sphinx-build wrapper script (if sphinx 2 & 3 both installed, pip will
clobber any previous copy of /bin/sphinx-build when it installs the new one.)
2018-08-29 14:43:42 +08:00
Ivan Grokhotkov
61dc37a6c3
examples/bluetooth: add fallthrough annotations
2018-08-29 14:40:28 +08:00
Anton Maklakov
8c040e749f
bluetooth: fix format overflow warnings
2018-08-29 14:40:28 +08:00
Anton Maklakov
779bce7681
bluetooth: fix incorrect memset size
2018-08-29 14:40:28 +08:00
Anton Maklakov
e8eb8cb2a4
bluetooth: fix missing braces and indentation
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
ed546797d0
heap: test: don’t warn about oversized mallocs
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
033b694128
bt/a2dp: fix incorrect return type
...
res was declared as “bool” so expression
((count == 0) ? A2D_SET_ONE_BIT : A2D_SET_MULTL_BIT)
always evaluated to “true”, and was implicitly converted to
A2D_SET_ONE_BIT.
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
9fbe42c0f1
bt/bta: fix returning value from function returning void
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
536df958ad
bt/btm: fix misplaced debug statement
2018-08-29 14:40:28 +08:00
Anton Maklakov
6af721e8e4
examples/bluetooth: Fix incompatible cast
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
c3123b00ae
examples/spi_slave: check for truncation in snprintf call
...
Also fix character array initializer
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
324004f7b3
spiffs: test: check for truncation in snprintf call
2018-08-29 12:49:15 +08:00
Ivan Grokhotkov
9ba5896d86
driver, ethernet: fix non-static inline functions
...
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81734
2018-08-29 12:49:15 +08:00
Ivan Grokhotkov
fc0c110efd
driver: test: fix memset out of bounds in spi_master test
2018-08-29 12:49:15 +08:00
Ivan Grokhotkov
946a823ccb
syscalls: fix type conversion for _raise_r stub
2018-08-29 12:49:15 +08:00
Alexey Gerenkov
7e5c235b9d
app_trace: Fix tmo initialization
2018-08-29 10:55:39 +08:00
Angus Gratton
669c5ac538
Merge branch 'feature/add_deinit_to_emac_driver' into 'master'
...
ethernet: support esp_eth_deinit
See merge request idf/esp-idf!3059
2018-08-28 18:09:55 +08:00
Angus Gratton
961f59ff57
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation
...
Avoids growing the result of hardware bignum operations
(particularly for multiplication)
Fixes bugs where some Elliptic Curve operations fail or corrupt memory,
as they assume length of the number is never greater than the number of
non-zero limbs.
Includes some general refactoring to standardize terminology.
Closes https://github.com/espressif/esp-idf/issues/1556
Fixes TW12984
Adds test cases for both these issues.
2018-08-28 09:08:43 +00:00
Tian Hao
eb3f280cd3
component/bt : fix get acl number incorrect due to memory release
...
1. after memory release MR merged, due to the get acl number condition is not completed, it will cause get acl number value incorrect
2. It may cause set Security Mode (BR/EDR) enable failed
2018-08-28 15:35:40 +08:00
Jiang Jiang Jian
26850880b2
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test' into 'master'
...
component/bt: fix crash when BLE do SMP connect and disconnect stress test
See merge request idf/esp-idf!3077
2018-08-28 13:40:20 +08:00
morris
ec07112f5b
ethernet: support esp_eth_deinit
...
1. change static emac-dma memory to dynamic
2. add esp_eth_deinit
3. modify ethernet example
4. add testcase for ethernet deinit function
5. GPIO0 could not output the 50MHz clock to PHY, so remove this configuration
2018-08-28 12:18:48 +08:00
Angus Gratton
1eaf112589
Merge branch 'bugfix/rtc_wdt_interval_overflow' into 'master'
...
rtc_wdt: fix overflow issue with setting wdt interval
See merge request idf/esp-idf!3110
2018-08-28 12:12:21 +08:00
chensheng
d04c101c96
test: fix bug of BTSTK_GATT_25007
2018-08-28 12:00:15 +08:00
Ivan Grokhotkov
cc8ad721f9
Merge branch 'bugfix/deep_sleep_stub_ptr_check' into 'master'
...
reset_reason: fix setting wake stub entry point to 0x80000000
See merge request idf/esp-idf!3101
2018-08-28 11:01:22 +08:00
Jiang Jiang Jian
f5b699cee7
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'
...
bugfix/btdm_a2dp_sink_pcm_buffer_size
See merge request idf/esp-idf!3052
2018-08-28 10:42:36 +08:00
Ivan Grokhotkov
208530a727
Merge branch 'bugfix/idf_app_assert_print' into 'master'
...
tiny-test-fw: Print more useful info when download.config doesn't exist
See merge request idf/esp-idf!3112
2018-08-28 10:00:44 +08:00
Ivan Grokhotkov
131ce6c441
Merge branch 'doc/custom_app_flash_map_off' into 'master'
...
docs: Adds description of OpenOCD command to configure custom app image location
See merge request idf/esp-idf!3030
2018-08-28 09:59:36 +08:00
He Yin Ling
6244f11384
Merge branch 'bugfix/disable_fuzzer_host_test_by_default' into 'master'
...
CI: disable fuzzer host test by default
See merge request idf/esp-idf!3115
2018-08-27 22:28:44 +08:00
He Yin Ling
a7d2cb138b
CI: disable fuzzer host test by default:
...
Same key in YAML file will overwrite the key introduced by anchor
2018-08-27 21:41:52 +08:00
Roland Dobai
5cdff46370
tools: Support Python 3 in idf_size.py
2018-08-27 13:39:07 +02:00
qiyuexia
91dd05662d
mesh: bugfix and add two APIs
...
1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.
2018-08-27 19:12:40 +08:00
Alexey Gerenkov
ac07c23e37
docs: Adds description of OpenOCD command to configure custom app image location
2018-08-27 14:08:36 +03:00
Ivan Grokhotkov
6dae5b206f
reset_reason: fix setting wake stub entry point to 0x80000000
...
esp_reset_reason_init would check for reset reason hint, and
unconditionally set RTC_RESET_CAUSE_REG (which is also
RTC_ENTRY_ADDR_REG) to hint value 0, i.e. 0x80000000. However the ROM
code treats this value as valid deep sleep wake stub entry point, and
tries to jump to it.
Clear RTC_RESET_CAUSE_REG only if it contained a valid reset reason
hint, and simply set the register value to 0 when doing so. Also add
a check to esp_get_deep_sleep_wake_stub function that deep sleep wake
stub entry address must be in IRAM.
Reported in https://esp32.com/viewtopic.php?f=13&t=6919 .
2018-08-27 19:01:03 +08:00
Roland Dobai
bc307c920c
tiny-test-fw: Print more useful info when download.config doesn't exist
2018-08-27 12:47:08 +02:00
Angus Gratton
414b84c041
Merge branch 'feature/ci_fuzzer_tests_lwip' into 'master'
...
ci jobs running fuzz tests on dns, dhcp, dhcps + removed unnecessary references (libexpat)
See merge request idf/esp-idf!2866
2018-08-27 16:25:21 +08:00
Jiang Jiang Jian
147b349799
Merge branch 'bugfix/fix_several_wifi_bugs' into 'master'
...
esp32: update wifi lib to fix several WiFi bugs
See merge request idf/esp-idf!3095
2018-08-27 14:24:04 +08:00
Jiang Jiang Jian
6519f1833a
Merge branch 'bugfix/fix_probable_mem_leak' into 'master'
...
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event
See merge request idf/esp-idf!2962
2018-08-27 14:10:22 +08:00
Angus Gratton
3adf41a5fe
Merge branch 'feature/py3_idf_monitor' into 'master'
...
tools: Support Python3 in idf_monitor
See merge request idf/esp-idf!2930
2018-08-27 12:29:38 +08:00
Angus Gratton
2c8c210a66
Merge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'
...
tools: support python3 in gen_esp_err_to_name.py
See merge request idf/esp-idf!2827
2018-08-27 12:29:03 +08:00
Angus Gratton
b5e1bc1047
Merge branch 'doc/addition_translation_in_get_started' into 'master'
...
doc: additional translation in get_started
See merge request idf/esp-idf!3087
2018-08-27 12:21:36 +08:00
Jiang Jiang Jian
1c676300f0
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'
...
Component/bt: fix get error adv packet sometimes
See merge request idf/esp-idf!3035
2018-08-27 12:17:23 +08:00
zwj
430d3da089
component/bt: fix crash when BLE do SMP connect and disconnect stress test
2018-08-27 11:09:29 +08:00
wangmengyang
3faee500bb
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-27 02:53:59 +00:00
morris
988dfc6546
doc: additional translation in get_stated
2018-08-27 10:44:28 +08:00
Jiang Jiang Jian
df78612896
Merge branch 'bugfix/btdm_fix_memory_leak_in_security_server' into 'master'
...
component/bt: fix memory leak in security server
See merge request idf/esp-idf!3014
2018-08-27 10:19:27 +08:00
baohongde
588e006256
component/bt: Fix bug of SDP find services by uuid always return success
2018-08-27 02:14:45 +00:00
Angus Gratton
d91a44737f
Merge branch 'doc/build_system_zh_CN' into 'master'
...
doc: translate build-system from en to zh_CN
See merge request idf/esp-idf!3067
2018-08-27 09:40:40 +08:00
Angus Gratton
6c95285bdb
Merge branch 'bugfix/app_update_test' into 'master'
...
app_update: Change NUM_PIN_APP_TEST for unit test
See merge request idf/esp-idf!3050
2018-08-27 08:46:02 +08:00
Jiang Jiang Jian
51a4b4ba27
Merge branch 'bugfix/btdm_check_slave_feats_before_set_afh' into 'master'
...
bugfix/btdm_check_slave_feature_before_set_afh
See merge request idf/esp-idf!2972
2018-08-26 16:19:48 +08:00
Liu Zhi Fu
6a080febbc
esp32: update wifi lib to fix several WiFi bugs
...
Fix following WiFi bugs:
1. Shouldn't scan when connect
2. Check beacon length in modem sleep
3. Fix the bug that AP may deauth wrong station when inactivity timer expires
4. Fix the bug that WiFi assert the system when receiving empty MCS in association response frame
2018-08-26 12:47:24 +08:00
Hrishikesh Dhayagude
29ec0339f6
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event
...
Multiple modules register their callback BTA_GATTS_AppRegister().
If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.
So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-08-25 16:26:37 +00:00
Hrishikesh Dhayagude
739b4aadf7
components/bt: Make a pass through Bluetooth header files
...
This is just a quick glance at all the header files exposed to the
users from cleanup point of view.
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-08-25 21:21:42 +05:30
zhiweijian
f74b041288
Component/bt: fix memory leak in security server
2018-08-25 15:47:47 +00:00
He Yin Ling
b14e87a605
Merge branch 'test/fix_test_summary_duplicate' into 'master'
...
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
See merge request idf/esp-idf!3079
2018-08-25 10:22:40 +08:00
Mahavir Jain
f0fa66a50e
rtc_wdt: fix overflow issue with setting wdt interval
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-08-24 18:06:39 +05:30
He Yin Ling
783d63488b
Merge branch 'bugfix/multi_case_test' into 'master'
...
test: fix the multi device stop thread bug
See merge request idf/esp-idf!3039
2018-08-24 19:54:34 +08:00
wangmengyang
6b0a1bd700
component/bt: check support of AFH in remote slave device's LM feature then determine whether to send LMP_set_AFH
2018-08-24 11:48:12 +00:00
zhiweijian
1ca5b70803
Component/bt: fix get error adv packet sometimes
2018-08-24 09:24:49 +00:00
Konstantin Kondrashov
4e28799709
app_update: Change NUM_PIN_APP_TEST for unit test
...
Fixed error when `make TESTS_ALL=1`
2018-08-24 16:52:27 +08:00
baohongde
9eefd8c1aa
component/bt: Fix bug rfcomm test command cause crash
...
find when BQB
2018-08-24 14:49:33 +08:00
chensheng
ef0287de7d
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
2018-08-24 14:25:24 +08:00
Roland Dobai
79b9948cdf
tools: support python3 in gen_esp_err_to_name.py
2018-08-24 08:13:01 +02:00
Roland Dobai
7118f4734b
tools: Support Python3 in idf_monitor
...
Closes https://github.com/espressif/esp-idf/pull/1284
2018-08-24 08:12:19 +02:00
morris
5e36837752
doc: translate build_system from en to zh_CN
2018-08-24 12:31:34 +08:00
Angus Gratton
c7f4fae8d0
Merge branch 'feature/python_future' into 'master'
...
Add python-future by using python requirements file
See merge request idf/esp-idf!2973
2018-08-24 08:04:18 +08:00
Ivan Grokhotkov
7abed5fc9e
Merge branch 'fix/spi_dma_config_in_iram' into 'master'
...
SPI: put dma config and slave functions into IRAM
See merge request idf/esp-idf!3038
2018-08-23 22:03:28 +08:00
He Yin Ling
9699e3f926
Merge branch 'test/add_mesh_recreate_network_case_to_known_issue' into 'master'
...
test: add mesh recreate network case as known issue
See merge request idf/esp-idf!3066
2018-08-23 19:12:08 +08:00
He Yin Ling
32171da525
test: disable mesh recreate network test:
...
We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.
Temp disable these cases, to let CI pass before bug fixed.
2018-08-23 17:49:59 +08:00
Roland Dobai
52d11dcfb0
docs: make the use of pip install clear
2018-08-23 11:41:56 +02:00
Roland Dobai
74fe7c82ae
bootloader: Don't use check_python_dependencies in the bootloader command
2018-08-23 11:41:40 +02:00
houchenyao
df83323ee3
bugfix:fix the multi device stop thread bug
2018-08-23 08:51:16 +00:00
Angus Gratton
1d2bcb77af
make: Don't invoke check_python_dependencies in bootloader subproject
2018-08-23 08:28:57 +02:00
Angus Gratton
31ae3fe683
make: Use order-only prereq to check python dependencies
2018-08-23 08:28:57 +02:00
morris
1a79900970
translated some parts in get-started section to zh_CN
...
1. "install required python packages" in docs/zh_CN/get-started/index.rst
2. docs/zh_CN/get-started/linux-setup-scratch.rst
3. docs/zh_CN/get-started/linux-setup.rst
4. docs/zh_CN/get-started/macos-setup-scratch.rst
5. docs/zh_CN/get-started/macos-setup.rst
2018-08-23 08:28:57 +02:00
Roland Dobai
62cad3a7d7
Add python-future by using python requirements file
2018-08-23 08:28:57 +02:00
Michael (XIAO Xufeng)
4f87a62f18
spi_slave: add new menuconfig item to decide whether spi slave should be put into IRAM
2018-08-23 05:21:49 +00:00
Michael (XIAO Xufeng)
e3557b57be
spi: fix the issue that spi cannot be used when flash is disabled
...
The dma configuration function called in the ISR should be put into the IRAM.
Fixes https://github.com/espressif/esp-idf/issues/2307 .
2018-08-23 05:21:49 +00:00
Ivan Grokhotkov
88d40e01b4
Merge branch 'feature/rtc_slowclk_extra_options' into 'master'
...
Add more RTC_SLOW_CLK options
See merge request idf/esp-idf!2984
2018-08-23 11:27:14 +08:00
Jiang Jiang Jian
eb18122038
Merge branch 'bugfix/esp_bt_controller_mem_release' into 'master'
...
BT/BTDM memory release might fail if any of the memory regions is empty
See merge request idf/esp-idf!3031
2018-08-23 11:02:17 +08:00
Jiang Jiang Jian
33f0eadac9
Merge branch 'bugfix/timer_oneshot_timeout_twice' into 'master'
...
component/bt: Some timer oneshot will timeout twice
See merge request idf/esp-idf!2979
2018-08-23 10:41:53 +08:00
Ivan Grokhotkov
dda56ff55c
Merge branch 'bugfix/nvs_set_blob_bug' into 'master'
...
nvs_flash: Fix nvs_set_blob hang when partition is near to FULL
See merge request idf/esp-idf!3051
2018-08-23 10:27:20 +08:00
Angus Gratton
7c9439dcbf
Merge branch 'bugfix/wrover-kit-camera-socket-pinout' into 'master'
...
Corrected pinout of the Camera / J4 connector
See merge request idf/esp-idf!3054
2018-08-23 09:06:04 +08:00
Angus Gratton
8846b5fb64
Merge branch 'bugfix/freertos_task_delete' into 'master'
...
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
See merge request idf/esp-idf!3040
2018-08-22 19:39:21 +08:00
David Cermak
882ca87442
lwip: removed ASSERT in dhcp as the error might occur in runtime if packet is altered
2018-08-22 12:13:34 +02:00
David Cermak
ebebda9604
lwip: supported ci jobs running fuzz tests on dns, dhcp, dhcps
2018-08-22 12:13:20 +02:00
Ivan Grokhotkov
902344c516
Merge branch 'bugfix/trace_mem_layout_pro_cpu' into 'master'
...
soc: fix trace memory region for single core mode
See merge request idf/esp-idf!3029
2018-08-22 16:51:43 +08:00
Ivan Grokhotkov
50ce2b7d05
Merge branch 'feature/make-otadata' into 'master'
...
make dump_otadata: Displays app ota_seq and crc on console
See merge request idf/esp-idf!2901
2018-08-22 16:51:36 +08:00
Sachin Parekh
7a5400ce77
make dump_otadata: Displays app ota_seq and crc on console
2018-08-22 16:51:36 +08:00
Ivan Grokhotkov
9ab70d5379
Merge branch 'bugfix/http_write_data' into 'master'
...
esp_http_client: Fix minor bugs in `esp_http_client_write` and `esp_http_client_open` APIs
See merge request idf/esp-idf!2924
2018-08-22 16:49:29 +08:00
Ivan Grokhotkov
81d6c65379
Merge branch 'feature/esp_http_client_add_esp_tls' into 'master'
...
esp_http_client: Add esp-tls in esp_http_client
See merge request idf/esp-idf!2740
2018-08-22 16:48:35 +08:00
Ivan Grokhotkov
96971e3e9f
esp32: add support for 8MD256 and external 32k as slow clock options
2018-08-22 11:46:24 +08:00
Ivan Grokhotkov
5bf3654637
soc/rtc: Force power on 8M clock if it is used to derive RTC slow clock
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
8365f0f5d2
soc/rtc: add support for external 32k oscillator
...
Compared to external 32k XTAL, when active oscillator is used as input,
some parameters need to be set differently.
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
9efc06be0f
esp32/clk: remove unused code
...
When 32k XTAL was selected as clock source, if the first calibration
attempt failed, the code would fall back to 150kHz internal clock.
Calibration with the internal clock will always succeed.
Therefore `wait` would always be either 0 or 1. Based on this, some
code in this routine can be eliminated.
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
90f5456dba
Merge branch 'feature/rtc_cpu_freq_config' into 'master'
...
soc/rtc: Refactoring, support CPU frequencies lower than XTAL
See merge request idf/esp-idf!2856
2018-08-22 11:32:08 +08:00
Angus Gratton
7b4626f824
ci: Fix spurious pipeline failure when deploying a tag to GitHub
...
Everything succeeds, but because [ -z ${CI_COMMIT_TAG} ] on the last line returns non-zero, it
fails the job.
2018-08-22 13:11:18 +10:00
krzychb
1857bca871
Corrected pinout of the Camera / J4 connector
2018-08-21 22:01:28 +02:00
Sagar Bijwe
911f96ad21
nvs_flash: Fix nvs_set_blob hang when partition is near to FULL
...
Marking a page full does not skip it from page selection process and the
same page might get returned if there is no other page with more unused
entries. Added a check for the same while storing blobs.
Fixes: https://github.com/espressif/esp-idf/issues/2313
2018-08-21 17:08:46 +05:30
Jitin George
4d6dcb71ce
esp_http_client: Add esp-tls APIs in SSL transport of esp_http_client
...
esp-tls APIs and SSL transport layer of esp_http_client try to
achieve similar things, so this is an effort to remove code redundancy.
2018-08-21 09:07:07 +00:00
Jitin George
7b56ae319d
esp-tls: Add support for network timeout
2018-08-21 09:07:07 +00:00
Jeroen Domburg
4eb28b9ace
Merge branch 'feature/spi_burst_desc' into 'master'
...
spi_master: change to DMA burst mode when access descriptors
See merge request idf/esp-idf!2824
2018-08-21 16:54:38 +08:00
Jeroen Domburg
9de884f586
Merge branch 'feat/spi_non_dma_64byte' into 'master'
...
spi_master: change high part config to allow transactions of 64 bytes
See merge request idf/esp-idf!3025
2018-08-21 16:53:37 +08:00
Ivan Grokhotkov
e3d76d13b4
docs: update power management section on esp_pm_configure
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
e59571eece
soc/rtc_clk: reduce data size by disabling CSWTCH generation
...
Saves about 200 bytes of DRAM at the expense of 4 bytes in IRAM.
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
db2f0f45be
soc/rtc_clk: split rtc_clk_init into separate object file
...
rtc_clk_init and related functions don’t need to be in IRAM/DRAM.
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
3cec686803
examples/power_save: set CPU frequencies in sdkconfig
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
bcf79e5cf2
tests: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
c722cf3e06
bootloader: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
bec70ce298
esp32: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
2e31cce390
soc/rtc: CPU frequency settings refactoring
...
Previous APIs used to set CPU frequency used CPU frequencies listed in
rtc_cpu_freq_t enumeration. This was problematic for two reasons.
First, supporting many possible frequency values obtained by dividing
XTAL frequency was hard, as every value would have to be listed in
the enumeration. Since different base XTAL frequencies are supported,
this further complicated things, since not all of these divided
frequencies would be valid for any given XTAL frequency. Second,
having to deal with enumeration values often involved switch
statements to convert between enumeration and MHz values, handle
PLL/XTAL frequencies separately, etc.
This change introduces rtc_cpu_freq_config_t structure, which contains
CPU frequency (in MHz) and information on how this frequency has to
be generated: clock source (XTAL/PLL), source frequency, clock
divider value. More fields can be added to this structure in the
future. This structure simplifies many parts of the code, since both
frequency value and frequency generation settings can be accessed in
any place in code without the need for conversions.
Additionally, this change adds setting of REF_TICK dividers to support
frequencies lower then XTAL with DFS.
2018-08-21 13:02:03 +08:00
Ivan Grokhotkov
05a5410033
esp_clk.h: add esp_clk_xtal_freq
...
This adds a user API for getting the XTAL frequency
2018-08-21 13:02:03 +08:00
Ivan Grokhotkov
a6a9484084
Merge branch 'feature/move_CONFIG_TCPIP_LWIP_to_menuconfig' into 'master'
...
tcpip_adapter: optimise tcpip_adapter and fix a bug in emac_dev.c
See merge request idf/esp-idf!3017
2018-08-21 11:37:15 +08:00
Ivan Grokhotkov
4dd7233b20
Merge branch 'feature/reset_reason' into 'master'
...
Add API to get reset reason
See merge request idf/esp-idf!2871
2018-08-21 11:34:12 +08:00
baohongde
4fe04ae14d
component/bt: Update BLE private address after it's private address interval
2018-08-21 11:01:44 +08:00
Angus Gratton
c5d6845c5a
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
...
Test was failing if task was allocating TCB & Stack memory from DMA only pool
which is not MALLOC_CAP_DEFAULT.
2018-08-21 12:19:33 +10:00
Jiang Jiang Jian
ad9db6ff1c
Merge branch 'bugfix/bluetooth_demo_sdkconfig' into 'master'
...
Fix bluetooth example sdkconfig.defaults
See merge request idf/esp-idf!3032
2018-08-20 20:33:35 +08:00
morris
b63f6a8a95
emac:optimise tcpip_adapter and fix emac_dev.c
...
1. move CONFIG_xx macros to Kconfig
2. fix a bug that make EMAC_DMAOPERATION_MODE_ERG mess
2018-08-20 19:52:48 +08:00
Jitin George
2122e5f83d
esp_http_client: Fix minor bugs in esp_http_client_write and esp_http_client_open APIs
...
`esp_http_client_write` API puts a constraint on the maximum length of the data that can be
written, which is equal to client handle buffer size, but the data to be sent can be more
than that, so in this case, this API has to be called multiple times.
In `esp_http_client_open` API, the return value of `transport_write` API, used to send HTTP
request, is not checked, and in rare cases, data written will be less than expected which will
cause a problem. So there are fixes for these minor issues in this MR.
2018-08-20 10:41:42 +00:00
Ivan Grokhotkov
8403adf4e0
docs: add API reference section for esp_system.h
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
3ef650cd46
esp32/test: add tests for reset reasons
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
0aa384d40c
esp32: add API to get reset reason
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
fd61c1440b
tiny-test-fw: invoke expect callbacks in order of appearance
...
Previously the callbacks were invoked in the same order as the list of
patterns to be matched.
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
b600a908c4
unit test: fix regex for detecting abort
2018-08-20 16:49:20 +08:00
Angus Gratton
76f864511d
Merge branch 'feature/docs_new_logo_typeface' into 'master'
...
Replaced Espressif logo with a new, consistent, modern and neutral typeface design.
See merge request idf/esp-idf!2988
2018-08-20 08:22:02 +08:00
Angus Gratton
9bc74e6815
Merge branch 'bugfix/err_variable_issue' into 'master'
...
Fix small parameter issue in bt_a2dp_sink example. Merges…
See merge request idf/esp-idf!3012
2018-08-20 07:59:24 +08:00
Tian Hao
99d0624999
Fix bluetooth example sdkconfig.defaults
...
1. a2dp_gatts_coex
2. blufi BT_RESERVE_DRAM
2018-08-19 11:35:28 +08:00
me-no-dev
afa091fe79
prevent heap_caps_add_region exception if region is empty
...
Calling `esp_bt_controller_mem_release` or `esp_bt_mem_release` might result in exception if any of the regions returned to heap are empty. This happens usually if BT/BLE is enabled, but not used/linked in the final firmware.
2018-08-17 08:49:48 +02:00
Ivan Grokhotkov
164e324fe2
Merge branch 'feature/bootloader_unit_tests' into 'master'
...
app_update: Add unit tests for ota, factory, test partitions
See merge request idf/esp-idf!2565
2018-08-17 14:39:50 +08:00
wangmengyang
0465e930d5
component/bt: fix the format and add more content to A2DP source example document and source code
2018-08-16 20:08:00 +08:00
Jiang Jiang Jian
5ba0d6bde6
Merge branch 'bugfix/ut_bt_build_fix' into 'master'
...
bt: build unit tests only when CONFIG_BT_ENABLED=1
See merge request idf/esp-idf!3000
2018-08-16 19:49:14 +08:00
Jiang Jiang Jian
98eaa5c2ec
Merge branch 'docs/security' into 'master'
...
docs: Added more wordings to capture secure boot and flash encryption dependency.
See merge request idf/esp-idf!2947
2018-08-16 19:31:36 +08:00
Jiang Jiang Jian
00ef8bf726
Merge branch 'feature/decrease_bt_contrller_memory_with_new_mem_reserved' into 'master'
...
decrease bt contrller memory with new mem reserved
See merge request idf/esp-idf!2791
2018-08-16 19:12:44 +08:00
michael
404e99965d
spi_master: change high part config to allow transactions of 64 bytes
2018-08-16 18:55:09 +08:00
Angus Gratton
3012b0f887
Merge branch 'feature/nvs_multi_page_util' into 'master'
...
Bugfix: multi page blob creation was failing if only one entry was left in page
See merge request idf/esp-idf!2971
2018-08-16 15:23:11 +08:00
Angus Gratton
01f855fd18
Merge branch 'feature/nvs_part_gen_util_file_size' into 'master'
...
Add support for input custom partition size
See merge request idf/esp-idf!2828
2018-08-16 15:22:24 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Shivani Tipnis
dfde105f25
Add support for input custom partition size
2018-08-16 11:54:46 +05:30
Shivani Tipnis
5ce40fce0c
Add nvs part gen utility multi page blob support update
2018-08-16 11:46:25 +05:30
Konstantin Kondrashov
1da0483619
app_update: Add unit tt pests for ota, factory, test partitions
2018-08-16 09:57:32 +05:00
Angus Gratton
4f227a4ce3
Merge branch 'bugfix/spiram_malloc_reserve_internal_fragments' into 'master'
...
esp32: Allow SPIRAM_MALLOC_RESERVE_INTERNAL to span multiple regions of memory
See merge request idf/esp-idf!2891
2018-08-16 11:19:39 +08:00
Tian Hao
ab73e0ff13
tools: fix ci example build report reassign warnning
2018-08-16 11:12:22 +08:00
Angus Gratton
ccd0c61ea1
Merge branch 'feature/rtc_wdt_api' into 'master'
...
soc/rtc_wdt: Add API functions for rtc_wdt
See merge request idf/esp-idf!2837
2018-08-16 08:19:12 +08:00
Ivan Grokhotkov
32c01de7a3
Merge branch 'feature/what_driver_for_my_board' into 'master'
...
Provided a table with development boards by Espressif together with USB-to-serial driver names
See merge request idf/esp-idf!2792
2018-08-16 05:24:40 +08:00
Krzysztof Budzynski
df5d3ea692
Provided a table with development boards by Espressif together with USB-to-serial driver names
2018-08-16 05:24:40 +08:00
Ivan Grokhotkov
73e18a4c96
Merge branch 'docs/simplified_rtd_theme_configuration' into 'master'
...
Removed redundant code to configure 'sphinx-rtd-theme' for documentation
See merge request idf/esp-idf!2921
2018-08-16 05:23:54 +08:00
Mahavir Jain
0075e2f316
soc: fix trace memory region for single core mode
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-08-15 20:52:39 +05:30
Jiang Jiang Jian
020ade652d
Merge branch 'bugfix/tw24588_Android_get_IP_fail' into 'master'
...
fix the bug for Android phone getting IP fail when STA+AP mode
See merge request idf/esp-idf!3006
2018-08-15 11:47:13 +08:00
Angus Gratton
802fc7236d
Merge branch 'doc/unit_test_zh_CN' into 'master'
...
doc: translate the unit-tests.rst into Chinese
See merge request idf/esp-idf!2998
2018-08-15 09:05:17 +08:00
Piocky
23a510c752
Fix small parameter issue in bt_a2dp_sink example. Merges https://github.com/espressif/esp-idf/pull/2261
...
The wrong parameter was used to print the error if something failed during the bt init.
2018-08-14 22:13:00 +02:00
Jiang Jiang Jian
b96fa40dd1
Merge branch 'bugfix/mdns_any_type_share' into 'master'
...
mdns: Fix a portion of the queries are issued with the wildcard query type
See merge request idf/esp-idf!2886
2018-08-15 00:52:21 +08:00
Konstantin Kondrashov
a8e46775c6
soc/rtc_wdt: Add API functions for rtc_wdt
...
Added functions:
rtc_wdt_protect_off/on
rtc_wdt_set_length_of_reset_signal
rtc_wdt_set_stage
rtc_wdt_set_time
rtc_wdt_feed
rtc_wdt_disable/enable
2018-08-14 17:48:02 +05:00
morris
90350cb82d
doc/unit-tests:translate the unit-tests into zh_CN
2018-08-14 15:47:08 +08:00
Liu Han
f3f0445f4d
mdns: Fix a portion of the queries are issued with the wildcard query type
2018-08-14 07:25:08 +00:00
zhangyanjiao
89601e0b9f
fix the bug for Android phone getting IP fail when STA+AP mode
2018-08-14 15:04:47 +08:00
Jiang Jiang Jian
b4b1b361da
Merge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master'
...
examples/bluetooth: Fix incorrect end handle print in the GATT client applications
See merge request idf/esp-idf!2880
2018-08-14 14:16:53 +08:00
Sagar Bijwe
b27773e87c
docs: Added more wordings to capture secure boot and flash encryption dependency.
2018-08-14 11:27:29 +05:30
Angus Gratton
08ae7ef9dc
Merge branch 'feature/ota_get_sha-256_of_partition' into 'master'
...
bootloader_support: Add API for getting sha256_of_partition
See merge request idf/esp-idf!2479
2018-08-14 11:32:39 +08:00
Tian Hao
ee787085f9
component/bt : decrease memory consumption by conn number
...
1. BLE only with 9(max) connection will decrease 3K DRAM
2. BR/EDR only with 7(max) connection will decrease 16K DRAM
3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption
4. Decrease one BLE connection will save about 1KB DRAM
5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM
6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM.
7. fix some definition and kconfig
8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K
9. modify BT Reserved Memory size and modify example to support new bt kconfig
2018-08-14 02:29:17 +00:00
Ivan Grokhotkov
a85a8aef62
Merge branch 'bugfix/ulp_jumps_flags' into 'master'
...
ULP: document JUMPS instruction flags, add tests
See merge request idf/esp-idf!2949
2018-08-14 01:14:12 +08:00
Ivan Grokhotkov
3b5875efe0
ci: only apply BOT_DOCKER_IMAGE_TAG to esp32-ci-env
2018-08-13 16:48:27 +00:00
Ivan Grokhotkov
1fbff01799
docs: update esp32ulp-binutils download link
2018-08-13 16:48:27 +00:00
Ivan Grokhotkov
1bd7d404fe
ulp: add documentation for JUMPS instruction conditions
...
Hardware implements conditions LE, LT, GE, and conditions EQ and GT
are implemented in the assembler by emitting two JUMPS instructions
with other conditions.
2018-08-13 16:48:27 +00:00
Ivan Grokhotkov
c7fc5b1171
ulp: add tests for jumps instruction
2018-08-13 16:48:27 +00:00
Ivan Grokhotkov
7fca027355
bt: build unit tests only when CONFIG_BT_ENABLED=1
2018-08-13 17:38:37 +03:00
wangmengyang
e60db51240
component/bt: fix the format and add more content to A2DP sink example document and source code
2018-08-13 21:17:27 +08:00
Konstantin Kondrashov
117c79eae5
app_update: Add API for getting sha256_of_partition
...
Added bootloader_common_get_sha256_of_partition() and esp_partition_get_sha256() - get or calculate SHA-256
digest for app and data partitions.
Added bootloader_sha256_hex_to_str() - helps to print SHA-256 digest
Added esp_partition_check_identity() - compares two partitions by SHA-256 digest
Refactoring a function esp_image_load() in bootloader space to esp_image_verify() and
bootloader_load_image(). Old name function esp_image_load is deprecated
and will remove in V4.0 version.
spi_flash/sim: Fix error test_host. Add stub for bootloader_common_get_sha256_of_partition in sim/stubs
2018-08-13 13:59:07 +05:00
Jiang Jiang Jian
886bf4b88e
Merge branch 'bugfix/btdm_ecdh_public_key_not_check' into 'master'
...
component/bt: Fixed the vulnerability released by Bluetooth org when using…
See merge request idf/esp-idf!2933
2018-08-13 15:44:13 +08:00
yulong
72eaaff9fe
component/bt: Fixed the vulnerability released by Bluetooth org when using public key not check in the process of ECDH encryption.
...
1. Add the 100 times test when the private key is generated by the random number;
2. Add the bt components to the unit-test-app/config directory.
3. Added the bt unit test case to CI.
2018-08-13 14:08:11 +08:00
baohongde
31c66af560
component/bt: Some timer oneshot will timeout twice
...
Find when BQB
2018-08-13 06:00:11 +00:00
Angus Gratton
638581d872
Merge branch 'bugfix/doc_generated_sections' into 'master'
...
docs: Move version-related includes to run in sphinx-build not make
See merge request idf/esp-idf!2985
2018-08-13 13:57:42 +08:00
krzychb
4946850e82
Replaced Espressif logo with a new, consistent, modern and neutral typeface design.
2018-08-13 07:22:41 +02:00
Angus Gratton
50e7b116c1
docs: Add gen-version-specific-includes.py to executables list
2018-08-13 13:37:23 +10:00
Angus Gratton
69f73eb5ee
docs: Move version-related includes to run in sphinx-build not make
...
Means they show up on ReadTheDocs(!)
2018-08-13 12:24:55 +10:00
Jiang Jiang Jian
30545f4ccc
Merge branch 'bugfix/btdm_fix_get_bond_list_error_when_connection_with_no_bond' into 'master'
...
Component/bt: fix get bond list error when connection with no bond
See merge request idf/esp-idf!2957
2018-08-10 20:46:34 +08:00
Ivan Grokhotkov
8739111218
Merge branch 'bugfix/gpio_reset_bitmask' into 'master'
...
gpio: Bitmask overflow fix in gpio_reset_pin
See merge request idf/esp-idf!2966
2018-08-10 17:35:26 +08:00
Angus Gratton
383a3f788d
Merge branch 'doc/heap_tracing' into 'master'
...
heap docs: Fix some bad links & errors in the heap docs
See merge request idf/esp-idf!2942
2018-08-10 16:46:52 +08:00
Angus Gratton
c9cbc6b30c
heap docs: Fix some bad links & errors in the heap docs
...
Also add a note about printf() sometimes causing on-demand allocations.
2018-08-10 15:54:58 +10:00
Angus Gratton
f4b23d1505
Merge branch 'bugfix/http_client_null_auth_header' into 'master'
...
esp_http_client: Fixed exception on 401 without Www-Authenticate header
See merge request idf/esp-idf!2900
2018-08-10 13:44:55 +08:00
Jiang Jiang Jian
3486ce6898
Merge branch 'mesh/bugfix_parent_switch' into 'master'
...
mesh: modify parent switch mechanism
See merge request idf/esp-idf!2803
2018-08-10 11:31:50 +08:00
Angus Gratton
f341c5c944
Merge branch 'doc/versions' into 'master'
...
docs: Add version-specific include files, version documentation
See merge request idf/esp-idf!2858
2018-08-10 08:08:10 +08:00
Ivan Grokhotkov
f9a44968bc
Merge branch 'bugfix/nvs_mem_leak' into 'master'
...
nvs: fix memory leak when writing a blob
See merge request idf/esp-idf!2969
2018-08-09 20:48:31 +08:00
Ivan Grokhotkov
5fc6397589
nvs: fix memory leak when writing a blob
...
Introduced in 5a27a63 .
Clear usedPages list in all exit conditions, add test.
2018-08-09 10:35:19 +03:00
Angus Gratton
13ff99867d
docs: Combine the common en/zh_CN Makefiles to one common file
2018-08-09 11:08:03 +10:00
Michael (XIAO Xufeng)
522f9c4b4a
docs: translate the version include script to Chinese
2018-08-09 11:08:03 +10:00
Angus Gratton
ed8013ccc2
README: Add version-specific links
...
Make it clearer how the README fits in with the docs.
2018-08-09 11:07:39 +10:00
Michael (XIAO Xufeng)
203ceed1e7
spi_master: change to DMA burst mode when access descriptors
2018-08-08 13:56:01 +00:00
Ivan Grokhotkov
ee3f64cbad
Merge branch 'feature/http_client_head' into 'master'
...
esp_http_client: add head method support
See merge request idf/esp-idf!2895
2018-08-08 20:58:39 +08:00
Taavi Hein
f7749e18a8
gpio: Bitmask overflow fix in gpio_reset_pin
...
For pins 32 and up the BIT(nr) macro used here overflowed,
causing undetermined GPIO pins to be reset.
Example: freeing SPI device/bus where CS is on pin 33
caused debug UART to cease communication, TXD0 was
disabled.
Fixed as BIT64(nr) macro, to be used elsewhere as needed.
For example in definitions like GPIO_SEL_32..GPIO_SEL_39.
2018-08-08 15:31:17 +03:00
Angus Gratton
a53a5eeabd
Merge branch 'bugfix/add_mutex_for_some_touchpad_apis' into 'master'
...
fix(touch): add_mutex_for_some_touchpad_apis
See merge request idf/esp-idf!2714
2018-08-08 16:28:28 +08:00
Ivan Grokhotkov
80c5547b97
Merge branch 'bugfix/ulp_fixes' into 'master'
...
ULP fixes
See merge request idf/esp-idf!2948
2018-08-08 15:37:25 +08:00
zhiweijian
57355d7154
Component/bt: fix get bond list error when connection with no bond
2018-08-08 14:44:22 +08:00
qiyuexia
93c0c8da6b
mesh: modify parent switch mechanism
...
1. modify parent switch mechanism.
2. fix non-root doesn't clear the layer value in nvs.
3. fix retransmit the remove announcement packets.
4. add API esp_mesh_flush_upstream_packets().
5. automatically adjust passsive scan time based on the change of beacon interval.
2018-08-08 13:51:05 +08:00
He Yin Ling
a1a9801f00
Merge branch 'bugfix/remove_check_for_reason_assoc_expire' into 'master'
...
test: remove check for REASON_ASSOC_EXPIRE:
See merge request idf/esp-idf!2904
2018-08-08 12:58:20 +08:00
Angus Gratton
cdc792d72c
Merge branch 'feature/http_firmware_upgrade' into 'master'
...
esp_https_ota: Add esp_https_ota component
See merge request idf/esp-idf!2771
2018-08-08 12:27:05 +08:00
Angus Gratton
f1a4bc7c94
Merge branch 'feature/aws-iot-update-3.0.1' into 'master'
...
Feature/aws iot update 3.0.1
See merge request idf/esp-idf!2936
2018-08-08 07:14:58 +08:00
Ivan Grokhotkov
48149fa1b1
Merge branch 'bugfix/asio_test_socket_timeout' into 'master'
...
asio: added socket timeout for example tests
See merge request idf/esp-idf!2931
2018-08-07 21:49:09 +08:00
Ivan Grokhotkov
323caed83b
ulp: fix ULP binary format documentation
...
Fix incorrect offset value (4+2+2+2+2=12) of arbitrary data in ULP
binary format.
Closes https://github.com/espressif/esp-idf/issues/1705 .
2018-08-07 16:14:57 +03:00
Ivan Grokhotkov
22dfb92fe0
ulp: use += instead of := when setting component vars
...
Component which includes component_ulp_common.mk may also need to set
some of the same COMPONENT_XXX variables. Logically, we should combine
the lists of files to embed, ldflags, extra include dirs, etc.
Fixes https://github.com/espressif/esp-idf/issues/2157 .
2018-08-07 16:14:57 +03:00
Ivan Grokhotkov
33153748ba
ulp: fix missing include in esp32/ulp.h header
...
ulp.h uses some register base addresses, so needs to include soc.h
2018-08-07 16:14:57 +03:00
Ivan Grokhotkov
479af576ca
ulp: fix calculation or ulp_run argument
...
The argument to ulp_run should be expressed in 32-bit words. Both the
address of ulp_entry and RTC_SLOW_MEM already are uint32_t*, so their
difference is the difference in addresses divided by sizeof(uint32_t).
Therefore the extra division by sizeof(uint32_t) is not needed.
2018-08-07 16:14:57 +03:00
He Yin Ling
28ab4acb7e
test: update Wi-Fi test cases:
...
1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP
could also send error code WIFI_REASON_NOT_AUTHED
2. STA will be disconnected now if softAP restart DHCP server
2018-08-07 10:50:05 +00:00
Jiang Jiang Jian
81ac9c1fc7
Merge branch 'bugfix/wrong_connect_in_all_channel_scan' into 'master'
...
Wifi: bug fix of may connect to wrong AP in all channel scan
See merge request idf/esp-idf!2829
2018-08-07 18:31:31 +08:00
Anuj Deshpande
fe357c3617
aws-iot: Update to 3.0.1 release
...
- Fixes https://github.com/espressif/esp-idf/issues/2224
- Fixes https://github.com/espressif/esp-idf/issues/1808
2018-08-07 11:28:54 +05:30
Anuj Deshpande
5efc33ce25
aws-iot: Make thing shadow example compatible with v3 of aws iot sdk
2018-08-07 11:28:54 +05:30
Angus Gratton
5f56f2ca01
Merge branch 'feature/nvs_version_check' into 'master'
...
nvs_flash: Version compatibility check for nvs storage
See merge request idf/esp-idf!2855
2018-08-07 13:31:49 +08:00
David Cermak
c0186858ad
asio: added socket timeout for example tests
2018-08-06 22:05:15 +02:00
Jiang Jiang Jian
39921c9db0
Merge branch 'bugfix/fix_crash_for_http2_request' into 'master'
...
fix the crash when http2_request example send/recv fail
See merge request idf/esp-idf!2916
2018-08-06 20:41:40 +08:00
Deng Xin
65c441a891
Wifi: bug fix of may connect to wrong AP in all channel scan
...
1. enable threshold in all channel scan
2. bug fix of may connect to an open AP even set password in all channel scan
2018-08-06 19:54:24 +08:00
zhangyanjiao
9063ce9dda
fix the crash when http2_request example send/recv fail
2018-08-06 11:39:01 +00:00
Jiang Jiang Jian
c22e42d869
Merge branch 'bugfix/station_state_machine_change_and_ap_loss_happen' into 'master'
...
Wifi: station state machine change and fix ap loss
See merge request idf/esp-idf!2911
2018-08-06 18:49:31 +08:00
Jiang Jiang Jian
212e25760b
Merge branch 'bugfix/btdm_spp_crash_on_reset' into 'master'
...
component/bt: Fix bug of SPP crash on reset
See merge request idf/esp-idf!2801
2018-08-06 18:39:21 +08:00
Jiang Jiang Jian
744d703dba
Merge branch 'bugfix/btdm_hfp_invalid_sco_param' into 'master'
...
bugfix/btdm_hfp_invalid_sco_param
See merge request idf/esp-idf!2915
2018-08-06 15:35:27 +08:00
Angus Gratton
bceac5d8e7
Merge branch 'feature/component_memory_reservation' into 'master'
...
soc: Allow components to reserve fixed memory ranges that they need
See merge request idf/esp-idf!2596
2018-08-06 15:32:44 +08:00
wangmengyang
d4cecc5a04
component/bt: modify the invalid retransmission setting for SCO link in HFP
2018-08-06 06:20:51 +00:00
Angus Gratton
ffaa71bcd6
docs: Add version-specific include files, version documentation
...
* "git clone" command and a small version header are generated
depending on git properties.
* Add Versions page with details about each version
* Make it clear using master branch is living on the "bleeding
edge"
2018-08-06 15:38:32 +10:00
Angus Gratton
272b95e8ce
linker: Don't link all of 'soc' into IRAM
...
Moves any code in *_perpih.c, memory_layout_utils.c to flash
2018-08-06 01:37:55 +00:00
Angus Gratton
a5ae5ac4b3
soc: Allow components to reserve fixed memory ranges that they need
...
No longer necessary to keep all reserved addresses in 'soc'.
Means 'soc' does not need to know about 'bt', for example.
Also means that Bluetooth can be enabled in config without any memory being reserved for BT
controller. Only if code calling the BT controller is linked in, will this memory be reserved...
2018-08-06 01:37:55 +00:00
Jiang Jiang Jian
f2f2744b29
Merge branch 'bugfix/fix_uart_tx_bug_when_using_ringbuffer' into 'master'
...
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug
See merge request idf/esp-idf!2823
2018-08-05 23:49:40 +08:00
Jiang Jiang Jian
b85e8e10b9
Merge branch 'bugfix/btdm_fix_sc_mitm_bond_failed_in_smp_for_iphones' into 'master'
...
Component/bt: fix SC_MITM_BOND failed in smp for iphones
See merge request idf/esp-idf!2863
2018-08-05 23:48:23 +08:00
kooho
2d0af81ccf
driver(uart): Fixed uart tx_empty interrupt wdt timeout bug.
2018-08-05 06:34:34 +00:00
Tuan PM
9aec055ac2
esp_http_client: Fixed exception on 401 without Www-Authenticate header
...
Closes https://github.com/espressif/esp-idf/issues/2246
2018-08-05 06:24:53 +00:00
Deng Xin
97a41f29b8
Wifi: station state machine change and fix ap loss
...
1. fix ap loss issue
2. change station behavior when receive disassoc and deauth after connect
3. format state machine reason code
2018-08-05 13:44:58 +08:00
baohongde
2cd9eaccc7
component/bt: Fix bug of SPP crash on reset
...
In response to: https://github.com/espressif/esp-idf/issues/1998
2018-08-05 00:36:51 +00:00
Sagar Bijwe
1df85e0039
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-05 00:00:56 +00:00
Sagar Bijwe
8ef7a49cc3
nvs_flash: Bump up nvs version
2018-08-05 00:00:56 +00:00
Jiang Jiang Jian
230d9adb8a
Merge branch 'bugfix/update_libphy_to_fix_some_issues' into 'master'
...
esp32: update libphy.a to v3960
See merge request idf/esp-idf!2908
2018-08-05 07:36:02 +08:00
zhiweijian
163dbc3200
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 16:52:53 +00:00
Liu Zhi Fu
0fa1fee8e8
esp32: update libphy.a to v3960
...
Update libphy.a to v3960:
1. Decrease phy_init time from 900us to 347us in sleep wakeup
2. Fix RX STBC initialization
3. Modify set_chan function to fix interrupt watchdog issue
2018-08-04 16:21:19 +00:00
Jiang Jiang Jian
b674fa0b99
Merge branch 'bugfix/asio_test_timeout' into 'master'
...
tiny-test-fw: Increase default expect timeout, increase asio example test timeouts
See merge request idf/esp-idf!2925
2018-08-05 00:20:48 +08:00
Jitin George
2d79af3b13
esp_http_client: Add support for getting transport type
2018-08-03 16:47:08 +05:30
Jitin George
1fecdc3891
esp_https_ota: Add support for HTTPS based ota feature
2018-08-03 16:47:07 +05:30
Jiang Jiang Jian
ad739ee791
Merge branch 'feature/support_64mbit_psram' into 'master'
...
feature(psram): add support for 64MBit psram of 1.8v and 3.3v.
See merge request idf/esp-idf!2696
2018-08-03 17:59:36 +08:00
Jiang Jiang Jian
4f1e8df367
Merge branch 'bugfix/btdm_a2dp_disconnect_reason' into 'master'
...
bugfix/btdm_a2dp_disconnect_reason
See merge request idf/esp-idf!2914
2018-08-03 15:30:30 +08:00
Jiang Jiang Jian
4649349074
Merge branch 'bugfix/btdm_fix_ble_HIDD_demo_error' into 'master'
...
Component/bt: fix ble HID demo error
See merge request idf/esp-idf!2892
2018-08-03 15:26:40 +08:00
Jiang Jiang Jian
f1d516314b
Merge branch 'bugfix/coex_wifi_pm' into 'master'
...
Bugfix/coex wifi pm
See merge request idf/esp-idf!2883
2018-08-03 15:22:13 +08:00
Angus Gratton
8b35d8ef25
asio example tests: Increase timeout for DHCP lease to 30s
...
Covers time to connect to WiFi and negotiate lease,
may be more than 5-10s on some busy APs
2018-08-03 16:59:23 +10:00
Angus Gratton
6bd58beac5
tiny-test-fw: Increase default expect timeout to 10 seconds
...
Fix CI failures due to (for example) DHCP lease taking more than 5s to be negotiated.
2018-08-03 16:55:50 +10:00
Angus Gratton
b3ff68a935
Merge branch 'bugfix/hard_error_partition_offset' into 'master'
...
partition_table: Hard error if CSV contains invalid/overlapping offsets
See merge request idf/esp-idf!2755
2018-08-03 14:52:43 +08:00
Tian Hao
d9dc2985e7
fix bug that wifi sleep before receive beacon
...
it will resolve the problem:
1. when bluetooth is running (For example: a2dp sink), wifi station cannot connect to AP easily
2. improve wifi connection success ratio when coexist is working
2018-08-03 05:07:06 +00:00
Angus Gratton
5aff7fd07f
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning' into 'master'
...
Component/bt: fix queue blocking when scanning
See merge request idf/esp-idf!2706
2018-08-03 07:24:08 +08:00
krzychb
df9c701864
Removed redundant code to configure 'sphinx-rtd-theme' for documentation
2018-08-02 22:10:33 +02:00
Ivan Grokhotkov
146e87fed5
Merge branch 'feature/expat_getrandom' into 'master'
...
expat: add source of entropy
See merge request idf/esp-idf!2912
2018-08-02 18:03:34 +08:00
Roland Dobai
ce3cb5c3aa
expat: add source of entropy
2018-08-02 11:02:45 +02:00
Angus Gratton
3c5af26506
Merge branch 'test/spi_region' into 'master'
...
spi_master: improve some tests
See merge request idf/esp-idf!2809
2018-08-02 12:09:44 +08:00
Ivan Grokhotkov
7ab4615757
Merge branch 'bugfix/http_chunked_read' into 'master'
...
bugfix/esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport
See merge request idf/esp-idf!2631
2018-08-02 09:40:39 +08:00
Angus Gratton
b6bdde1eeb
Merge branch 'bugfix/github_deploy_regression' into 'master'
...
ci: Fix bad push command when pushing branch to github
See merge request idf/esp-idf!2902
2018-08-02 08:26:30 +08:00
Angus Gratton
d3ae52afd2
Merge branch 'feature/add_logo_to_docs' into 'master'
...
Added Espressif logo to documentation
See merge request idf/esp-idf!2763
2018-08-02 08:26:14 +08:00
fuzhibo
81c762eb86
fix(touch): add_mutex_for_some_touchpad_apis
2018-08-01 18:06:21 +08:00
Ivan Grokhotkov
20147f951c
Merge branch 'bugfix/heap_caps_alloc_32bit' into 'master'
...
heap: heap_caps_malloc(..., MALLOC_CAP_32_BIT) should always allocate a 32-bit aligned size
See merge request idf/esp-idf!2889
2018-08-01 17:39:14 +08:00
Angus Gratton
f2a3429812
partition table: Document 'flags' properly
2018-08-01 19:23:38 +10:00
Angus Gratton
6dea5c9546
partition table: Remove hard-coded offsets from default partition tables
...
Makes them compatible with moving the partition table offset
2018-08-01 19:23:38 +10:00
Angus Gratton
28801449e3
partition_table: Hard error if CSV contains invalid/overlapping offsets
...
Based on report on forum here:
https://esp32.com/viewtopic.php?f=13&t=6382&p=27514
Previous versions were much more relaxed about what could be in the partition
table, erroring out avoids unexpected changes on upgrade like different
partition offsets.
2018-08-01 19:23:38 +10:00
wangmengyang
7f7f8a02d0
component/bt: retrieve disconnection reason in AVDT when ACL-U link is disconnected
2018-08-01 17:16:52 +08:00
Angus Gratton
7457054c1f
Merge branch 'feature/add_rom_elf' into 'master'
...
Support for ROM functions in core dump backtraces
See merge request idf/esp-idf!2672
2018-08-01 15:21:03 +08:00
Tuan PM
2718a5f674
Add http_buffer description
2018-08-01 07:14:36 +00:00
Tuan
5589954800
esp_http_client: fixed http chunked encoding packet loss & add check data before read for ssl transport
...
- A bug of the http client when it downloads a chunked encoding packet is greater than the http_client's buffer, http_parser will call the callback body more than once, and the client will only handle the last
- with ssl_read, need to check before read to avoid timeout blocked when no data for reading
2018-08-01 07:14:36 +00:00
zhiweijian
658668b386
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
2018-08-01 15:06:56 +08:00
Angus Gratton
7ea4db72de
Merge branch 'bugfix/wl_encryption' into 'master'
...
Bugfix: WL works with encrypted flash
See merge request idf/esp-idf!2530
2018-08-01 15:05:47 +08:00
Ivan Grokhotkov
98255f4225
Merge branch 'feature/mbedtls_2_12_0' into 'master'
...
mbedtls: update to 2.12.0
See merge request idf/esp-idf!2879
2018-08-01 14:56:50 +08:00
Ivan Grokhotkov
1898e5fbab
Merge branch 'bugfix/spi_flash_mmap_malloc_internal' into 'master'
...
spi_flash: allocate mmap pages array in internal memory
See merge request idf/esp-idf!2885
2018-08-01 14:56:18 +08:00
Ivan Grokhotkov
2a2f960afa
Merge branch 'feature/mbedtls_platform_memory_pr2237' into 'master'
...
Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it…
See merge request idf/esp-idf!2903
2018-08-01 14:55:54 +08:00
Jiang Jiang Jian
fe09c1cb59
Merge branch 'bugfix/btdm_oob_included' into 'master'
...
Fix undefined reference error by changing BTM_OOB_INCLUDED
See merge request idf/esp-idf!2878
2018-08-01 14:53:37 +08:00
Ivan Grokhotkov
5452e7848d
Merge branch 'bugfix/raise_r_signature' into 'master'
...
syscalls: fix arguments and return type for _raise_r
See merge request idf/esp-idf!2897
2018-08-01 14:50:59 +08:00
Jiang Jiang Jian
f048da2bf7
Merge branch 'feature/wifi_add_internal_api_to_set_fix_rate' into 'master'
...
esp32: add internal API to enable or disable transmitting WiFi MAC frame with fixed rate
See merge request idf/esp-idf!2835
2018-08-01 14:50:15 +08:00
Jiang Jiang Jian
a539754c2e
Merge branch 'doc/wifi_update_channel_state_information_document' into 'master'
...
docs: update channel state information document
See merge request idf/esp-idf!2793
2018-08-01 14:49:14 +08:00
Jiang Jiang Jian
29d7382c2b
Merge branch 'bugfix/btdm_lmp_trans_coll_state_uncleared' into 'master'
...
component/bt: btdm_lmp_transcation_collision_state_uncleared
See merge request idf/esp-idf!2731
2018-08-01 14:47:29 +08:00
Jiang Jiang Jian
b6f52a6455
Merge branch 'bugfix/fix_several_wpa2_issues' into 'master'
...
esp32: fix several wpa2 enterprise issues
See merge request idf/esp-idf!2825
2018-08-01 14:38:15 +08:00
Angus Gratton
6851af3c4b
Merge branch 'bugfix/btdm_fix_gattc_count_invalid' into 'master'
...
Component/bt: fix gattc get count invalid and discover included service error
See merge request idf/esp-idf!2770
2018-08-01 14:06:38 +08:00
Angus Gratton
e6dc0c7bde
Merge branch 'bugfix/remove_bt_dependency_on_lwip_header' into 'master'
...
Bugfix/remove bt dependency on lwip header
See merge request idf/esp-idf!2882
2018-08-01 13:57:35 +08:00
Liu Zhi Fu
343bd32bd8
esp32: fix several wpa2 enterprise issues
...
Fix following issues:
1. Fix heap corrupted bug
2. Fix memory leak bug
3. Make wpa2 enterprise thread-safe
Closes https://github.com/espressif/esp-idf/issues/1569
2018-08-01 03:43:30 +00:00
XiaXiaotian
149d79f9a1
esp32: add internal API to enable or disable transmitting WiFi MAC frame with
...
fixed rate
2018-08-01 11:19:43 +08:00
Angus Gratton
9082fef6cf
Merge branch 'feature/update_libexpat' into 'master'
...
expat: Move libexpat into submodule and update to version 2.2.5
See merge request idf/esp-idf!2868
2018-08-01 09:44:38 +08:00
Jason von Nieda
d7a17ac941
Adds a Kconfig option for mbedtls' MBEDTLS_PLATFORM_MEMORY define. This makes it possible to override the mbedtls allocator with your own.
...
Merges https://github.com/espressif/esp-idf/pull/2237
2018-08-01 11:28:28 +10:00
Angus Gratton
99401a16e7
ci: Fix bad push command when pushing branch to github
...
Fixes regression in e5f4ae63f1
2018-08-01 10:47:38 +10:00
Roland Dobai
1d1533ee8e
expat: Move libexpat into submodule and update to version 2.2.5
2018-07-31 13:25:00 +02:00
Ivan Grokhotkov
79e7f02286
spi_flash: allocate mmap pages array in internal memory
...
* spi_flash_mmap_pages needs pages array to be in internal memory.
Document and check this.
* Fix a bug that spi_flash_mmap did not allocate pages array in
internal memory.
* Minor style fixes: const-ify pages argument of spi_flash_mmap, add
spaces around operators, mark output arguments with [out].
Closes https://github.com/espressif/esp-idf/issues/2229 .
2018-07-31 13:11:04 +03:00
Michael (XIAO Xufeng)
0aa52057ed
spi_master: enable 2 tests in CI
...
The test is previously disabled for the requirement of external
connection. Now the signals are connected by internal connections.
Also change the failure logic of the test.
2018-07-31 18:04:51 +08:00
Michael (XIAO Xufeng)
fb15f970d2
spi_master: change test to test DMA tx/rx in regions like psram
2018-07-31 18:04:50 +08:00
wangmengyang
ae7bf1990e
component/bt: bugfix for uncleared LMP transaction collision state after rejecting sniff request from slave
2018-07-31 17:10:32 +08:00
Ivan Grokhotkov
1fdbbec13a
syscalls: fix arguments and return type for _raise_r
...
ROM code still uses incorrect function signature.
Closes https://github.com/espressif/esp-idf/issues/2245 .
2018-07-31 12:08:04 +03:00
Jason Kölker
483c3d7a7b
esp_http_client: add head method support
...
Merges https://github.com/espressif/esp-idf/pull/2093
2018-07-31 11:08:31 +03:00
Angus Gratton
1c7a8b3b71
Merge branch 'bugfix/spinlock_perf' into 'master'
...
freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()
See merge request idf/esp-idf!2873
2018-07-31 15:31:55 +08:00
zhiweijian
1261b9e40b
Component/bt: fix ble HID demo error
2018-07-31 15:25:14 +08:00
Angus Gratton
6e4b0c3e2f
freertos: Remove either one or two assertions from "fast path" of vPortCPUReleaseMutex()
...
Saves a few cycles by only testing the count validity once, and never for the common case where the
mutex was not recursively locked.
2018-07-31 06:35:25 +00:00
Dmitry
6a950d6a17
Build test applicatoin on host failer fixed.
...
Make host tests compilible.
2018-07-31 08:45:43 +03:00
Dmitry
2281f6318a
Remove CR line ends.
2018-07-31 08:45:43 +03:00
Dmitry
e98a49a691
Position save included.
2018-07-31 08:45:43 +03:00
Dmitry
06bab70822
Usless read removed.
2018-07-31 08:45:43 +03:00
Dmitry
76ee450c3d
Erase flash before the first use added.
...
Пожалуйста, введите сообщение коммита для ваших изменений. Строки,
2018-07-31 08:45:43 +03:00
Dmitry
c9872c649e
Additional sector position should not be changed at update.
2018-07-31 08:45:43 +03:00
Dmitry
9d609af54c
Added check for version after write.
2018-07-31 08:45:43 +03:00
Dmitry
f392727abf
Additional info about version update included.
2018-07-31 08:45:42 +03:00
Dmitry
e834d6fffc
CRC check improved.
2018-07-31 08:45:42 +03:00
Dmitry
35842d02ab
Calculation for heap usage corrected with workaround.
...
Fixed problem with multiple mount/unmount for different devices.
Additional check for structure length included into the code.
Remove useless spaces.
Added initialization for reserved memory.
2018-07-31 08:45:42 +03:00
Dmitry
f05f3fbde8
Added test for version update from V1 to V2. Problems for tests on host are fixed. Random function changed to esp_random()
2018-07-31 08:45:42 +03:00
Dmitry
a6d6c58eca
The version of WL component changed from 1 to 2.
...
WL version 2 mark used sectors as 16 bytes block of bytes with CRC.
This changes required because old version did not worked with encryption.
Additional unit tests are implemented.
2018-07-31 08:45:42 +03:00
Angus Gratton
304e9085eb
esp32: Allow SPIRAM_MALLOC_RESERVE_INTERNAL to span multiple regions of memory
...
- Allocate this pool after main_task is running, so it can use startup stack RAM
- Raise the maximum allowed value in KConfig to 256KB
- Based on forum discussions https://esp32.com/viewtopic.php?f=2&t=6550&sid=76cd27bda76c6d0e83d3fcc9ec30c650&start=10#p28253
2018-07-31 15:17:07 +10:00
Angus Gratton
8cbd12b9b7
heap: When verifying & swapping a fill pattern, stop swapping if verification fails
...
Avoids situation where data has been overwritten during any post-mortem analysis
(core dump, gdbstub, etc).
As reported via forum https://esp32.com/viewtopic.php?f=2&t=6471&p=27790
2018-07-31 14:53:24 +10:00
Angus Gratton
ae59d7522a
heap: heap_caps_malloc(..., MALLOC_CAP_32_BIT) should always align a 32-bit aligned size
...
Fixes crash in heap poisoning code if a non-32bit-aligned size is specified.
2018-07-31 14:29:31 +10:00
Angus Gratton
321b1e0205
Merge branch 'feature/unit_tests_command_line' into 'master'
...
tools: Allow running unit tests from command line
See merge request idf/esp-idf!2589
2018-07-31 11:38:22 +08:00
zhiweijian
feef9b9387
Component/bt: fix gattc get count invalid
2018-07-31 02:36:46 +00:00
Ivan Grokhotkov
9d2f7c60d9
Merge branch 'bugfix/rmt_struct_bad_addressing' into 'master'
...
removed possible uint16 access to 32bit register, noted fifo use not recommended
See merge request idf/esp-idf!2821
2018-07-31 04:01:46 +08:00
Ivan Grokhotkov
43baa7f2b9
Merge branch 'feature/cermak_asio_support' into 'master'
...
asio component and examples in esp-idf
See merge request idf/esp-idf!2509
2018-07-31 03:59:28 +08:00
Ivan Grokhotkov
4116c5a5f9
Merge branch 'bugfix/coap_client_parse_url' into 'master'
...
bugfix: unexpected host item when coap client parse a URL string
See merge request idf/esp-idf!2642
2018-07-31 03:58:06 +08:00
krzychb
42cf4429a9
Fixed logo width to display correctly in Chinese version of documentation
2018-07-30 21:16:27 +02:00
Jiang Jiang Jian
fd05dd206f
Merge branch 'bugfix/btdm_sco_end_crash_on_supv_to' into 'master'
...
bugfix/btdm_sco_end_crash_on_supv_to
See merge request idf/esp-idf!2737
2018-07-30 22:14:07 +08:00
Roland Dobai
40486c8723
tools: Allow running unit tests from command line
...
Add argument parsing to unit_test.py to allow running unit tests from
command line.
2018-07-30 13:05:41 +02:00
Hrishikesh Dhayagude
eb92a06aaf
examples/bluetooth: Fix incorrect end handle print in the GATT client applications
...
End handle is incorrectly printed as start handle
Tested that gatt_client, gatt_security_client and gattc_multi_connect compile successfully
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-07-30 12:04:07 +05:30
Angus Gratton
bba047fb3e
Merge branch 'bugfix/heap_metadata_tests' into 'master'
...
heap: Fix heap metadata test to account for background memory allocations
See merge request idf/esp-idf!2872
2018-07-30 14:30:59 +08:00
David Cermak
1ef13c524c
asio: initial idf port of asio library without ssl
2018-07-30 06:28:43 +00:00
David Cermak
eee34ddd91
lwip fix for udp receivefrom
2018-07-30 06:28:43 +00:00
Ivan Grokhotkov
5b9feaa1fd
mbedtls: update to 2.12.0
2018-07-30 09:11:16 +03:00
Noble-Mushtak
dbd429af1b
Changed value of BTM_OOB_INCLUDED to TRUE
...
Merges https://github.com/espressif/esp-idf/pull/2206
2018-07-30 08:53:01 +03:00
Angus Gratton
97286b3107
Merge branch 'feature/cmd_flash_reset_ota_data' into 'master'
...
make: Add feature to cmd 'make flash' - reset ota_data partition
See merge request idf/esp-idf!2611
2018-07-30 13:52:43 +08:00
Mahavir Jain
02ddb7302e
wpa_supplicant: removed unrequired header dir include from component.mk
...
- Also fixed license header in rtc driver
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-07-30 11:17:11 +05:30
Mahavir Jain
b79fefa011
bluedroid: remove dependency on arpa/inet.h include
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-07-30 11:16:38 +05:30
Angus Gratton
2ab04621b6
Merge branch 'bugfix/ci_github_deploy' into 'master'
...
ci: Simplify github deployment
See merge request idf/esp-idf!2862
2018-07-30 12:57:21 +08:00
Angus Gratton
bfc6bb97c0
heap: Fix heap metadata test to account for background memory allocations
2018-07-30 11:41:30 +10:00
He Yin Ling
561884b62f
Merge branch 'test/workaround_ci_failures' into 'master'
...
test: workaround ci failures
See merge request idf/esp-idf!2859
2018-07-28 09:01:36 +08:00
He Yin Ling
2b7dd2ef9a
ci: temp modify http server tests to get CI pass:
...
1. change the default value of WIFI password
2. disable simple and advanced test cases
2018-07-27 23:38:20 +08:00
He Yin Ling
2d60e24056
ci: temp disable http client tests:
...
connection is not stable. need to replace with local test servers.
2018-07-27 19:45:12 +08:00
He Yin Ling
85bc2d5967
tiny-test-fw: support ignore test cases in CI assign test stage
2018-07-27 19:44:15 +08:00
He Yin Ling
316d087960
tiny-test-fw: fix exception during print debug info:
...
DUT log is unicode, might not be able to encode
2018-07-27 19:44:15 +08:00
He Yin Ling
bffcea09df
CI: erase nvs partition before test:
...
Latest NVS partition bin can't be parsed by old IDF revision. Need to erase before test.
2018-07-27 17:22:24 +08:00
Angus Gratton
e5f4ae63f1
ci: Simplify github deployment
...
CI_COMMIT_REF_NAME lets us use a single line to git push
2018-07-27 12:18:28 +10:00
Jiang Jiang Jian
1ad4ec10b2
Merge branch 'bugfix/add_compatible_to_aes_encryption' into 'master'
...
Wifi: add compatible to ccmp encryption
See merge request idf/esp-idf!2802
2018-07-27 10:14:33 +08:00
Angus Gratton
ee13dafde2
Merge branch 'doc/esp32_sw_breaks' into 'master'
...
docs: Adds ESP32 SW flash breakpoints description
See merge request idf/esp-idf!2838
2018-07-27 07:54:33 +08:00
Alexey Gerenkov
821fe3dc5a
esp32: Adds SW flash breakpoints description
2018-07-26 13:56:45 +03:00
wangmengyang
a23f857452
component/bt: bugfix on the crash during end of sco link resulted from link supervision timeout
2018-07-26 14:41:25 +08:00
Jiang Jiang Jian
8d5ec413d5
Merge branch 'bugfix/tw23404_dhcp_NAK_issue_3' into 'master'
...
modify the timers
See merge request idf/esp-idf!2798
2018-07-26 14:06:12 +08:00
Angus Gratton
cf593e84d3
Merge branch 'bugfix/spiffs_readdir_recursion' into 'master'
...
SPIFFS: fix stack overflow in readdir_r due to recursion
See merge request idf/esp-idf!2839
2018-07-26 08:33:24 +08:00
Jiang Jiang Jian
b3dd6ff9fc
Merge branch 'bugfix/btdm_controller_deinit' into 'master'
...
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
See merge request idf/esp-idf!2800
2018-07-25 21:00:35 +08:00
Konstantin Kondrashov
de2b1cb02a
make: Add feature to cmd 'make flash' - reset ota_data partition
...
Add a command `make erase_ota` - erases otadata if it there is in the
partition table otherwise error 'Partition table does not have ota_data partition'.
Closes https://github.com/espressif/esp-idf/issues/1821
2018-07-25 11:22:15 +00:00
Ivan Grokhotkov
a1709a6682
Merge branch 'bugfix/heap_test_alloc_iram' into 'master'
...
heap/tests: make IRAM allocation size divisible by 4
See merge request idf/esp-idf!2853
2018-07-25 16:20:16 +08:00
Ivan Grokhotkov
9a2583122c
heap/tests: make IRAM allocation size divisible by 4
...
heap_caps_malloc will fail to poison a block in IRAM with size not
divisible by 4. The proper fix will be to make poisoning code
smarter, or to disallow allocations from IRAM with size not aligned
by 4.
2018-07-25 09:45:39 +03:00
Angus Gratton
4f2fe93bc1
Merge branch 'feature/idf-fs-profile-modifications' into 'master'
...
IDF fs profiling tool modifications
See merge request idf/esp-idf!2705
2018-07-25 08:56:04 +08:00
Angus Gratton
21f327060b
Merge branch 'bugfix/host_tools_warnings' into 'master'
...
Fix host tools warnings
See merge request idf/esp-idf!2729
2018-07-25 08:55:29 +08:00
Ivan Grokhotkov
caeab09f65
Merge branch 'bugfix/src_encoding' into 'master'
...
Correct source code encoding
See merge request idf/esp-idf!2820
2018-07-24 22:03:46 +08:00
Ivan Grokhotkov
d50c03cc7d
Merge branch 'bugfix/unit-test-build-fix' into 'master'
...
unit-test-app: don’t include project.mk for ut- targets
See merge request idf/esp-idf!2619
2018-07-24 20:48:12 +08:00
Ivan Grokhotkov
f3260cc30f
test/uart: fix compilation warning
2018-07-24 09:56:40 +03:00
Ivan Grokhotkov
a981e73e22
heap: move get_all_caps to IRAM, used in unit test
2018-07-24 09:56:40 +03:00
Ivan Grokhotkov
964087b7c8
freertos: bump limit for spinlock performance test to 300 cycles
2018-07-24 09:56:40 +03:00
Ivan Grokhotkov
81ce7e4afa
newlib: fix unit test for psram config
2018-07-24 09:56:40 +03:00
Ivan Grokhotkov
7a154d6a4e
heap: fix unit test for the case when less than 10k of IRAM is available
2018-07-24 09:56:40 +03:00
Ivan Grokhotkov
253930acd1
spi_master, ulp: fix aliasing errors in unit tests
2018-07-24 09:54:55 +03:00
Ivan Grokhotkov
b0af8ad22f
unit-test-app: don’t include project.mk for ut- targets
...
If project.mk is included twice in recursive invocation of Make, some
variables defined on the first pass will not be redefined on the
second pass. Rather than cleaning up these variables before calling
Make recursively, don’t include IDF project.mk at all, if one of the
ut- targets is requested.
2018-07-24 09:54:55 +03:00
Angus Gratton
28787ad392
Merge branch 'bugfix/bootloader_dev_zero_app_count' into 'master'
...
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry
See merge request idf/esp-idf!2842
2018-07-24 14:41:05 +08:00
Renz Bagaporo
8ce14d0406
console: Suppress unused warning asprintf result
2018-07-24 06:08:48 +00:00
Renz Bagaporo
4355eb1bc2
console: Ignore var cloberred warning for argtable
2018-07-24 06:08:48 +00:00
Renz Bagaporo
d31b31787c
spiffs: Explicitly indicate unused value
2018-07-24 06:08:48 +00:00
Angus Gratton
beb3611ca3
Merge branch 'bugfix/fix_pcnt_isr_service_register_bug' into 'master'
...
driver(pcnt): fix the pcnt isr service can not be re registered bug.
See merge request idf/esp-idf!2439
2018-07-24 13:49:45 +08:00
Angus Gratton
002bf37f14
Merge branch 'bugfix/unit_test_thread_local_storage' into 'master'
...
ci/esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes
See merge request idf/esp-idf!2794
2018-07-24 13:43:41 +08:00
Konstantin Kondrashov
8c808c2d9a
bootloader: Fix issue - bs->app_count is zero but ota_data have valid entry
...
If we have the partition table without any ota_apps but in ota_data have
valide entry, in this case we get an error(hang). This commit fix this
case. If bs->app_count is zero when selecting the factory app.
Closes https://github.com/espressif/esp-idf/issues/2218
2018-07-24 13:09:32 +08:00
Angus Gratton
466ec6d9ac
Merge branch 'bugfix/ci_use_mirror_for_public' into 'master'
...
ci: Use local mirrors on the public branches too
See merge request idf/esp-idf!2836
2018-07-24 12:19:24 +08:00
Angus Gratton
c3069b97f9
Merge branch 'bugfix/udp_multicast_example_leak' into 'master'
...
udp multicast example: Fix leak, change default port (and log UDP port in use)
See merge request idf/esp-idf!2834
2018-07-24 12:12:53 +08:00
kooho
01516abe5a
Add some comments in pcnt.h.
2018-07-24 10:33:58 +08:00
Ivan Grokhotkov
baa4613fc1
Merge branch 'bugfix/fix_touchpad_wakeup_status' into 'master'
...
fix(sleep): swap touchpad num in wakeup status
See merge request idf/esp-idf!2708
2018-07-24 04:08:43 +08:00
krzychb
c7ab37143b
Logo version 8, vector graphics and a new typeface
2018-07-23 19:18:50 +02:00
Ivan Grokhotkov
15b22e5aa5
spiffs: add test case for readdir_r with large number of files
...
Ref. https://esp32.com/viewtopic.php?f=13&t=6486
2018-07-23 15:34:18 +03:00
Angus Gratton
0905aa0103
Merge branch 'bugfix/bootloader_include_priv' into 'master'
...
bootloader_support: Rename include_priv directory to include_bootloader
See merge request idf/esp-idf!2686
2018-07-23 18:50:35 +08:00
Angus Gratton
b5db59ec31
Merge branch 'bugfix/http_client_enhanced' into 'master'
...
esp_http_client: Resolve some bugs from the github community
See merge request idf/esp-idf!2831
2018-07-23 17:55:49 +08:00
Anton Maklakov
d5f666dee3
ci: Use local mirrors on the public branches (master, release-) too
...
Use DONT_USE_MIRROR=1 to force using the original repositories if you need
2018-07-23 17:04:38 +08:00
Angus Gratton
bf665ae62e
udp_multicast example: Change port to 3333 to match README, log port from example
2018-07-23 18:25:33 +10:00
Angus Gratton
5fb665dbaf
udp_multicast example: Fix memory leak from getaddrinfo() calls
...
Closes https://github.com/espressif/esp-idf/issues/2201
2018-07-23 18:25:33 +10:00
Angus Gratton
fbec7de7f8
bootloader_support: Rename include_priv directory to include_bootloader
...
Old rationale for "priv" no longer applies.
As reported here: https://esp32.com/viewtopic.php?f=13&t=6155&p=27151#p26601
2018-07-23 15:58:27 +10:00
David Cermak
409c91bcb9
removed possible uint16 access to 32bit register, noted fifo use not recommended
2018-07-23 07:57:18 +02:00
Renz Bagaporo
70e68c99d3
Modifications for fs profiling tool
2018-07-23 05:24:33 +00:00
Tuan PM
6ef558320a
esp_http_client: Resolve some bugs from the github community
...
- Closes https://github.com/espressif/esp-idf/issues/2135
- Closes https://github.com/espressif/esp-idf/issues/2208
- Closes https://github.com/espressif/esp-idf/issues/2213
2018-07-23 12:22:19 +07:00
Angus Gratton
5f2f84c220
Merge branch 'feature/http_server_finalize' into 'master'
...
Feature add HTTP Web Server component
See merge request idf/esp-idf!2606
2018-07-23 13:11:04 +08:00
Angus Gratton
57342c449d
Merge branch 'feature/tools_mass_mfg' into 'master'
...
Add files for mass manufacturing tool
See merge request idf/esp-idf!2716
2018-07-23 13:10:17 +08:00
Angus Gratton
cf614120a5
Merge branch 'bugfix/reclaim_bt_ble_bss' into 'master'
...
components/bt: Reclaim BT/BTDM BSS in bluetooth memory release function
See merge request idf/esp-idf!2750
2018-07-23 12:48:13 +08:00
Angus Gratton
e75a1129e0
Merge branch 'bugfix/bootloader_noreturn_always' into 'master'
...
bootloader: Ensure bootloader never returns to caller
See merge request idf/esp-idf!2815
2018-07-23 11:56:14 +08:00
Angus Gratton
b6a7458e14
esp32 tests: TLS test: use same size stack for static & non-static task
...
Use constant instead of magic number of task priorities.
2018-07-23 03:54:44 +00:00
Angus Gratton
7313f3f925
esp32: Fix race in "TLS Test" where s_task can go out of scope before cleanup finishes
...
Probable cause for CI failures of "LoadStoreError" after this task finishes running.
2018-07-23 03:54:44 +00:00
Angus Gratton
ae24c13da2
Merge branch 'bugfix/secure_boot_padding' into 'master'
...
secure boot: Fix padding issue allowing unverified data to be mapped into the address space
See merge request idf/esp-idf!2778
2018-07-23 11:44:50 +08:00
Anton Maklakov
ea1a99bcb9
Merge branch 'cermak_fuzzer_ci_job' into 'master'
...
added CI job for AFL fuzzer tests
See merge request idf/esp-idf!2537
2018-07-23 09:41:10 +08:00
krzychb
992ead0671
Logo version 7 - gray logo background, improved contrast, simplified css overrides
2018-07-21 20:06:27 +02:00
Deng Xin
faede72435
Wifi: add compatible to ccmp encryption
2018-07-21 14:37:27 +08:00
Jiang Jiang Jian
8892174383
Merge branch 'bugfix/coex_pause' into 'master'
...
fix coex pause cause bluetooth performance decrease
See merge request idf/esp-idf!2741
2018-07-21 14:22:09 +08:00
Konstantin Klitenik
3486b51388
Fix stackoverflow due to recursion in vfs_spiffs_readdir_r
2018-07-20 10:27:53 -04:00
Ivan Grokhotkov
999c3dbf0e
Merge branch 'feature/test_exclude_components' into 'master'
...
build: Add TEST_EXCLUDE_COMPONENTS
See merge request idf/esp-idf!2648
2018-07-20 19:43:46 +08:00
Ivan Grokhotkov
0e3694b542
Merge branch 'feature/freertos_vtasklist_xcoreid' into 'master'
...
freertos: Add option to display xCoreID in vTaskList
See merge request idf/esp-idf!2728
2018-07-20 18:46:41 +08:00
Anurg Kar
656bef7bb7
Http Server : Add a simple light weight HTTP Server Component.
...
Also add examples, docs and test apps for the HTTP Server.
2018-07-20 15:49:17 +05:30
David Cermak
0c147648f7
added CI job for AFL fuzzer tests
2018-07-20 10:28:12 +02:00
Tian Hao
6e4342a877
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
...
1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.
2018-07-20 14:10:55 +08:00
Hrishikesh Dhayagude
f610249bdd
Reclaim BT/BTDM BSS and Data in bluetooth memory release function
...
1. Modify esp_bt_controller_mem_release() to release BTDM BSS and Data to heap if
ESP_BT_MODE_BTDM mode is passed to it
2. Add a new API esp_bt_mem_release() which internally calls
esp_bt_controller_mem_release() with the provided mode and then if mode
is ESP_BT_MODE_BTDM, releases BT BSS and Data to heap.
Background:
For Wi-Fi and BT/BLE applications, for e.g. the usecase is like when
Bluetooth is used for provisioning and once the device is connected to the Wi-Fi
AP, we can turn off Bluetooth completely. In such scenarios, it should be possible to
reclaim all the memory of Bluetooth. Although, currently this does not
happen.
Experiment:
Made the following modifications to examples/bluetooth/gatt_server :
1. Added support of simple_wifi to it
2. Moved all the bluetooth related code under CONFIG_BT_ENABLED config
option
3. Calculated the free heap in 2 similar scenarios:
i. Disabled BT (CONFIG_BT_ENABLED undefined) and checked the free
heap after STA connected
ii. Kept BT enabled and disabled it after STA connected and checked
the free heap
Ideally, the numbers for i., ii. above should have been similar. But
there was a delta of almost 30-31K. (i. > ii.)
4. Through make size-components checked the common BSS for libbta.a and libbtdm_app.a
and found it to be almost 30K. Data is around 1K
Solution:
1. Modified the linker script to mark the BSS and Data for these libraries and
free it when ESP_BT_MODE_BTDM mode is passed to mem release APIs.
2. Verified that the free heap is comparable for i. and ii. above.
Note: It is known that once this is done, Bluetooth can only be used
again post reboot.
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com >
2018-07-20 11:33:26 +05:30
Shivani Tipnis
35205d8513
Add files and docs for mass mfg
2018-07-20 10:41:11 +05:30
Jiang Jiang Jian
e4fb359c34
Merge branch 'bugfix/btdm_bt_remove_device_fail_when_ble_connected' into 'master'
...
component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at the same time
See merge request idf/esp-idf!2767
2018-07-20 10:46:31 +08:00
Angus Gratton
45275ab189
Merge branch 'feature/nvs_multipage_blob' into 'master'
...
nvs-flash: Support for blobs larger than half of SPI Flash sector size
See merge request idf/esp-idf!2182
2018-07-20 09:13:34 +08:00
Sagar Bijwe
5a27a63541
nvs-flash: Support for blobs larger than half of SPI Flash sector size
...
This change removes the earlier limitation of 1984 bytes for storing data-blobs.
Blobs larger than the sector size are split and stored on multiple sectors.
For this purpose, two new datatypes (multi-page index and multi-page data) are
added for entries stored in the sectors. The underlying read, write, erase and find
operations are modified to support these large blobs. The change is transparent
to users of the library and no special APIs need to be used to store these large
blobs.
2018-07-20 00:13:15 +05:30
Roland Dobai
0efb4a11ec
Correct source code encoding
2018-07-19 14:00:44 +02:00
Ivan Grokhotkov
fec079cd44
Merge branch 'bugfix/rtc_io_hold_regs' into 'master'
...
Fix errors in rtc_gpio_desc values
See merge request idf/esp-idf!2765
2018-07-19 15:04:42 +08:00
Ivan Grokhotkov
a8f39a892e
Merge branch 'bugfix/ulp_example_fix' into 'master'
...
ulp example: fix for RTC IOs
See merge request idf/esp-idf!2768
2018-07-19 15:04:20 +08:00
Angus Gratton
f0d74b1c64
bootloader: Ensure bootloader never returns to caller
...
* Fixes some "noreturn" functions in bootloader utils which did return (causing fatal CPU
exceptions).
* Marks bootloader entry as "noreturn", preventing "user code done" from stalling boot
Partial fix for https://github.com/espressif/esp-idf/issues/1814 TW20016
(Comprehensive fix for this issue will be enabling WDT during bootloader, coming shortly.)
2018-07-19 16:24:11 +10:00
Angus Gratton
a7d00f44ab
Merge branch 'feature/esp32-pico-kit_v4.1' into 'master'
...
Added description of ESP32-PICO-KIT V4.1 board
See merge request idf/esp-idf!2762
2018-07-19 08:05:00 +08:00
krzychb
ca15dbd05e
Added description of ESP32-PICO-KIT V4.1 board
2018-07-18 20:02:43 +02:00
Wang Jia Lin
de907e8801
Merge branch 'bugfix/rmt_mem_num_maximum_limit_is_not_accurate' into 'master'
...
bugfix(rmt): Modify the rmt_mem_num maximum limit value from 15 to 8.
See merge request idf/esp-idf!2734
2018-07-18 16:15:14 +08:00
Ivan Grokhotkov
c46b8178f2
Merge branch 'bugfix/sdmmc_auto_stop_cmd' into 'master'
...
sdmmc: enable host auto_stop only for certain commands
See merge request idf/esp-idf!2710
2018-07-18 14:55:45 +08:00
Ivan Grokhotkov
0b78959070
Merge branch 'bugfix/deep_sleep_flush_uart' into 'master'
...
sleep: fix flushing UARTs when entering deep sleep
See merge request idf/esp-idf!2698
2018-07-18 14:55:13 +08:00
krzychb
2506a9416e
Version 2 of the logo, without a frame an with uniform color
2018-07-18 07:03:00 +02:00
krzychb
2fd5ce3022
Made the logo smaller
2018-07-18 07:03:00 +02:00
krzychb
da86681f21
Added Espressif logo to documentation
2018-07-18 07:03:00 +02:00
kittinson
ae728d66c8
Update theme_overrides.css
...
Changed colors in css file, in order to make documentation website look like official website.
2018-07-18 07:03:00 +02:00
Jiang Jiang Jian
d62293165b
Merge branch 'bugfix/btdm_using_osi_malloc_instead_of_malloc' into 'master'
...
component/bt: Using osi_malloc instead of malloc
See merge request idf/esp-idf!2748
2018-07-18 11:09:28 +08:00
Angus Gratton
aa4d77467b
Merge branch 'bugfix/esp_err_ignore_dirs' into 'master'
...
esp32: Do not document error codes defined in examples
See merge request idf/esp-idf!2732
2018-07-18 08:29:53 +08:00
Tian Hao
cf14826100
fix coex pause cause bluetooth performance decrease
...
1. it may cause BLE connection unstable
2. it may cause Classic BT connection unstable
3. it may cause BLE/BREDR scan performance decrease
2018-07-17 21:06:57 +08:00
Jiang Jiang Jian
94a599fb64
Merge branch 'bugfix/btdm_some_misspell' into 'master'
...
component/bt: Fix some misspell
See merge request idf/esp-idf!2783
2018-07-17 20:48:03 +08:00
Jiang Jiang Jian
603ce05376
Merge branch 'bugfix/ampdu_duplicate' into 'master'
...
wifi: fix ampdu duplicate issue
See merge request idf/esp-idf!2742
2018-07-17 20:45:45 +08:00
fuzhibo
54a67d92a4
fix(sleep): swap touchpad num in wakeup status
2018-07-17 20:25:06 +08:00
Ivan Grokhotkov
5376a06d7b
Merge branch 'bugfix/range_CONFIG_ESP32_RTC_CLK_CAL_CYCLES' into 'master'
...
soc/clk: Fix range CONFIG_ESP32_RTC_CLK_CAL_CYCLES
See merge request idf/esp-idf!2719
2018-07-17 19:43:11 +08:00
Ivan Grokhotkov
cffaa9f5b5
freertos: add configTASKLIST_INCLUDE_COREID
2018-07-17 10:57:26 +00:00
Dave McNaughton
0fb1945482
Added: display xCoreID in vTaskList
...
Merges https://github.com/espressif/esp-idf/pull/2064
2018-07-17 10:57:26 +00:00
Ivan Grokhotkov
ea452920bb
Merge branch 'bugfix/time_ut_wakeup_from_deep_sleep' into 'master'
...
esp32/test: Reduces a unit test execution time
See merge request idf/esp-idf!2776
2018-07-17 18:39:15 +08:00
zhangyanjiao
d90f8c06c2
changes for timers
2018-07-17 16:46:53 +08:00
Wang Jia Lin
5480a6b6e5
Merge branch 'bugfix/clear_intr_status_when_enable_intr' into 'master'
...
driver(gpio): fix the gpio interrupt false triggering issue
See merge request idf/esp-idf!2498
2018-07-17 15:44:00 +08:00
Wang Jia Lin
e7135c53b5
Merge branch 'bugfix/fix_uart_timeout_bug_when_enable_reftick' into 'master'
...
driver(uart): Fix uart time_out bug when using ref_tick
See merge request idf/esp-idf!2775
2018-07-17 15:43:47 +08:00
XiaXiaotian
85ad8cfcfc
docs: update channel state information document
...
1. Move channel to the first row of the table.
2. Remove the condition of HT20/HT40 for they are determined by
secondary channel.
3. Clean up the CSI table.
2018-07-17 14:50:30 +08:00
Angus Gratton
5cbc4e976b
app_update: Don't double-verify secure boot signature during OTA
...
esp_image_load() already verifies the signature
2018-07-17 15:33:47 +10:00
Angus Gratton
57b601ab7f
secure boot: Pad to avoid data after the signature mapping into the address space
...
Because address space is mapped in 64KB pages, it was possible for unauthenticated data after the
app .bin to become mapped into the flash cache address space.
This problem is solved by 2 changes:
* "esptool elf2image --secure-pad" will pad the image so that the signature block ends close to the
64KB boundary. Due to alignment constraints it will be 12 bytes too short after signing (but
with flash encryption, these 12 bytes are still encrypted as part of the last block and can't be
arbitrarily changed).
* By default, secure boot now requires all app partitions to be a multiple of 64KB in size.
2018-07-17 15:33:47 +10:00
baohongde
cf061a01b7
component/bt: Fix some misspell
...
Using CONFIG_BT_SSP_ENABLE instead if BT_SPP_INCLUDED
2018-07-16 20:56:45 +08:00
XiongYu
6d57757840
Modify the rmt_mem_num maximum limit value from 15 to 8.
2018-07-16 19:10:42 +08:00
Konstantin Kondrashov
4df7145564
esp32/test: Reduces a unit test execution time
2018-07-16 14:14:40 +05:00
chenyudong
936b8e1967
wifi: fix ampdu duplicate issue
...
fix ampdu duplicate issue
2018-07-16 17:10:58 +08:00
Jiang Jiang Jian
70f3933db1
Merge branch 'bugfix/tw23835_add_source_ip_route_for_unicast' into 'master'
...
lwip: add source ip based route for unicast packet
See merge request idf/esp-idf!2757
2018-07-16 17:01:16 +08:00
hou wen xiang
e2b9b70800
driver(uart): Fix uart time_out bug when using ref_tick
2018-07-16 16:56:14 +08:00
Angus Gratton
e5d2406b1d
Merge branch 'bugfix/spi_cs_setup_fulldup' into 'master'
...
fix(spi_master): allow to use cs_ena_pretrans in full duplex mode without…
See merge request idf/esp-idf!2576
2018-07-16 16:30:36 +08:00
Angus Gratton
fe1ffb3d1c
Merge branch 'bugfix/mdns_remove' into 'master'
...
mdns: Minor fix for mdns_service_remove()
See merge request idf/esp-idf!2760
2018-07-16 16:29:20 +08:00
Angus Gratton
f2f925de78
Merge branch 'bugfix/sh2lib_send_bug' into 'master'
...
sh2lib: Fix a bug in send
See merge request idf/esp-idf!2656
2018-07-16 16:29:03 +08:00
Angus Gratton
e90a920ea8
Merge branch 'bugfix/add_queueset_critical_sections' into 'master'
...
freertos: Add critical sections to queue sets.
See merge request idf/esp-idf!2761
2018-07-16 15:57:35 +08:00
baohongde
11ca056320
component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at the same time
2018-07-16 15:46:27 +08:00
Jiang Jiang Jian
7f382f461c
Merge branch 'feature/support_for_XM25QU64A' into 'master'
...
feature(flash): set QIO mode for XM25QU64A(1V8_64M_flash)
See merge request idf/esp-idf!2753
2018-07-16 12:16:13 +08:00
Jiang Jiang Jian
8809fabcd5
Merge branch 'bugfix/ledc_duty_and_freq' into 'master'
...
bugfix(ledc): fix bugs reported from unit-test and github.
See merge request idf/esp-idf!2735
2018-07-16 12:12:48 +08:00
Angus Gratton
68e01045f1
Merge branch 'bugfix/secure_boot_regression_partitions' into 'master'
...
Fix secure boot & flash encryption regression, don't verify partitions as part of secure boot
See merge request idf/esp-idf!2764
2018-07-16 12:07:56 +08:00
Jiang Jiang Jian
3b19269fcb
Merge branch 'feature/wifi_check_wifi_lib_git_commit_id' into 'master'
...
check WiFi library git commit id in unit test
See merge request idf/esp-idf!2621
2018-07-16 11:45:59 +08:00
Angus Gratton
cee6d7d5a9
docs: Add more ReST-isms in secure boot & flash encryption docs
...
(Original version of these docs were in Markdown.)
2018-07-16 11:52:52 +10:00
Angus Gratton
6a498bfe2b
docs: Add note about bootloader size for flash encryption & secure boot
2018-07-16 11:52:52 +10:00
Angus Gratton
2ae758ebcb
Merge branch 'bugfix/spi_sdio_sdkconfig_include' into 'master'
...
sdio_example/spi: fix sdkconfig include issue
See merge request idf/esp-idf!2756
2018-07-16 08:00:15 +08:00
Jiang Jiang Jian
394eabdeec
Merge branch 'docs/btdm_refactor_ble_spp_readme' into 'master'
...
component/bt_refactor_ble_spp_readme
See merge request idf/esp-idf!2717
2018-07-15 15:38:40 +08:00
Jiang Jiang Jian
a22d6607f8
Merge branch 'bugfix/autoip_compilation' into 'master'
...
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
See merge request idf/esp-idf!2758
2018-07-15 15:19:11 +08:00
Hou Wen Xiang
733f73067c
Update README.md
2018-07-15 12:56:23 +08:00
Hou Wen Xiang
fe238af249
Update README.md
2018-07-15 12:52:55 +08:00
chenwu
7cbd18ec4e
doc: add CoAP README.md
2018-07-14 16:15:03 +08:00
He Yin Ling
be81d2c16d
Merge branch 'test/print_debug_info_when_test_failed' into 'master'
...
tiny-test-fw: print debug info when test failed
See merge request idf/esp-idf!2564
2018-07-13 21:22:29 +08:00
Jiang Jiang Jian
6554bdcbb6
Merge branch 'bugfix/btdm_add_profile_descriptor_list_for_spp' into 'master'
...
component/bt: Add profile descriptor list for SPP
See merge request idf/esp-idf!2691
2018-07-13 19:20:03 +08:00
Jiang Jiang Jian
8571170abe
Merge branch 'feature/btdm_bt_ssp' into 'master'
...
component/bt: Add Secure Simple Pairing
See merge request idf/esp-idf!2453
2018-07-13 19:19:53 +08:00
Ivan Grokhotkov
4b97a1edb2
ulp example: fix for RTC IOs
...
- call rtc_gpio_init for pins which aren't configured as RTC by default
- for RTC IOs 16 and 17, read higher part of the input register
- automatically convert GPIO number into RTC IO number
- use ulp_set_wakeup_period instead of writing to register
2018-07-13 17:48:15 +08:00
Piyush Shah
fd8a7666c8
LWIP AutoIP Compilation Fixed by defining IP_IS_V4_VAL()
2018-07-13 15:04:39 +05:30
He Yin Ling
f348076920
esp32/test: set 60s timeout for one deep sleep case
2018-07-13 07:04:05 +00:00
He Yin Ling
4f971619fa
tiny-test-fw: save DUT log in different thread:
...
We found some SD card on Raspberry Pi could have very bad performance.
It could take seconds to save small amount of data.
If the DUT receives data and save it as log, then it stops receiving data until log is saved.
This could lead to expect timeout. As an workaround to this issue,
``BaseDUT`` class will create a thread to save logs.
Then data will be passed to ``expect`` as soon as received.
2018-07-13 07:04:05 +00:00
He Yin Ling
b452cea04e
tiny-test-fw: fix incorrect wait timeout in expect
2018-07-13 07:04:05 +00:00
He Yin Ling
5f26b36f0f
tiny-test-fw: filter examples with test level
2018-07-13 07:04:05 +00:00
He Yin Ling
23d98aa358
tiny-test-fw: print expect failure when test fails
2018-07-13 07:04:05 +00:00
Ivan Grokhotkov
b354770f42
Merge branch 'bugfix/fixes_from_github' into 'master'
...
Fixes from Github
See merge request idf/esp-idf!2730
2018-07-13 15:03:50 +08:00
Angus Gratton
8b5a2ccb8d
docs: Update Flash Encryption docs to clarify reflashing options
2018-07-13 16:18:07 +10:00
negativekelvin
8a9e3875ed
Fix errors in rtc_gpio_desc values
2018-07-12 23:16:15 -07:00
Darian Leung
21ccecc802
freertos: Add critical sections to queue sets.
...
Queue sets are not SMP safe. This commit adds
critical sections to queue sets. Unit tests for
queue sets have also been added.
2018-07-13 13:58:54 +08:00
Angus Gratton
6fd6e024fc
bootloader: Fix warning building reflashable Secure Boot image
2018-07-13 15:45:15 +10:00
Angus Gratton
fb439e48f5
bootloader: Don't verify Partition Table as part of Secure Boot
...
Partition Tables are still signed for backwards compatibility, but signature is no longer checked as
part of bootloader.
Closes https://github.com/espressif/esp-idf/issues/1641
2018-07-13 15:45:15 +10:00
Angus Gratton
7b9009ca5c
bootloader: Fix secure boot & flash encryption functionality
...
Fixes regression in 3e0ac4db79 .
2018-07-13 15:26:18 +10:00
Liu Zhi Fu
2e1427a239
lwip: add source ip based route for unicast packet
...
Add source IP based route for unicast packets forwarding.
2018-07-13 12:35:17 +08:00
Ivan Grokhotkov
46639bab85
Merge branch 'bugfix/crlf_auto_conversion' into 'master'
...
Convert CRLF (Windows line endings) to LF (Unix style), add CI check
See merge request idf/esp-idf!2119
2018-07-13 11:44:57 +08:00
Ivan Grokhotkov
6d46eed8e4
sdmmc: enable host auto_stop only for certain commands
...
Perviously host send_auto_stop flag would be set for every data
transfer over 1 block long. This caused stop commands to be sent
after CMD53, which shouldn't be done. Fix by adding an explicit list
of commands for which send_auto_stop should be set.
2018-07-13 03:28:10 +00:00
Angus Gratton
ffaf08e851
Merge branch 'fix/bootloader_typedef_enum' into 'master'
...
bootloader: fix missing typedef on enum defintion
See merge request idf/esp-idf!2718
2018-07-13 08:24:28 +08:00
Piyush Shah
5c7eb7e27b
mdns: Minor fix for mdns_service_remove()
...
Send the Goodbye packet while removing an mDNS service as an "Authoritative" packet so
that the listeners remove the service from their records immediately.
2018-07-12 19:18:54 +05:30
hou wen xiang
5402ace528
driver(gpio) : Fixed the gpio related bug for release v3.1.
2018-07-12 20:19:02 +08:00
He Yin Ling
01efe9a300
Merge branch 'feature/ci_support_test_one_case_multiple_times' into 'master'
...
CI: support test one case multiple times by @bot
See merge request idf/esp-idf!2692
2018-07-12 19:57:21 +08:00
He Yin Ling
05d74d532e
Merge branch 'bugfix/tiny_test_fw_filter_invalid_serial_port' into 'master'
...
tiny-test-fw: filter out invalid IDF ports
See merge request idf/esp-idf!2745
2018-07-12 19:56:48 +08:00
Roland Dobai
bb4c8b725c
Tools: Correct line endings in idf_monitor tests
2018-07-12 19:10:37 +08:00
Angus Gratton
a67d5d89e0
Replace all DOS line endings with Unix
...
Command run was:
git ls-tree -r HEAD --name-only | xargs dos2unix
2018-07-12 19:10:37 +08:00
Angus Gratton
74245d27d3
ci: Add line endings check for CRLF in repository
2018-07-12 19:10:37 +08:00
XiaXiaotian
32bc9f94c0
check WiFi library git commit id in unit test
2018-07-12 17:53:21 +08:00
weyoui
24e7286693
bootloader: fix missing typedef on enum defintion
...
(MINOR CHANGES)
Closes https://github.com/espressif/esp-idf/pull/2140
2018-07-12 17:43:59 +08:00
Jiang Jiang Jian
dc092366bb
Merge branch 'bugfix/beacon_info_do_not_update_after_user_scan' into 'master'
...
Wifi: bugfix of beacon info don't update after user scan
See merge request idf/esp-idf!2749
2018-07-12 17:24:54 +08:00
Ivan Grokhotkov
b0c049a6c8
Merge branch 'bugfix/fix_esp_pthread_h_compatible_with_cpp' into 'master'
...
pthread: fix esp_pthread.h to compatible with c++
See merge request idf/esp-idf!2739
2018-07-12 16:54:18 +08:00
Michael (XIAO Xufeng)
95dbfbe4c0
sdio_example/spi: fix sdkconfig include issue
...
(MINOR CHANGES)
2018-07-12 15:59:16 +08:00
xiewenxiang
91052cd333
component/bt_refactor_ble_spp_readme
2018-07-12 09:09:01 +08:00
Angus Gratton
04caff2fb2
Merge branch 'fix/sdio_speed_4bit' into 'master'
...
fix(sdio): update sdio to better run in 4bit HS mode
See merge request idf/esp-idf!2704
2018-07-12 08:54:03 +08:00
Angus Gratton
cfb3759635
Merge branch 'bugfix/rtc_isr_deregister_memory_leak' into 'master'
...
bugfix/memory leak in rtc_isr_deregister
See merge request idf/esp-idf!2754
2018-07-12 08:25:56 +08:00
chenjianqiang
542373b6ef
feature(flash): support for QIO mode of XM25QU64A
2018-07-11 22:28:01 +08:00
Darian Leung
882b50dd8c
driver: Fix memory leak in rtc_isr_deregister()
...
Closes #2179
2018-07-11 21:34:09 +08:00
Deng Xin
6e42a2b4b9
Wifi: bugfix of beacon info don't update after user scan
2018-07-11 20:02:33 +08:00
Jiang Jiang Jian
1b1477d16a
Merge branch 'bugfix/btdm_err_data_report' into 'master'
...
component/bt: bugfix for erroneous data reporting always enabled
See merge request idf/esp-idf!2709
2018-07-11 20:00:46 +08:00
baohongde
47a164b3ac
component/bt: Using osi_malloc instead of malloc
2018-07-11 11:15:41 +00:00
baohongde
d7c4ec5235
component/bt: Add profile descriptor list for SPP
2018-07-11 11:14:41 +00:00
Ivan Grokhotkov
7937d083e6
Merge branch 'bugfix/wifi_sync_header_file_with_wifi_lib' into 'master'
...
esp32: synchronize header file with that in wifi library
See merge request idf/esp-idf!2747
2018-07-11 19:13:17 +08:00
morris
5c6e1e6e67
pthread: fix esp_pthread.h to compatible with c++
...
esp_pthread.h is missing the necessary extern "C"{ ... } wrapper to be compatible with C++. The result is link errors when you call its functions from C++ code, because the compiler generates mangled names.
Closes https://github.com/espressif/esp-idf/issues/2121
Closes https://github.com/espressif/esp-idf/issues/2172
2018-07-11 14:21:09 +08:00
Angus Gratton
b6156105d4
Merge branch 'feature/test_idf_monitor' into 'master'
...
Test the IDF Monitor through sockets
See merge request idf/esp-idf!2556
2018-07-11 13:39:58 +08:00
Angus Gratton
064261cd3a
Merge branch 'bugfix/adc_two_point_cal_val_update' into 'master'
...
Updated information in documentation about 'Two Point Values' used to calibrate ADC readings
See merge request idf/esp-idf!2678
2018-07-11 12:53:33 +08:00
XiaXiaotian
c96d80f789
esp32: synchronize header file with that in wifi library
2018-07-11 12:11:06 +08:00
He Yin Ling
15858895a4
CI: support test one case multiple times by @bot
2018-07-11 10:22:13 +08:00
He Yin Ling
5edc9f9752
tiny-test-fw: filter out invalid IDF ports
2018-07-11 00:00:40 +08:00
Konstantin Kondrashov
bec14ad8ee
build: Add TEST_EXCLUDE_COMPONENTS
...
To exclude during the build process of unit tests some components.
2018-07-10 13:44:41 +05:00
Konstantin Kondrashov
ac3508615a
soc/clk: Fix range CONFIG_ESP32_RTC_CLK_CAL_CYCLES
...
Fixed the error division on zero.
Also fixed range CONFIG_ESP32_RTC_CLK_CAL_CYCLES in Kconfig.
Fixed a overflow error by TIMG in the function rtc_clk_cal_internal. This error was due to a limit in values TIMG_RTC_CALI_MAX=0x7FFF (to write the slowclk_cycles) and TIMG_RTC_CALI_VALUE=0x1FFFFFF (to read xtal_cycles). Added assert finctions.
Closes https://github.com/espressif/esp-idf/issues/2147
2018-07-10 11:56:12 +05:00
Wangjialin
6e9c59bfc3
feature(psram): add support for 64MBit psram of 1.8v and 3.3v.
...
1. Add reading psram EID.
2. Configure different clock mode for different EID.
3. add API to get psram size and voltage.
4. Remove unnecessary VSPI claim.
For 32MBit@1.8V and 64MBit@3.3V psram, there should be 2 extra clock cycles after CS get high level.
For 64MBit@1.8 psram, we can just use standard SPI protocol to drive the psram. We also need to increase the HOLD time for CS in this case.
EID for psram:
32MBit 1.8v: 0x20
64MBit 1.8v: 0x26
64MBit 3.3v: 0x46
2018-07-10 14:24:59 +08:00
Roland Dobai
20f80da723
esp32: Do not document error codes defined in examples
2018-07-10 07:57:54 +02:00
baohongde
21af1d7339
component/bt: Add Secure Simple Pairing
2018-07-10 11:18:52 +08:00
Jiang Jiang Jian
9d830a6f7c
Merge branch 'bugfix/tw23667_tcp_pcb_purge_assert' into 'master'
...
lwip: fix the assertion in tcp_pcb_purge()
See merge request idf/esp-idf!2657
2018-07-10 10:16:47 +08:00
Wangjialin
ab44c6ecc2
bugfix(ledc): fix bugs reported from unit-test and github.
...
1. In ledc_set_duty_and_update, return if duty updated. Close https://github.com/espressif/esp-idf/issues/2082
2. fix ledc_set_freq function for low speed mode.
2018-07-10 02:22:23 +08:00
Anton Maklakov
27311811e0
Merge branch 'bugfix/gcc8_complation_errors' into 'master'
...
Warnings and errors detected by GCC8
See merge request idf/esp-idf!2703
2018-07-09 22:55:52 +08:00
Jiang Jiang Jian
3e7a5c4f50
Merge branch 'bugfix/wifi_channel_state_information_data_type' into 'master'
...
esp32: Change channel state information(CSI) data type from unsigned char to signed char
See merge request idf/esp-idf!2694
2018-07-09 21:28:09 +08:00
Alexey Gerenkov
c2dc09304c
gcc8_newlib3: Compilation warnings and errors not specific to newlib v3
2018-07-09 13:22:24 +03:00
Ivan Grokhotkov
82047ff181
Merge branch 'bugfix/smartconfig_ack' into 'master'
...
smartconfig_ack.c : Fixed the declaration of remote_ip in sc_ack_send_task()
See merge request idf/esp-idf!2689
2018-07-09 16:20:22 +08:00
Chris Morgan
3e1633354a
ssl_pm_reload_crt() - Fix verify_mode checking to match openssl documentation https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_verify.html
...
Merges https://github.com/espressif/esp-idf/pull/2162
2018-07-09 14:41:56 +08:00
Roland Dobai
c1ae49dda1
Test the IDF Monitor through sockets
...
Creates a socket by socat and sends tests to the idf_monitor through it.
2018-07-09 08:37:40 +02:00
Carney Wu
7ccc28de6c
alias 需要添加到 .bashrc 文件中
...
Merges https://github.com/espressif/esp-idf/pull/2097
2018-07-09 14:36:47 +08:00
Carney Wu
fab55e3266
alias should set in .bashrc
...
Merges https://github.com/espressif/esp-idf/pull/2097
2018-07-09 14:36:47 +08:00
Le-Andrew
a8da9c1b96
Fixed typos on booleans.
...
Merges https://github.com/espressif/esp-idf/pull/2067
2018-07-09 14:36:06 +08:00
Avraham Shukron
0cab3cecfd
doc/wifi: small fixup
...
The WiFi station connect sequence diagram does not have any "successful" ending.
It looks like a copy-paste error, because there are two consequent `SYSTEM_EVENT_STA_DISCONNECTED` events firing with nothing happening in between.
I think the original meaning was that the last event should be `SYSTEM_EVENT_STA_CONNECTED` to signify that if all goes well, that is the event that will be fired.
Merges https://github.com/espressif/esp-idf/pull/2065
2018-07-09 14:35:51 +08:00
wangmengyang
1ade9a34d2
component/bt: bugfix for erroneous data reporting always enabled
2018-07-09 13:45:55 +08:00
Jiang Jiang Jian
f22a74b85c
Merge branch 'bugfix/btdm_invalid_sco_handle' into 'master'
...
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
See merge request idf/esp-idf!2707
2018-07-09 12:10:02 +08:00
Jiang Jiang Jian
6bf435217e
Merge branch 'bugfix/disable_lwip_trust_ip_by_default' into 'master'
...
lwip: disable ETHARP_TRUST_IP_MAC by default
See merge request idf/esp-idf!2652
2018-07-09 10:03:30 +08:00
michael
c34672e7dc
fix(sdmmc): disable all pulldowns used by sdmmc host
2018-07-06 18:17:51 +08:00
michael
597eda5f0b
fix(sdio_slave): improve sdio slave for high speed and 4 bit mode
2018-07-06 18:17:50 +08:00
michael
823ebba0f0
fix(sdio_slave): fix minor issues like return value of send function, output arg, etc.
2018-07-06 18:17:49 +08:00
Alexey Gerenkov
8fe2a77c46
coredump: Adds support for ROM ELF file to 'espcoredump' script
2018-07-05 22:20:20 +03:00
Alexey Gerenkov
95e26cd461
coredump: Fixes exception stack frame structure indicator
...
Initializes exception stack frame EXIT field to indicate stack frame format for 'espcoredump'.
2018-07-05 22:20:20 +03:00
Ivan Grokhotkov
d92c1d02e7
Merge branch 'bugfix/bootloader_entry_addr_decoding' into 'master'
...
bootloader: move iram_seg 1k up to have better looking idf_monitor output
See merge request idf/esp-idf!2699
2018-07-05 16:18:33 +08:00
Ivan Grokhotkov
934df45473
Merge branch 'bugfix/xthal_get_interrupt_volatile' into 'master'
...
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
See merge request idf/esp-idf!2681
2018-07-05 16:18:18 +08:00
Liu Zhi Fu
49c236d613
lwip: fix the assertion in tcp_pcb_purge()
...
Fix the assertion in tcp_pcb_purge().
2018-07-05 14:29:03 +08:00
wangmengyang
0ede362f84
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
2018-07-05 12:00:41 +08:00
Ivan Grokhotkov
6d46220456
Merge branch 'feature/clock_gettime' into 'master'
...
newlib: Add function clock_gettime()
See merge request idf/esp-idf!2610
2018-07-04 18:09:04 +08:00
Angus Gratton
c445da47de
Merge branch 'feature/CAN_driver' into 'master'
...
CAN driver, examples, and docs
See merge request idf/esp-idf!2098
2018-07-04 17:33:24 +08:00
Ivan Grokhotkov
6ee3cf67bd
Merge branch 'feature/nvs_part_gen_improvements' into 'master'
...
Feature/nvs part gen improvements
See merge request idf/esp-idf!2555
2018-07-04 17:33:13 +08:00
Darian Leung
1d2727f4c8
CAN Driver
...
The following commit contains the first version of the ESP32 CAN Driver.
closes #544
2018-07-04 14:01:57 +08:00
Ivan Grokhotkov
5551b3f616
bootloader: move iram_seg 1k up to have better looking idf_monitor output
...
When 2nd stage bootloader loads the ROM bootloader, it prints a
message similar to "entry 0x40080xxx", which idf_monitor decodes
(using application ELF file) as one of the reset vectors (xxx is <
400h). This moves the iram_seg of bootloader 1k up to prevent overlap
of bootloader .text and application vectors, making the output look
nicer. There is still a chance that the entry point decodes as some
symbol in application ELF file, but at least it won't have
"Exception" in its name.
2018-07-04 12:33:11 +08:00
Ivan Grokhotkov
10c2cddddf
sleep: fix flushing UARTs when entering deep sleep
...
Since 94250e42a0 , UART output is suspended when entering sleep mode
(deep or light sleep). This makes sense for light sleep, where sleep
normally takes small amount of time, and flushing the UART would add
a lot of latency. But this breaks existing behaviour for deep sleep,
where UART output was previously sent out before entering sleep mode.
Closes https://github.com/espressif/esp-idf/issues/2145
2018-07-04 12:11:25 +08:00
Xia Xiaotian
eda05b6ce8
esp32: Change channel state information(CSI) data type from unsigned char to signed char
2018-07-04 11:39:14 +08:00
Angus Gratton
a3c43251b4
Merge branch 'feature/fix_rs485_test' into 'master'
...
driver: fix rs485 test
See merge request idf/esp-idf!2690
2018-07-04 09:13:52 +08:00
Ivan Grokhotkov
9790dafe0e
Merge branch 'bugfix/host_io_fseek_args_init' into 'master'
...
Host file I/O: Fix uninitialized fseek args
See merge request idf/esp-idf!2693
2018-07-04 09:05:23 +08:00
Alexey Gerenkov
13384221a7
host_file_io: Fixes uninitialized 'offset' and 'whence' fseek args
2018-07-03 19:34:13 +03:00
Alex Lisitsyn
9ba0808228
driver: fix rs485 test
2018-07-03 13:26:28 +02:00
Sachin Parekh
e5049021ed
smartconfig_ack.c : Fixed the declaration of remote_ip in sc_ack_send_task()
...
remote_ip was declared to be a pointer to an address that was
overwritten in later stage thus changing the address pointed by remote_ip
esp_smartconfig.h : Fixed a typo. station_config to wifi_config_t
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2018-07-03 16:28:24 +05:30
Angus Gratton
909eec9c3b
Merge branch 'feature/uart_add_rs485_interface_support' into 'master'
...
driver: add rs485 half duplex interface support to uart driver
See merge request idf/esp-idf!2415
2018-07-03 14:34:33 +08:00
Angus Gratton
52f4ff6220
Merge branch 'feature/spi_little_endien' into 'master'
...
feature(spi): provide macro to write multi-byte data straightly
See merge request idf/esp-idf!2634
2018-07-03 14:32:41 +08:00
Angus Gratton
91e7a6e7a3
Merge branch 'bugfix/console_performance' into 'master'
...
idf_monitor: Fix console performance
See merge request idf/esp-idf!2570
2018-07-03 14:04:23 +08:00
Konstantin Kondrashov
e274940a46
newlib: Add some functions from _POSIX_TIMERS
...
clock_gettime();
clock_settime();
clock_getres();
Closes https://github.com/espressif/esp-idf/issues/1302
2018-07-03 07:28:29 +05:00
Angus Gratton
05a5c58f7a
Merge branch 'bugfix/tinytestfw_espport' into 'master'
...
tiny-test-fw: handle case when ESPPORT is not set
See merge request idf/esp-idf!2684
2018-07-03 09:10:12 +08:00
Ivan Grokhotkov
eb85c4ec15
tiny-test-fw: handle case when ESPPORT is not set
...
Fix bug introduced in 8a88dd35 , where .decode was called on result of
os.getenv, which was None if ESPPORT was not set.
2018-07-02 21:45:27 +08:00
Alex Lisitsyn
a9fca0c775
driver: add rs485 half duplex interface support to uart driver (fix after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
uart.c/h: fix param errors
test_uart.c: Remove GCC warning supress
uart.rst: fix the notes
rs485_example.c: fix output
uart.c: remove reset using UART_RXFIFO_RST from driver.
readme.md: Update example description
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
a952eb1a92
driver: add rs485 half duplex interface support to uart driver (fix indentation after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
uart.c/h: fix param errors
test_uart.c: Remove GCC warning supress
uart.rst: fix the notes
rs485_example.c: fix output
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
ef5dc73f6f
driver: add rs485 half duplex interface support to uart driver (update after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
uart.c/h: fix param errors
test_uart.c: Remove GCC warning supress
uart.rst: fix the notes
rs485_example.c: fix output
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
0ec81181b4
driver: add rs485 half duplex interface support to uart driver (add jobs into *.yml file)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
d096b3abb8
driver: add rs485 half duplex interface support to uart driver (remove ignore tag to check ut case)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
b76693fe20
driver: add rs485 half duplex interface support to uart driver (update after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
51e9cf6848
driver: add rs485 half duplex interface support to uart driver (update after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Ivan Grokhotkov
3d880f59b9
Merge branch 'test/tinyfw_tweaks' into 'master'
...
tiny-test-fw: small tweaks
See merge request idf/esp-idf!2496
2018-07-02 19:41:25 +08:00
Ivan Grokhotkov
32ff393afa
Merge branch 'bugfix/bt_os_abstraction_layer' into 'master'
...
bt: fix OS abstraction layer for correct critical section API usage
See merge request idf/esp-idf!2676
2018-07-02 18:42:07 +08:00
He Yin Ling
0c3e34b79a
tiny-test-fw: add class diagram to document
2018-07-02 10:40:23 +00:00
Ivan Grokhotkov
6a626f7984
tiny-test-fw: add requirements.txt, small docs tweaks
2018-07-02 10:40:23 +00:00
Ivan Grokhotkov
8a88dd3590
tiny-test-fw: IDFDUT: in the absence of configuration, try ESPPORT first
2018-07-02 10:40:23 +00:00
Ivan Grokhotkov
59c96ae331
Merge branch 'bugfix/spi_flash_deadlock' into 'master'
...
spi_flash: raise priority of the task performing spi_flash operation
See merge request idf/esp-idf!2609
2018-07-02 18:39:16 +08:00
Ivan Grokhotkov
3238531c70
Merge branch 'bugfix/rom_libgcc_functions' into 'master'
...
Fix linking of libgcc math functions to ROM
See merge request idf/esp-idf!2640
2018-07-02 18:38:44 +08:00
Piyush Shah
e7ddd47716
nvs_partition_generator: Add support for base64 representation of Binary data
2018-07-02 15:40:21 +05:30
Piyush Shah
8369bd244b
nvs_partition_generator: Modifications to enable using the utility as a Python library
...
And also use directly as an executable
2018-07-02 15:39:52 +05:30
Anton Maklakov
4f4182179f
Merge branch 'bugfix/gcc8_compile_errors' into 'master'
...
Fix GCC 8 compile errors
See merge request idf/esp-idf!2466
2018-07-02 17:43:02 +08:00
Anton Maklakov
1f3320ebdf
wpa_supplicant: fix errors for GCC 8 support
...
components/wpa_supplicant/port/include/os.h:259:29: error: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Werror=stringop-truncation]
#define os_strncpy(d, s, n) strncpy((d), (s), (n))
^~~~~~~~~~~~~~~~~~~~~~
components/wpa_supplicant/src/wpa2/eap_peer/eap.c:410:3: note: in expansion of macro 'os_strncpy'
os_strncpy(sm->blob[0].name, CLIENT_CERT_NAME, BLOB_NAME_LEN);
^~~~~~~~~~
2018-07-02 09:05:00 +00:00
Anton Maklakov
f42b91fe46
spi_flash: fix errors for GCC 8 support
...
components/spi_flash/partition.c: In function 'load_partitions':
components/spi_flash/partition.c:179:66: error: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]
strncpy(item->info.label, (const char*) it->label, sizeof(it->label));
^
2018-07-02 09:05:00 +00:00
Anton Maklakov
714a9bda92
fatfs: fix errors for GCC 8 support and some indentation
...
components/fatfs/src/ff.c: In function 'f_fdisk':
components/fatfs/src/ff.c:5995:5: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (n = 16; n < 256 && sz_disk / n / cluster_size > 1024; n *= 2) ;
^~~
components/fatfs/src/ff.c:5996:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
if (n == 256) n--;
^~
2018-07-02 09:05:00 +00:00
Anton Maklakov
2a810a318f
ipc: fix errors for GCC 8 support
...
components/esp32/ipc.c: In function 'esp_ipc_init':
components/esp32/ipc.c:82:31: error: '%d' directive writing between 1 and 11 bytes into a region of size 5 [-Werror=format-overflow=]
sprintf(task_name,"ipc%d",i);
^~
components/esp32/ipc.c:82:27: note: directive argument in the range [-2147483648, 1]
sprintf(task_name,"ipc%d",i);
^~~~~~~
components/esp32/ipc.c:82:9: note: 'sprintf' output between 5 and 15 bytes into a destination of size 8
sprintf(task_name,"ipc%d",i);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-07-02 09:05:00 +00:00
Anton Maklakov
93f6700be7
newlib: fix errors for GCC 8 support
...
components/newlib/include/sys/reent.h:405:11: error: unnecessary parentheses in declaration of '_sig_func' [-Werror=parentheses]
void (**(_sig_func))(int);
^
2018-07-02 09:05:00 +00:00
Michael (XIAO Xufeng)
3d23fe9a61
feature(spi): provide macro to write multi-byte data straightly
...
resolves https://github.com/espressif/esp-idf/issues/2062
2018-07-02 15:34:47 +08:00
Liu Zhi Fu
c84a2b9027
lwip: disable ETHARP_TRUST_IP_MAC by default
...
Disable ETHARP_TRUST_IP_MAC by default because:
1. The LAN peer may not be trustful
2. The LAN peer may has problem to update its ARP entry
2018-07-02 13:38:29 +08:00
Ivan Grokhotkov
ae006fed83
esp32: force pure math functions from libgcc to be linked from ROM
2018-07-02 12:49:57 +08:00
Ivan Grokhotkov
40b5f10611
esp32: fix addresses of some libgcc functions in ROM ld script
2018-07-02 12:49:57 +08:00
Angus Gratton
fdee0b64a0
Merge branch 'bugfix/doc_blufi' into 'master'
...
bugfix/doc_blufi
See merge request idf/esp-idf!2644
2018-07-02 12:12:48 +08:00
Ivan Grokhotkov
da179e0098
xtensa: make XTHAL_GET_INTERRUPT, XTHAL_GET_CCOUNT volatile
...
INTERRUPT and CCOUNT registers will change outside of program control.
Making the inline assembly used to read these registers volatile
indicates this fact to the compiler.
Fixes https://github.com/espressif/esp-idf/issues/2127
2018-07-02 11:31:19 +08:00
chenwu
4898135c15
coap: pass null-terminated string to gethostbyname
...
coap client parse a string by `coap_split_uri`,fetch host should by `host.length`
otherwise, would cause `gethostbyname` failed because of inappropriate parameter.
2018-07-02 10:05:03 +08:00
Angus Gratton
a8fa4201b9
Merge branch 'docs/eclipse_regex' into 'master'
...
Docs: Fix bugs in Eclipse setup in CN
See merge request idf/esp-idf!2620
2018-07-02 09:18:26 +08:00
Angus Gratton
6d1995b9d2
Merge branch 'bugfix/lwip_socket_leak_accept_enfile' into 'master'
...
lwip: Fix leak when accept() fails due to max socket limit
See merge request idf/esp-idf!2585
2018-07-02 09:02:21 +08:00
krzychb
8a7ee46b7f
Fixed link to 'TEMPLATE_EXAMPLE_README.md'
2018-07-01 19:33:37 +02:00
Mahavir Jain
bd177a34c6
bt: fix OS abstraction layer for correct critical section API usage
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com >
2018-07-01 19:07:51 +05:30
Ivan Grokhotkov
f9f2937694
spi_flash: raise priority of the task performing spi_flash operation
...
The fix is for the situation when cache disabling mechanism causes
a deadlock with user tasks. Situation is as follows:
1. spi_flash operation is started from low-priority task on CPU0
2. It uses IPC to wake up high-priority IPC1 task on CPU1, preventing
all other tasks on CPU1 from running. This is needed to safely
disable the cache.
3. While the task which started spi_flash operation is waiting for IPC1
task to acknowledge that CPU1 is not using cache anymore, it is
preempted by a higher priority application task ("app0").
4. Task app0 busy-waits for some operation on CPU1 to complete. But
since application tasks are blocked out by IPC1 task, this never
happens. Since app0 is busy-waiting, the task doing spi flash
operation never runs.
The more or less logical soltion to the problem would be to also do
cache disabling on CPU0 and the SPI flash operation itself from IPC0
task. However IPC0 task stack would need to be increased to allow doing
SPI flash operation (and IPC1 stack as well). This would waste some
memory. An alternative approach adopted in this fix is to call FreeRTOS
functions to temporary increase the priority of SPI flash operation task
to the same level as the IPC task.
Fixes https://github.com/espressif/arduino-esp32/issues/740
Fixes https://github.com/espressif/esp-idf/issues/1157
2018-07-01 20:44:42 +08:00
Jiang Jiang Jian
abbccb7acd
Merge branch 'bugfix/coex_bug' into 'master'
...
esp32: fix coex bug
See merge request idf/esp-idf!2603
2018-06-30 22:29:18 +08:00
Jiang Jiang Jian
b1fa1ba617
Merge branch 'bugfix/btdm_fix_gattc_register_multi_srvc_chg' into 'master'
...
Component/bt: fix register multi service change when register multi gattc
See merge request idf/esp-idf!2625
2018-06-30 11:30:41 +08:00
krzychb
f4ef7689bd
The 'Two Point Values' used to calibrate ADC readings, unlike 'eFuse Vref', are not measured and burned into eFuse BLOCK3 for each individual chip during factory calibration. This operation should be done by user, if more accurate calibration is required.
2018-06-29 19:01:11 +02:00
Jiang Jiang Jian
b727113fc1
Merge branch 'bugfix/btdm_delete_deprecated_files' into 'master'
...
Component/bt: delete deprecated files
See merge request idf/esp-idf!2583
2018-06-29 19:37:03 +08:00
Jiang Jiang Jian
53ce5fd106
Merge branch 'bugfix/btdm_bt_remove_device_disconnect' into 'master'
...
component/bt: Fix bug of BT and BLE remove bond device
See merge request idf/esp-idf!2562
2018-06-29 19:29:57 +08:00
Jiang Jiang Jian
fe0dc407da
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap' into 'master'
...
component/bt: Fix some bad point calculations of BT GAP
See merge request idf/esp-idf!2655
2018-06-29 19:25:13 +08:00
Tian Hao
e3df7d97a7
esp32: fix coex bug
...
1. fix BLE connection missing in coex mode
2. modify other parameters to make coex priority more reasonable
3. fix modem sleep procedure trap cause Wifi disable RF when BT is
working. Such cause that BR/EDR is difficult to be connected, BLE
connection stability decrease and so on.
4. modify BR/EDR coexist duration to imrove BR/EDR connect success
ratio.
5. Due to the hardware coexist bug, BLE scan interval/window should
be less than 0x100(about 160ms). Therefore, it will cause BLE cannot
scan any advertising packet while WiFi have higher priority
behaviour(such like RX beacon, scan, TX/RX VO packets and etc.).
2018-06-29 16:28:11 +08:00
Jiang Jiang Jian
8f804d5ee7
Merge branch 'bugfix/btdm_some_ble_hid_bugs' into 'master'
...
component/bt: Fix some hid bugs
See merge request idf/esp-idf!2628
2018-06-29 15:36:53 +08:00
Jiang Jiang Jian
824782d6f9
Merge branch 'feature/optimize_wifi_memory' into 'master'
...
Optimize WiFi memory
See merge request idf/esp-idf!2650
2018-06-29 15:24:09 +08:00
Jiang Jiang Jian
0e4b28e893
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core' into 'master'
...
component/bt: fix stop adv error in dual core
See merge request idf/esp-idf!2561
2018-06-29 15:06:49 +08:00
Jiang Jiang Jian
83f1d14162
Merge branch 'bugfix/btdm_modify_service_uuid_of_sec_gatts_demo' into 'master'
...
Component/bt: modify service uuid of ble_sec_gatts demo
See merge request idf/esp-idf!2612
2018-06-29 15:00:29 +08:00
Jiang Jiang Jian
1124e073d7
Merge branch 'bugfix/btdm_fix_no_adv_packet' into 'master'
...
component/bt: fix no adv packets
See merge request idf/esp-idf!2647
2018-06-29 14:59:01 +08:00
zhiweijian
d1c3c8494b
Component/bt: fix register multi service change when register multi gattc
2018-06-29 06:54:16 +00:00
Jiang Jiang Jian
34797d8d52
Merge branch 'bugfix/btdm_respond_error_when_receives_unsupported_request' into 'master'
...
component/bt: Fix bug: Respond with the Error Response when receiving a request…
See merge request idf/esp-idf!2591
2018-06-29 14:47:12 +08:00
Jiang Jiang Jian
9510f77f7a
Merge branch 'bugfix/btdm_rm_assert_in_isr' into 'master'
...
bugfix/btdm_rm_assert_in_isr
See merge request idf/esp-idf!2633
2018-06-29 14:24:28 +08:00
Jiang Jiang Jian
a1a2a2009d
Merge branch 'bugfix/prevent_btsleep_dfs_coex' into 'master'
...
prevent Dynamic Frequency Scaling to be used together with bluetooth modem sleep
See merge request idf/esp-idf!2645
2018-06-29 14:23:40 +08:00
Jiang Jiang Jian
be7aa884a1
Merge branch 'bugfix/btdm_singular_sleep_time_correction' into 'master'
...
Bugfix/btdm singular sleep time correction
See merge request idf/esp-idf!2635
2018-06-29 14:22:58 +08:00
Kedar Sovani
fe1889b923
sh2lib: Fix a bug in send
2018-06-29 09:22:18 +05:30
baohongde
be8ec6b8d2
component/bt: Fix some bad point calculations of BT GAP
...
In response to: https://github.com/espressif/esp-idf/issues/2103
2018-06-29 11:40:46 +08:00
hou wen xiang
cb8ab7c6a8
driver(rmt): update README.md file of rmt related example.
2018-06-29 11:03:09 +08:00
Liu Zhi Fu
d3388c9a31
Optimize WiFi memory
...
Optimize wifi memory (b987c01d)
1. Decrease WiFi task stack size by 512 Bytes
2. Modify WiFi NVS configuration array from static to dynamic
3. Move interrupt/RX relating variables from .bss segment to .data segment
4. Modify WiFi management short buffer from static to dynamic
5. Remove some useless WiFi buffer space
2018-06-28 21:24:44 +08:00
wangmengyang
04ea784011
prevent Dynamic Frequency Scaling when using bluetooth modem sleep
...
This constraint will be elimiated after the issue is fixed
2018-06-28 18:08:18 +08:00
Jin Fang Cheng Cheng
9e3c3f267e
Update eclipse-setup.rst
2018-06-28 17:58:19 +08:00
Jin Fang Cheng Cheng
3d6d252b3e
Update eclipse-setup-windows.rst
2018-06-28 17:57:55 +08:00
zwj
077380a352
component/bt: fix no adv packets
2018-06-28 17:49:41 +08:00
Jin Fang Cheng Cheng
7fe130c171
Update eclipse-setup.rst
2018-06-28 16:28:54 +08:00
Jin Fang Cheng Cheng
d9653e75e9
Update eclipse-setup.rst
2018-06-28 15:16:20 +08:00
Jin Fang Cheng Cheng
084a6b54e2
Update eclipse-setup-windows.rst
2018-06-28 15:10:36 +08:00
Jin Fang Cheng Cheng
a0928b4ce2
Update eclipse-setup-windows.rst
2018-06-28 15:00:40 +08:00
Jin Fang Cheng Cheng
f1acb27a66
Fix the tables.
2018-06-28 14:09:14 +08:00
Jin Fang Cheng Cheng
dd66dda11e
Fix the typo and tables.
2018-06-28 14:06:26 +08:00
He Yin Ling
568da37af7
Merge branch 'ci/remove_test_report' into 'master'
...
CI: optimize CI stages
See merge request idf/esp-idf!2602
2018-06-28 09:28:49 +08:00
wangmengyang
cfea04b6b3
component/bt: fix the cornered case caused by singular finetime correction value upon waking up from sleep
...
1. revert previous changes that adds 1-slot margin for first master Tx event, since this bugfix can handle that case
2018-06-27 20:21:39 +08:00
wangmengyang
02a620811d
component/bt: remove the call of assert in time conversion functions which can be caused in ISR
2018-06-27 17:23:23 +08:00
He Yin Ling
e75628b4d7
Merge branch 'bugfix/pcnt_event_edge_case' into 'master'
...
test: fix pcnt unit test fail
See merge request idf/esp-idf!2614
2018-06-27 10:00:53 +08:00
He Yin Ling
76829509b2
Merge branch 'bugfix/ci_stop_all_thread_when_one_failed' into 'master'
...
ci: stop main thread when one failed
See merge request idf/esp-idf!2615
2018-06-27 09:59:46 +08:00
Angus Gratton
c07ec696dc
Merge branch 'bugfix/eclipse_regex' into 'master'
...
Docs: Fix bugs in Eclipse setup
See merge request idf/esp-idf!2617
2018-06-27 09:38:47 +08:00
Angus Gratton
cff573cbe9
Merge branch 'bugfix/conn_stress_test_test_during_sleep' into 'master'
...
Bugfix/btdm_le_conn_initiating_assert
See merge request idf/esp-idf!2595
2018-06-27 08:12:49 +08:00
Angus Gratton
d096cac97d
Merge branch 'docs/update_resources.rst' into 'master'
...
docs/update_resources.rst
See merge request idf/esp-idf!2532
2018-06-27 08:09:57 +08:00
Angus Gratton
e9029fd8de
Merge branch 'docs/esp32-devkitv-v4_updates' into 'master'
...
Renamed ESP-WROOM-32 to ESP32-WROOM-32/D/U including links to data sheets,…
See merge request idf/esp-idf!2567
2018-06-27 07:29:52 +08:00
Jin Fang Cheng Cheng
c4eff744b3
Fixed link to documentation and updated some wording
2018-06-26 18:28:15 +02:00
krzychb
b101e118f2
Renamed ESP-WROOM-32 to ESP32-WROOM-32/D/U including links to data sheets, reflected upcoming ESP32-SOLO-1 as one of options for ESP32-DevKitC, provided updated schematics and notes on C15.
2018-06-26 18:08:47 +02:00
Ivan Grokhotkov
70a2160f2c
Merge branch 'docs/sdio_slave_protocol_comb' into 'master'
...
doc(sdio_slave): add some information of slave protocol
See merge request idf/esp-idf!2598
2018-06-26 19:36:08 +08:00
baohongde
7ff84d94aa
component/bt: Fix some hid bugs
...
1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse
2018-06-26 17:48:07 +08:00
chenwu
152a060425
fix: response failed when set a large response data
...
set the last parameter of `coap_pdu_init`, from size to COAP_MAX_PDU_SIZE
refer to https://github.com/obgm/libcoap.git/examples/contiki/coap-observer.c settings -> COAP_DEFAULT_MTU
close https://ezredmine.espressif.cn:8765/issues/23207
2018-06-26 17:13:25 +08:00
Jiang Jiang Jian
a698035fa9
Merge branch 'mesh/bugfix' into 'master'
...
mesh: update libs
See merge request idf/esp-idf!2580
2018-06-26 17:06:19 +08:00
Angus Gratton
2074d36d43
doc: Clarify some Eclipse setup steps
2018-06-26 17:34:29 +10:00
houchenyao
1878109a7f
bugfix: fix pcnt case "PCNT interrupt method test(control IO is high)"
2018-06-26 13:35:14 +08:00
Jin Fang Cheng Cheng
c17c0a2dc5
Update eclipse-setup-windows.rst
2018-06-26 13:19:14 +08:00
Jin Fang Cheng Cheng
6a1250cf19
Update eclipse-setup.rst
2018-06-26 13:15:13 +08:00
Jin Fang Cheng Cheng
fe7647936a
Update eclipse-setup-windows.rst
2018-06-26 13:13:08 +08:00
Jin Fang Cheng Cheng
d57649aed1
Update eclipse-setup-windows.rst according to https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/2617 .
2018-06-26 12:55:34 +08:00
Jin Fang Cheng Cheng
0a033b5e05
Update eclipse-setup.rst according to https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/2617
2018-06-26 12:54:15 +08:00
Angus Gratton
75dc2f5800
doc: Fix Build Output Parser command pattern to include C++ correctly
...
Previously only C files had build output correctly parsed.
Closes https://github.com/espressif/esp-idf/issues/2056
May also relate to:
https://github.com/espressif/esp-idf/issues/529
https://github.com/espressif/esp-idf/issues/17
2018-06-26 13:47:14 +10:00
wangmengyang
e1bcd6ba0f
component/bt: add 1 slot margin to program the 1st master Tx event during BLE connection
...
this will resolve the issue of failure of BLE connection stress test with sleep enabled
2018-06-26 11:10:47 +08:00
houchenyao
9223639010
stop main thread when one failed
2018-06-26 11:02:23 +08:00
qiyueixa
68ff628927
mesh: update libs
...
1. add APIs to set/get announce interval values.
2. add API to enable/disable the min rate to 6Mbps for data packages.
3. add APIs to set/get RSSI threshold values.
4. fix ap_loss.
2018-06-25 21:47:53 +08:00
Jiang Jiang Jian
aaf12390eb
Merge branch 'feature/btdm_controller_to_host_flow_control' into 'master'
...
component/bt: Add Controller to Host Flow Control
See merge request idf/esp-idf!2493
2018-06-25 20:33:21 +08:00
Jiang Jiang Jian
6dd786c74d
Merge branch 'bugfix/btdm_slave_can_not_receive_long_packets_in_smp' into 'master'
...
Component/bt: fix slave can not receive long packets in smp
See merge request idf/esp-idf!2586
2018-06-25 20:28:27 +08:00
zhiweijian
ee9db0c76a
Component/bt: modify service uuid of ble_sec_gatts demo
2018-06-25 16:04:20 +08:00
He Yin Ling
7e47d397fa
CI: add stage host_test:
...
1. Add `host_test` stage for test jobs running on host.
2. Rename stage `test` to `integration_test`.
2018-06-25 15:20:58 +08:00
He Yin Ling
aeaa480a85
CI: minor optimize of CI config file:
...
1. set shorter expire time for artifacts
2. set dependency for example test jobs, to limit the artifacts it downloads
2018-06-25 15:20:51 +08:00
Michael (XIAO Xufeng)
fe076f5cb9
doc(sdio_slave): add some information of slave protocol
2018-06-25 06:55:19 +00:00
Ivan Grokhotkov
86d6c09387
Merge branch 'bugfix/esp_err_name_idf_path' into 'master'
...
docs: fix error code reference build issue
See merge request idf/esp-idf!2587
2018-06-25 13:41:17 +08:00
Ivan Grokhotkov
f525c9ef96
Merge branch 'feature/move_to_soc_rtc_gpio_desc' into 'master'
...
soc: Fix check_long_hold_gpio and move def to soc
See merge request idf/esp-idf!2550
2018-06-25 12:33:27 +08:00
michael
8676830e61
fix(spi_master): allow to use cs_ena_pretrans in full duplex mode without command and address phases
2018-06-25 04:30:14 +00:00
Ivan Grokhotkov
1cd9949f2d
Merge branch 'bugfix/assert' into 'master'
...
assert: Fix. Move useful functions from wrapped assert functions
See merge request idf/esp-idf!2599
2018-06-25 11:02:42 +08:00
Angus Gratton
3a3a12d48d
Merge branch 'bugfix/app_partition_fallback' into 'master'
...
partition_table: Add parttool.py fallback option, some small cleanups
See merge request idf/esp-idf!2593
2018-06-25 08:43:42 +08:00
He Yin Ling
808c23af89
CI: remove test report stage:
...
Test report is not used as expected:
1. we rarely download and use test report
2. current test report method doesn't handle large amount data well,
need to be replaced by other methods
Test report also make test jobs allow to fail. It breaks the
original flow of Gitlab CI and make user confused.
2018-06-24 13:58:27 +08:00
Konstantin Kondrashov
899fa2dc55
assert: Fix. Move useful functions from wrapped assert functions
...
Moved useful functions from wrapped assert functions, because option `CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y` will remove this functions.
Closes https://github.com/espressif/esp-idf/issues/2068
2018-06-22 15:17:55 +05:00
zhiweijian
2469e90953
Component/bt: fix slave can not receive long packets in smp
2018-06-22 18:10:58 +08:00
Jiang Jiang Jian
8a7e112a72
Merge branch 'bugfix/read_rssi' into 'master'
...
bt : fix read rssi conflict when in dual mode
See merge request idf/esp-idf!2592
2018-06-22 17:19:23 +08:00
Angus Gratton
0a02d824fc
partition_table: Warn if the partition table name doesn't match type & subtype
2018-06-22 17:51:34 +10:00
Jiang Jiang Jian
af42165b36
Merge branch 'bugfix/btdm_modify_throught_demo_default_config' into 'master'
...
Component/bt: modify throughput demo default config
See merge request idf/esp-idf!2590
2018-06-22 15:24:02 +08:00
hou wen xiang
10e8e22558
driver(mcpwm): Fix mcpwm api in mcpwm.c mismatch with mcpwm.h bug.
2018-06-22 12:26:43 +08:00
Konstantin Kondrashov
32da455384
soc: Fix check_long_hold_gpio and move def to soc
...
Fix factory_reset_pin init as input
Move definition a structure rtc_gpio_desc to soc
Closes https://github.com/espressif/esp-idf/issues/2030
2018-06-22 09:20:27 +05:00
baohongde
29b7d4e916
component/bt: Fix bug of BT and BLE remove bond device
...
1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device will only remove BT bond key and disconnect BT device.
2018-06-22 11:54:40 +08:00
Tian Hao
e3d3ed5a06
bt : fix read rssi conflict when in dual mode
2018-06-22 11:16:16 +08:00
Angus Gratton
6acf28db90
gen_esp32part: Fix input/output handling, regression when Python 3 was supported
...
Also remove misleading help about using stdin (was broken) and --display argument (doesn't exist).
2018-06-22 11:27:09 +10:00
Angus Gratton
05fe65c7d9
partition_table: Use names not numeric values in default OTA example partition
2018-06-22 11:15:41 +10:00
Angus Gratton
077469c823
partition_table: Support same fallback logic as bootloader for default boot partition
...
Generates correct "make flash" command even when partition table has no factory partition.
Also adds unit tests for parttool.py
Closes https://github.com/espressif/esp-idf/issues/2086
2018-06-22 11:14:22 +10:00
He Yin Ling
9d1cc00e54
Merge branch 'test/add_mesh_test_cases' into 'master'
...
test: add mesh basic function test cases
See merge request idf/esp-idf!2330
2018-06-21 22:55:56 +08:00
zhiweijian
4aae691519
Component/bt: modify throughput demo default config
2018-06-21 20:48:20 +08:00
Ivan Grokhotkov
4b0087a387
Merge branch 'bugfix/mdns_service_limit' into 'master'
...
fix(mdns): add the maximum number of services
See merge request idf/esp-idf!2559
2018-06-21 20:32:06 +08:00
baohongde
012415c9f8
component/bt: Fix bug: Respond with the Error Response when receiving a request that it does not support
2018-06-21 20:20:21 +08:00
Jiang Jiang Jian
4df08f9815
Merge branch 'bugfix/wifi_support_null_mode_again' into 'master'
...
support WiFi null mode again
See merge request idf/esp-idf!2577
2018-06-21 15:25:45 +08:00
Ivan Grokhotkov
858cfc2950
esp_err_to_name.py: guess IDF_PATH if not set in environement
...
Fixes the issue that esp_err_to_name.py would fail when called in
documentation build process, when there was no IDF_PATH set.
2018-06-21 15:22:56 +08:00
Ivan Grokhotkov
8c87df538e
docs: conf.py: check return code when calling os.system
...
Several calls were made but results were not checked, obfuscating the
errors.
2018-06-21 15:22:56 +08:00
zhiweijian
41b57d35c8
Component/bt: delete deprecated files
2018-06-21 06:07:21 +00:00
Angus Gratton
75d732887b
Merge branch 'doc/examples_guide' into 'master'
...
docs: Add "Creating Examples" docs page, template example README
See merge request idf/esp-idf!2536
2018-06-21 13:59:44 +08:00
Angus Gratton
3cd22cb1ef
Merge branch 'bugfix/heap_int_overflow' into 'master'
...
heap: Add integer overflow checks
See merge request idf/esp-idf!2568
2018-06-21 13:58:08 +08:00
Ivan Grokhotkov
99b075b28a
Merge branch 'example/sdio_example' into 'master'
...
example(sdio): example to use sdmmc host to do SDIO communication with SDIO slave
See merge request idf/esp-idf!1946
2018-06-21 13:55:23 +08:00
Angus Gratton
df816f4940
lwip: Fix leak when accept() fails due to max socket limit
...
As reported https://esp32.com/viewtopic.php?f=14&t=6171
event_callback() in sockets.c calls conn->socket-- to register
activity on a netconn which may not have any socket yet,
so any socket value < 0 indicates "no controlling socket"
for the netconn.
2018-06-21 15:22:48 +10:00
baohongde
de8a735a7a
component/bt: Add Controller to Host Flow Control
2018-06-21 11:44:40 +08:00
Jiang Jiang Jian
b7d02f7b67
Merge branch 'bugfix/btdm_k_mem_assert_bug' into 'master'
...
component/bt: Fix the bug of when operating the list on interrupt function,…
See merge request idf/esp-idf!2575
2018-06-21 11:15:11 +08:00
Liu Han
ba458c69cf
fix(mdns): add the maximum number of services
2018-06-21 10:31:09 +08:00
Angus Gratton
b47c8fcbf7
Merge branch 'bugfix/fix_http_client_header_bug' into 'master'
...
esp_http_client: Fix content-type header overwritten by esp_http_client_set_post_field
See merge request idf/esp-idf!2552
2018-06-21 08:10:13 +08:00
He Yin Ling
770e848c1f
Merge branch 'test/driver_pcnt' into 'master'
...
test: add pcnt test cases
See merge request idf/esp-idf!1930
2018-06-20 18:31:24 +08:00
XiaXiaotian
d61ae91fef
support WiFi null mode again
2018-06-20 16:45:30 +08:00
Michael (XIAO Xufeng)
90345050b2
example(sdio): example to use sdmmc host to do SDIO communication with SDIO slave
2018-06-20 07:00:05 +00:00
michael
8ab87a6a87
chore(sdio_slave): format source files
2018-06-20 07:00:05 +00:00
houchenyao
3238c6f968
test: components/driver: pcnt case
2018-06-20 06:00:26 +00:00
He Yin Ling
baa0b8547c
test: add mesh basic function test cases
2018-06-20 05:59:54 +00:00
Ivan Grokhotkov
4b91c82cc4
Merge branch 'feat/sdio_pullup' into 'master'
...
feature(sdio): add features to make SDIO slave compatible with more devkits
See merge request idf/esp-idf!2454
2018-06-20 13:58:56 +08:00
Jitin George
9ae3df7ec2
esp_http_client: Fix content-type header overwritten by esp_http_client_set_post_field
...
Also, references of non-existent function `esp_http_client_finalize_open` is removed
from `esp_http_client` documentation.
Closes https://github.com/espressif/esp-idf/issues/2047
Closes https://github.com/espressif/esp-idf/issues/2040
2018-06-20 10:49:26 +05:30
Angus Gratton
fd88d6d89c
heap: Add integer overflow checks
2018-06-19 23:31:37 +00:00
yulong
225c4371c1
component/bt: Fix the bug of when operating the list on interrupt function, there is no lock protection.
2018-06-19 21:01:50 +08:00
Roland Dobai
797340f7f8
idf_monitor: Fix console performance
...
51e42d8e92
introduced filtering options which handles the last (unterminated) line
with a delay. This introduced poor performance for console applications
when the user interacts with the ESP32 device in the same line because
there is an artificial delay for each key-press.
bb152030a0
decreased the delay but there are still delays for each key-presses.
The current fix makes only one delay per line instead of each
key-presses. When an unterminated line is detected then no more
"delayed" print is used for the given line.
Fixes https://github.com/espressif/esp-idf/issues/2054
2018-06-19 13:29:57 +02:00
zwj
c9aac643e3
component/bt: fix stop adv error in dual core
2018-06-15 20:43:10 +08:00
Angus Gratton
df4e227855
docs: Add "Creating Examples" docs page, template example README
2018-06-14 16:49:22 +10:00
michael
85b08684e3
doc(sdio_slave): add descriptions about conflicts on MTDI pin
2018-06-14 12:04:23 +08:00
michael
9b1f2df900
fix(sdio_slave): fix the intr_recv issue that trigger receiving too fast cause assertion failed.
...
also fix a race risk issue when recycle receiving buffers.
2018-06-14 12:04:23 +08:00
michael
5b37a96ddc
feature(sdio): allow to enable internal pullups of the SDIO host and slave as a debug feature
...
NOTE: the internal pullups are not totally reliable, please do add external pullups on your bus.
2018-06-14 12:04:22 +08:00
XuanZe
dc30603242
Translate the resources.rst Merges https://github.com/espressif/esp-idf/pull/1979
2018-06-08 14:58:36 +08:00