Angus Gratton
110d230e36
Merge branch 'update/version_3_2_5' into 'release/v3.2'
...
Update version to 3.2.5
See merge request espressif/esp-idf!11051
2020-10-31 06:58:42 +08:00
He Yin Ling
8e8b76783b
versions: Update version to 3.2.5
2020-10-30 10:42:29 +08:00
Jiang Jiang Jian
4b734a3de3
Merge branch 'bugfix/fix_unable_update_rssi_of_hidden_ap_v3.2' into 'release/v3.2'
...
bugfix: fix unable update rssi of hidden ap (backport v3.2)
See merge request espressif/esp-idf!10996
2020-10-28 15:03:21 +08:00
Jiang Jiang Jian
69d577abdd
Merge branch 'bugfix/fix_dhcp_renew_fail_for_3.2' into 'release/v3.2'
...
lw-ip: Fix dhcp renew fail in t1 and will renew ip in t2 every 1s (backport 3.2)
See merge request espressif/esp-idf!10985
2020-10-28 11:21:46 +08:00
ronghulin
ccd8c0a689
bugfix: fix unable update rssi of hidden ap
2020-10-28 10:48:35 +08:00
Jiang Jiang Jian
d5bf3cfc5f
Merge branch 'bugfix/fix_tsf_bug_v3.2' into 'release/v3.2'
...
WiFi: fix tsf bug (backport v3.2)
See merge request espressif/esp-idf!10954
2020-10-27 16:15:35 +08:00
zhangyanjiao
e7c1dda22d
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-26 09:56:21 +00:00
xueyunfei
538bf6cbb3
fix(dhcp): Fix dhcp renew fail in t1 and will renew ip in t2 every 1s util renew successful.(backport 3.2)
2020-10-26 16:41:30 +08:00
Jiang Jiang Jian
5c67e1c946
Merge branch 'bugfix/udpv6_fail_to_receive_data_for_the_first_time_for_3.2' into 'release/v3.2'
...
lw-ip:udpv6 failed to receive data for the first time for 3.2(backport 3.2)
See merge request espressif/esp-idf!10944
2020-10-26 15:13:08 +08:00
He Yin Ling
94cca60872
Merge branch 'feature/move_auto_test_script_to_new_repo_3.2' into 'release/v3.2'
...
ci: move auto_test_script to new repo (backport 3.2)
See merge request espressif/esp-idf!10925
2020-10-24 09:27:29 +08:00
Chen Yu Dong
afb17229ef
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-10-24 09:27:25 +08:00
xueyunfei
0a977ab54e
udpv6 failed to receive data for the first time for 3.2
2020-10-22 11:42:10 +08:00
Jiang Jiang Jian
dcce508a7a
Merge branch 'bugfix/ipv6_address_get_fail_after_wifi_disconnect_for_3.2' into 'release/v3.2'
...
lw-ip:ipv6 address get fail after wifi disconnect for 3.2(backport 3.2)
See merge request espressif/esp-idf!10791
2020-10-13 12:15:35 +08:00
xueyunfei
6de91f9d19
lw-ip:ipv6 address get fail after wifi disconnect for 3.2
2020-10-12 11:00:20 +08:00
Jiang Jiang Jian
dc66e7a769
Merge branch 'bugfix/fix_receiving_packets_from_myself_v3.2' into 'release/v3.2'
...
esp_wifi: drop receiving packets from myself (backport v3.2)
See merge request espressif/esp-idf!10562
2020-09-24 22:33:58 +08:00
Jiang Jiang Jian
97a95fd160
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_v3' into 'release/v3.2'
...
lfix IPv6 ND6 queue too much pkts cause no mem issue(backport v3.2)
See merge request espressif/esp-idf!10176
2020-09-24 11:36:56 +08:00
Jiang Jiang Jian
e2227d8c77
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v3.2' into 'release/v3.2'
...
wifi: Fix spin lock allocation in PSRAM bug(v3.2)
See merge request espressif/esp-idf!10542
2020-09-23 14:08:50 +08:00
ChenJianxing
0a099b99b1
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-09-22 20:34:40 +08:00
xiehang
75cd0d14c2
esp_wifi: drop receiving packets from myself
2020-09-22 17:42:45 +08:00
dongyou
cc611a76c6
Fix spin lock allocation in PSRAM bug
2020-09-22 11:54:06 +08:00
Jiang Jiang Jian
5cdbb9e7b1
Merge branch 'bugfix/fix_some_wifi_bugs_0907_v3.2' into 'release/v3.2'
...
bugfix: fix softap mode wpa memory leak (backport v3.2)
See merge request espressif/esp-idf!10321
2020-09-22 11:49:32 +08:00
Jiang Jiang Jian
c9a075ad1b
Merge branch 'bugfix/backport_some_lwip_bugs_0910_v3.2' into 'release/v3.2'
...
lw-ip:backport bugfix lw-ip for v3.2
See merge request espressif/esp-idf!10408
2020-09-22 11:48:54 +08:00
ronghulin
c374008d22
bugfix: fix softap mode wpa memory leak
2020-09-11 10:40:54 +08:00
xueyunfei
0b94e9e47f
backport bugfix lwip for v3.2
2020-09-10 16:45:04 +08:00
Island
3ebf6ec6e5
Merge branch 'bugfix/btdm_blufi_data_sequence_not_reset_after_disconnect_v3.2' into 'release/v3.2'
...
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v3.2)
See merge request espressif/esp-idf!10244
2020-09-04 11:14:21 +08:00
XieWenxiang
be7ee1aa53
component/bt: fix Blufi sends data after disconnect the seq still increase(backport v3.2)
2020-09-02 14:32:29 +08:00
Jiang Jiang Jian
8cd3209f74
Merge branch 'bugfix/fix_16mbit_psram_id_read_error_v3.2' into 'release/v3.2'
...
psram: fix 16mbit psram id read error (backport v3.2)
See merge request espressif/esp-idf!9442
2020-08-19 16:22:59 +08:00
Jiang Jiang Jian
d38a28c577
Merge branch 'cherry-pick-19736dbe-2' into 'release/v3.2'
...
wpa_supplicant: Fix some memleaks and invalid memory access(backport V3.2)
See merge request espressif/esp-idf!10033
2020-08-19 16:22:16 +08:00
Michael (XIAO Xufeng)
a0c2b942c2
Merge branch 'bugfix/fix_bugs_in_gpio_unit_test_v3.2' into 'release/v3.2'
...
bugfix(ut): fix gpio output and input mode test(backport v3.2)
See merge request espressif/esp-idf!10022
2020-08-14 11:10:51 +08:00
Jiang Jiang Jian
209f7bc041
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
(cherry picked from commit 19736dbedc )
b91bba1a wpa_supplicant: Fix some memleaks and invalid memory access
2020-08-13 11:34:02 +08:00
Michael (XIAO Xufeng)
6ccba01bb3
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-08-13 03:29:42 +00:00
chenjianqiang
ec0030609e
psram: fix 16mbit psram id read error
2020-08-13 03:29:42 +00:00
Jiang Jiang Jian
bb1cdfa118
Merge branch 'bugfix/fix_udp_tx_performance_issue_v3.2' into 'release/v3.2'
...
lw-ip: fix udp tx packet loss issue (backport v3.2)
See merge request espressif/esp-idf!10019
2020-08-13 11:17:17 +08:00
Jiang Jiang Jian
121e20aa25
Merge branch 'bugfix/fix_bt_btc_gatts_arg_deep_copy_backport_v3.2' into 'release/v3.2'
...
components/bt: Fix btc_gatts_arg_deep_copy() and bta_gatts_indicate_handle() backport v3.2
See merge request espressif/esp-idf!9240
2020-08-13 11:15:46 +08:00
Chen Yi Qun
6d3afb3a18
bugfix(ut): fix gpio output and input mode test(backport v3.2)
2020-08-12 20:09:57 +08:00
xiehang
c8b09c650d
lw-ip: fix udp tx packet loss issue
2020-08-12 15:11:06 +08:00
Jiang Jiang Jian
c3b9f6b9e3
Merge branch 'bugfix/backport_some_lwip_bugs_0722_v3.2' into 'release/v3.2'
...
lw-ip:backport some lw-ip bugs 0722 v3.2
See merge request espressif/esp-idf!9738
2020-08-12 14:10:49 +08:00
Jiang Jiang Jian
3c3d6d7299
Merge branch 'bugfix/fix_some_wifi_bugs_0525_v3.2' into 'release/v3.2'
...
feature: optimize some wifi API (backport v3.2)
See merge request espressif/esp-idf!8892
2020-08-11 14:45:32 +08:00
xueyunfei
ebf7dd5dcc
backport bugfix lwip for v3.2
2020-08-11 14:33:04 +08:00
Jiang Jiang Jian
b5bb9b7bbd
Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v3.2' into 'release/v3.2'
...
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0)
See merge request espressif/esp-idf!9485
2020-08-11 00:56:26 +08:00
ronghulin
afc55aec43
feature: optimize some wifi API
...
1. optimization esp_wifi_set_max_tx_power description
2. add API esp_wifi_ap_get_sta_aid
2020-08-10 15:03:53 +00:00
Jiang Jiang Jian
890b0ff16d
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v3.2' into 'release/v3.2'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v3.2)
See merge request espressif/esp-idf!9962
2020-08-07 18:10:36 +08:00
Jiang Jiang Jian
6fc081956f
Merge branch 'bugfix/bt_linkup_fallback_event_v3.2' into 'release/v3.2'
...
Bluedroid: Fixes cases having fallback to link up event. (v3.2)
See merge request espressif/esp-idf!9806
2020-08-07 14:09:46 +08:00
Jiang Jiang Jian
6a2609997c
Merge branch 'mesh/bugfix_set_type_v3.2' into 'release/v3.2'
...
Mesh/bugfix (backport 3.2)
See merge request espressif/esp-idf!9180
2020-08-07 13:30:26 +08:00
dongyou
7f86d81083
Replace periph_module_enable/disable by periph_wifi_bt_common_module_enable which are in IRAM.
...
AddIRAM_ATTR periph_ll_wifi_bt_module_enable_clk_clear_rstandIRAM_ATTR periph_ll_wifi_bt_module_disable_clk_set_rstto fit O0 optimization level.
Delete duplicated spinlock and counter.
2020-08-06 17:38:31 +08:00
chenyudong
993da2b282
mesh/ci: fix MESH_EST_0216
2020-08-04 14:21:01 +08:00
chenyudong
5f9908874a
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-08-04 14:20:59 +08:00
Jiang Jiang Jian
688c623156
Merge branch 'bugfix/fix_fragment_issue_v3.2' into 'release/v3.2'
...
esp_wifi: Fix WiFi fragment issue (backport v3.2)
See merge request espressif/esp-idf!9881
2020-08-04 12:10:27 +08:00
xiehang
5d8c4143ef
esp_wifi: Fix WiFi fragment issue
2020-07-31 20:29:06 +08:00
He Yin Ling
6710912670
Merge branch 'bugfix/checkout_ref_auto_test_script_v3.2' into 'release/v3.2'
...
CI: IT jobs use incorrect auto test script branch (v3.2)
See merge request espressif/esp-idf!9868
2020-07-31 17:46:04 +08:00
Chen Yudong
608179caf1
test: fix auto test script uses incorrect branch
2020-07-30 14:15:47 +08:00
Chinmay Chhajed
205f345696
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-07-27 14:09:17 +05:30
wangcheng
f2b8bb6dae
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-07-25 03:09:56 +00:00
Mahavir Jain
f19da37212
Merge branch 'fix/prov_ble_read_offset_v3.2' into 'release/v3.2'
...
BLE provisioning: Add check for valid ble read offset (v3.2)
See merge request espressif/esp-idf!9748
2020-07-24 22:16:17 +08:00
Jiang Jiang Jian
460e04f4ff
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v3.2' into 'release/v3.2'
...
fix some wifi bugs 0703 (v3.2)
See merge request espressif/esp-idf!9538
2020-07-23 12:37:39 +08:00
Prasad Alatkar
f5e7ed9835
BLE provisioning: Add check for valid ble read offset
2020-07-22 19:44:14 +05:30
Angus Gratton
ce955de719
Merge branch 'ci/workaround_multiple_ci_failures_v3.2' into 'release/v3.2'
...
CI: workaround multiple ci failures (v3.2)
See merge request espressif/esp-idf!9688
2020-07-22 11:51:59 +08:00
Jiang Jiang Jian
364fb4d284
Merge branch 'bugfix/customer_baidu_int_wdt_v3.2' into 'release/v3.2'
...
backport v3.2: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9221
2020-07-21 12:19:56 +08:00
Jiang Jiang Jian
3f35383544
Merge branch 'feature/make_tcp_rto_configurable_v3.2' into 'release/v3.2'
...
make TCP rto time configurable (backport v3.2)
See merge request espressif/esp-idf!9611
2020-07-21 12:19:29 +08:00
yuanjm
5c9a5e6b80
feat(lwip): make LWIP TCP rto time configurable
2020-07-20 11:59:24 +00:00
He Yin Ling
548325c01f
CI: do not run cases likely to fail
2020-07-19 15:40:39 +08:00
He Yin Ling
7dd3f60f17
CI: disable cases with test env SSC_T5_1
2020-07-19 15:38:44 +08:00
He Yin Ling
2fcb579748
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 15:34:06 +08:00
He Yin Ling
ae86aff61b
CI: remove incorrect MTU related cases
2020-07-19 15:32:24 +08:00
Li Shuai
001be802c6
add soft solution for esp32 eco3 live lock issue
2020-07-17 05:29:48 +00:00
Jiang Jiang Jian
0eb17e7601
Merge branch 'bugfix/ws_send_abort_v3.2' into 'release/v3.2'
...
websocket client: the client now aborts the connection if send fails. (v3.2)
See merge request espressif/esp-idf!9172
2020-07-15 16:36:51 +08:00
Jiang Jiang Jian
8ada763bee
Merge branch 'feature/bt_secure_conn_downgrade_check_v3.2' into 'release/v3.2'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9337
2020-07-15 16:35:34 +08:00
Angus Gratton
6a9d14e963
versions: Update to v3.2.4
2020-07-14 20:40:03 +10:00
Angus Gratton
c243b7018f
Merge branch 'bugfix/rs485_test_temp_disable_v32' into 'release/v3.2'
...
ci: temporarily disable RS485 related tests (backport v3.2)
See merge request espressif/esp-idf!9589
2020-07-14 12:28:21 +08:00
aleks
6eb6745a59
ci: temporarily disable RS485 related tests
2020-07-13 07:38:48 +02:00
zhangyanjiao
595be5a143
esp_wifi: Add API to get available internal heap size
2020-07-08 21:09:02 +08:00
zhangyanjiao
d16831cf81
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
2020-07-08 21:07:24 +08:00
Jiang Jiang Jian
a5c8cdd30e
Merge branch 'bugfix/beacon_security_downgrade_v3.2' into 'release/v3.2'
...
Avoid parsing RSN/WPA IE's after connection (Backport v3.2)
See merge request espressif/esp-idf!9347
2020-07-03 14:00:05 +08:00
Island
39e1cd4d74
Merge branch 'bugfix/blufi_buffer_overflow_report_v3.2' into 'release/v3.2'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 3.2)
See merge request espressif/esp-idf!9197
2020-07-03 10:42:12 +08:00
Mahavir Jain
dc237e205a
Merge branch 'bugfix/http_server_lru_v3.2' into 'release/v3.2'
...
esp_http_server: Update LRU counter on accepting a new connection (v3.2)
See merge request espressif/esp-idf!9354
2020-07-02 15:37:46 +08:00
Nachiket Kukade
231773b28a
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-02 06:37:13 +00:00
Jiang Jiang Jian
2ce9add5ba
Merge branch 'bugfix/config_btu_stack_size_by_menuconfig_v3.2' into 'release/v3.2'
...
components/bt: Config BTU stack size by menuconifg
See merge request espressif/esp-idf!9385
2020-07-01 16:34:51 +08:00
baohongde
56019e2c9d
components/bt: Config BTU stack size by menuconifg
2020-06-29 21:22:16 +08:00
Shubham Kulkarni
86c18a8e05
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:26:07 +05:30
Chinmay Chhajed
94353c411e
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 16:22:34 +05:30
Jiang Jiang Jian
89bf6c2799
Merge branch 'bugfix/btdm_ble_assert_64_0_v3.2' into 'release/v3.2'
...
components/bt: Fix ble assert(64, 0)
See merge request espressif/esp-idf!8921
2020-06-24 17:17:56 +08:00
Jiang Jiang Jian
26cad6beaa
Merge branch 'bugfix/att_buffer_count_fixed_v3.2' into 'release/v3.2'
...
Bugfix/att buffer count fixed v3.2
See merge request espressif/esp-idf!9163
2020-06-24 17:17:26 +08:00
Hrishikesh Dhayagude
4228e2e62e
components/bt: Fix btc_gatts_arg_deep_copy() and bta_gatts_indicate_handle()
2020-06-18 18:13:01 +08:00
baohongde
a915420eec
components/bt: Fix ble assert(64, 0)
2020-06-17 06:06:52 +00:00
Mahavir Jain
1503a8951e
Merge branch 'bugfix/httpd_lru_purge_v3.2' into 'release/v3.2'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v3.2)
See merge request espressif/esp-idf!8835
2020-06-17 13:31:01 +08:00
wangcheng
ee79ef9ba1
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:31:15 +08:00
Jiang Jiang Jian
1cd415dfc1
Merge branch 'bugfix/authmode_degrade_fix_v3.2' into 'release/v3.2'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold(backport v3.2)
See merge request espressif/esp-idf!9086
2020-06-15 23:20:13 +08:00
Marius Vikhammer
5b6bc8c5ed
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-06-15 14:54:21 +08:00
wangcheng
637090410b
components/bt:Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 15:33:36 +08:00
wangcheng
0df77d5a69
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 15:33:28 +08:00
Jiang Jiang Jian
e5dde19f74
Merge branch 'bugfix/modify_TCP_MSS_range_v3.2' into 'release/v3.2'
...
Change the default value of TCP_MSS (backport v3.2)
See merge request espressif/esp-idf!9049
2020-06-08 11:16:55 +08:00
kapil.gupta
4de12b3c0c
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
2020-06-07 11:25:50 +05:30
Piyush Shah
eb39527318
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-06-05 20:32:01 +00:00
xiehang
0a08a35962
Change the default value of TCP_MSS to 1440 and TCP_MSS Range : [536 1460]
2020-06-04 12:02:40 +08:00
He Yin Ling
d15f2629b0
Merge branch 'bugfix/ci_push_to_github_on_label_v3.2' into 'release/v3.2'
...
ci: Don't push to Github or deploy docs on customized pipelines (v3.2)
See merge request espressif/esp-idf!8940
2020-05-27 18:42:35 +08:00
Angus Gratton
f66312d41c
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:52 +10:00
David Čermák
c55901bf02
Merge branch 'bugfix/ws_client_fragmented_send_v3.2' into 'release/v3.2'
...
ws_client: fix fragmented send setting proper opcodes (v3.2)
See merge request espressif/esp-idf!8693
2020-05-25 17:50:55 +08:00
Michael (XIAO Xufeng)
75ebfacd28
Merge branch 'bugfix/mcpwm_period_error_v3.2' into 'release/v3.2'
...
bugfix(mcpwm_period_error): fix the issue of wrong period (backport v3.2)
See merge request espressif/esp-idf!7188
2020-05-25 15:36:11 +08:00
Jiang Jiang Jian
8e74a471ea
Merge branch 'bugfix/fix_some_wifi_bugs_0427_v3.2' into 'release/v3.2'
...
Bugfix/fix some wifi bugs 0427 (v3.2)
See merge request espressif/esp-idf!8575
2020-05-22 22:00:31 +08:00
Jiang Jiang Jian
caf889f04d
Merge branch 'bufix/fix_v3.2_bluedroid_bugs_mr' into 'release/v3.2'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 3.2)
See merge request espressif/esp-idf!8753
2020-05-22 21:16:41 +08:00
David Cermak
af839f371f
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:18:13 +00:00
Jiang Jiang Jian
2ebd93e1d2
Merge branch 'bugfix/wps_config_method_war' into 'release/v3.2'
...
wpa_supplicant: WPS Inter operatability Fixes
See merge request espressif/esp-idf!8589
2020-05-22 01:07:18 +08:00
zhangyanjiao
caff697a3d
wifi changes:
...
Zhang Yan Jiao authored 2 weeks ago
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:40:01 +08:00
zhangyanjiao
fe1969dd3b
esp_wifi:Add softap example channel configuration
2020-05-20 11:22:38 +08:00
Jiang Jiang Jian
0fd913708c
Merge branch 'bugfix/fix_switch_channel_without_discon_issue_v3.2' into 'release/v3.2'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect (backport v3.2)
See merge request espressif/esp-idf!8769
2020-05-18 22:27:04 +08:00
zwj
c14e7c3360
:add congest direct callback and modify congest evt triger threshold
2020-05-15 16:09:53 +08:00
wangcheng
38d9958c11
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-15 16:09:15 +08:00
wangcheng
026cec78e9
fix bta_dm_deinit_cb
2020-05-15 16:09:15 +08:00
xiehang
5c25689f7f
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-15 14:31:40 +08:00
Angus Gratton
5895ecff50
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v3.2' into 'release/v3.2'
...
flash: fix spi flash clock config error (backport v3.2)
See merge request espressif/esp-idf!8516
2020-05-13 15:32:35 +08:00
kapil.gupta
90de9f4942
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-05-11 14:02:39 +05:30
Nachiket Kukade
f27b37a4f0
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-05-11 09:29:51 +05:30
Michael (XIAO Xufeng)
e24b875621
Merge branch 'bugfix/timer_group_intr_enable_v3.2' into 'release/v3.2'
...
Fix timer group intr enable (backport v3.2)
See merge request espressif/esp-idf!8532
2020-05-08 14:59:54 +08:00
David Čermák
0b56e9d8b3
Merge branch 'feature/config_mqtt_task_prio_v3.2' into 'release/v3.2'
...
esp_mqtt: configure task priority, esp_mqtt_abort_connection race condition, clenaup logs and docs (v3.2)
See merge request espressif/esp-idf!8478
2020-05-06 16:17:51 +08:00
David Cermak
13c40b53d1
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:09:57 +02:00
Chen Zheng Wei
65f012d612
mcpwm: fix the issue of wrong period (backport v3.2)
2020-04-28 21:40:17 +08:00
morris
ec50038f84
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:43:12 +08:00
dowster
eee46733f0
Fix typo with sigmadelta.h #ifdef
2020-04-28 12:43:02 +08:00
Jiang Jiang Jian
19f43f92fa
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v3.2' into 'release/v3.2'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v3.2)
See merge request espressif/esp-idf!8409
2020-04-28 11:36:47 +08:00
chenjianqiang
04bf2db720
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-27 17:44:57 +08:00
Simon Brélivet
7a9d02a18b
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-04-24 16:37:25 +02:00
Angus Gratton
43175f22e9
Merge branch 'fix/ci_example_test_prov_v3.2' into 'release/v3.2'
...
CI: Fix prov example test exception handle (v3.2)
See merge request espressif/esp-idf!8442
2020-04-24 16:13:31 +08:00
Shivani Tipnis
fc067fda94
CI: Fix prov example test cryptography package version exception handling
2020-04-23 00:48:18 +05:30
zhangyanjiao
f8ddcc7d74
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 20:05:36 +08:00
Jiang Jiang Jian
acfee765f7
Merge branch 'bugfix/btdm_backports_v3.2_0328' into 'release/v3.2'
...
Bugfix/btdm backports v3.2 0328
See merge request espressif/esp-idf!8154
2020-04-16 20:53:05 +08:00
Jiang Jiang Jian
2c21b0b2b3
Merge branch 'bugfix/psram_single_bit_error_v3.2' into 'release/v3.2'
...
psram: support psram 2T mode to fix single bit error (backport v3.2)
See merge request espressif/esp-idf!7111
2020-04-15 13:43:36 +08:00
Jiang Jiang Jian
0c7abb8978
Merge branch 'bugfix/backport_some_wifi_bugs_0326_v3.2' into 'release/v3.2'
...
esp32: backport some WiFi fixes (backport v3.2)
See merge request espressif/esp-idf!8307
2020-04-13 22:38:48 +08:00
chenjianqiang
bc4b78459a
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:53:27 +08:00
Jiang Jiang Jian
db38a4e068
Merge branch 'bugfix/backport_some_lwip_bugs_0327_v3.2' into 'release/v3.2'
...
lw-ip:backport some lw-ip bugfix 0327 for v3.2
See merge request espressif/esp-idf!8133
2020-04-10 21:05:46 +08:00
liu zhifu
795e9136c1
esp32: backport some WiFi fixes to v3.2
...
Backport following Wifi fixes:
1. Fix esp_wifi_stop() crash
esp_wifi_stop() crashes if it's called when WiFi is not initialized.
2. Fix memory leak caused by esp_wifi_stop()
3. Fix WiFi log print level
4. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-10 10:54:56 +08:00
Angus Gratton
58197e9345
Merge branch 'feature/idf_version_header_v3.2' into 'release/v3.2'
...
esp_common: add version definitions in code and build system (backport v3.2)
See merge request espressif/esp-idf!8234
2020-04-08 15:07:48 +08:00
Ivan Grokhotkov
5f9003aa0a
esp_common: add version definitions in code and build system
2020-04-03 01:27:15 +02:00
Jiang Jiang Jian
caacfd87fa
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v3.2' into 'release/v3.2'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.2)
See merge request espressif/esp-idf!8184
2020-04-01 17:56:15 +08:00
Angus Gratton
c1163e29ee
Merge branch 'backport/malloc_zero_return_null_v3.2' into 'release/v3.2'
...
backport/malloc_zero_return_null_v3.2
See merge request espressif/esp-idf!8143
2020-04-01 14:43:00 +08:00
xueyunfei
49202b7f03
backport bugfix lwip for v3.2
2020-03-31 17:44:33 +08:00
xiewenxiang
3b54469bec
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.2)
2020-03-31 16:48:14 +08:00
baohongde
ce9e4d0918
components/bt: Fix assert when create conntion cancel
2020-03-28 21:40:32 +08:00
baohongde
98e183932c
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-03-28 21:33:12 +08:00
Felipe Neves
4a9160a72c
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:39:23 -03:00
Angus Gratton
c604f980d2
Merge branch 'bugfix/cmake_bugfixes_v3.2' into 'release/v3.2'
...
CMake-related bugfixes (v3.2)
See merge request espressif/esp-idf!8070
2020-03-26 16:36:42 +08:00
Angus Gratton
eed03c5288
Merge branch 'bugfix/esp_event_bugfixes_v3.2' into 'release/v3.2'
...
esp_event-related fixes (v3.2)
See merge request espressif/esp-idf!8074
2020-03-26 16:20:00 +08:00
Jiang Jiang Jian
4a9b258d46
Merge branch 'bugfix/backport_some_wifi_bugs_0323_v3.2' into 'release/v3.2'
...
esp_wifi: Backport some wifi bugs 0323 (backport v3.2)
See merge request espressif/esp-idf!8089
2020-03-25 17:53:20 +08:00
Angus Gratton
6f7f5c4d01
Merge branch 'bugfix/hide_unsupported_cmake_features_v3.2' into 'release/v3.2'
...
security: Hide Secure Boot & Flash Encryption config items when using CMake (v3.2)
See merge request espressif/esp-idf!7908
2020-03-24 18:07:05 +08:00
xiehang
414b843755
esp_wifi: Update WiFi lib
...
1,Fix sniffer bug caused by mode switch
2,Reduce WiFi bin size
3,Add TX packets size check
4,Fix scan get rssi error
5,Add wifi stop check at WiFi deinit entry
6,Return fail when setting AP's channel is out of range
7,Fix the bug for setting channel when WiFi in NULL mode
2020-03-24 15:13:57 +08:00
Renz Bagaporo
0d120e0429
examples: split source files for one of the ulp examples
2020-03-23 11:52:54 +08:00
Renz Christian Bagaporo
a472052dcf
esp_event: remove extra line from source file
2020-03-22 22:43:55 +08:00
Renz Christian Bagaporo
25baed5264
esp_event: test that handlers can unregister themselves
2020-03-22 22:43:47 +08:00
Rusty Eddy
3d7364f16f
Added semi-colon to esp_event_loop_create(...)
...
Title sums it up.
2020-03-22 22:42:25 +08:00
Renz Christian Bagaporo
45120f176e
cmake: fix build failure when git repo is initialized but no first commit
...
Closes https://github.com/espressif/esp-idf/issues/3920
2020-03-22 22:37:58 +08:00
Renz Bagaporo
1fa08d773f
ci: add test for partition_table target
2020-03-22 22:37:48 +08:00
Renz Christian Bagaporo
f8a7ef99ad
partition_table: output partition table info for partition_table target
2020-03-22 22:37:38 +08:00
Jiang Jiang Jian
08caf05cd7
Merge branch 'bugfix/host_and_example_bugfix_backport_to_v3.2' into 'release/v3.2'
...
Bugfix/host and example bugfix backport to v3.2
See merge request espressif/esp-idf!8063
2020-03-21 15:25:47 +08:00
gengyuchao
a2b063dc4e
Component/bt :
...
Add handling of osi memory calloc failure.
Add length check for snprintf in osi config.
2020-03-21 13:16:11 +08:00
gengyuchao
81ebffc0ad
example/ble_hid_device_demo fix the wrong mask value according to HID protocol
2020-03-21 11:22:32 +08:00
gengyuchao
9583c29f27
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-03-21 11:21:55 +08:00
gengyuchao
d001c40425
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-03-21 11:18:44 +08:00
gengyuchao
4643ca6ef8
example/ble_throughput:
...
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-03-21 11:18:30 +08:00
gengyuchao
da19c94976
bugfix: ble add missing gatt descriptors
2020-03-21 11:18:19 +08:00
Mahavir Jain
0037a03106
Merge branch 'bugfix/newlib_putchar_locking_v3.2' into 'release/v3.2'
...
newlib: don't define non-thread-safe versions of getc, putc (backport v3.2)
See merge request espressif/esp-idf!8030
2020-03-20 16:58:04 +08:00
Ivan Grokhotkov
63a544dd3c
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:53:12 +01:00
Jiang Jiang Jian
51adc08070
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v3.2' into 'release/v3.2'
...
Bugfix/compiler err when performance optimization enabled v3.2
See merge request espressif/esp-idf!7980
2020-03-17 13:53:33 +08:00
Jiang Jiang Jian
3dbdbb4755
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue_v3.2' into 'release/v3.2'
...
bugfix: Place the Vendor Specific element at the end according to the protocol (backport v3.2)
See merge request espressif/esp-idf!7779
2020-03-17 13:44:37 +08:00
weitianhua
f222a02518
Remove (x2) varible for BCM_STRNCPY_S and BCM_STRCPY_S
2020-03-14 15:04:44 +08:00
weitianhua
dc7c244055
Initialize mem_start and mem_end
2020-03-14 15:04:33 +08:00
Jiang Jiang Jian
aeebe24196
Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v3.2' into 'release/v3.2'
...
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v3.2)
See merge request espressif/esp-idf!7759
2020-03-13 20:10:33 +08:00
KonstantinKondrashov
874b18eab8
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:26:43 +08:00
David Čermák
11995d808c
Merge branch 'bugfix/transport_connection_active_v3.2' into 'release/v3.2'
...
fix(transport): Fix a bug of the connection whether be active (v3.2)
See merge request espressif/esp-idf!7742
2020-03-10 16:07:22 +08:00
Liu Han
f0138ffdf6
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-03-09 13:51:28 +00:00
Angus Gratton
6281b910d1
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
2020-03-09 11:14:25 +11:00
Jiang Jiang Jian
0f72e63b7a
Merge branch 'bugfix/bt_interrupt_disable_timing_error_v3.2' into 'release/v3.2'
...
(backport v3.2) btController: events scheduling error in case of wifi and bluetooth.
See merge request espressif/esp-idf!7890
2020-03-06 11:30:22 +08:00
Chinmay Chhajed
bf9e676884
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 19:21:16 +05:30
David Čermák
42869f4912
Merge branch 'feature/websocket_client_v3.2' into 'release/v3.2'
...
websocket: backport of websocket client to v3.2
See merge request espressif/esp-idf!7268
2020-03-03 16:03:25 +08:00
ronghulin
e5d8ae227d
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-03-02 14:15:31 +08:00
Jiang Jiang Jian
dc1f72c786
Merge branch 'feature/esp32_5p0_backport_v3p2' into 'release/v3.2'
...
backport esp325p0 new features and code optimize to v3.2(backport v3.2)
See merge request espressif/esp-idf!7565
2020-03-02 11:43:57 +08:00
June
511c1cee22
backport esp32 5p0 new features to release/v3.2
2020-02-29 09:12:15 +00:00
Jiang Jiang Jian
69230e2e3b
Merge branch 'feature/dev_security_restore_backport_v3p2' into 'release/v3.2'
...
feature/dev_security_restore_backport_v3p2(backport release/v3.2)
See merge request espressif/esp-idf!7741
2020-02-28 21:26:29 +08:00
June
e1086b6b6f
backport mr !6031 - fix security info restore bug
2020-02-28 11:48:52 +00:00
Marius Vikhammer
15d39eded5
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-02-27 08:56:43 +00:00
Marius Vikhammer
abe93ee7c3
websocket: backport of websocket client to v3.2
...
Backports the websocket client and example to ESP-IDF release 3.2.
2020-02-27 08:56:43 +00:00
Angus Gratton
ea7372d9aa
Merge branch 'doc/partition_table_app_test_v3.2' into 'release/v3.2'
...
partition table: Update documentation about "test" partition type (v3.2)
See merge request espressif/esp-idf!7632
2020-02-27 09:13:24 +08:00
Jiang Jiang Jian
3c0ac69088
Merge branch 'bugfix/mesh_ie_issues_3.2' into 'release/v3.2'
...
mesh: fix mesh ie issues (backport 3.2)
See merge request espressif/esp-idf!7199
2020-02-26 22:45:55 +08:00
Anton Maklakov
ce0808c7be
Merge branch 'bugfix/ci_confserver_timeout_again_v3.2' into 'release/v3.2'
...
ci: Adjust more 'spawn' settings in test_confserver (backport v3.2)
See merge request espressif/esp-idf!5321
2020-02-25 19:48:01 +08:00
Anton Maklakov
66790c3560
ci: Adjust more 'spawn' settings in test_confserver
2020-02-25 11:12:02 +00:00
Jiang Jiang Jian
eeeffcafbf
Merge branch 'feature/wifi_redo_scan_example_v3.2' into 'release/v3.2'
...
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.2)
See merge request espressif/esp-idf!7503
2020-02-25 14:22:48 +08:00
Hrudaynath Dhabe
254dcb755c
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v3.2)
2020-02-25 14:22:47 +08:00
Jiang Jiang Jian
5ddeab1409
Merge branch 'bugfix/btdm_allow_start_adv_again_v3.2' into 'release/v3.2'
...
component/bt: allow to send stop adv again and fix tx prog crash (backport v3.2)
See merge request espressif/esp-idf!6917
2020-02-24 20:17:44 +08:00
Jiang Jiang Jian
a988c6bdb6
Merge branch 'bugfix/mbedtls_esp_bignum_v3.2' into 'release/v3.2'
...
mbedtls: esp bignum fix for 4096 keys (v3.2)
See merge request espressif/esp-idf!7707
2020-02-24 11:44:03 +08:00
chenyudong
9c1935e24c
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:55:49 +08:00
Jiang Jiang Jian
fda11a687d
Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration_v3.2' into 'release/v3.2'
...
lw-ip: Add option to ipv6 stateless address configuration (backport v3.2)
See merge request espressif/esp-idf!7695
2020-02-21 14:56:44 +08:00
Mahavir Jain
886bc21f7f
Merge branch 'fix/cmake_absolute_path_to_run_esptool' into 'release/v3.2'
...
project_include.cmake: Make esptool_py_custom_target callable from other directories (backport v3.2)
See merge request espressif/esp-idf!6944
2020-02-20 18:37:19 +08:00
David Cermak
7b495db118
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:06:28 +01:00
David Cermak
bdf477e76d
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:06:28 +01:00
Amit Sheth
b57134d21e
project_include.cmake: Make esptool_py_custom_target callable from other directories
2020-02-20 13:06:18 +05:30
zhiweijian
bdb1391eeb
component/bt: allow to send stop adv again and fix tx prog crash
2020-02-20 14:26:47 +08:00
xiehang
ecb5370ca6
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:26:19 +08:00
Jiang Jiang Jian
59f2b3f036
Merge branch 'bugfix/enable_ipv6_address_autoconfig_v3.2' into 'release/v3.2'
...
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v3.2)
See merge request espressif/esp-idf!7660
2020-02-20 12:44:58 +08:00
Michael (XIAO Xufeng)
aaf98c14fd
Merge branch 'bugfix/i2s_timergroup_some_issues_v3.2' into 'release/v3.2'
...
bugfix(driver): fix i2s and timergroup some issues(backport v3.2)
See merge request espressif/esp-idf!7174
2020-02-20 00:20:54 +08:00
Jiang Jiang Jian
491c64e337
Merge branch 'bugfix/controller_initializer_order_3.2' into 'release/v3.2'
...
Fix the initializer order
See merge request espressif/esp-idf!7624
2020-02-19 17:10:50 +08:00
Jiang Jiang Jian
5693dd69ed
Merge branch 'bugfix/fix_airkiss_bug_v3.2' into 'release/v3.2'
...
fix the bug for Airkiss (backport v3.2)
See merge request espressif/esp-idf!7667
2020-02-19 16:40:18 +08:00
zhangyanjiao
1b21573901
fix the bug for Airkiss can't get the ip of the cellphone
2020-02-19 10:38:05 +08:00
Jiang Jiang Jian
a40b4d7167
Merge branch 'bugfix/unified_prov_bluedroid_v3.2' into 'release/v3.2'
...
Unified Provisioning - BLE: Fix characteristics read response issue (backport v3.2)
See merge request espressif/esp-idf!7648
2020-02-18 20:59:13 +08:00
xiehang
297146c410
lw-ip: Enable IPv6 stateless address autoconfiguration
2020-02-18 19:38:09 +08:00
Hrishikesh Dhayagude
3452d579ac
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 14:59:26 +05:30
Angus Gratton
fcd857e0f1
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:59 +11:00
weitianhua
714afdec6d
Fix the initializer order
2020-02-17 16:10:53 +08:00
Angus Gratton
3f3c21c966
Merge branch 'bugfix/doc_sphinxcontrib_dep_v3.2' into 'release/v3.2'
...
Docs: Fix sphinxcontrib dependencies (v3.2)
See merge request espressif/esp-idf!7612
2020-02-17 15:08:00 +08:00
Jiang Jiang Jian
6db5ca3458
Merge branch 'bugfix/udp_random_port_for_3.2' into 'release/v3.2'
...
lw-ip:bugfix for add random udp port for 3.2
See merge request espressif/esp-idf!7297
2020-02-15 13:08:45 +08:00
xueyunfei
c2f1cd5bc0
bugfix for add random udp port for 3.2
2020-02-14 22:00:16 +08:00
Roland Dobai
b55b6c6abf
Docs: Fix sphinxcontrib dependencies
2020-02-14 10:54:17 +01:00
Jiang Jiang Jian
eb3f02a41a
Merge branch 'hfp_a2dp_coex_iphone_3.2' into 'release/v3.2'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 3.2]
See merge request espressif/esp-idf!7251
2020-02-14 17:12:03 +08:00
Jiang Jiang Jian
263c670342
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v3.2' into 'release/v3.2'
...
soc: clear PHY status when cpu start (backport v3.2)
See merge request espressif/esp-idf!7591
2020-02-14 11:35:14 +08:00
Jiang Jiang Jian
34f6bde8bc
Merge branch 'bugfix/fix_double_recycle_bar_crash_issue_v3.2' into 'release/v3.2'
...
esp32: fix the crash caused by double free BAR buffer (backport v3.2)
See merge request espressif/esp-idf!7569
2020-02-14 11:33:36 +08:00
Xia Xiaotian
2a7d2a7795
soc: clear PHY status when cpu start
2020-02-13 14:28:33 +08:00
liu zhifu
448dd7c6ca
esp32: fix the crash caused by double free BAR buffer
2020-02-12 16:38:47 +08:00
Anton Maklakov
ea7f34df17
Merge branch 'bugfix/ci_deploy_tags_v3.2' into 'release/v3.2'
...
ci: fix tags for internal deploy jobs (backport v3.2)
See merge request espressif/esp-idf!7293
2020-02-08 13:21:58 +08:00
Anton Maklakov
2df539062f
ci: fix tags for internal deploy jobs
2020-02-07 04:17:53 +00:00
Angus Gratton
8e4a63f2f8
Merge branch 'bugfix/doc_nwdiag_v3.2' into 'release/v3.2'
...
docs: Fix nwdiag dependency for documentation build (v3.2)
See merge request espressif/esp-idf!7518
2020-02-07 06:20:00 +08:00
Roland Dobai
53c4c55e72
docs: Fix nwdiag dependency for documentation build
2020-02-06 17:52:48 +01:00
Angus Gratton
b83749988c
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.2' into 'release/v3.2'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.2)
See merge request espressif/esp-idf!7442
2020-02-06 14:31:17 +08:00
Angus Gratton
a3a0d4d2ad
Merge branch 'bugfix/wps_config_init_v3.2' into 'release/v3.2'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7313
2020-02-06 14:06:13 +08:00
KonstantinKondrashov
ab0f6aceac
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:47 +00:00
Hrudaynath Dhabe
e789da12bd
Fix wps config for support with gnu++11 as well as c99.
2020-01-31 05:57:58 +00:00
Angus Gratton
7e416fec15
Merge branch 'bugfix/esp_ptr_executable_single_core_v3.2' into 'release/v3.2'
...
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory (v3.2)
See merge request espressif/esp-idf!7466
2020-01-31 12:59:38 +08:00
Angus Gratton
923cd98b9e
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:19 +11:00
Angus Gratton
3b7777e22d
Merge branch 'bugfix/mqtt_submodule_ref_update_v3.2' into 'release/v3.2'
...
mqtt: update submodule to point to latest commit (backport v3.2)
See merge request espressif/esp-idf!7288
2020-01-22 11:29:18 +08:00
Jiang Jiang Jian
a9d3b625c4
Merge branch 'bugfix/wa_dport_and_intr_v3.2' into 'release/v3.2'
...
esp32: Fix for DPORT (v3.2)
See merge request espressif/esp-idf!7351
2020-01-21 10:47:35 +08:00
Ivan Grokhotkov
b2fee9a686
Merge branch 'bugfix/ci_submodule_checkout_v3.2' into 'release/v3.2'
...
ci: Clean submodules after fetching sources (v3.2)
See merge request espressif/esp-idf!7386
2020-01-20 21:54:08 +08:00
Jiang Jiang Jian
bccd747028
Merge branch 'bugfix/backport_some_wifi_bugs_0107_v3.2' into 'release/v3.2'
...
backport some Wi-Fi bugs 0107 (backport v3.2)
See merge request espressif/esp-idf!7245
2020-01-20 16:42:19 +08:00
xiehang
db635956fb
lwip: Drop packets larger than MTU
2020-01-20 08:01:59 +00:00
Xia Xiaotian
9f8efed1eb
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
2020-01-20 08:01:59 +00:00
xiehang
644591b0d5
Update wifi lib
...
1,Fix wifi block scan crash issue.
2,Fix association request RSN information length too big lead crash
3,Fix wifi stop bug when sniffer enable
4,coex:fix wifi scan and connect bugs
5,Fix some wifi timer bugs
6,Fix wifi RX bug
7,Fix the bugs for bandwidth
8,Fix the bug for espnow
9,Fix AMSDU decrypt bug
10,Fix wifi reload issue
2020-01-20 08:01:59 +00:00
zhangyanjiao
0e8f66e017
fix the bugs for espnow and bandwidth
2020-01-20 08:01:59 +00:00
ronghulin
d62bb227b7
esp32: fix a WiFi RX bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-20 08:01:59 +00:00
Angus Gratton
3914aaac76
ci: Clean submodules after fetching sources
...
Assuming no submodule dirs contain artifacts that we can't clean
2020-01-20 12:27:43 +11:00
Jiang Jiang Jian
5f3957a20e
Merge branch 'bugfix/btdm_backports_v3.2_0114' into 'release/v3.2'
...
components/bt: backport release/v3.2
See merge request espressif/esp-idf!7359
2020-01-19 11:49:17 +08:00
baohongde
9463114e27
components/bt: backport release/v3.2
...
Fix A2DP stuck when BLE's interval is too small
Fix assert due to no free element from
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 16:19:14 +08:00
KonstantinKondrashov
a22a543636
esp32: Add UT for DPORT
2020-01-16 14:36:26 +08:00
KonstantinKondrashov
adf8131c20
esp32: Fix esp_dport_access_reg_read
2020-01-16 14:36:26 +08:00
Jiang Jiang Jian
8442ec3413
Merge branch 'bugfix/btdm_fix_multi_open_evt_and_clear_blufi_prepare_write_len_v3.2' into 'release/v3.2'
...
component/bt: fix multi open evt and clear blufi prepare write len(backport v3.2)
See merge request espressif/esp-idf!7326
2020-01-16 11:48:30 +08:00
Ivan Grokhotkov
d2c80e0e73
Merge branch 'bugfix/msys2_environment_update_v3.2' into 'release/v3.2'
...
doc: Update MSYS2 pre-compiled environment zip (v3.2)
See merge request espressif/esp-idf!7144
2020-01-15 11:31:40 +08:00
zhiweijian
02687b9b40
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:49:41 +08:00
zhiweijian
0193e34c62
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:49:32 +08:00
Marius Vikhammer
e22d3dd804
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-01-14 10:53:01 +08:00
Angus Gratton
287bee03b3
Merge branch 'bugfix/mdns_send_sdptr_answer_v3.2' into 'release/v3.2'
...
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp (v3.2)
See merge request espressif/esp-idf!7244
2020-01-09 13:00:53 +08:00
Jiang Jiang Jian
1a897da635
Merge branch 'bugfix/btdm_avrc_category_v3.2' into 'release/v3.2'
...
components/bt: Choose AVRC category according to A2DP role
See merge request espressif/esp-idf!7178
2020-01-09 11:34:59 +08:00
weitianhua
344c86bc3e
hfp a2dp iphone 3.2
2020-01-08 19:44:23 +08:00
David Cermak
7a74262858
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:27 +01:00
Jiang Jiang Jian
2a6a2bf39f
Merge branch 'bugfix/fix_performance_issues_new_v3.2' into 'release/v3.2'
...
esp32: fix WiFi performance issue (backport v3.2)
See merge request espressif/esp-idf!7225
2020-01-08 14:45:32 +08:00
liu zhifu
1d7c633349
esp32: fix WiFi performance issue
2020-01-06 21:28:18 +08:00
baohongde
b3f58ed2a1
components/bt: Choose AVRC category according to A2DP role
2019-12-31 15:50:44 +08:00
xiongyu
393464d45e
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:58:30 +08:00
Angus Gratton
45f6e45de7
doc: Update MSYS2 pre-compiled environment zip
...
Required to get working MSYS2 Python cryptography package
2019-12-30 13:39:48 +11:00
Jiang Jiang Jian
6916052e6d
Merge branch 'bugfix/btdm_revert_changes_of_security_mask_v3.2' into 'release/v3.2'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7122
2019-12-29 14:12:58 +08:00
baohongde
8711e67e44
components/bt: Revert changes of security mask
2019-12-25 20:16:54 +08:00
Angus Gratton
3a9e986a4e
Merge branch 'bugfix/update_can_target_test_backport_v3.2' into 'release/v3.2'
...
CAN: Reenable example tests (backport v3.2)
See merge request espressif/esp-idf!6736
2019-12-20 13:02:34 +08:00
Jiang Jiang Jian
fd921ea6e5
Merge branch 'bugfix/put_more_rx_code_to_iram_v3.2' into 'release/v3.2'
...
wifi: Put some rx code to iram (backport v3.2)
See merge request espressif/esp-idf!7012
2019-12-18 16:40:13 +08:00
Darian Leung
49b2bf2656
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:30:59 +08:00
Angus Gratton
0446bfe1f4
Merge branch 'feature/can_support_low_bit_rates_backport_v3.2' into 'release/v3.2'
...
can: Add support for lower bit rates (backport v3.2)
See merge request espressif/esp-idf!6390
2019-12-18 07:46:27 +08:00
Angus Gratton
574efdcbeb
Merge branch 'bugfix/doc_fix_debian_requirements_v3.2' into 'release/v3.2'
...
Docs: Update Debian & Ubuntu install prerequisites (v3.2)
See merge request espressif/esp-idf!7038
2019-12-18 07:36:00 +08:00
Roland Dobai
2023f850de
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 14:08:42 +01:00
xiehang
eecd5efec5
esp_wifi: Put some rx code to iram
2019-12-17 20:40:53 +08:00
Angus Gratton
a4b21ff6f1
Merge branch 'bufgix/esp_timer_set_alarm_v3.2' into 'release/v3.2'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v3.2)
See merge request espressif/esp-idf!6998
2019-12-17 11:54:26 +08:00
Darian Leung
09ae962c33
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-12-16 07:45:59 +00:00
Jiang Jiang Jian
ef4c513834
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.2' into 'release/v3.2'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6885
2019-12-16 12:06:31 +08:00
Jiang Jiang Jian
d787e2a564
Merge branch 'bugfix/coex_fix_some_bugs_v3.2' into 'release/v3.2'
...
Coexist: fix some coexist bugs (backport v3.2)
See merge request espressif/esp-idf!6307
2019-12-16 12:05:30 +08:00
Jiang Jiang Jian
3c676171a9
Merge branch 'ci/artifact_expiry_v3.2' into 'release/v3.2'
...
ci: Minimum 4 days for artifact expiry (v3.3) (v3.2)
See merge request espressif/esp-idf!7015
2019-12-16 11:22:26 +08:00
Angus Gratton
6c8f72c062
ci: Minimum 4 days for artifact expiry
2019-12-16 09:39:29 +11:00
KonstantinKondrashov
cb025c22bd
CI: Add jobs
2019-12-14 17:02:53 +08:00
Angus Gratton
fcc1516fae
Merge branch 'bugfix/doc_package_versions_v3.2' into 'release/v3.2'
...
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5 (v3.2)
See merge request espressif/esp-idf!6976
2019-12-14 06:37:00 +08:00
KonstantinKondrashov
648f25e275
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:36:41 +08:00
Angus Gratton
ddc59bc7ab
Merge branch 'feature/ci_try_to_checkout_correct_branch_for_other_projects_v3.2' into 'release/v3.2'
...
CI: try to use the correct branch of other projects used in CI (backport v3.2)
See merge request espressif/esp-idf!6737
2019-12-13 14:28:56 +08:00
Angus Gratton
873c33f990
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-13 05:30:13 +00:00
KonstantinKondrashov
8061659b5f
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:44:13 +08:00
Jiang Jiang Jian
f8bcf2f459
Merge branch 'bugfix/hfp_client_indication_v3.2' into 'release/v3.2'
...
component/bt: Fix bugs in HFP feature v3.2
See merge request espressif/esp-idf!6853
2019-12-12 13:53:54 +08:00
Jiang Jiang Jian
c1d6c0a5bc
Merge branch 'bugfix/jump_time_54_sec_v3.2' into 'release/v3.2'
...
esp_timer: Fix time jumps back ~ 54sec (v3.2)
See merge request espressif/esp-idf!6470
2019-12-12 13:53:33 +08:00
Jiang Jiang Jian
32f2e7f509
Merge branch 'bugfix/wifi_internal_memory_v3.2' into 'release/v3.2'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v3.2)
See merge request espressif/esp-idf!6629
2019-12-12 13:53:14 +08:00
Jiang Jiang Jian
887decf42a
Merge branch 'component_bt/osi_fixed_queue_v3.2' into 'release/v3.2'
...
component_bt/: fix pointer type in fixed_queue v3.2
See merge request espressif/esp-idf!6848
2019-12-12 12:16:59 +08:00
Jiang Jiang Jian
65db2bf87c
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.2' into 'release/v3.2'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6727
2019-12-09 22:03:54 +08:00
Jiang Jiang Jian
26272b46cb
Merge branch 'bugfix/phy_critical_v3.2' into 'release/v3.2'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6942
2019-12-09 22:00:29 +08:00
Angus Gratton
b0fce6855a
Merge branch 'bugfix/update_libexpat_v3.2' into 'release/v3.2'
...
expat: Update library from 2.2.5 to 2.2.9 (v3.2)
See merge request espressif/esp-idf!6923
2019-12-09 13:20:55 +08:00
Tian Hao
a05cc294eb
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-12-09 12:52:36 +08:00
Roland Dobai
f3aa9cc800
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:22:01 +01:00
He Yin Ling
fa1a19e199
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-12-03 17:08:15 +11:00
weitianhua
b584cecea2
adaptation for nano-format
2019-11-29 17:58:52 +08:00
baohongde
3357b475f7
components/bt: Fix AVRC metadata length error
2019-11-29 16:00:30 +08:00
Xia Xiaotian
9130b255f5
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.
2019-11-28 11:29:45 +00:00
Jiang Jiang Jian
42d7524b91
Merge branch 'bugfix/http_client_buffer_overflow_v3.2' into 'release/v3.2'
...
Fix HTTP client buffer overflow (v3.2)
See merge request espressif/esp-idf!6669
2019-11-28 11:53:50 +08:00
weitianhua
2a13317e44
component_bt/:bugfix_hfp_client_indication_define_and_cnum_error
2019-11-27 17:06:18 +08:00
weitianhua
e3b5a38cf6
component_bt/: fix pointer type in fixed_queue
2019-11-27 16:17:16 +08:00
Jiang Jiang Jian
7a557368e3
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.2' into 'release/v3.2'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.2)
See merge request espressif/esp-idf!6767
2019-11-25 10:34:26 +08:00
Angus Gratton
87357d8cf3
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.2' into 'release/v3.2'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.2)
See merge request espressif/esp-idf!6605
2019-11-21 12:00:20 +08:00
KonstantinKondrashov
3265b7ce0c
ci: Add test configs for 32kHz crystals
2019-11-20 16:07:17 +08:00
KonstantinKondrashov
3a402fa7b2
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-20 16:07:17 +08:00
Jack
9d557afe26
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-19 22:58:05 +08:00
David Cermak
1176d8be6f
http_client: added comments to http header generation function
2019-11-19 14:07:54 +00:00
David Cermak
0d0cb3b991
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-19 14:07:54 +00:00
Angus Gratton
b1254618cd
Merge branch 'bugfix/mqtt_example_url_update_v3.2' into 'release/v3.2'
...
MQTT: update default broker URL for examples (backport v3.2)
See merge request espressif/esp-idf!6404
2019-11-19 11:28:39 +08:00
baohongde
63feac091d
components/bt: Disable some unsupported security mask
2019-11-17 13:54:17 +08:00
Jiang Jiang Jian
3cd682e9f9
Merge branch 'bugfix/fix_the_bug_in_espnow_example_v3.2' into 'release/v3.2'
...
espnow: fix the bug for calling esp_wifi_set_channel (backport v3.2)
See merge request espressif/esp-idf!6694
2019-11-14 19:28:40 +08:00
zhangyanjiao
6ce1bea29a
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:51:52 +08:00
Jiang Jiang Jian
99ab26ac32
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.2' into 'release/v3.2'
...
esp32: fix some WiFi bugs 1009 (backport v3.2)
See merge request espressif/esp-idf!6296
2019-11-12 11:28:02 +08:00
Angus Gratton
03762d5f65
Merge branch 'bugfix/i2s-bootloader-random-disable_v3.2' into 'release/v3.2'
...
bugfix(bootloader): fix bug about i2s bootloader_random_disable for release/v3.2
See merge request espressif/esp-idf!6600
2019-11-08 18:02:47 +08:00
Angus Gratton
da8103bb59
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:38:29 +08:00
Angus Gratton
ce44590c8b
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-11-08 11:38:29 +08:00
Marius Vikhammer
9c051965d2
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-11-06 01:26:48 +00:00
KonstantinKondrashov
ee84cbdf4e
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-11-05 12:47:17 +00:00
KonstantinKondrashov
48a3f7d716
esp32: Add UTs to check the System time does not jump back
2019-11-05 12:47:17 +00:00
Ivan Grokhotkov
01007698b7
esp_timer: handle esp_timer_delete in timer task
...
Closes https://github.com/espressif/esp-idf/issues/3458
2019-11-05 12:47:17 +00:00
Chen Zheng Wei
e5d7addcf7
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v3.2
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 17:04:42 +08:00
Jiang Jiang Jian
b8243b5fbe
Merge branch 'bugfix/btdm_disable_bt_gatt_v3.2' into 'release/v3.2'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6508
2019-11-01 13:58:40 +08:00
Angus Gratton
a456543b8a
Merge branch 'bugfix/multi_heap_printf_backport_v3.2' into 'release/v3.2'
...
heap: Fix printf usage in heap poisoning (backport v3.2)
See merge request espressif/esp-idf!6090
2019-11-01 13:24:27 +08:00
Jiang Jiang Jian
81c45ffe14
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v3.2' into 'release/v3.2'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6537
2019-11-01 11:57:39 +08:00
liu zhifu
09e657460f
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug for API_CHECK_ENABLED
2. Fix the bug that wpa2 enterprise sta can connect open AP
3. Fix TKIP/CCMP PN replay attack detection bug
4. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
5. Avoid recalculating PMK if esp_wifi_set_config() is not called
6. Fix the bug that WiFi stop leads to task watchdog
7. Fix smartconfig IPC crash
8. Fix the crash bug that sniffer may access flash when cached is disabled
9. Fix 5.5M signal test bug
2019-11-01 03:34:06 +00:00
Ivan Grokhotkov
077bd351e4
Merge branch 'bugfix/can_driver_assertions_v3.2' into 'release/v3.2'
...
drivers/can: fix skipped function calls when assertions disabled (backport v3.2)
See merge request espressif/esp-idf!6407
2019-10-30 03:53:45 +08:00
Jiang Jiang Jian
fb4b29e83a
Merge branch 'bugfix/mdns_invalid_hostname_queries_v3.2' into 'release/v3.2'
...
mdns: fix crash for hostname queries (backport v3.2)
See merge request espressif/esp-idf!6501
2019-10-30 00:51:44 +08:00
baohongde
840a011c01
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 20:11:26 +08:00
Angus Gratton
2b5f488d88
ci: Temporarily ignore CAN example test failures
...
Due to internal CI issue.
2019-10-28 15:37:04 +08:00
Darian Leung
896ba6a83e
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 15:35:42 +08:00
baohongde
56afe0fdca
components/bt: Disable BR/EDR GATT
2019-10-28 11:36:52 +08:00
Marius Vikhammer
e94215443b
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-28 11:04:46 +08:00
Jiang Jiang Jian
7aee8722fe
Merge branch 'bugfix/msys2_toolchain_path_note_v3.2' into 'release/v3.2'
...
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v3.2)
See merge request espressif/esp-idf!6458
2019-10-25 11:36:29 +08:00
Jiang Jiang Jian
d3ac9cc863
Merge branch 'feature/esptool_v2.8_v3.2' into 'release/v3.2'
...
esptool: Bump to v2.8 release (v3.2)
See merge request espressif/esp-idf!6462
2019-10-25 11:35:53 +08:00
Jiang Jiang Jian
1d3b83e2c0
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.2' into 'release/v3.2'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.2(backport v3.2)
See merge request espressif/esp-idf!5920
2019-10-25 10:58:28 +08:00
Angus Gratton
5067ecaebe
Merge branch 'bugfix/select_with_sdmmc_mount_v3.2' into 'release/v3.2'
...
VFS: Fix bug which occurs when driver is installed during a select() call (v3.2)
See merge request espressif/esp-idf!6431
2019-10-24 11:29:02 +08:00
Angus Gratton
54e217b8d4
Merge branch 'bugfix/mqtt_disconnect_crash_3.2' into 'release/v3.2'
...
mqtt: referenced esp-mqtt master to close disconnection issues (backport 3.2)
See merge request espressif/esp-idf!5882
2019-10-24 10:28:13 +08:00
Angus Gratton
e98ff1beb7
Merge branch 'bugfix/remove_mbedtls_would_block_v32' into 'release/v3.2'
...
Remove check for would_block in mbedtls (Backport v3.2)
See merge request espressif/esp-idf!6397
2019-10-23 17:00:36 +08:00
Angus Gratton
e41ef9396f
esptool: Bump to v2.8 release
2019-10-23 09:09:07 +11:00
David Cermak
b4aa4de694
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v3.2)
2019-10-22 21:17:00 +02:00
Roland Dobai
ab7e411f4e
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 08:26:43 +02:00
Angus Gratton
696a9fa0ba
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.2' into 'release/v3.2'
...
driver: Fix ticks_to_wait for uart and i2c (v3.2)
See merge request espressif/esp-idf!5248
2019-10-22 13:18:00 +08:00
wangmengyang
360b966938
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-21 13:19:41 +00:00
Jiang Jiang Jian
7ed6748534
Merge branch 'test/fix_mesh_test_case_3.2' into 'release/v3.2'
...
test: fix test case MESH_EST_2403 (backport 3.2)
See merge request espressif/esp-idf!5910
2019-10-21 20:13:36 +08:00
David Cermak
eecd2f56ee
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 05:49:54 +00:00
David Cermak
7d8ff31c59
mqtt: referenced esp-mqtt master to fix disconnect crash issue and
...
update docs generation for mqtt library
Backport of 6fb085dbc9e6d8bc232e7b8f506217f680d50ed0
2019-10-21 05:49:54 +00:00
Jiang Jiang Jian
2dc1d1b568
Merge branch 'docs/update_bootloader_chip_revision_print_v3.2' into 'release/v3.2'
...
bootloader_support: fix logging prints around chip revision (v3.2)
See merge request espressif/esp-idf!6338
2019-10-21 10:48:46 +08:00
Jiang Jiang Jian
a1c1175fa7
Merge branch 'bugfix/add_kconfig_help_for_eth_gpio0_output_mode_v3.2' into 'release/v3.2'
...
ethernet: add kconfig help for GPIO0 output mode (v3.2)
See merge request espressif/esp-idf!6343
2019-10-21 10:48:44 +08:00
Jiang Jiang Jian
5adc487133
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v3.2' into 'release/v3.2'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.2)
See merge request espressif/esp-idf!5922
2019-10-21 10:46:15 +08:00
Jiang Jiang Jian
eea3e63c39
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.2' into 'release/v3.2'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done(backport v3.2)
See merge request espressif/esp-idf!6074
2019-10-21 10:45:34 +08:00
Jiang Jiang Jian
ce07474148
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.2' into 'release/v3.2'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.2)
See merge request espressif/esp-idf!6395
2019-10-21 10:44:22 +08:00
Ivan Grokhotkov
cbe8274651
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:28:35 +02:00
Kedar Sovani
700976f709
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:18:34 +05:30
Roland Dobai
5519afe675
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-18 10:28:24 +02:00
Angus Gratton
f819b7da90
Merge branch 'bugfix/reset_periph_modules_v3.2' into 'release/v3.2'
...
driver: Add a reset before enabling if a module is off (v3.2)
See merge request espressif/esp-idf!6017
2019-10-18 13:34:15 +08:00
Angus Gratton
47f3be89be
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.2' into 'release/v3.2'
...
bugfix(flash): add flash config in app startup (backport v3.2)
See merge request espressif/esp-idf!5927
2019-10-17 10:56:34 +08:00
Darian Leung
f4201de05d
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-16 13:21:30 +00:00
Konstantin Kondrashov
db8ddf050f
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-10-16 15:18:31 +08:00
Konstantin Kondrashov
e64f3d43ad
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-10-16 15:18:31 +08:00
Konstantin Kondrashov
2bd77056bb
rmt/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
4be011785e
pcnt/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
5ce96ab227
sdmmc_host/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
b8d4a53260
i2s/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
fc31437236
can/driver: Add module reset before enabling
2019-10-16 05:49:26 +00:00
Konstantin Kondrashov
dc63c2e9cb
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-16 05:49:26 +00:00
Mahavir Jain
d3d4787335
bootloader_support: fix logging prints around chip revision
2019-10-15 10:35:23 +05:30
chenjianqiang
ae39c659d0
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-15 12:08:04 +08:00
chenjianqiang
3349c99882
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-10-15 12:08:04 +08:00
Jiang Jiang Jian
90af68bd3c
Merge branch 'bugfix/alt_exit_idf_monitor_v3.2' into 'release/v3.2'
...
idf_monitor: Exit with CTRL+X in menu (v3.2)
See merge request espressif/esp-idf!6292
2019-10-14 21:46:22 +08:00
Jiang Jiang Jian
093214c86f
Merge branch 'feature/add_psram_workaround_option_3.2' into 'release/v3.2'
...
make psram workaround depend on chip revison (v3.2)
See merge request espressif/esp-idf!6304
2019-10-14 21:45:34 +08:00
Angus Gratton
f55cb56380
Merge branch 'feature/handle_icy_uris_v32' into 'release/v3.2'
...
Modified http_parser to handle ICY uris (Backport v3.2)
See merge request espressif/esp-idf!6326
2019-10-14 18:56:01 +08:00
Angus Gratton
f612a39127
Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.2' into 'release/v3.2'
...
freertos: remove semicolon in xTaskNotifyGive (v3.2)
See merge request espressif/esp-idf!6271
2019-10-14 11:20:41 +08:00
suda-morris
ae2cec834e
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-14 10:50:49 +08:00
Vikram Dattu
31c720602d
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:24:31 +05:30
Jiang Jiang Jian
0b4faeb781
Merge branch 'bugfix/btdm_backports_v3.2_0903' into 'release/v3.2'
...
Bugfix/btdm backports v3.2 0903
See merge request espressif/esp-idf!5987
2019-10-11 18:34:31 +08:00
suda-morris
ef796860d7
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-10 12:08:34 +08:00
suda-morris
9742acc33d
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-10-10 11:55:16 +08:00
Ivan Grokhotkov
83c87764f4
Merge branch 'bugfix_kconfig_deps_missing_v3.2' into 'release/v3.2'
...
kconfig: Add -MP option so .d files include empty targets (v3.2)
See merge request espressif/esp-idf!5848
2019-10-09 23:53:08 +08:00
Per-Olov Jernberg
0afad4c7a7
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:56:56 +02:00
Jiang Jiang Jian
dc20fa029d
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v3.2' into 'release/v3.2'
...
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.2)
See merge request espressif/esp-idf!6257
2019-10-09 16:19:48 +08:00
Prasad Alatkar
cf26a8b0f0
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.2)
...
- Backport(v3.2) 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-10-09 16:19:48 +08:00
Angus Gratton
fe83420144
Merge branch 'bugfix/check_for_new_cmakecache_vars_v3.2' into 'release/v3.2'
...
idf.py: Add check for new cmake cache values (backport v3.2)
See merge request espressif/esp-idf!5930
2019-10-09 13:54:09 +08:00
Angus Gratton
14098b4832
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_3.2' into 'release/v3.2'
...
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses (backport v3.2)
See merge request espressif/esp-idf!6110
2019-10-09 12:51:55 +08:00
suda-morris
5088758640
freertos: remove semicolon in xTaskNotifyGive
2019-10-08 12:39:28 +08:00
baohongde
ca824d0ddf
components/bt: backports release/v3.2 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
2019-09-23 17:53:29 +08:00
Angus Gratton
d3e562907f
Merge branch 'feature/add_chip_min_revision_3.2' into 'release/v3.2'
...
support esp32 eco revision 2 and 3 (v3.2)
See merge request espressif/esp-idf!6133
2019-09-20 18:13:58 +08:00
suda-morris
eb4c8d9991
support esp32 eco revision 2 and 3
2019-09-19 17:05:08 +08:00
Martin Thierer
d56892b563
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:40:40 +08:00
Angus Gratton
b1ee664367
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.2' into 'release/v3.2'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v3.2)
See merge request espressif/esp-idf!6024
2019-09-16 15:11:38 +08:00
Angus Gratton
ee5604cad0
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.2' into 'release/v3.2'
...
esp32: Dis interrupts up to 5 lvl for DPORT (v3.2)
See merge request espressif/esp-idf!5714
2019-09-16 15:11:33 +08:00
Angus Gratton
88d8e93223
Merge branch 'update/cjson_v1_7_12_v3.2' into 'release/v3.2'
...
Update cJSON to v1.7.12 (v3.2)
See merge request espressif/esp-idf!5852
2019-09-16 08:20:59 +08:00
Angus Gratton
43def55de8
Merge branch 'bugfix/use_local_kconfiglib_v3.2' into 'release/v3.2'
...
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.2)
See merge request espressif/esp-idf!6081
2019-09-13 14:48:04 +08:00
Mahavir Jain
62f201b4bd
Merge branch 'bugfix/http_header_parser_resolution_v3.2' into 'release/v3.2'
...
(backport v3.2) esp_http_server : Bugfix in parsing of empty header values
See merge request espressif/esp-idf!6040
2019-09-13 13:42:16 +08:00
KonstantinKondrashov
2b22f3e853
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-12 22:07:05 +08:00
KonstantinKondrashov
70954c0b3e
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-12 22:07:05 +08:00
Konstantin Kondrashov
69be477885
esp32: Add UTs for DPORT and Hi-interrupt
2019-09-12 13:47:48 +00:00
Konstantin Kondrashov
76f97f3abd
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-09-12 13:47:48 +00:00
chenyudong
d0bfde2ceb
test: fix test case MESH_EST_2403
2019-09-12 02:51:06 +00:00
Roland Dobai
544e9831e8
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:40:57 +02:00
zhangyanjiao
b937de7df2
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:50:58 +08:00
Chinmay
fa952e5d30
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
Backports !5663
2019-09-09 08:57:29 +00:00
Jiang Jiang Jian
ca1e5e5bc5
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.2' into 'release/v3.2'
...
fix the bug for WPA_WPA2_PSK connection fail(backport v3.2)
See merge request espressif/esp-idf!6007
2019-09-06 11:44:09 +08:00
zhangyanjiao
23b3d97099
1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
...
2. fix the bug for softAP set authmode
2019-09-05 20:08:52 +08:00
Angus Gratton
0a0f5a3bdc
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.2' into 'release/v3.2'
...
flash encryption: Add config option to disable any plaintext reflashes (v3.2)
See merge request espressif/esp-idf!5998
2019-09-05 17:26:04 +08:00
Angus Gratton
ec331b3979
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-09-05 18:54:29 +10:00
Angus Gratton
73e040e584
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.2' into 'release/v3.2'
...
test: fix nvs compatible case error (backport v3.2)
See merge request espressif/esp-idf!5893
2019-09-05 16:51:30 +08:00
Angus Gratton
d1f40c15ac
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.2' into 'release/v3.2'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.
See merge request espressif/esp-idf!5898
2019-09-03 13:36:29 +08:00
Jiang Jiang Jian
7718234acc
Merge branch 'bugfix/coex_bb_reset_lock_v3.2' into 'release/v3.2'
...
fix bug that wifi start/stop may cause crash
See merge request espressif/esp-idf!5969
2019-09-02 14:26:03 +08:00
Tian Hao
01cd149cb7
fix bug that wifi start/stop may cause crash
...
1. fix bug bb reset lock flag to avoid bb reset lock unhandle,
may cause assert in vPortCPUReleaseMutexIntsDisabledInternal.
2. fix bug wifi reset mac cause task watch dog timeout
3. fix bug wifi reset mac position
2019-08-30 22:13:01 +08:00
Angus Gratton
7dd4923190
Merge branch 'bugfix/httpd_sess_close_v3.2' into 'release/v3.2'
...
httpd_sess_close: Check for session validity before closing (v3.2)
See merge request espressif/esp-idf!5744
2019-08-29 10:29:41 +08:00
Sergei Silnov
0b9fc36e62
idf.py: Add check for new cmake cache values
2019-08-27 18:33:03 +02:00
Nachiket Kukade
151ddb4cda
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.2)
...
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-08-27 14:10:43 +05:30
Jiang Jiang Jian
1fab985f63
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.2' into 'release/v3.2'
...
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link
See merge request espressif/esp-idf!5873
2019-08-26 18:01:01 +08:00
redchenjs
548844b5cc
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.
...
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-26 14:02:27 +08:00
He Yin Ling
9bc71370b7
test: fix integration test jobs not executed:
...
naming rule for parallel test job config file is different.
rename test job config file to make it unified.
2019-08-26 14:01:34 +08:00
He Yin Ling
66118ab580
test: fix nvs compatible case error:
...
use new env for nvs compatible test case and update test config
2019-08-26 09:36:32 +08:00
wangmengyang
fae3bad007
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-23 08:30:23 +08:00
Ivan Grokhotkov
48e5dcd9b5
Merge branch 'power_management/i2s+i2c-v3.2' into 'release/v3.2'
...
Power management/i2s+i2c (backport v3.2)
See merge request espressif/esp-idf!5863
2019-08-22 23:29:52 +08:00
Angus Gratton
d609daf0cd
Merge branch 'fix/sdio_slave_reset_infloop_leak_3.2' into 'release/v3.2'
...
sdio_slave: fix the send_flush infinite loop issue (backport v3.2)
See merge request espressif/esp-idf!5835
2019-08-22 13:38:12 +08:00
Sachin Parekh
eeb9a0359c
PM: I2S and I2C added in the Power Management docs
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com >
2019-08-21 18:15:51 +05:30
Sachin Parekh
4cdf488de8
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-08-21 18:15:41 +05:30
Sachin Parekh
c56f147d48
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-08-21 18:15:29 +05:30
Angus Gratton
1d953831bd
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:58:37 +10:00
Angus Gratton
a0a5e367d6
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:56 +10:00
Michael (XIAO Xufeng)
a393bb6f1b
sdio_slave: fix the send_flush infinite loop issue
...
Also add some helper functions.
2019-08-20 17:00:21 +08:00
Angus Gratton
ad565f27f7
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.2' into 'release/v3.2'
...
bugfix(flash): add spi dio address bitlen configure in psram init (backport v3.2)
See merge request espressif/esp-idf!5787
2019-08-15 15:43:31 +08:00
chenjianqiang
3bf6c5b604
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-15 10:34:04 +08:00
Jiang Jiang Jian
90747cc8b3
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.2' into 'release/v3.2'
...
fix wifi bugs for authmode and multi ssid (backport v3.2)
See merge request espressif/esp-idf!5729
2019-08-11 17:14:53 +08:00
Angus Gratton
feeb22bdbe
Merge branch 'bugfix/hwcrypt_fault_inj_v3.2' into 'release/v3.2'
...
AES & SHA fault injection checks (backport v3.2)
See merge request espressif/esp-idf!5740
2019-08-11 14:04:22 +08:00
Angus Gratton
91451d31be
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:19:21 +10:00
Angus Gratton
8fe9e4b09f
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:19:21 +10:00
Angus Gratton
910cede38d
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-11 13:19:21 +10:00
Piyush Shah
107d927547
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-09 14:58:28 +05:30
Jiang Jiang Jian
f023bf52c9
Merge branch 'bugfix/btdm_backports_v3.2_0808' into 'release/v3.2'
...
components/bt: Backport 3 bugfixs into release v3.2
See merge request espressif/esp-idf!5723
2019-08-09 14:02:48 +08:00
baohongde
dc1db1c4e7
components/bt: Backport 3 bugfixs into release v3.2
...
1. Bugfix btdm sleep twice after wakeup request
2. Fix connect fail duo to loop of send extended feature request
3. Clear BT/BLE interrupts after controller_disable to overwrite the default non-zero value of intcntl registers
2019-08-09 03:04:40 +00:00
Jiang Jiang Jian
db898de8fb
Merge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.2' into 'release/v3.2'
...
Try to allocate some Lw-ip memories in SPIRAM first. If failed, try to allocate in internal RAM then.(Backport v3.2)
See merge request espressif/esp-idf!5719
2019-08-09 10:56:54 +08:00
Jiang Jiang Jian
d657a679a2
Merge branch 'feature/move_gettimeofday_in_clock_gettime_v3.2' into 'release/v3.2'
...
newlib: Move _gettimeofday_r call in clock_gettime (v3.2)
See merge request espressif/esp-idf!5718
2019-08-08 22:02:43 +08:00
zhangyanjiao
e451282f18
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-08 16:54:35 +08:00
zhangyanjiao
f3ffce3096
wifi: fix wifi bugs for authmode and multi ssid
2019-08-08 16:48:50 +08:00
Xia Xiaotian
754a292309
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.
2019-08-07 21:11:06 +08:00
Jiang Jiang Jian
00f1ac748b
Merge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.2' into 'release/v3.2'
...
esp_wifi: add esp_wifi_internal_ioctl declared (v3.2)
See merge request espressif/esp-idf!5707
2019-08-07 20:48:58 +08:00
raldone01
b0cff945cf
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:25 +08:00
Angus Gratton
ff772e91e8
Merge branch 'bugfix/cmake_extra_component_dirs_v3.2' into 'release/v3.2'
...
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS (backport v3.2)
See merge request espressif/esp-idf!5492
2019-08-07 16:05:29 +08:00
Angus Gratton
1beac49f3a
Merge branch 'feature/mqtt_improve_recv_3.2' into 'release/v3.2'
...
MQTT improved receive (backport 3.2)
See merge request espressif/esp-idf!5098
2019-08-07 16:05:07 +08:00
xiehang
207438f2da
esp_wifi: add esp_wifi_internal_ioctl declared
2019-08-07 11:17:39 +08:00
Angus Gratton
7f03e70164
Merge branch 'bugfix/win_fullclean_symlink_v3.2' into 'release/v3.2'
...
idf.py: Detect symlinks on Windows during fullclean (v3.2)
See merge request espressif/esp-idf!4925
2019-08-01 16:01:04 +08:00
Angus Gratton
f3d6fa21c1
Merge branch 'doc/resolve-pdf-building-issues_v3.2' into 'release/v3.2'
...
(backport v3.2) Replace gif images on EN and zh_CN index pages with identical png images for...
See merge request espressif/esp-idf!5654
2019-08-01 14:10:38 +08:00
Jiang Jiang Jian
83e5e6b24c
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.2' into 'release/v3.2'
...
bugfix(flash): improve spi cs timing settings for flash (backport v3.2)
See merge request espressif/esp-idf!5513
2019-07-31 23:39:07 +08:00
Angus Gratton
6510c6f495
Merge branch 'bugfix/select_init_sem_v3.2' into 'release/v3.2'
...
VFS: Allocate socket select semaphore outside ISR (backport v3.2)
See merge request espressif/esp-idf!4989
2019-07-31 16:11:57 +08:00
Angus Gratton
b460718954
Merge branch 'bugfix/libsodium_test_timeouts_v3.2' into 'release/v3.2'
...
test: Set timeout of libsodium ed25519_convert test to 60s (v3.2)
See merge request espressif/esp-idf!5555
2019-07-30 21:59:51 +08:00
Kirill Chalov
0a05900096
Replace gif images on EN and zh_CN index pages with identical png images for successful building of PDFs on ReadTheDocs.
2019-07-30 14:19:20 +08:00
Angus Gratton
b7196d21c9
Merge branch 'bugfix/gpio_intr_enable_bug_v3.2' into 'release/v3.2'
...
bugfix(GPIO): Fixed GPIO interrupts bug for v3.2
See merge request espressif/esp-idf!5651
2019-07-30 14:10:29 +08:00
Angus Gratton
1a307a417d
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 04:44:30 +00:00
kooho
f6a9f76401
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core for release/v3.2
2019-07-29 19:22:59 +08:00
Angus Gratton
7149a30d0d
Merge branch 'bugfix/docs_recover_some_build_time_v3.2' into 'release/v3.2'
...
docs: Remove building of zipped HTML docs from build process and consequently...
See merge request espressif/esp-idf!5640
2019-07-29 19:17:34 +08:00
Jiang Jiang Jian
13c9612810
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.2' into 'release/v3.2'
...
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM (v3.2)
See merge request espressif/esp-idf!5618
2019-07-28 14:56:52 +08:00
krzychb
aeccf793fe
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:28:15 +02:00
Angus Gratton
6ca302ed3a
Merge branch 'bugfix/fix_mcpwm_example_memory_bug_v3.2' into 'release/v3.2'
...
Bugfix(example): Fixed MCPWM example bug for release/v3.2
See merge request espressif/esp-idf!5545
2019-07-27 17:27:56 +08:00
xiehang
e34aeae1a0
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-27 06:40:01 +00:00
Jiang Jiang Jian
43600262a8
Merge branch 'bugfix/mesh_scan_done_crash_3.2' into 'release/v3.2'
...
mesh: fix scan done crash caused by uint8_t overflow (backport 3.2)
See merge request espressif/esp-idf!5614
2019-07-27 14:38:39 +08:00
Jiang Jiang Jian
8fdea83505
Merge branch 'bugfix/btdm_mem_leak_v3.2' into 'release/v3.2'
...
components/bt: Fix memory leak about rfcomm
See merge request espressif/esp-idf!5623
2019-07-27 14:38:28 +08:00
Mahavir Jain
7e77f67777
Merge branch 'feature/tcp_transport_http_client_v3.2' into 'release/v3.2'
...
Minor bugfixes in esp_http_client and tcp_transport (backport v3.2)
See merge request espressif/esp-idf!5221
2019-07-25 19:37:26 +08:00
Jiang Jiang Jian
e1518b4112
Merge branch 'bugfix/sec_boot_ota_fail_v32' into 'release/v3.2'
...
Bugfix: ota fails with secure boot on for image size greater than 3.2MB (backport v3.2)
See merge request espressif/esp-idf!5580
2019-07-25 18:04:39 +08:00
baohongde
151638fdbb
components/bt: Fix memory leak about rfcomm
2019-07-25 17:10:52 +08:00
Jiang Jiang Jian
b3a5dc869f
Merge branch 'bugfix/supplicant_security_fixes_v3.2' into 'release/v3.2'
...
wpa_supplicant: Fix sprintf security bugs. (v3.2)
See merge request espressif/esp-idf!5465
2019-07-25 12:18:19 +08:00
chenyudong
87947004c4
mesh: fix scan done crash caused by uint8_t overflow
2019-07-25 11:16:53 +08:00
Jiang Jiang Jian
3ce3c4f54c
Merge branch 'bugfix/backport_some_wifi_bugs_201907_v3.2' into 'release/v3.2'
...
Backport some wifi bugs 201907 v3.2 (backport v3.2)
See merge request espressif/esp-idf!5525
2019-07-23 21:17:09 +08:00
liu zhifu
b56b7fe655
ci: add a UT_T1_1 job
2019-07-22 11:17:21 +08:00
chenyudong
f892937780
test: move wifi library check to esp32-wifi-lib ci
2019-07-22 11:17:04 +08:00
Jitin George
105e3302a7
esp_http_client: Fix header sent event bug
2019-07-21 07:25:23 +00:00
Jitin George
19fd2b3d93
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-07-21 07:25:23 +00:00
xiehang
8be97410a4
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-07-21 10:30:45 +08:00
liu zhifu
6af16447f8
mesh: fix the bug that esp_mesh_stop doesn't return
2019-07-21 10:26:17 +08:00
xiehang
eee568ddc5
wps: add overlap event
2019-07-21 10:23:01 +08:00
liu zhifu
c119a1a0f4
esp32: fix wifi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-21 10:20:25 +08:00
liu zhifu
ed6b453346
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-07-21 10:15:19 +08:00
liu zhifu
ba69e61ed5
esp32: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-07-21 09:59:37 +08:00
Jiang Jiang Jian
6ba62f7b0b
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.2' into 'release/v3.2'
...
fix the watchdog bug during WiFi scan and BLE scan (v3.2)
See merge request espressif/esp-idf!5541
2019-07-19 18:08:56 +08:00
Vikram Dattu
e155cd7a78
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-07-19 10:08:39 +05:30
Vikram Dattu
13069ecb26
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-07-19 10:08:39 +05:30
Vikram Dattu
7f42d63687
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-07-19 09:56:32 +05:30
Jiang Jiang Jian
ed7664d19f
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.2' into 'release/v3.2'
...
bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.2)
See merge request espressif/esp-idf!5507
2019-07-16 18:41:45 +08:00
Ramesh
da355d39b8
Fixed the bug that the malloc memory size is smaller than the actual required.
2019-07-16 15:20:41 +08:00
zhangyanjiao
3675e3182f
fix the watchdog bug during WiFi scan and BLE scan
2019-07-16 14:29:29 +08:00
chenjianqiang
9edc9674bc
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:44:28 +08:00
Angus Gratton
7a79cc4a5e
Merge branch 'bugfix/error_on_unknown_component_v3.2' into 'release/v3.2'
...
cmake: error out when component is not found (backport v3.2)
See merge request espressif/esp-idf!5488
2019-07-12 15:01:40 +08:00
Mahavir Jain
376377ceca
Merge branch 'bugfix/i2s_apll_clock_fix_v3.2' into 'release/v3.2'
...
driver/i2s: fix apll_clock_rate for different sample rates (v3.2)
See merge request espressif/esp-idf!5449
2019-07-12 11:36:01 +08:00
chenjianqiang
490a7e682d
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-11 21:10:20 +08:00
Angus Gratton
1b9d62ad95
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.2' into 'release/v3.2'
...
bugfix(UART): fixed two UART issues for release/v3.2
See merge request espressif/esp-idf!5480
2019-07-11 14:56:32 +08:00
Renz Christian Bagaporo
8efef29544
cmake: refactor finding components
2019-07-10 17:32:27 +08:00
Jiang Jiang Jian
21601f00f4
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.2' into 'release/v3.2'
...
wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.2)
See merge request espressif/esp-idf!5099
2019-07-10 15:40:23 +08:00
Renz Christian Bagaporo
b330ea88e6
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS
...
Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253
2019-07-10 12:18:31 +08:00
Renz Christian Bagaporo
81139df91e
cmake: error out when component is not found
...
Closes https://github.com/espressif/esp-idf/issues/3637
2019-07-10 11:56:47 +08:00
Jiang Jiang Jian
e5c15c068e
Merge branch 'bugfix/btdm_can_not_get_informations_of_song_v3.2' into 'release/v3.2'
...
components/bt: Fix iphone can't get song's informations
See merge request espressif/esp-idf!5473
2019-07-09 15:17:22 +08:00
kooho
7e2465995f
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:47:04 +08:00
baohongde
aaa0853572
components/bt: Fix iphone can't get song's informations
2019-07-08 19:46:10 +08:00
Angus Gratton
878d70d9e6
Merge branch 'fix/update_curr_page_state_3.2' into 'release/v3.2'
...
nvs_util: Set previous page state to FULL before creating new page (v3.2)
See merge request espressif/esp-idf!5326
2019-07-08 14:05:40 +08:00
Sagar Bijwe
4b43c10490
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-07-08 10:39:48 +05:30
Angus Gratton
a8916daeb2
Merge branch 'fix/nvs_util_keylen_3.2' into 'release/v3.2'
...
nvs_util: Add check for keylen in input csv (v3.2)
See merge request espressif/esp-idf!5396
2019-07-08 12:59:55 +08:00
zhangyanjiao
b7a2516242
wifi bugfix:
...
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-07-08 11:42:36 +08:00
Jiang Jiang Jian
4a9f339447
Merge branch 'mesh/bugfix_0628' into 'release/v3.2'
...
mesh: bugfix (backport3.2)
See merge request espressif/esp-idf!5402
2019-07-05 22:43:16 +08:00
Mahavir Jain
c1af728239
Merge branch 'bugfix/prov_examples_strlcpy_backport_v3.2' into 'release/v3.2'
...
Various bugfixes in Protocomm / Unified Provisioning (backport v3.2)
See merge request espressif/esp-idf!5372
2019-07-05 20:56:35 +08:00
Jiang Jiang Jian
35789eef16
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.2' into 'release/v3.2'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.2)
See merge request espressif/esp-idf!5288
2019-07-05 20:42:06 +08:00
Jiang Jiang Jian
4a0d8ef478
Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.2' into 'release/v3.2'
...
component/bt: fix rxwinsz assert in ble and wifi coex(backport v3.2)
See merge request espressif/esp-idf!5450
2019-07-05 20:27:52 +08:00
Shivani Tipnis
23c17c4c0d
nvs_util: Add check for keylen in input csv
2019-07-05 11:06:02 +00:00
zhiweijian
2821e99bcc
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 21:17:51 +08:00
redchenjs
a4f2283384
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:28:18 +05:30
qiyuexia
b905f2de4d
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-04 11:39:17 +08:00
Shivani Tipnis
c517628c77
nvs_util: Set previous page state to FULL before creating new page
2019-07-03 11:09:49 +00:00
Jiang Jiang Jian
cbec031c91
Merge branch 'bugfix/btdm_backport_2_bugs_v3.2' into 'release/v3.2'
...
Bugfix/btdm backport 2 bugs v3.2
See merge request idf/esp-idf!5269
2019-07-02 17:33:53 +08:00
chenjianqiang
90c7885f4d
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:57:13 +08:00
Jiang Jiang Jian
476d4ba1b7
Merge branch 'bugfix/fix_wpa2_vulnerability_and_lwip_window_scale_v3.2' into 'release/v3.2'
...
esp32/lfix wpa2-enterprise vulnerability and support lwindow scale (backport v3.2)
See merge request idf/esp-idf!5411
2019-07-02 14:26:48 +08:00
Jiang Jiang Jian
da80efa8bc
Merge branch 'bugfix/pm_isr_exit_lock_v3.2' into 'release/v3.2'
...
pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.2)
See merge request idf/esp-idf!4969
2019-07-02 13:55:35 +08:00
Mahavir Jain
725ecf108f
Merge branch 'protocomm_ble_128bit_uuid_v3.2' into 'release/v3.2'
...
protocomm_ble : Fix support for custom service UUIDs (backport v3.2)
See merge request idf/esp-idf!5018
2019-07-01 19:22:28 +08:00
liu zhifu
d10dec358d
esp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale
...
1. Fix WiFi wpa2-enterprise vulnerability bug
2. Support LWIP window scale
2019-07-01 11:34:35 +08:00
Jiang Jiang Jian
7b2ece3ac2
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.2' into 'release/v3.2'
...
esp32: fix some WiFi bugs 0508 (backport v3.2)
See merge request idf/esp-idf!4962
2019-07-01 11:32:26 +08:00
liu zhifu
293a665601
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. Fix the bug that WiFi stop leads to task watchdog
2019-06-30 21:36:38 +08:00
Jiang Jiang Jian
c6c1d089cc
Merge branch 'bugfix/xTaskIncrementTick_v3.2' into 'release/v3.2'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.2)
See merge request idf/esp-idf!5035
2019-06-30 18:01:45 +08:00
Anurag Kar
e5fe1c0e68
protocomm_ble : Example updated to use custom 128bit service UUID
...
Also removed old hardcoded UUIDs from README of esp_prov
2019-06-28 10:14:52 +00:00
Anurag Kar
09cf34c9aa
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-28 10:14:52 +00:00
Anurag Kar
d76d94549a
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-28 10:14:52 +00:00
Angus Gratton
f3e22bc23c
Merge branch 'feature/backport_component_target_var' into 'release/v3.2'
...
cmake: make COMPONENT_TARGET available (v3.2)
See merge request idf/esp-idf!5339
2019-06-28 15:35:43 +08:00
Angus Gratton
444ded835d
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.2' into 'release/v3.2'
...
mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.2)
See merge request idf/esp-idf!5355
2019-06-28 08:31:41 +08:00
Anurag Kar
57c7a25bb3
protocomm_ble : Bugfix for unbound memcpy on prepare write buffer
...
Closes https://github.com/espressif/esp-idf/issues/3633
2019-06-27 18:59:34 +05:30
Jiang Jiang Jian
8c17eb91e2
Merge branch 'feature/config_spi_pins_based_on_efuse_value_v3.2' into 'release/v3.2'
...
feat(psram): config SPI psram pins based on efuse value (backport v3.2)
See merge request idf/esp-idf!5237
2019-06-27 19:22:34 +08:00
Mahavir Jain
91ec6068e9
Merge branch 'bugfix/httpd_log_purge_v3.2' into 'release/v3.2'
...
esp_http_server : Logging of purged data to monitor made configurable (backport v3.2)
See merge request idf/esp-idf!5016
2019-06-27 16:16:05 +08:00
Anurag Kar
dab432d7ff
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-06-27 12:38:20 +05:30
Anurag Kar
accef886a9
Provisioning Examples : Bugfix in copying Wi-Fi SSID and Passphrase
2019-06-27 12:38:13 +05:30
Anurag Kar
76719b9c37
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-06-27 12:38:07 +05:30
Jiang Jiang Jian
da10a5b7e9
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.2' into 'release/v3.2'
...
component/bt: fix unpack hci enhance connection complete event error(backport v3.2)
See merge request idf/esp-idf!5282
2019-06-27 14:28:49 +08:00
Konstantin Kondrashov
901e8338ac
mbedtls: Add UTs for modexp
2019-06-26 14:20:30 +08:00
Konstantin Kondrashov
fbe566ac67
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:20:30 +08:00
He Yin Ling
381bd7d785
Merge branch 'feature/add_nimble_ssc_backport_for_3.2' into 'release/v3.2'
...
test: modified test case for bluedroid (backport v3.2)
See merge request idf/esp-idf!5213
2019-06-25 23:18:47 +08:00
Chen Sheng
c0a68466a7
test: modified test case for bluedroid (backport v3.2)
2019-06-25 23:18:47 +08:00
Renz Christian Bagaporo
e9786e3038
cmake: make COMPONENT_TARGET available in components
2019-06-25 13:05:46 +08:00
zhiweijian
eaf8cfbf8d
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 03:23:31 +00:00
Angus Gratton
055943e293
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_2_bis' into 'release/v3.2'
...
docs: Add mqtt submodule to RTD build configuration to correct file and delete...
See merge request idf/esp-idf!5310
2019-06-24 09:12:59 +08:00
Angus Gratton
b34a0874b1
Merge branch 'bugfix/spi_concurrency_3.2' into 'release/v3.2'
...
spi: fix a possible concurrency issue (port to v3.2)
See merge request idf/esp-idf!5278
2019-06-21 13:22:22 +08:00
Krzysztof
0d7f6a54e5
docs: Add mqtt submodule to RTD build configuration to correct file and delete similar file with typo in filename
2019-06-21 11:04:19 +08:00
He Yin Ling
100379c4aa
Merge branch 'test/fix_some_error_wifi_cases_v3.2' into 'release/v3.2'
...
test: fix some wifi case issues (backport v3.2)
See merge request idf/esp-idf!5254
2019-06-20 22:10:44 +08:00
Angus Gratton
5d7d46a76d
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_2' into 'release/v3.2'
...
docs: Add mqtt submodule to RTD build configuration. Now any submodule...
See merge request idf/esp-idf!5286
2019-06-20 08:07:51 +08:00
Krzysztof
eaaad51f81
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 16:05:03 +08:00
Michael (XIAO Xufeng)
f21762eeef
spi: fix a possible concurrency issue
2019-06-19 12:38:31 +08:00
baohongde
e7f57fef55
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-17 14:12:09 +08:00
baohongde
284362d62d
add missing source files to CMakeLists for HFP
2019-06-17 14:06:33 +08:00
wangmengyang
29b009d6fd
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-06-17 14:06:19 +08:00
He Yin Ling
86e8983499
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:55:09 +08:00
Jiang Jiang Jian
fa42f63226
Merge branch 'bugfix/dns_bug_3.2' into 'release/v3.2'
...
DNS: fix the crash under static IP address(backport3.2)
See merge request idf/esp-idf!5238
2019-06-14 11:34:50 +08:00
chenjianqiang
93c9c07e22
bugfix(psram): make sure the psram_io struct is initialized and make unknown psram package version more obvious
2019-06-14 10:34:56 +08:00
Jiang Jiang Jian
483fc9be6f
Merge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu_v3.2' into 'release/v3.2'
...
components/bt: Fix assert due to alloc LMP TX buffer failed
See merge request idf/esp-idf!5215
2019-06-13 22:36:58 +08:00
xueyunfei
2ed18dcdd7
lwip:fix dns bug for 3.2
2019-06-13 16:47:50 +08:00
chenjianqiang
cb2e328c5f
feat(psram): config SPI psram pins based on efuse value
2019-06-13 16:07:21 +08:00
baohongde
267ce80355
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:25:59 +08:00
Angus Gratton
8b54542a88
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.2' into 'release/v3.2'
...
CMake: Fix custom bootloader does not override original (v3.2)
See merge request idf/esp-idf!5082
2019-06-11 08:26:08 +08:00
Angus Gratton
030f17ae28
Merge branch 'fix/mfg_util_3.2' into 'release/v3.2'
...
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags (backport 3.2)
See merge request idf/esp-idf!5046
2019-06-10 22:56:27 +08:00
Mahavir Jain
a8fe057219
Merge branch 'bugfix/https_doc_api_v3.2' into 'release/v3.2'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.2)
See merge request idf/esp-idf!5014
2019-06-10 11:49:57 +08:00
Konstantin Kondrashov
adc5b2e08f
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-07 09:54:03 +00:00
Konstantin Kondrashov
0be4deeb22
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-07 09:54:03 +00:00
Angus Gratton
1ffaf8aad9
Merge branch 'bugfix/reset_log_uart_port_v3.2' into 'release/v3.2'
...
esp32: Add reset CONSOLE_UART port (v3.2)
See merge request idf/esp-idf!5121
2019-06-06 16:19:22 +08:00
Renz Christian Bagaporo
9e7d9ef385
ci: check that custom bootloader overrides original
2019-06-04 23:04:47 +08:00
Renz Christian Bagaporo
88eaa34075
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-06-04 23:04:47 +08:00
Konstantin Kondrashov
b434b8f5d2
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:16:40 +08:00
Anurag Kar
7e6d1ef4bc
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 08:37:41 +00:00
Anurag Kar
92dc6a6dde
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:36:24 +00:00
Angus Gratton
8e51f7e236
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.2' into 'release/v3.2'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.2)
See merge request idf/esp-idf!5032
2019-06-03 14:23:55 +08:00
Shivani Tipnis
492c682dbe
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags
...
(cherry picked from commit 8b96668c9123fbbf8c78b347479215f471b102ed)
2019-05-31 13:53:01 +05:30
Konstantin Kondrashov
3886be23c8
soc: Add some headers into gpio_periph.h
2019-05-29 13:46:37 +08:00
David Cermak
814ee9db7f
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-05-29 07:45:13 +02:00
Jiang Jiang Jian
ddbce78bff
Merge branch 'bugfix/fix_smartconfig_bug' into 'release/v3.2'
...
esp32: fix a smartconfig bug (backport v3.2)
See merge request idf/esp-idf!5055
2019-05-28 10:54:51 +08:00
Angus Gratton
a230075447
Merge branch 'bugfix/docs_build_failure_on_rtd_v3_2' into 'release/v3.2'
...
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...
See merge request idf/esp-idf!5061
2019-05-27 13:58:33 +08:00
Angus Gratton
4b5be79c0c
Merge branch 'feature/esp_http_client_mutual_auth_backport_v3.2' into 'release/v3.2'
...
esp_http_client: Add support for mutual authentication (backport v3.2)
See merge request idf/esp-idf!5026
2019-05-27 13:16:47 +08:00
Krzysztof
b80b5dad32
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 esp-idf release. (backport v3.2)
2019-05-23 19:57:43 +08:00
Angus Gratton
ee39083d1b
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.2' into 'release/v3.2'
...
add promiscuous mode control for Ethernet (v3.2)
See merge request idf/esp-idf!4976
2019-05-23 14:23:48 +08:00
liu zhifu
38b4d1d70c
esp32: fix a smartconfig bug
...
Fix a smartconfig bug which leads to deadlock between WiFi task and timer task.
2019-05-22 21:47:02 +08:00
Jiang Jiang Jian
2e85c5b62e
Merge branch 'bugfix/fix_softap_crash_when_sta_reset_3.2' into 'release/v3.2'
...
wifi: fix softap crash when sta reset (backport v3.2)
See merge request idf/esp-idf!5001
2019-05-22 21:02:15 +08:00
xiehang
a820787414
wifi: fix softap crash when sta (backport v3.2)
2019-05-20 20:30:41 +08:00
Konstantin Kondrashov
cea6908238
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-20 18:31:13 +08:00
Anders Kalør
d81c79d79f
esp_http_client: Add support for mutual authentication
...
Closes https://github.com/espressif/esp-idf/pull/2688
Closes https://github.com/espressif/esp-idf/issues/3438
2019-05-20 11:01:04 +05:30
Roland Dobai
70c9b1ca22
VFS: Allocate socket select semaphore outside ISR
2019-05-15 10:50:49 +02:00
Angus Gratton
2f8508c7eb
Merge branch 'bugfix/http_server_lf_term_hdr_backport_v3d2' into 'release/v3.2'
...
HTTP Server : Fix for tolerating LF terminated headers (backport v3.2)
See merge request idf/esp-idf!4657
2019-05-13 20:29:03 +08:00
suda-morris
fd281c11cc
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:35 +08:00
Ivan Grokhotkov
5328154a01
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:20:29 +08:00
Ivan Grokhotkov
6dd653392b
Merge branch 'bugfix/core_dump_flash_write_addr_check_v3.2' into 'release/v3.2'
...
Backport v3.2: Fixes freezing core dump with enabled flash write address checks
See merge request idf/esp-idf!4961
2019-05-09 19:45:48 +08:00
Alexey Gerenkov
dd623febf5
esp32: Fixes freezing core dump process when flash write address checks are enabled
2019-05-08 13:55:31 +03:00
Angus Gratton
106c8813ed
Merge branch 'bugfix/nvs_fix_erase_any_v3.2' into 'release/v3.2'
...
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly (v3.2)
See merge request idf/esp-idf!4817
2019-05-08 09:37:13 +08:00
Jiang Jiang Jian
524308c98d
Merge branch 'bugfix/backport_some_wifi_bugs_to_v3.2' into 'release/v3.2'
...
esp32: backport some WiFi fixes to v3.2 (backport v3.2)
See merge request idf/esp-idf!4937
2019-05-07 22:42:15 +08:00
negativekelvin
553725df84
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-05-07 05:53:19 +00:00
liu zhifu
7d3733d255
esp32: backport some WiFi fixes to v3.2
...
Backport following WiFi fixes to v3.2:
1. Add support for STA HT2040 coexist management
2. Add support for WPA2 improvements
3. Disallow HT rate when unicast/mcast cipher is TKIP/WEP
4. Add support for signal test
5. Fix the bug that WPS fails when AP is encrypted
2019-05-07 10:50:09 +08:00
Roland Dobai
20e66fa815
idf.py: Detect symlinks on Windows during fullclean
...
Closes https://github.com/espressif/esp-idf/issues/3377
2019-05-06 09:40:21 +02:00
Jiang Jiang Jian
038f51ffa6
Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.2' into 'release/v3.2'
...
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.2)
See merge request idf/esp-idf!4913
2019-05-06 11:39:31 +08:00
zhangyanjiao
4e78900fbf
fix the bug when scan fail after STA failed to connect to a nonexistent AP
2019-05-05 11:53:33 +08:00
Anurag Kar
87215ca0c3
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-05-02 05:56:49 +00:00
Jiang Jiang Jian
f6bfe13eb3
Merge branch 'bugfix/erase_with_vtaskdelay_v3.2' into 'release/v3.2'
...
spi_flash: Add vTaskDelay while a long erasing (v3.2)
See merge request idf/esp-idf!4875
2019-04-28 22:14:41 +08:00
Jiang Jiang Jian
294a051538
Merge branch 'bugfix/ci_submodule_paths_v3.2' into 'release/v3.2'
...
CI - Fix the parsing of submodule paths (backport v3.2)
See merge request idf/esp-idf!4575
2019-04-28 22:13:29 +08:00
Jiang Jiang Jian
4aa1058e8a
Merge branch 'feature/himem_readme_backport_v3.2' into 'release/v3.2'
...
Proper README.md for himem example (backport v3.2)
See merge request idf/esp-idf!4304
2019-04-28 22:13:16 +08:00
Jiang Jiang Jian
a08c77ae96
Merge branch 'bugfix/fix_iperf_exit_error_v3.2' into 'release/v3.2'
...
examples: fix iperf exit error
See merge request idf/esp-idf!4842
2019-04-28 12:00:48 +08:00
Jiang Jiang Jian
df874cd070
Merge branch 'bugfix/httpd_accept_conn_v3.2' into 'release/v3.2'
...
esp_http_server : Only accept new connections if server has capacity to handle more (backport v3.2)
See merge request idf/esp-idf!4722
2019-04-28 11:47:14 +08:00
Anton Maklakov
36fff1d751
ci: Fix the parsing of submodule paths
2019-04-28 03:46:29 +00:00
Konstantin Kondrashov
fe0d45d549
spi_flash: Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase.
By default disable.
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: IDFGH-261
2019-04-28 02:42:31 +00:00
Jiang Jiang Jian
6f19193de6
Merge branch 'bugfix/adjtime_ut_v3.2' into 'release/v3.2'
...
newlib: Fix adjtime (v3.2)
See merge request idf/esp-idf!4871
2019-04-28 10:36:55 +08:00
Jiang Jiang Jian
8f4e7d2456
Merge branch 'backport/bugfix_url_redirect_v32' into 'release/v3.2'
...
Fix url redirection issue. (backport v3.2)
See merge request idf/esp-idf!4852
2019-04-28 10:36:09 +08:00
Jiang Jiang Jian
4156c6ddec
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash_v3.2' into 'release/v3.2'
...
bugfix(psram): improve spi cs timing settings for psram (backport v3.2)
See merge request idf/esp-idf!4846
2019-04-28 10:35:41 +08:00
Jeroen Domburg
cb20ba50b1
Proper README.md for himem example
2019-04-28 02:34:48 +00:00
Jiang Jiang Jian
131979e517
Merge branch 'bugfix/doc_ubuntu_packages_v3.2' into 'release/v3.2'
...
docs: Update package dependencies (backport v3.2)
See merge request idf/esp-idf!4458
2019-04-28 10:27:19 +08:00
Jiang Jiang Jian
9d6cace1fd
Merge branch 'test/detect_exception_in_idf_dut_v3.2' into 'release/v3.2'
...
tiny-test-fw: support detect exception in IDFDUT (backport v3.2)
See merge request idf/esp-idf!4543
2019-04-28 10:26:48 +08:00
Jiang Jiang Jian
a5b007f6bb
Merge branch 'bugfix/msys_cancel_idfpy_v3.2' into 'release/v3.2'
...
tools: re-run idf.py in MSYS with winpty (backport v3.2)
See merge request idf/esp-idf!4456
2019-04-28 10:26:10 +08:00
Jiang Jiang Jian
0beb60e8fc
Merge branch 'test/fix_unit_test_job_pass_even_no_test_executed_v3.2' into 'release/v3.2'
...
test: fix CI UT job pass even ut app bootup fail (backport v3.2)
See merge request idf/esp-idf!4388
2019-04-28 10:25:53 +08:00
Jiang Jiang Jian
9294e4d08d
Merge branch 'feature/poll_v3.2' into 'release/v3.2'
...
VFS: Implement poll() based on select() (backport v3.2)
See merge request idf/esp-idf!4350
2019-04-28 10:24:41 +08:00
Jiang Jiang Jian
193b8e93a8
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.2' into 'release/v3.2'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4862
2019-04-26 21:01:35 +08:00
Angus Gratton
8da392aa1d
Merge branch 'feature/esp_http_client_global_ca_store_v3.2' into 'release/v3.2'
...
esp_http_client: add support for using certs from global ca store (backport_v3.2)
See merge request idf/esp-idf!4868
2019-04-26 10:08:23 +08:00
Angus Gratton
c3cee5e3de
Merge branch 'backport/feature_set_redirect_function_v32' into 'release/v3.2'
...
Add a `esp_http_client_set_redirection` function. (backport v3.2)
See merge request idf/esp-idf!4867
2019-04-26 10:07:04 +08:00
Jiang Jiang Jian
0c13ae6b45
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.2' into 'release/v3.2'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.2)
See merge request idf/esp-idf!4826
2019-04-25 20:05:19 +08:00
Jiang Jiang Jian
306a1173af
Merge branch 'feature/wifi_refactor_softap_power_save_v3.2' into 'release/v3.2'
...
refactor softap power save (backport v3.2)
See merge request idf/esp-idf!4823
2019-04-25 17:05:49 +08:00
Konstantin Kondrashov
592a4295be
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:38 +08:00
Mahavir Jain
2549951498
esp_http_client: add support for using certs from global ca store
...
Closes https://github.com/espressif/esp-idf/issues/3062
(cherry picked from commit 27e00cf7aa )
2019-04-24 14:06:33 +05:30
Vikram Dattu
b2384dc9ee
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
...
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com >
2019-04-24 13:54:22 +05:30
baohongde
f95826144e
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:34:06 +08:00
Vikram Dattu
344cb99d34
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:21 +05:30
Wangjialin
464df4b788
bugfix: fix bug in flash 80M + sram 40M mode
2019-04-23 02:18:15 +00:00
Wangjialin
8ff0d986b6
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-23 02:18:15 +00:00
Angus Gratton
225bc0f80a
Merge branch 'bugfix/remove_second_sha_enable_v3.2' into 'release/v3.2'
...
esp32/sha: Remove second enabling in esp_sha_lock_engine_common (backport v3.2)
See merge request idf/esp-idf!4780
2019-04-23 07:38:00 +08:00
zhiweijian
96c8343e46
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:55:06 +08:00
xiehang
d9cdbcdc8b
examples: fix iperf exit error
2019-04-22 13:02:42 +08:00
XiaXiaotian
3ee11bcafc
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-19 14:14:33 +08:00
Jiang Jiang Jian
bcb543eb10
Merge branch 'bugfix/coex_decouple_wifi_and_bt_code_with_coexist_v3.2' into 'release/v3.2'
...
Decouple WiFi and BT with coexist to reduce bin size (backport v3.2)
See merge request idf/esp-idf!4811
2019-04-19 13:31:06 +08:00
He Yin Ling
bb73659c9c
Merge branch 'test/modify_mesh_ci_v3.2' into 'release/v3.2'
...
test: update mesh test cases for ci (backport v3.2)
See merge request idf/esp-idf!4650
2019-04-18 11:29:43 +08:00
chenyudong
58bc6be4c0
test:update mesh test cases for ci test(v3.2)
...
add mesh test case in TC_IT_MESH_EST.yml and TC_IT_MESH_COMM.yml
add job form IT_02 to IT_08
2019-04-17 17:25:17 +08:00
XiaXiaotian
5059c7fac3
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-04-17 16:59:24 +08:00
Jiang Jiang Jian
cf866f23f2
Merge branch 'bugfix/fix_some_wifi_and_coexist_bugs_0416_v3.2' into 'release/v3.2'
...
esp32: fix some WiFi and coexist bugs (backport v3.2)
See merge request idf/esp-idf!4803
2019-04-17 14:24:32 +08:00
liu zhifu
faec3211bd
esp32: fix some WiFi and coexist bugs
...
Fix following WiFi and coexist bugs:
1. Fix BT disconnecting due to too many reset BB
2. Fix the bug that no TBTT is generated after rx wrong beacon when WiFi/BT coexist
3. Fix a DelBA bug
4. Add out of memory check
5. Fix the bug that STA incorrectly receives packets when scanning in connected status
6. PHY4008: Disable BT TX in force wifi mode, and enable BT TX in un-force wifi mode
2019-04-17 10:02:51 +08:00
Jiang Jiang Jian
c7d0df5451
Merge branch 'bugfix/fix_scan_and_connect_bugs_0415_v3.2' into 'release/v3.2'
...
fix wifi scan and connect bugs (backport v3.2)
See merge request idf/esp-idf!4772
2019-04-16 21:09:15 +08:00
Jiang Jiang Jian
7097cb9c9d
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config_v3.2' into 'release/v3.2'
...
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option (v3.2)
See merge request idf/esp-idf!4791
2019-04-16 20:30:09 +08:00
Mahavir Jain
1fcef31195
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:26 +05:30
Jiang Jiang Jian
acc882f4dd
Merge branch 'bugfix/btdm_bugx_backport_3.2' into 'release/v3.2'
...
Some bugs backport 3.2
See merge request idf/esp-idf!4773
2019-04-16 10:45:04 +08:00
Angus Gratton
e4c1bcddc5
Merge branch 'bugfix/freemodbus_fix_critical_sections' into 'release/v3.2'
...
freemodbus: fix critical sections to semaphore mutex (backport v3.2)
See merge request idf/esp-idf!4435
2019-04-16 08:53:23 +08:00
Konstantin Kondrashov
b2455219cc
esp32/sha: Remove second enabling in esp_sha_lock_engine_common
2019-04-15 21:14:38 +08:00
zhangyanjiao
de6b7d6520
fix wifi scan and connect bugs:
...
1. fix the bug block scan tiemout before scan finish
2. make menuconfig can set the WiFi mgmt short buffer num
3. modify wifi reason code
4. fix the bug PMK recal too long
2019-04-15 18:59:52 +08:00
Jiang Jiang Jian
fa40e43c8d
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.2' into 'release/v3.2'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4620
2019-04-15 18:52:09 +08:00
Jiang Jiang Jian
9f29dbf656
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.2' into 'release/v3.2'
...
Component/bt: fix build warning when bluedroid disable log (backport v3.2)
See merge request idf/esp-idf!4566
2019-04-15 18:50:58 +08:00
Jiang Jiang Jian
b2d61989f1
Merge branch 'mesh/decouple_addition_v3.2' into 'release/v3.2'
...
Decouple Wifi and ESP-Mesh to reduce bin size (backport v3.2)
See merge request idf/esp-idf!4523
2019-04-15 17:06:00 +08:00
baohongde
bb518afb59
Some bugs backport 3.2
...
1.Fix memory leak when set txpower
2.Fix some bugs
Disconnect with apple device
hci_refresh_enc_key_cmd will be ignore
hci_refresh_enc_key_cmd will crash
2019-04-15 16:51:29 +08:00
chenyudong
37063ea9b6
Decouple Wifi and ESP-Mesh to reduce bin size
...
Do not link mesh code when mesh is not used
2019-04-14 20:36:14 +08:00
Jiang Jiang Jian
f6837e6117
Merge branch 'bugfix/esp_sha_signing_sha256_v3.2' into 'release/v3.2'
...
secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API (backport v3.2)
See merge request idf/esp-idf!4511
2019-04-14 02:57:45 +08:00
Jiang Jiang Jian
c4f39094d3
Merge branch 'bugfix/cmake_component_path_v3.2' into 'release/v3.2'
...
cmake: Set COMPONENT_PATH during early expansion of dependencies (v3.2)
See merge request idf/esp-idf!4594
2019-04-14 02:57:16 +08:00
Jiang Jiang Jian
2da22620f8
Merge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except_v3.2' into 'release/v3.2'
...
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list (backport v3.2)
See merge request idf/esp-idf!4606
2019-04-14 02:56:43 +08:00
Jiang Jiang Jian
f77d0a9cdb
Merge branch 'bugfix/ci_tag_for_cmake_linter_v3.2' into 'release/v3.2'
...
ci: A small CI stabilizing fix (backport v3.2)
See merge request idf/esp-idf!4710
2019-04-14 02:55:38 +08:00
Jiang Jiang Jian
ddf4991024
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.2' into 'release/v3.2'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.2)
See merge request idf/esp-idf!4728
2019-04-14 02:55:21 +08:00
Jiang Jiang Jian
f8597be435
Merge branch 'bugfix/wifi_modify_wifi_kconfig_v3.2' into 'release/v3.2'
...
esp32: modify WiFi Kconfig in order to achieve better compatility and performance (bakcport v3.2)
See merge request idf/esp-idf!4386
2019-04-12 23:11:24 +08:00
Jiang Jiang Jian
6e5e430ef4
Merge branch 'bugfix/mesh_memory_leak_v3.2' into 'release/v3.2'
...
mesh: fix memory leak and group send (backport v3.2)
See merge request idf/esp-idf!4519
2019-04-12 22:02:08 +08:00
Jiang Jiang Jian
065d451e47
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.2' into 'release/v3.2'
...
Component/bt: modify HCI_GET_CMD_BUF (backport v3.2)
See merge request idf/esp-idf!4599
2019-04-12 21:58:51 +08:00
Jiang Jiang Jian
c8990eb39d
Merge branch 'bugfix/btdm_add_scan_window_interval_check_v3.2' into 'release/v3.2'
...
Component/bt: add scan window and interval check when set scan params (backport v3.2)
See merge request idf/esp-idf!4311
2019-04-12 21:57:50 +08:00
Jiang Jiang Jian
c90f770599
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.2' into 'release/v3.2'
...
Component/bt: fix blufi prepare write crash (backport V3.2)
See merge request idf/esp-idf!4563
2019-04-12 21:57:23 +08:00
Jiang Jiang Jian
48978c6f2b
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID_v3.2' into 'release/v3.2'
...
Component/bt: fix iOS and win10 compatibility error for HID (backport v3.2)
See merge request idf/esp-idf!4424
2019-04-12 21:56:40 +08:00
Angus Gratton
5bb5670d69
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-12 07:28:57 +00:00
Angus Gratton
7197811861
Merge branch 'bugfix/prov_fix_conn_id_v3.2' into 'release/v3.2'
...
(backport v3.2) Unified Provisioning: Miscellaneous fixes in BLE
See merge request idf/esp-idf!4734
2019-04-12 13:46:06 +08:00
Angus Gratton
892c2be168
esp32: Chunk input blocks for esp_sha() function performance, add perf test
2019-04-12 05:45:05 +00:00
Angus Gratton
5c6be8380e
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-04-12 05:45:05 +00:00
Angus Gratton
1d8e1c4ce4
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-04-12 05:45:05 +00:00
chenyudong
1778573dad
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-04-11 20:43:38 +08:00
Jiang Jiang Jian
9778549759
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable_v3.2' into 'release/v3.2'
...
esp32: make WiFi IRAM optimization configurable (backport v3.2)
See merge request idf/esp-idf!4040
2019-04-11 18:44:19 +08:00
Angus Gratton
e5e226a121
Merge branch 'bugfix/external_rtc_start_fail_v3.2' into 'release/v3.2'
...
Bugfix/external rtc start fail (v3.2)
See merge request idf/esp-idf!4662
2019-04-10 14:17:41 +08:00
Hrishikesh Dhayagude
71845041e0
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:25:42 +05:30
Angus Gratton
54dff92df5
Merge branch 'feature/mfg_util_v3.2' into 'release/v3.2'
...
Add changes to mfg_util as per changes in nvs_util (backport v3.2)
See merge request idf/esp-idf!4702
2019-04-09 09:19:43 +08:00
Anurag Kar
a5bd08a6b6
esp_http_server : Test added to check limit on max_open_sockets config option
2019-04-08 11:36:08 +05:30
Anurag Kar
befc74e0f0
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:34:20 +05:30
Angus Gratton
12bf1017de
Merge branch 'bugfix/heap_caps_int_overflows_v3.2' into 'release/v3.2'
...
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC (v3.2)
See merge request idf/esp-idf!4569
2019-04-05 09:31:03 +08:00
Shivani Tipnis
006442cd9d
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 a88b40483d )
2019-04-04 18:28:10 +05:30
Anton Maklakov
25a134afdc
ci: Fix runner choice for CMake verification job and change .check_job_template tag to host_test
2019-04-04 17:23:20 +07:00
Angus Gratton
70811110fc
Merge branch 'fix/spi_on_readonly_pins_v3.2' into 'release/v3.2'
...
spi: fix the bug of connecting SPI peripheral to read-only pins (backport v3.2)
See merge request idf/esp-idf!4307
2019-04-02 12:29:06 +08:00
Angus Gratton
b87e440c69
Merge branch 'update/nvs_part_util_v3.2' into 'release/v3.2'
...
Update/nvs partition utility v3.2 (backport v3.2)
See merge request idf/esp-idf!4280
2019-04-02 11:58:56 +08:00
maojianxin
f85294b058
Fix external start fail
2019-04-02 12:52:58 +11:00
Zhang Jun Yi
413b6487fb
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-04-02 12:50:50 +11:00
Angus Gratton
f608afbe6b
Merge branch 'bugfix/build_fails_when_editor_assoc_with_py_scripts_v3.2' into 'release/v3.2'
...
Fix issues with CMake builds when python scripts are associated with an editor (backport v3.2)
See merge request idf/esp-idf!4637
2019-04-02 09:40:10 +08:00
Michael (XIAO Xufeng)
325fca94c0
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-04-01 18:39:02 +08:00
zhiweijian
3130b19cf8
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
2019-03-28 11:20:51 +08:00
Shivani Tipnis
5d2c23c8ab
nvs_util: Add support for creation of unique encryption keys
...
(cherry picked from commit e1f466e708c2c1b825e955ec28b70dc3058f9262)
2019-03-27 18:24:18 +05:30
Shivani Tipnis
8480e79ae2
nvs_util: Add support for creation of unique encryption keys
...
(cherry picked from commit 8b88b3303d83f5f03249e7b3410f6ecabaa00396)
2019-03-26 15:52:10 +05:30
Shivani Tipnis
86052eec78
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 15:49:25 +05:30
baohongde
5ede49ca4a
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 15:29:22 +08:00
baohongde
bbdb236ab7
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 14:59:58 +08:00
Renz Christian Bagaporo
0a0113bcce
ci: test full build never runs '/usr/bin/env python' or similar
2019-03-25 11:41:00 +08:00
Renz Christian Bagaporo
84a534a4a0
cmake: Fix for Python files executed directly, not via PYTHON variable
2019-03-25 11:41:00 +08:00
Ivan Grokhotkov
286202caa3
Merge branch 'bugfix/mqtt_fragmented_packed_msg_3.2' into 'release/v3.2'
...
MQTT support for fragmented and packed messages (Backport 3.2)
See merge request idf/esp-idf!4593
2019-03-25 10:49:56 +08:00
zhiweijian
6b4dcd4f5c
Component/bt: modify HCI_GET_CMD_BUF
2019-03-22 15:02:20 +08:00
Angus Gratton
4f62227030
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:06 +11:00
David Cermak
9ebaf36c28
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-03-21 14:35:59 +01:00
David Cermak
1ece141c52
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-03-21 14:35:49 +01:00
Krzysztof Budzynski
f49e2afe94
Merge branch 'bugfix/sphinx_build_failure_on_rtd_v3.2' into 'release/v3.2'
...
docs: Upgraded sphinx package version to prevent build failures on readthedocs…
See merge request idf/esp-idf!4554
2019-03-21 14:24:24 +08:00
Angus Gratton
17b260d05c
Merge branch 'bugfix/nvs_api_usage_in_simple_ota_example_v3.2' into 'release/v3.2'
...
Minor bugfix in simple ota example (backport v3.2)
See merge request idf/esp-idf!4584
2019-03-21 13:06:48 +08:00
InfiniteYuan1
07fc1d181f
bugfix(simple_ota): Compatible with V3.1 and V3.2
...
(cherry picked from commit 0fa31d3e31 )
2019-03-21 10:24:09 +08:00
Jiang Jiang Jian
beb29bc88a
Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable_v3.2' into 'release/v3.2'
...
Component/bt: fix no adv report when scanning with sleep enable(backport v3.2)
See merge request idf/esp-idf!4537
2019-03-20 22:03:12 +08:00
Liu Zhi Fu
76c20ab9b3
esp32: make WiFi IRAM optimization configurable
...
With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.
2019-03-20 13:45:54 +00:00
zhiweijian
241ba1a6bb
Component/bt: fix iOS and win10 compatibility error for HID
2019-03-20 19:47:04 +08:00
Angus Gratton
1fac58deb7
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
2019-03-20 18:30:17 +11:00
zhiweijian
78d32f2e8b
Component/bt: fix build warning when bluedroid disable log
2019-03-20 15:06:17 +08:00
zhiweijian
f237b92bc4
Component/bt: fix blufi prepare write crash
2019-03-20 14:27:11 +08:00
krzychb
ccc1263ca8
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.2)
2019-03-19 20:22:07 +01:00
He Yin Ling
51a44c81de
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-03-19 21:06:16 +08:00
He Yin Ling
1b96cefaf8
tiny-test-fw: support translate backtrace in IDFDUT
2019-03-19 21:06:16 +08:00
He Yin Ling
ef82e8d0bc
tiny-test-fw: support detect exception in IDFDUT
2019-03-19 21:03:41 +08:00
zhiweijian
d6bdaed141
Component/bt: fix no adv report when scanning with sleep enable
2019-03-18 17:40:19 +08:00
Angus Gratton
13018449fe
Merge branch 'bugfix/remove_malloc_ble_prov_v3.2' into 'release/v3.2'
...
(backport v3.2) Protocomm BLE: Make changes in handling BLE read/write requests
See merge request idf/esp-idf!4495
2019-03-15 14:29:30 +08:00
Jiang Jiang Jian
b6687e56ed
Merge branch 'bugfix/console_allow_buffered_v3.2' into 'release/v3.2'
...
console example: use buffered stdout by default (backport v3.2)
See merge request idf/esp-idf!4507
2019-03-15 14:03:29 +08:00
Ivan Grokhotkov
6494927766
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:29:56 +08:00
Ivan Grokhotkov
6ce5c7668f
console/linenoise: support buffered stdout
2019-03-15 11:29:56 +08:00
Jiang Jiang Jian
c97a05c0d5
Merge branch 'feature/btdm_add_update_duplicate_scan_exceptional_list_apis_v3.2' into 'release/v3.2'
...
Component/bt: add update duplicate scan exceptional list APIs
See merge request idf/esp-idf!4494
2019-03-15 10:46:57 +08:00
zhiweijian
fed772641a
Component/bt: add update duplicate scan exceptional list APIs
2019-03-14 20:59:38 +08:00
Hrishikesh Dhayagude
39d8a89c80
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:50:03 +05:30
Jiang Jiang Jian
62980ae995
Merge branch 'feature/btdm_add_adv_report_flow_control_v3.2' into 'release/v3.2'
...
component/bt: add vendor hci and adv report flow control (backport v3.2)
See merge request idf/esp-idf!4462
2019-03-14 13:51:52 +08:00
Angus Gratton
029a155a71
Merge branch 'bugfix/mdns_add_remove_multiple_srv_3.2' into 'release/v3.2'
...
mdns: fix possible crash if tx packet contained answer to removed service (backport 3.2)
See merge request idf/esp-idf!4481
2019-03-14 07:56:40 +08:00
Angus Gratton
4849d7ae90
Merge branch 'bugfix/mdns_incorrect_semaphore_use_v3.2' into 'release/v3.2'
...
mdns: use binary semaphore instead of mutex when searching (Backport 3.2)
See merge request idf/esp-idf!4478
2019-03-14 06:26:51 +08:00
David Cermak
10b4ddb467
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-438
2019-03-13 16:24:18 +01:00
David Cermak
288bc2bfca
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:24:03 +01:00
David Cermak
8e4ec90dc4
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:24:03 +01:00
David Cermak
0e06b4d653
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:24:03 +01:00
David Cermak
8fe4007dfa
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-438
2019-03-13 16:24:03 +01:00
Ivan Grokhotkov
09f4015300
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-13 14:55:01 +01:00
Angus Gratton
56918682f9
Merge branch 'bugfix/confgen_expr_value_v3.2' into 'release/v3.2'
...
confgen: Fix bug with JSON metadata conditional range generation
See merge request idf/esp-idf!4470
2019-03-13 16:54:41 +08:00
Angus Gratton
6b49a355f7
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:50:55 +11:00
zhiweijian
6628fddae6
Component/bt: add BLE adv report flow control
2019-03-12 20:18:30 +08:00
Krzysztof Budzynski
ff99e0ea69
Merge branch 'feature/upgrade_sphinx_and_breathe_v3.2' into 'release/v3.2'
...
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4…
See merge request idf/esp-idf!4380
2019-03-12 16:53:11 +08:00
zwj
b305a96a74
component/bt: add vendor hci cmd
2019-03-12 11:55:42 +08:00
Roland Dobai
fe4e68132f
docs: Update package dependencies
...
Closes https://github.com/espressif/esp-idf/issues/2384
2019-03-11 10:33:15 +01:00
Roland Dobai
e870a0f0f1
tools: re-run idf.py in MSYS with winpty
...
This is done in order to cancel subprocesses on keyboard interrupt
(CTRL+C).
2019-03-11 08:54:44 +01:00
Jiang Jiang Jian
12643e063c
Merge branch 'bugfix/autoip_memoey_leak_debug_v3.2' into 'release/v3.2'
...
fix the bug in auto Ip memory leak (backport v3.2)
See merge request idf/esp-idf!4431
2019-03-08 19:54:34 +08:00
Angus Gratton
a7dc804476
Merge branch 'bugfix/httpd_sess_ctx_backportv3.2' into 'release/v3.2'
...
esp_http_server: Provide apps an option to let http_server ignore sess_ctx changes
See merge request idf/esp-idf!4421
2019-03-08 11:52:17 +08:00
aleks
7342811c37
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 16:01:43 +01:00
xiehang
8e0b0af09b
fix the bug in auto Ip memory leak
2019-03-06 20:01:36 +08:00
Jiang Jiang Jian
e1e82c8949
Merge branch 'bugfix/lack_of_break_in_tcp_client_v3.2' into 'release/v3.2'
...
fix the bug in tcp_client (backport v3.2)
See merge request idf/esp-idf!4391
2019-03-06 14:22:59 +08:00
Angus Gratton
d99d92e170
Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug_v3.2' into 'release/v3.2'
...
Bugfix/fix digital gpio unable hold bug (backport v3.2)
See merge request idf/esp-idf!4355
2019-03-06 12:10:38 +08:00
He Yin Ling
1ca67e98d6
test: fix CI UT job pass even ut app bootup fail
2019-03-05 07:58:39 +00:00
Piyush Shah
f8f0c81077
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 13:06:33 +05:30
Angus Gratton
727c2cfa00
Merge branch 'feature/add_api_get_rmt_idle_level_v3.2' into 'release/v3.2'
...
Bugfix: Fixed some RMT related issues (backport v3.2)
See merge request idf/esp-idf!4358
2019-03-05 10:51:00 +08:00
Roland Dobai
1d4eeeb464
VFS: Implement poll() based on select()
...
Closes https://github.com/espressif/esp-idf/issues/2945
2019-03-04 08:02:03 +01:00
Jiang Jiang Jian
e9a764d9a5
Merge branch 'bugfix/make_get_coreid_volatile_backport_v3.2' into 'release/v3.2'
...
freertos: Make xPortGetCoreID() volatile (backport v3.2)
See merge request idf/esp-idf!4379
2019-03-01 18:49:00 +08:00
Jiang Jiang Jian
b2e4af4ed0
Merge branch 'bugfix/ble_reconn_rescan_readv_crash_v3.2' into 'release/v3.2'
...
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!4325
2019-03-01 18:06:02 +08:00
Darian Leung
66a0b64e54
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-03-01 02:05:33 +00:00
Ivan Grokhotkov
9d48cdb6f3
Merge branch 'bugfix/multiple_backports_v3.2' into 'release/v3.2'
...
multiple backports (v3.2)
See merge request idf/esp-idf!4367
2019-02-28 21:42:19 +08:00
Jiang Jiang Jian
258e9c98be
Merge branch 'bugfix/cmake_psram_fix_flag_v3.2' into 'release/v3.2'
...
cmake: Fix psram workaround compiler flag application (backport v3.2)
See merge request idf/esp-idf!4364
2019-02-28 21:06:11 +08:00
Angus Gratton
35e491856e
ci: Only use "github_sync" tagged runners to talk to GitHub
2019-02-28 20:38:31 +08:00
Angus Gratton
226c790766
ci: Retry submodule sync 2 more times before failing
2019-02-28 20:38:31 +08:00
Ivan Grokhotkov
c0d32f6e48
nvs: add a blob fragmentation test case
...
Ref. TW12937
2019-02-28 20:38:31 +08:00
Ivan Grokhotkov
203f75223e
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-28 20:38:31 +08:00
Ivan Grokhotkov
742f8e7f8a
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-28 20:38:31 +08:00
Ivan Grokhotkov
7e16a79cf7
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
2019-02-28 20:38:31 +08:00
Ivan Grokhotkov
22dc4898d9
soc: define named constants for DPORT_CPUPERIOD_SEL values
2019-02-28 20:38:31 +08:00
Ivan Grokhotkov
f78c96a3d7
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-28 20:38:31 +08:00
Ivan Grokhotkov
b4727a8765
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-28 20:38:31 +08:00
Ivan Grokhotkov
8bbd99ad9e
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-28 20:38:31 +08:00
Ivan Grokhotkov
5dcdef0639
kconfig: fix compatibility with very old versions of flex
...
See 4e762e4918
Closes https://github.com/espressif/esp-idf/issues/2703
2019-02-28 20:38:31 +08:00
xiehang
d651ee3d28
fix the bug in tcp_client
...
Closes https://github.com/espressif/esp-idf/issues/3058
2019-02-28 14:25:54 +08:00
XiaXiaotian
34f1c208a8
esp32: modify WiFi Kconfig in order to achieve better compatility
...
and performance
2019-02-28 10:07:13 +08:00
Angus Gratton
83d7b4591c
Merge branch 'esp_http_server/lru_counter_for_timestamp_backportv3.2' into 'release/v3.2'
...
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer(backport v3.2)
See merge request idf/esp-idf!4319
2019-02-28 07:03:38 +08:00
krzychb
f5096892f9
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. (backport v3.2)
2019-02-27 23:21:47 +01:00
Angus Gratton
56694fb4b6
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-27 16:38:29 +11:00
Paul Abbott
929542d4fa
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
2019-02-26 20:46:23 +08:00
kooho
be49c8d841
driver(gpio): fixed digital gpio unable hold bug during deep-sleep for release/v3.2.
2019-02-26 20:20:25 +08:00
Tian Hao
67aefe1011
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-25 13:40:46 +00:00
zhiweijian
46a3c36343
Component/bt: add scan window and interval check when set scan params
2019-02-25 13:22:32 +00:00
Supreet Deshpande
58e49d169c
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 09:16:28 +00:00
Ivan Grokhotkov
a241f95407
Merge branch 'bugfix/freertos_unused_xSize_backport_v3.2' into 'release/v3.2'
...
freertos: Fix unused variable warning (backport v3.2)
See merge request idf/esp-idf!4296
2019-02-25 15:44:22 +08:00
Darian Leung
aaaa491c42
freertos: Fix unused variable warning
...
This commit fixes an unused variable warning when
configASSERT is undefined.
2019-02-22 01:06:44 +08:00
Angus Gratton
91aa35e831
Merge branch 'bugfix/mdns_service_memory_leak_3.2' into 'release/v3.2'
...
mdns: fix memory leak when query for service plus various other fixes (Backport v3.2)
See merge request idf/esp-idf!4287
2019-02-21 17:53:32 +08:00
David Cermak
113e829552
mdns: fix memory leak in pbuf if tcpipadapter failed to get netif
2019-02-21 06:43:23 +00:00
David Cermak
3802fddefb
mdns example: fix print result for IPv6 addresses
2019-02-21 06:43:23 +00:00
David Cermak
bb2eb9adeb
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-21 06:43:23 +00:00
David Cermak
78116afa01
mdns: fix possible crash when mdns_free called while action queue not empty
2019-02-21 06:43:23 +00:00
David Cermak
b865e72aec
mdns: fix memory leak when query for service receives multiple ptr entries for one instance
...
fixes redmine issue 27300
2019-02-21 06:43:23 +00:00
Angus Gratton
f1b2457b6c
Merge branch 'bugfix/psram_move_qsort_setlocale_flash_v3.2' into 'release/v3.2'
...
psram: Move newlib qsort() and setlocale() functions from IRAM to flash (backport v3.2)
See merge request idf/esp-idf!4322
2019-02-21 14:42:17 +08:00
Jiang Jiang Jian
46fa5654a7
Merge branch 'bugfix/btdm_fix_connection_params_update_issues_v3.2' into 'release/v3.2'
...
component/bt:fix connection params update issues (backport v3.2)
See merge request idf/esp-idf!4297
2019-02-21 11:49:16 +08:00
Angus Gratton
bf28a1a27b
psram: Move newlib qsort() and setlocale() functions from IRAM to flash
2019-02-21 10:32:00 +11:00
Angus Gratton
b7beefba9e
Merge branch 'bugfix/cmake_stack_protector_v3.2' into 'release/v3.2'
...
esp32: disable stack protector for startup code (CMake) (backport v3.2)
See merge request idf/esp-idf!4250
2019-02-20 15:40:14 +08:00
Angus Gratton
0784c52131
Merge branch 'doc/add_coap_readme' into 'release/v3.2'
...
doc: add CoAP README.md(backport v3.2)
See merge request idf/esp-idf!4262
2019-02-20 15:38:43 +08:00
Angus Gratton
a7f826750b
Merge branch 'revert-00d10688' into 'release/v3.2'
...
Revert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'"
See merge request idf/esp-idf!4293
2019-02-20 15:09:59 +08:00
Angus Gratton
38086ae737
Merge branch 'bugfix/spiram_linker_wildcards_v3.2' into 'release/v3.2'
...
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds (backport v3.2)
See merge request idf/esp-idf!4153
2019-02-20 14:17:52 +08:00
Jiang Jiang Jian
6173660ff0
Merge branch 'bugfix/coex_lc_protect_v3.2' into 'release/v3.2'
...
component/esp32 : fix coexist lc protect cause memory corrupted
See merge request idf/esp-idf!4267
2019-02-20 11:14:22 +08:00
Angus Gratton
79b450cfb4
esp32 psram: Provide library name for ROM libc objects linked as PSRAM workarounds
...
Fixes 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
2019-02-20 00:30:25 +00:00
Jiang Jiang Jian
c7fbc6dd85
Merge branch 'bugfix/wdt_compability_app_with_old_bootloader_v3.2' into 'release/v3.2'
...
esp32: Fix wdt settings in esp_restart_noos (backport v3.2)
See merge request idf/esp-idf!4294
2019-02-20 02:17:09 +08:00
Jiang Jiang Jian
3b5bba1812
Merge branch 'bugfix/fix_psram_eid_v3.2' into 'release/v3.2'
...
bugfix(psram): fix psram size acquisition method, support esp32-pico chips (backport v3.2)
See merge request idf/esp-idf!4254
2019-02-20 02:13:47 +08:00
zwj
b4feb67b5f
component/bt:fix connection params update issues
2019-02-19 20:26:36 +08:00
Jiang Jiang Jian
578d7902af
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel_v3.2' into 'release/v3.2'
...
Bugfix/btdm crash when inquiry cancel v3.2
See merge request idf/esp-idf!4277
2019-02-19 17:57:00 +08:00
Ivan Grokhotkov
509884c5ac
Revert "Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'"
...
This reverts merge request !4272
2019-02-19 12:47:44 +08:00
Konstantin Kondrashov
8a656f006e
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-02-19 12:43:35 +08:00
Angus Gratton
0f79c72704
Merge branch 'bugfix/aws_iot_backport_few_fixes_for_v3.2' into 'release/v3.2'
...
Bugfix/aws iot backport few fixes for v3.2 (backport_v3.2)
See merge request idf/esp-idf!4247
2019-02-19 11:36:18 +08:00
Tian Hao
6d6f71bbae
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:30:02 +00:00
Angus Gratton
332ccd0925
Merge branch 'feature/provisioning_backport_api_changes' into 'release/v3.2'
...
(backport v3.2) Provisioning Framework API changes
See merge request idf/esp-idf!4249
2019-02-19 10:47:47 +08:00
Anurag Kar
2ee1c6fd3e
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-18 08:18:44 +00:00
Anurag Kar
6a328992d7
protocomm : typos fixed and descriptions corrected
2019-02-18 08:18:44 +00:00
Anurag Kar
b51f109dd7
protocomm unit_tests : test cases updated
...
Changes:
* Version endpoint test added
* Memory leak test updated to include corner case exceptions in protocomm
2019-02-18 08:18:44 +00:00
Anurag Kar
85e8dea26a
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-18 08:18:44 +00:00
Anurag Kar
093c7b176d
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-18 08:18:44 +00:00
Anurag Kar
30e39631db
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-18 08:18:44 +00:00
Anurag Kar
a7ff611b10
provisioning framework : 'extern C' directives added for C++ support
2019-02-18 08:18:44 +00:00
Piyush Shah
2e64d2d56e
softap_prov: Changes in the example code as per changes to protocomm_httpd
...
Signed-off-by: Piyush Shah <piyush@espressif.com >
2019-02-18 08:18:44 +00:00
Piyush Shah
3e6b402756
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-18 08:18:44 +00:00
baohongde
5568ca2855
components/bt: Add precautions for esp_vhci_host_send_packet (backport 3.2)
2019-02-18 08:15:17 +00:00
baohongde
30f2371917
components/bt: Fix crash when inquiry stop (backport v3.2)
2019-02-18 08:15:17 +00:00
He Yin Ling
ebaa944a9a
Merge branch 'test/disable_sdio_example_ci_v3.2' into 'release/v3.2'
...
sdio: temporarily disable the sdio example ci
See merge request idf/esp-idf!4284
2019-02-18 16:14:01 +08:00
Michael (XIAO Xufeng)
d83598a64a
sdio: temporarily disable the sdio example ci, since the runners have
...
some power issue
2019-02-18 11:02:43 +08:00
Ivan Grokhotkov
00d1068869
Merge branch 'bugfix/external_rtc_start_fail_3.2' into 'release/v3.2'
...
Bugfix/external rtc start fail (backport 3.2)
See merge request idf/esp-idf!4272
2019-02-15 17:51:49 +08:00
chenwu
49be9fb836
doc: add CoAP README.md
2019-02-15 16:03:54 +08:00
Jiang Jiang Jian
6f0c70daf6
Merge branch 'bugfix/bugfix/mdns_notask_timer_crash_v3.2' into 'release/v3.2'
...
mdns: fix crash after init if no memory for task (Backport 3.2)
See merge request idf/esp-idf!4237
2019-02-15 13:49:29 +08:00
Jiang Jiang Jian
219c85cf60
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.2' into 'release/v3.2'
...
bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.2(backport v3.2)
See merge request idf/esp-idf!4260
2019-02-15 13:42:39 +08:00
Jiang Jiang Jian
524696d59a
Merge branch 'bugfix/fix_some_wifi_bugs_0131_v3.2' into 'release/v3.2'
...
esp32: fix some WiFi bugs (backport v3.2)
See merge request idf/esp-idf!4217
2019-02-15 12:14:54 +08:00
maojianxin
9a229f4077
soc/rtc: fix RTC_TOUCH_TRIG_EN or RTC_ULP_TRIG_EN should keep RTC_PERIPH power on
2019-02-15 10:58:14 +08:00
Zhang Jun Yi
016c8d8b05
soc/rtc: Bypass touchpad current to external 32k crystal oscillator
2019-02-15 10:55:08 +08:00
Angus Gratton
9914b839aa
Merge branch 'update/nvs_partition_utility_v3.2' into 'release/v3.2'
...
Update/nvs partition utility v3.2 (backport v3.2)
See merge request idf/esp-idf!4258
2019-02-15 08:51:17 +08:00
Shivani Tipnis
76e4ea7f68
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)
2019-02-14 18:05:59 +05:30
Shivani Tipnis
3ec0f415a5
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)
2019-02-14 15:57:23 +05:30
Shivani Tipnis
fa40b3d5d0
Update minimum version for cryptography package required
...
(cherry picked from commit e1774cb6f9 )
2019-02-13 17:20:01 +05:30
Shivani Tipnis
f742808333
nvs_util: update test case
...
(cherry picked from commit 0c72b08872 )
2019-02-13 17:12:57 +05:30
Shivani Tipnis
51bd64c754
Update README
...
(cherry picked from commit 582c547191 )
2019-02-13 17:12:50 +05:30
Shivani Tipnis
b85321be97
Closes https://github.com/espressif/esp-idf/issues/2472
...
(cherry picked from commit c44f15441f )
2019-02-13 17:12:40 +05:30
Shivani Tipnis
dcd63f73f6
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
(cherry picked from commit 9db1987892 )
2019-02-13 17:11:59 +05:30
wangmengyang
b8f0c32a0a
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM
2019-02-13 19:15:34 +08:00
chenjianqiang
8f2e1471af
bugfix(psram): made some modifcations to support the psram driver backport
2019-02-13 16:06:38 +08:00
chenjianqiang
a159e58ead
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-02-13 14:27:44 +08:00
chenjianqiang
fe767855df
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.
2019-02-13 14:24:20 +08:00
Ivan Grokhotkov
1e674fb4ed
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-02-13 10:27:22 +08:00
Angus Gratton
3660ccac4c
Merge branch 'bugfix/esp-http-client-fixes' into 'release/v3.2'
...
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example. (backport v3.2)
See merge request idf/esp-idf!4248
2019-02-13 07:10:34 +08:00
Jitin George
4f9a4e8ed7
examples/simple_ota_example: Fix incorrect component reference in README
2019-02-12 11:32:54 +05:30
Jitin George
582bf18789
tcp_transport: Fix incorrect error logging in ssl_read and ssl_write APIs
...
Closes https://github.com/espressif/esp-idf/issues/2805
2019-02-12 11:32:44 +05:30
Jitin George
2e3f06ece8
esp_http_client: Fix for setting incorrect post header length
...
Closes https://github.com/espressif/esp-idf/issues/2638
2019-02-12 11:32:23 +05:30
Mahavir Jain
c62a20f162
ci: remove IDF_CI_BUILD variable, no active users
2019-02-12 11:03:40 +05:30
Mahavir Jain
ed4d83af8e
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-02-12 11:03:14 +05:30
Angus Gratton
1444868917
Merge branch 'bugfix/eth_gpio0_output_v3.2' into 'release/v3.2'
...
ethernet cleanup && support GPIO0 output mode && support IP101(backport v3.2)
See merge request idf/esp-idf!4214
2019-02-12 07:54:57 +08:00
Mahavir Jain
05ba4f15d6
examples: update default root-ca for aws_iot demos
2019-02-08 18:54:01 +05:30
Angus Gratton
37b7153c0e
Merge branch 'feature/http_server_backport_api_changes' into 'release/v3.2'
...
(backport v3.2) HTTP Server API changes
See merge request idf/esp-idf!4232
2019-02-08 11:43:33 +08:00
David Cermak
1a53334843
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-02-05 07:59:38 +01:00
Angus Gratton
fd29b0165f
Merge branch 'bugfix/event_loop_library_memory_leak_v3.2' into 'release/v3.2'
...
Fix event loop library memory leak (backport v3.2)
See merge request idf/esp-idf!4221
2019-02-04 16:35:17 +08:00
Anurag Kar
9c3262f80b
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
2019-02-03 21:50:35 +05:30
Anurag Kar
900dbfd1f6
esp_http_server example tests : updated advanced_tests as per API changes
2019-02-03 21:32:21 +05:30
Ondřej Hruška
13a1f4ed78
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
2019-02-03 21:32:07 +05:30
Jiang Jiang Jian
8a69ffc36f
Merge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication_v3.2' into 'release/v3.2'
...
Component/bt: add handle in gatts conf event for indication (backport v3.2)
See merge request idf/esp-idf!4222
2019-02-01 21:34:05 +08:00
Jiang Jiang Jian
a437e4dc5c
Merge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection_v3.2' into 'release/v3.2'
...
Component/bt: fix write char crash after disconnection (backport v3.2)
See merge request idf/esp-idf!4210
2019-02-01 21:28:29 +08:00
Liu Zhi Fu
741f97da4e
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:52:40 +08:00
Renz Christian Bagaporo
eae2baa0f1
esp_event: detect leaks in unit test
2019-02-01 10:08:50 +08:00
Renz Christian Bagaporo
f49f5ff35a
esp_event: fix post data type inconsistency
2019-02-01 10:08:50 +08:00
Renz Christian Bagaporo
020b295f06
esp_event: fix memory leaks
...
Closes https://github.com/espressif/esp-idf/issues/2886
2019-02-01 10:08:50 +08:00
Jiang Jiang Jian
6e14de0fa8
Merge branch 'mesh/malloc_routing_table_v3.2' into 'release/v3.2'
...
mesh: modify to malloc routing table (backport v3.2)
See merge request idf/esp-idf!4178
2019-02-01 10:02:24 +08:00
zhiweijian
95c7f45e84
Component/bt: add handle in gatts conf event for indication
2019-01-31 20:30:23 +08:00
zhiweijian
651a08f710
Component/bt: fix write char crash after disconnection
2019-01-31 12:20:16 +00:00
morris
18cb87b4ce
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-31 15:02:45 +08:00
He Yin Ling
1fedece94d
Merge branch 'feature/add_ipv6_related_change_v3.2' into 'release/v3.2'
...
modify test case to support ipv6 (backport v3.2)
See merge request idf/esp-idf!4074
2019-01-31 14:31:44 +08:00
qiyuexia
137810915c
mesh: modify to malloc routing table
2019-01-31 13:46:50 +08:00
Jiang Jiang Jian
bb766355b5
Merge branch 'bugfix/tw28445_wps_thread_safe_v3.2' into 'release/v3.2'
...
esp32: fix WPS thread-safe (backport v3.2)
See merge request idf/esp-idf!4195
2019-01-30 17:50:33 +08:00
Ivan Grokhotkov
807ef53c38
Merge branch 'bugfix/mdns_crash_free_strdup_3.2_fix' into 'release/v3.2'
...
mdns: fixed crash on free undefined ptr if strdup is skipped (Backport 3.2 FIX)
See merge request idf/esp-idf!4197
2019-01-30 14:24:12 +08:00
Angus Gratton
e585121011
Merge branch 'bugfix/backtrace_from_interrupts_backport_v3.2' into 'release/v3.2'
...
Make backtrace work across interrupts (backport v3.2)
See merge request idf/esp-idf!4183
2019-01-30 13:11:29 +08:00
Angus Gratton
671be20cc5
Merge branch 'bugfix/regenerate_sdkconfig_fails_v3.2' into 'release/v3.2'
...
Fix issues with regenerating sdkconfig on modification (backport v3.2)
See merge request idf/esp-idf!4169
2019-01-30 09:27:47 +08:00
Renz Christian Bagaporo
022a9295b0
confgen: disable config override warnings
2019-01-29 20:50:51 +08:00
Renz Christian Bagaporo
a34d788a5e
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 20:50:51 +08:00
Liu Zhi Fu
2a47c5c7a4
esp32: fix WPS thread-safe
...
Fix WPS thread-safe bug
2019-01-29 19:44:24 +08:00
Jiang Jiang Jian
cfc4f74b52
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt_v3.2' into 'release/v3.2'
...
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at the same time and both enable modem sleep (backport v3.2)
See merge request idf/esp-idf!4192
2019-01-29 19:41:36 +08:00
David Cermak
43a722f0de
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:34:04 +01:00
XiaXiaotian
eff24857bc
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 11:05:15 +08:00
Ivan Grokhotkov
18118a6d5c
Merge branch 'bugfix/mdns_crash_free_strdup_3.2' into 'release/v3.2'
...
mdns: fixed crash on free undefined ptr if strdup is skipped (Backport 3.2)
See merge request idf/esp-idf!4190
2019-01-29 10:37:25 +08:00
David Cermak
64757c0228
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-28 20:17:37 +01:00
Darian Leung
bab80ad202
freertos: Make backtrace work across interrupts (backport v3.2)
...
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.
See MR !4084
2019-01-29 02:22:04 +08:00
Jiang Jiang Jian
76f0dda3a4
Merge branch 'mesh/bugfix_backport_v3.2' into 'release/v3.2'
...
Mesh/bugfix backport v3.2
See merge request idf/esp-idf!4117
2019-01-28 14:05:51 +08:00
huchaoru
ce9878ce71
modify test case to support ipv6
2019-01-26 13:03:35 +00:00
Renz Christian Bagaporo
403a24ab64
confgen: disable redundant assignment warning
2019-01-25 18:49:55 +08:00
Renz Christian Bagaporo
d2cf266762
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:49:55 +08:00
KonstantinKondrashov
cec39b750a
tool: Add unit test for Kconfig gen
2019-01-25 14:11:35 +08:00
Renz Christian Bagaporo
0420f290a4
docs: remove invalid arg in confgen invocation on docs generation
2019-01-25 14:11:35 +08:00
Renz Christian Bagaporo
eb6dbeb15a
cmake: only generate sdkconfig on top level project
2019-01-25 14:11:35 +08:00
Renz Christian Bagaporo
5c9ab21d81
confgen: base config creation on output type args
2019-01-25 14:11:35 +08:00
Jiang Jiang Jian
bab379faf8
Merge branch 'bugfix/i2c_master_clear_bus_v3.2' into 'release/v3.2'
...
i2c/fix i2c_master_clear_bus (backport v3.2)
See merge request idf/esp-idf!4127
2019-01-25 13:52:48 +08:00
Jiang Jiang Jian
fb7cd2a7a7
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.2' into 'release/v3.2'
...
component/bt: add a option to make report adv data and scan response individually (backport v3.2)
See merge request idf/esp-idf!4157
2019-01-25 13:52:16 +08:00
Ivan Grokhotkov
c208a6b451
Merge branch 'bugfix/mqtt_tests_local_broker_v3.2' into 'release/v3.2'
...
MQTT tests: connect to local broker in CI (Backport 3.2)
See merge request idf/esp-idf!4119
2019-01-24 22:00:26 +08:00
Tian Hao
78511c3cc3
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:43:36 +08:00
Jiang Jiang Jian
cd6bbaa727
Merge branch 'bugfix/bootloader_map_size_v3.2' into 'release/v3.2'
...
bootloader: fix incorrect mapping size (backport v3.2)
See merge request idf/esp-idf!4138
2019-01-24 14:09:35 +08:00
Jiang Jiang Jian
55b8f2ea8c
Merge branch 'bugfix/sha_ownership_v3.2' into 'release/v3.2'
...
hwcrypto sha: Allow SHA contexts to be shared between tasks (backport v3.2)
See merge request idf/esp-idf!4143
2019-01-24 14:08:35 +08:00
qiyueixa
ec2f1a6b9a
test: modify the reason code from 204 to 15 in WIFI_CONN_0904
2019-01-24 11:33:06 +08:00
qiyueixa
26646b5b31
mesh: bugfix
...
1. fix network channel switch function.
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.
5. add allow_router_switch to mesh router configuration.
6. support handling beacon without IE of DS Parameter Set.
7. fix Wi-Fi RX fails in a specific scenario (update libphy.a).
8. fix STAs can not detect disconnection from AP when encrypt transmission is used.
9. fix can not find hidden APs.
10. for root, modify the active scan time to 120ms.
11. remove all rc when clear parent Wi-Fi configuration.
12. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
13. fix modify IE encrypt after mesh is started.
14. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
15. fix reason is cleared before vote is done.
16. fix issues in the example of manual_networking when mesh network is encrypted.
17. detect and fix root conflicts when router BSSID is not set.
18. 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.
19. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
20. fix routing table redundant issue due to the remove announcement is not 100% reliable.
21. modify the max routes limitation from 300 to 1000.
22. wifi: fix ap does not deauth the sta which has not yet completed the 4-way handshake but the max replay count is reached.
2019-01-24 11:31:00 +08:00
Jiang Jiang Jian
1ae9a2ae0b
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.2' into 'release/v3.2'
...
esp32: fix invalid channel state information(CSI) data index (backort v3.2)
See merge request idf/esp-idf!4129
2019-01-23 22:14:04 +08:00
Jiang Jiang Jian
28eb488892
Merge branch 'bugfix/vfs_unregister_nested_v3.2' into 'release/v3.2'
...
vfs: fix unregister removing top level VFS instead of nested (backport v3.2)
See merge request idf/esp-idf!4137
2019-01-23 21:54:50 +08:00
Jiang Jiang Jian
fcf1dba9cd
Merge branch 'bugfix/init_memctl_v3.2' into 'release/v3.2'
...
bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.2)
See merge request idf/esp-idf!4134
2019-01-23 21:43:58 +08:00
Angus Gratton
94ed7b8298
hwcrypto sha: Use spinlocks instead of semaphores for small state changes
...
Significant performance improvement and smaller RAM footprint.
2019-01-23 18:18:13 +08:00
Angus Gratton
24fab0b7a9
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 18:18:13 +08:00
Angus Gratton
c4c1af114e
Update esptool.py to v2.6
2019-01-23 17:02:02 +08:00
Ivan Grokhotkov
b1ee25afde
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-23 17:02:02 +08:00
Ivan Grokhotkov
cccaa68467
bootloader: fix IROM and DROM swapped in log messages
2019-01-23 17:02:02 +08:00
Ivan Grokhotkov
6080767379
vfs: fix unregister removing top level VFS instead of nested
...
Credits @neoniousTR.
Fixes https://github.com/espressif/esp-idf/pull/2770
2019-01-23 16:28:48 +08:00
Ivan Grokhotkov
42b6c4953d
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.
2019-01-23 16:23:56 +08:00
XiaXiaotian
746e831c19
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:30:05 +08:00
Ivan Grokhotkov
36f9091e03
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
2019-01-22 10:15:10 +01:00
Wangjialin
553ba51924
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.
2019-01-22 11:43:55 +08:00
chuck todd
929d98538e
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!
2019-01-22 11:43:40 +08:00
jeremy
b810b32675
reduce speed of i2c master bus reset routine and release sda
2019-01-22 11:43:28 +08:00
David Cermak
00bf376bc3
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-21 06:36:02 +01:00
Jiang Jiang Jian
fe19ea977b
Merge branch 'bugfix/phy_rtc_cache_disabled_v3.2' into 'release/v3.2'
...
Fix PHY/RTC functions called in ISR, but stored in flash
See merge request idf/esp-idf!4114
2019-01-18 10:54:03 +08:00
Tian Hao
a953f73c64
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. fix task watchdog bug when wifi change channel
4. disable/enable agc to mac deinit/init
2019-01-16 22:04:49 +08:00
Jiang Jiang Jian
bed50a93f0
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state_v3.2' into 'release/v3.2'
...
esp32: fix the incorrect tx complete state issue (backport v3.2)
See merge request idf/esp-idf!4105
2019-01-13 00:10:50 +08:00
jack
a80bfc1dcf
esp32: fix the incorrect tx complete state issue
2019-01-12 19:40:52 +08:00
Jiang Jiang Jian
51d846417e
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.2' into 'release/v3.2'
...
esp32: fix wrongly deleting hardware BA index bug (backport v3.2)
See merge request idf/esp-idf!4102
2019-01-12 14:23:33 +08:00
Liu Zhi Fu
ca54a5ce2a
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 21:46:28 +08:00
Jiang Jiang Jian
7b1777dd30
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.2' into 'release/v3.2'
...
esp32: do defragmentation only for data and management frame (backport v3.2)
See merge request idf/esp-idf!4090
2019-01-11 21:25:19 +08:00
Ivan Grokhotkov
64b46ff1d9
Merge branch 'bugfix/check_dependencies_msys_v3.2' into 'release/v3.2'
...
tools: Be more helpful to MSYS32 users with package installation & check if current python is inside virtual environment (backport v3.2)
See merge request idf/esp-idf!4063
2019-01-11 15:42:20 +08:00
Sergei Silnov
c355d8a88e
python: Add check if current python is inside virtual environment
2019-01-10 09:37:21 +01:00
Roland Dobai
977af32d0f
tools: Be more helpful to MSYS32 users with package installation
2019-01-10 09:37:02 +01:00
XiaXiaotian
f0a6432717
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame
can do defragmentation.
2019-01-10 14:17:21 +08:00
Jiang Jiang Jian
c18e86a826
Merge branch 'bugfix/coex_unforce_wifi_if_no_data_buffered_in_beacon_v3.2' into 'release/v3.2'
...
esp32: unforce wifi if receiving beacon with no data buffered in dream (backport v3.2)
See merge request idf/esp-idf!4036
2019-01-10 14:11:02 +08:00
Jiang Jiang Jian
b5d53a0eff
Merge branch 'bugfix/timer_delete_dispatch_race_v3.2' into 'release/v3.2'
...
esp_timer: do not allow deleting timers while callbacks are dispatched (backport v3.2)
See merge request idf/esp-idf!4062
2019-01-10 13:44:15 +08:00
XiaXiaotian
10afc3de77
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.
2019-01-09 14:13:08 +08:00
Jiang Jiang Jian
545878d4e9
Merge branch 'bugfix/ignore_windows_conf_tools_v32' into 'release/v3.2'
...
gitignore: Add mconf-idf.exe and conf-idf.exe (v3.2)
See merge request idf/esp-idf!4071
2019-01-09 13:57:54 +08:00
Jiang Jiang Jian
ec7909956d
Merge branch 'bugfix/fix_mbox_thread_safe_issue_v3.2' into 'release/v3.2'
...
tcpip: fix mbox thread-safe issue (backport v3.2)
See merge request idf/esp-idf!4005
2019-01-09 10:21:22 +08:00
Ivan Grokhotkov
d9c3a08813
Merge branch 'bugfix/mdns_udp_send_protected_backport3.2' into 'release/v3.2'
...
mdns networking udp send protected (Backport 3.2)
See merge request idf/esp-idf!4020
2019-01-08 12:04:23 +08:00
Ivan Grokhotkov
eb9a93f9b7
Merge branch 'bugfix/mdns_crash_when_query_backport3.2' into 'release/v3.2'
...
mdns crash when query (backport 3.2)
See merge request idf/esp-idf!3950
2019-01-08 12:03:52 +08:00
Jiang Jiang Jian
710019a47f
Merge branch 'bugfix/fix_the_country_code_bug_v3.2' into 'release/v3.2'
...
wifi: fix the bug that STA can scan the channel out of the country regdomain range (backport v3.2)
See merge request idf/esp-idf!4068
2019-01-07 20:33:02 +08:00
Ivan Grokhotkov
2d27358f61
Merge branch 'feature/i2s_tx_descriptor_auto_clear_backport_v3.2' into 'release/v3.2'
...
i2s: add (optional) support to clear tx descriptor in underflow case (backport v3.2)
See merge request idf/esp-idf!4056
2019-01-07 16:34:01 +08:00
zhangyanjiao
b80eba8d5a
wifi: fix the bug that STA can scan the channel out of the country regdomain range
2019-01-04 14:34:36 +08:00
Angus Gratton
7832db7bb3
gitignore: Add mconf-idf.exe and conf-idf.exe
...
Problem since f6cd55d2ac
Closes https://github.com/espressif/esp-idf/issues/2751
2019-01-04 10:09:35 +11:00
Liu Zhi Fu
efa70bc8e3
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-02 22:48:19 +08:00
Ivan Grokhotkov
31b7db5c38
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-02 20:06:06 +11:00
Mahavir Jain
8d02ccd2f7
examples: enable option to auto clear I2S tx descriptor on underflow
...
Closes: https://github.com/espressif/esp-idf/issues/1945
(cherry picked from commit 1751607adf )
2018-12-31 13:43:34 +05:30
Mahavir Jain
62eb0f4c12
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
(cherry picked from commit 765bf674d0 )
2018-12-31 13:42:26 +05:30
Jiang Jiang Jian
155f034b1e
Merge branch 'feature/freemodbus_move_rs485_mode_control_v3.2' into 'release/v3.2'
...
examples: freemodbus port serial slave move uart mode settings into example (backport v3.2)
See merge request idf/esp-idf!4015
2018-12-29 10:28:27 +08:00
Jiang Jiang Jian
47dea73b03
Merge branch 'doc/btdm_modem_sleep_EVED_mode_for_v3.2' into 'release/v3.2'
...
doc/btdm_modem_sleep_EVED_mode_for_v3.2(backport v3.2)
See merge request idf/esp-idf!4016
2018-12-29 10:27:52 +08:00
Jiang Jiang Jian
28fdf96828
Merge branch 'bugfix/ota_magic_byte_issue_v3.2' into 'release/v3.2'
...
Bugfix/ota magic byte issue v3.2(backport v3.2)
See merge request idf/esp-idf!4004
2018-12-29 10:24:24 +08:00
Jiang Jiang Jian
3969fe0dad
Merge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover_v3.2' into 'release/v3.2'
...
add hostname option in dhcp discover (backport v3.2)
See merge request idf/esp-idf!3938
2018-12-29 10:07:50 +08:00
Jiang Jiang Jian
c70c25afd0
Merge branch 'mesh/bugfix_v3.2' into 'release/v3.2'
...
mesh: when no parent is found, send probe request
See merge request idf/esp-idf!3940
2018-12-28 14:02:23 +08:00
Jiang Jiang Jian
d59d9eef4f
Merge branch 'bugfix/bbpll_wakeup_reset_v3.2' into 'release/v3.2'
...
BBPLL reset fixes (backport v3.2)
See merge request idf/esp-idf!4011
2018-12-24 18:16:47 +08:00
David Cermak
22514e12d8
mdns: fix networking running udp_sendif from lwip thread
2018-12-21 16:44:15 +01:00
David Cermak
f48ffb37f2
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-21 16:27:58 +01:00
David Cermak
0f041ee7bb
mdns: fixed static memory leak
2018-12-21 16:26:39 +01:00
David Cermak
c320a3ee4c
mdns: resolve memory leak when txt record received multiple times
2018-12-21 16:26:39 +01:00
David Cermak
1f35716ef4
mdns: skip sending search when finished, not properly locked timer task
2018-12-21 16:26:39 +01:00
wangmengyang
358de85eb3
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:29:47 +08:00
qiyueixa
84277e5887
mesh: when no parent is found, send probe request via broadcast
...
1. fix error in checking Wi-Fi commit ID.
2018-12-21 17:49:58 +08:00
Jiang Jiang Jian
52a70e0489
Merge branch 'bugfix/ext_ram_bss_align_v3.2' into 'release/v3.2'
...
Fix ext_ram_bss alignment crash (backport v3.2)
See merge request idf/esp-idf!4014
2018-12-21 17:31:33 +08:00
aleks
6523d912f2
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-21 09:54:26 +01:00
Angus Gratton
aa0d2078b7
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-21 19:03:12 +11:00
Angus Gratton
348d6d5d3f
multi_heap: Fix bug when start of heap is unaligned
...
Alignment was accounted for in one place only.
TW27954
2018-12-21 19:03:12 +11:00
Angus Gratton
46228db9a8
linker external bss: Align end of ext bss to word boundary
...
TW27954
2018-12-21 19:03:12 +11:00
Jiang Jiang Jian
2cac11f162
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex_v3.2' into 'release/v3.2'
...
component/bt: fix crash when adv and scan coex and optimize duplicate scan (backport v3.2)
See merge request idf/esp-idf!3994
2018-12-21 15:59:53 +08:00
Jiang Jiang Jian
64eeee4532
Merge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.2' into 'release/v3.2'
...
components/bt: Fix two bugs about pairing(backport 3.2)
See merge request idf/esp-idf!3995
2018-12-21 14:26:19 +08:00
Jiang Jiang Jian
a9eb37e2c8
Merge branch 'bugfix/btdm_prevent_light_sleep_for_v3.2' into 'release/v3.2'
...
bugfix/btdm_prevent_light_sleep_for_v3.2(backport v3.2)
See merge request idf/esp-idf!3986
2018-12-21 14:25:49 +08:00
Ivan Grokhotkov
c7a297195f
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-21 12:40:08 +08:00
Ivan Grokhotkov
19e96add8a
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-21 12:39:49 +08:00
Ivan Grokhotkov
a0a0328e4f
Merge branch 'bugfix/idf_monitor_without_toolchain_v3.2' into 'release/v3.2'
...
tools: Print useful error message from idf_monitor when toolchain isn't available (backport v3.2)
See merge request idf/esp-idf!3949
2018-12-21 12:01:54 +08:00
Supreet Deshpande
04aebc464c
bugfix/ota_magic_byte_issue: Fix indent and replace constant by macro
...
Replace 0xE9 by ESP_IMAGE_HEADER_MAGIC.
2018-12-20 12:29:25 +05:30
Supreet Deshpande
30e01847ad
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-20 12:29:00 +05:30
zwj
3f6033d8bd
fix crash when adv and scan coex and optimize duplicate scan
2018-12-19 19:53:01 +08:00
baohongde
45e59a9f56
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-19 19:42:47 +08:00
wangmengyang
587e6ec93f
component/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due to current imcompatibility
2018-12-18 14:51:19 +08:00
Jiang Jiang Jian
6d00c7fc49
Merge branch 'bugfix/btdm_assert_ble_65536_v3.2' into 'release/v3.2'
...
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!3968
2018-12-18 12:03:21 +08:00
Jiang Jiang Jian
c418714ec6
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.2' into 'release/v3.2'
...
Component/bt: fix receive adv pkt when enable duplicate scan (backport v3.2)
See merge request idf/esp-idf!3942
2018-12-18 11:45:28 +08:00
Jiang Jiang Jian
19d8c050cd
Merge branch 'bugfix/tw27963_fix_wifi_stop_bug_v3.2' into 'release/v3.2'
...
esp32: fix WiFi stop bug in WiFi/BT coexist mode (backport v3.2)
See merge request idf/esp-idf!3982
2018-12-18 11:41:03 +08:00
Liu Zhi Fu
cb650382ca
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:52:40 +08:00
Tian Hao
e5e592e5b6
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
2018-12-17 20:50:42 +08:00
zhiweijian
28e20e90e3
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:51:28 +08:00
Jiang Jiang Jian
1c4d9f2aca
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.2' into 'release/v3.2'
...
Bugfix/btdm modem sleep cowork with dfs for v3.2(backport v3.2)
See merge request idf/esp-idf!3962
2018-12-14 20:28:31 +08:00
Jiang Jiang Jian
ded8b0102a
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.2' into 'release/v3.2'
...
Component/bt: fix auth_mode error when reconnection in SMP (backport v3.2)
See merge request idf/esp-idf!3955
2018-12-14 18:24:01 +08:00
wangmengyang
401970495d
component/bt: add DRAM_ATTR attribute to global variables(mostly in bss segment) in bt.c which can be accessed in ISR
2018-12-14 14:59:41 +08:00
Jiang Jiang Jian
5d46bb596d
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond_v3.2' into 'release/v3.2'
...
Component/bt: fix save keys when auth mode without bond (backport V3.2)
See merge request idf/esp-idf!3957
2018-12-14 14:59:24 +08:00
wangmengyang
8de9149b11
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-14 14:56:29 +08:00
Roland Dobai
e8b8946e6e
tools: Print useful error message from idf_monitor when toolchain isn't available
2018-12-13 22:03:25 +01:00
zhiweijian
2c1e3d1ef2
Component/bt: fix save keys when auth mode without bond
2018-12-13 15:45:53 +08:00
zhiweijian
bf608b6709
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-13 15:33:37 +08:00
Jiang Jiang Jian
24ebdbd3f4
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.2' into 'release/v3.2'
...
test: add case to detect ds2ds issue (backport v3.2)
See merge request idf/esp-idf!3851
2018-12-13 14:52:58 +08:00
Jiang Jiang Jian
fd00d3213b
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.2' into 'release/v3.2'
...
Component/bt: fix accept specified sec auth error(backport v3.2)
See merge request idf/esp-idf!3836
2018-12-13 11:20:02 +08:00
Jiang Jiang Jian
c921a5bc4b
Merge branch 'feature/illegal_instruction_panic_info_v3.2' into 'release/v3.2'
...
panic: dump some instruction memory on IllegalInstruction exception (backport v3.2)
See merge request idf/esp-idf!3946
2018-12-12 15:58:22 +08:00
Ivan Grokhotkov
ade85cc850
panic: dump some instruction memory on IllegalInstruction exception
2018-12-12 11:58:55 +08:00
Xia Xiaotian
5c8d25b795
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-10 21:26:24 +08:00
Jiang Jiang Jian
ac051f0afc
Merge branch 'bugfix/btdm_assert_ble_32768_v3.2' into 'release/v3.2'
...
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!3919
2018-12-10 15:04:44 +08:00
Jiang Jiang Jian
bb47146710
Merge branch 'fix/spi_callback_in_iram_v3.2' into 'release/v3.2'
...
spi: fix the crash when callbacks are not in the IRAM (Backports v3.2)
See merge request idf/esp-idf!3884
2018-12-07 10:37:07 +08:00
Jiang Jiang Jian
07cb228f64
Merge branch 'bugfix/win_path_print_v3.2' into 'release/v3.2'
...
tools: correct printed path on MS Win (backport v3.2)
See merge request idf/esp-idf!3913
2018-12-07 10:36:31 +08:00
Jiang Jiang Jian
3cfe1c89b5
Merge branch 'ci/combine_unit_test_and_integration_test_v3.2' into 'release/v3.2'
...
ci: combine unit_test and integration_test stage (backport v3.2)
See merge request idf/esp-idf!3845
2018-12-07 10:36:00 +08:00
Jiang Jiang Jian
4f805d558c
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.2' into 'release/v3.2'
...
driver(uart): fixed uart read error bug when using dual core (backport v3.2)
See merge request idf/esp-idf!3813
2018-12-07 10:35:17 +08:00
Jiang Jiang Jian
f53716d851
Merge branch 'bugfix/idfpy_monitor_msys_v3.2' into 'release/v3.2'
...
tools: fix idf.py monitor for MSYS (backport v3.2)
See merge request idf/esp-idf!3898
2018-12-07 10:34:44 +08:00
He Yin Ling
f8fd922ca5
unit-test-app: fix the RegEx to detect test case:
...
tags are not correctly parsed if eol do not contain `\r`
2018-12-07 02:04:55 +00:00
He Yin Ling
61d07ffbfc
tiny-test-fw: fix exception when expect RegEx:
...
match.groups() could return None. We can't do decode on None object.
2018-12-07 02:04:55 +00:00
He Yin Ling
6b5649190f
test: add test case to receive ds2ds packet
2018-12-07 02:04:55 +00:00
Tian Hao
f44507de53
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
2018-12-06 21:35:19 +08:00
Roland Dobai
88c7a61a63
tools: correct the coding style of check_python_dependencies.py
2018-12-06 08:33:17 +01:00
Roland Dobai
6af90457f7
tools: correct printed path on MS Win
2018-12-06 08:32:45 +01:00
Ivan Grokhotkov
3aafb2cfcf
Merge branch 'bugfix/ethernet_enable_second_failure_v3.2' into 'release/v3.2'
...
fix phy init timeout(backport v3.2)
See merge request idf/esp-idf!3896
2018-12-06 15:22:32 +08:00
Roland Dobai
8ec0c82c3f
tools: fix idf.py monitor for MSYS
2018-12-05 10:48:30 +01:00
morris
a338c1b712
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-05 16:32:24 +08:00
Jiang Jiang Jian
0b21be508e
Merge branch 'bugfix/btdm_bugs_caused_by_coex_v3.2' into 'release/v3.2'
...
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
See merge request idf/esp-idf!3861
2018-12-05 14:17:25 +08:00
Ivan Grokhotkov
3b4d51bbfa
Merge branch 'doc/security_features_small_fixes_v3.2' into 'release/v3.2'
...
doc: Small secure boot & flash encryption corrections (v3.2)
See merge request idf/esp-idf!3888
2018-12-05 11:07:41 +08:00
Angus Gratton
60c556eb55
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:20:05 +11:00
Angus Gratton
9933e37c8b
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-05 11:20:05 +11:00
Angus Gratton
67bdc8aaf4
doc: security: Use less ambiguous language about using bot flash encryption & secure boot together
2018-12-05 11:20:05 +11:00
Michael (XIAO Xufeng)
44bd6f72bc
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-12-04 21:35:20 +08:00
Tian Hao
2d67ce3109
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:30:28 +08:00
He Yin Ling
e85cb6d148
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-30 13:44:11 +08:00
Angus Gratton
7658b8ab62
Merge branch 'test/enhanced_junit_test_result_v3.2' into 'release/v3.2'
...
test: enhanced junit test result (backport v3.2)
See merge request idf/esp-idf!3794
2018-11-30 11:39:31 +08:00
Ivan Grokhotkov
7969a566e3
Merge branch 'bugfix/fat_lock_log_v3.2' into 'release/v3.2'
...
fatfs: Do not log from critical sections (backport v3.2)
See merge request idf/esp-idf!3721
2018-11-29 23:00:55 +08:00
Ivan Grokhotkov
be05b1e654
Merge branch 'bugfix/uart_select_buffer_v3.2' into 'release/v3.2'
...
VFS: select() on UART should return immediately when data is buffered (backport v3.2)
See merge request idf/esp-idf!3829
2018-11-29 23:00:17 +08:00
zhiweijian
ca51b60033
Component/bt: fix accept specified sec auth error
2018-11-29 20:46:08 +08:00
Ivan Grokhotkov
9b3ff1bed0
Merge branch 'bugfix/i2c_hardware_filter_default_enable_v3.2' into 'release/v3.2'
...
driver(i2c): enable I2C master hardware filter by default for release/v3.2
See merge request idf/esp-idf!3815
2018-11-29 19:28:32 +08:00
Roland Dobai
f859f9e25b
VFS: select() on UART should return immediately when data is buffered
2018-11-29 10:08:26 +01:00
Jiang Jiang Jian
f2ae151dab
Merge branch 'bugfix/btdm_rf_reg_v3.2' into 'release/v3.2'
...
fix bug to unsupport rf reg access from hci cmd
See merge request idf/esp-idf!3786
2018-11-28 21:20:05 +08:00
kooho
bae0d8a313
driver(i2c): enable I2C master hardware filter by default for release/v3.2
2018-11-28 17:02:04 +08:00
kooho
cfcc0edc33
driver(uart): fixed uart read error bug when using dual core for release/v3.2.
2018-11-28 16:37:59 +08:00
He Yin Ling
54e6f0793a
ci: split build unit test job:
...
it takes long time to build with both make and cmake
2018-11-26 21:59:42 +08:00
He Yin Ling
e98f4d2751
ci: use artifacts:reports feature of Gitlab CI
2018-11-26 17:06:41 +08:00
He Yin Ling
33cf0faac8
ci: assign unit test cases in sequence of config and name
2018-11-26 17:06:40 +08:00
He Yin Ling
7385e71c84
test: fix unit test script code style warnings
2018-11-26 17:05:04 +08:00
He Yin Ling
7778ce83bd
test: generate junit test report according to executed cases
2018-11-26 17:05:04 +08:00
He Yin Ling
0f8070a6fd
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 17:05:04 +08:00
He Yin Ling
0fcb9056f8
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-26 17:05:04 +08:00
Roland Dobai
5110d4b303
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-26 09:21:44 +01:00
Angus Gratton
fc19954376
Merge branch 'bugfix/adjtime_test2_v3.2' into 'release/v3.2'
...
Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly" (backport v3.2)
See merge request idf/esp-idf!3791
2018-11-26 16:17:05 +08:00
Konstantin Kondrashov
16d32c58e7
newlib: Fix UT adjtime
2018-11-26 15:55:17 +11:00
Angus Gratton
3d926da642
Merge branch 'bugfix/fix_cmake_args_issue_backport_3.2' into 'release/v3.2'
...
Fix cmake args issue (backport 3.2)
See merge request idf/esp-idf!3789
2018-11-26 09:53:38 +08:00
Tian Hao
9bb719dd68
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-24 14:21:25 +08:00
Jiang Jiang Jian
536cb0489e
Merge branch 'bugfix/fix_some_wifi_bugs_1121_v3.2' into 'release/v3.2'
...
esp32: fix some wifi bugs (backport v3.2)
See merge request idf/esp-idf!3762
2018-11-23 17:08:31 +08:00
Renz Christian Bagaporo
98c7cb5560
cmake: remove unecessary info passed to bootloader build
2018-11-23 16:12:14 +08:00
Renz Christian Bagaporo
4baf333c79
ulp: fix passing ulp srcs due to cmake_args bug
2018-11-23 16:10:54 +08:00
Jiang Jiang Jian
79401934a1
Merge branch 'bugfix/backports_v3.2' into 'release/v3.2'
...
Multiple v3.2 backports
See merge request idf/esp-idf!3727
2018-11-23 13:43:24 +08:00
Jiang Jiang Jian
ec1daf32e1
Merge branch 'bugfix/btdm_move_func_into_iram_v3.2' into 'release/v3.2'
...
components/bt: Move function in interrupt into IRAM(backport 3.2)
See merge request idf/esp-idf!3758
2018-11-23 13:39:27 +08:00
Liu Zhi Fu
1cac0d2cf2
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-22 20:27:52 +08:00
baohongde
8d1594c339
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 16:19:21 +08:00
Jiang Jiang Jian
a0f516de0b
Merge branch 'mesh/bugfix_v3.2_backport' into 'release/v3.2'
...
mesh: bugfix (backport3.2)
See merge request idf/esp-idf!3771
2018-11-22 10:22:12 +08:00
qiyueixa
802d94aa35
utest: increase IDF_PERFORMANCE_MAX_VFS_OPEN_WRITE_CLOSE_TIME to 50000
2018-11-22 00:39:38 +08:00
qiyueixa
3c3e375d8d
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-22 00:39:02 +08:00
Ivan Grokhotkov
d57ea422be
Merge branch 'bugfix/cmake_utf_decode_v3.2' into 'release/v3.2'
...
tools: Fix Unicode decode error & indentation error (backport v3.2)
See merge request idf/esp-idf!3733
2018-11-21 11:44:54 +08:00
Ivan Grokhotkov
3b3242cbae
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-21 03:42:15 +00:00
Ivan Grokhotkov
96c2b34eb9
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-21 03:42:15 +00:00
Ivan Grokhotkov
6b3a8acdc3
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-21 03:42:15 +00:00
Ivan Grokhotkov
a10abd695b
freertos: fix compilation warning in single core mode
...
When tickless idle is enabled
2018-11-21 03:42:15 +00:00
Ivan Grokhotkov
0f28a51996
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-21 03:42:15 +00:00
Ivan Grokhotkov
6681096e55
Merge branch 'bugfix/mdns_query_failed_after_init_v3.2' into 'release/v3.2'
...
Fixed: mdns query failed after init (Backport v3.2)
See merge request idf/esp-idf!3729
2018-11-21 11:41:34 +08:00
Jiang Jiang Jian
18b65dca26
Merge branch 'bugfix/btdm_controller_disable_v3.2' into 'release/v3.2'
...
Fix two bugs when disable bluetooth controller(backport v3.2)
See merge request idf/esp-idf!3716
2018-11-21 11:26:14 +08:00
Jiang Jiang Jian
a398116b1c
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.2' into 'release/v3.2'
...
Component/bt: add check peer addr type in set adv params (backport v3.2)
See merge request idf/esp-idf!3734
2018-11-20 20:02:37 +08:00
Tian Hao
331c7c7dc3
Fix two bugs when disable bluetooth controller
...
1. Fix the bug that disable controller suddenly cause crash when ble is working.
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc.
2018-11-20 09:01:57 +00:00
Jiang Jiang Jian
7bd9559e7e
Merge branch 'bugfix/wifi_sta_sniffer_phy_config_bug_v3.2' into 'release/v3.2'
...
wifi: fix wifi sta and sniffer phy config bug (backport v3.2)
See merge request idf/esp-idf!3718
2018-11-20 14:20:29 +08:00
Ivan Grokhotkov
e84289077c
Merge branch 'bugfix/fix_bug_ethernet_v3.2' into 'release/v3.2'
...
ethernet: fix some bugs in phy&mac driver(backport v3.2)
See merge request idf/esp-idf!3640
2018-11-19 17:54:27 +08:00
zhiweijian
c59c40741b
Component/bt: add check peer addr type in set adv params
2018-11-19 17:15:41 +08:00
Roland Dobai
f3c1903791
tools: Fix UTF decode error
2018-11-19 10:11:34 +01:00
morris
2885ec3831
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-19 14:55:43 +08:00
morris
a7db0e2291
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-19 14:55:43 +08:00
morris
cb98f5a814
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
5. Fix potential memory leak
2018-11-19 14:55:43 +08:00
Jiang Jiang Jian
8725bce5bc
Merge branch 'bugfix/btdm_errors_in_comment_v3.2' into 'release/v3.2'
...
components/bt: Some errors in comment(backport 3.2)
See merge request idf/esp-idf!3713
2018-11-19 14:36:45 +08:00
David Cermak
174b3b89e4
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-19 04:38:04 +01:00
zhangyanjiao
8d9d8e27ca
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.
2018-11-16 19:09:31 +08:00
Jiang Jiang Jian
93f4dc6b32
Merge branch 'bugfix/btdm_fuction_in_isr_is_not_in_iram_v3.2' into 'release/v3.2'
...
components/bt: Put function in isr into iram(backport 3.2)
See merge request idf/esp-idf!3689
2018-11-16 18:15:01 +08:00
baohongde
b021bbdc80
components/bt: Some errors in comment
2018-11-16 15:27:28 +08:00
baohongde
c9fe4fa13e
components/bt: Put function in isr into iram(backport 3.2)
2018-11-16 07:19:51 +00:00
Ivan Grokhotkov
96252c493a
Merge branch 'bugfix/app_template_build_v3.2' into 'release/v3.2'
...
esp-idf-template app: some fixes for the updated template app (backport v3.2)
See merge request idf/esp-idf!3700
2018-11-16 15:18:36 +08:00
Mahavir Jain
007a4fcc4e
tools: fix cmake build script for sdkconfig test
2018-11-16 02:48:35 +00:00
Anton Maklakov
dbeb8ae02a
cmake: fix the creation dummy main to avoid rebuilding
2018-11-16 02:48:35 +00:00
Anton Maklakov
9921c8b91f
ci: If there is no sdkconfig, we have to generate one
2018-11-16 02:48:35 +00:00
Jiang Jiang Jian
e16f65f4e6
Merge branch 'bugfix/tw27096_fix_lwip_mbox_free_crash_v3.2' into 'release/v3.2'
...
fix the crash caused by sys_mbox_free (backport v3.2)
See merge request idf/esp-idf!3676
2018-11-15 10:31:46 +08:00
Jiang Jiang Jian
fe0a5b41bf
Merge branch 'bugfix/fix_memory_leak_for_v3.2' into 'release/v3.2'
...
Component/bt: fix memory leak in service change(backport v3.2)
See merge request idf/esp-idf!3685
2018-11-14 15:35:03 +08:00
zhiweijian
1f7c54ae85
Component/bt: fix memory leak in service change
2018-11-12 19:41:19 +08:00
Jiang Jiang Jian
049bd9fe0a
Merge branch 'bugfix/mesh_start_stop_v3.2' into 'release/v3.2'
...
mesh: update libs (backport3.2)
See merge request idf/esp-idf!3648
2018-11-12 15:59:14 +08:00
Ivan Grokhotkov
167fb50a22
Merge branch 'temp/release_v3_2_fastforward' into 'release/v3.2'
...
release v3.2 fastforward
See merge request idf/esp-idf!3678
2018-11-12 15:31:58 +08:00
Liu Zhi Fu
5f3b532c8d
lwip: fix crash caused by sys_mbox_free
...
Fix lwip crashed bug caused by sys_mbox_free()
2018-11-11 12:17:36 +08:00
qiyuexia
841a6dcd9a
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 23:00:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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