He Yin Ling
e5f754b26c
versions: Update version to 4.0.2
2020-11-05 09:38:34 +08:00
Jiang Jiang Jian
4904606461
Merge branch 'bugfix/scan_issue_sha256_ap_v4.0' into 'release/v4.0'
...
scan: Fix scan issue with PSK-SHA256 AP's (Backport v4.0)
See merge request espressif/esp-idf!11070
2020-11-02 22:01:42 +08:00
Nachiket Kukade
b7ccfb921f
esp_wifi: Update wifi lib
...
AP's with WPA2-PSK-SHA256 key management were incorrectly
categorized as Open. Update WiFi libs with the fix.
2020-11-02 12:03:17 +05:30
Jiang Jiang Jian
25813ebe2b
Merge branch 'bugfix/tx_prog_dram_crash_v4.0_1' into 'release/v4.0'
...
components/bt: fixed tx_prog insert error(new for ci release/v4.0)
See merge request espressif/esp-idf!10980
2020-10-26 21:34:41 +08:00
Jiang Jiang Jian
db733d7321
Merge branch 'bugfix/fix_tsf_bug_v4.0' into 'release/v4.0'
...
WiFi: fix tsf bug (backport v4.0)
See merge request espressif/esp-idf!10950
2020-10-26 21:32:44 +08:00
wangcheng
4ae63961cd
components/bt: fixed tx_prog insert error
2020-10-26 13:24:17 +08:00
zhangyanjiao
55acc10303
esp_wifi: Fixed the bug for timestamp check, didn't disconnect AP when AP's timestamp decrease abnormally
2020-10-26 02:10:39 +00:00
He Yin Ling
f28111b6fe
Merge branch 'feature/move_auto_test_script_to_new_repo_4.0' into 'release/v4.0'
...
ci: move auto_test_script to new repo (backport 4.0)
See merge request espressif/esp-idf!10880
2020-10-24 09:25:35 +08:00
Chen Yu Dong
dcb5d956d3
test: move auto test script to new repo (backport)
...
+ known issue
2020-10-24 09:25:33 +08:00
Jiang Jiang Jian
77dc24908c
Merge branch 'bugfix/ipv6_ping_error_when_src_ip_miss_for_4.0' into 'release/v4.0'
...
lw-ip:bugfix ipv6 ping error when src ip miss for 4.0(backport 4.0)
See merge request espressif/esp-idf!10934
2020-10-23 11:28:56 +08:00
xueyunfei
17e053930e
bugfix ipv6 ping error when src ip miss for 4.0
2020-10-21 20:45:10 +08:00
Jiang Jiang Jian
1c7607d4a6
Merge branch 'bugfix/assert_no_IRAM_ATTR_v4.0' into 'release/v4.0'
...
btdm fix cache disable crash, insert the llcp packet to the top of the tx_prog
See merge request espressif/esp-idf!10779
2020-10-13 12:30:59 +08:00
Jiang Jiang Jian
42e380270c
Merge branch 'bugfix/pmf_softap_coex_issue_v4.0' into 'release/v4.0'
...
Fix issues related to PMF and WPA2-Enterprise (Backport v4.0)
See merge request espressif/esp-idf!10698
2020-10-13 12:26:21 +08:00
wangcheng
e9dfea8421
components/bt:btdm fix cache disable crash, insert the llcp packet to the top of the tx_prog
2020-10-11 15:20:40 +08:00
Nachiket Kukade
0016d20946
esp_wifi: Update wifi lib
...
1. Add STA checks during STA PMF operations
2. Fix WPA2-Ent issue with Open AP
3. Skip WPA-TKIP profile if PMF is required
4. Skip & clear Supplicant PMK Cache for mismatching AP config
2020-10-10 10:10:11 +00:00
Jiang Jiang Jian
d4499598e4
Merge branch 'bugfix/fix_ble_hci_desync_deadlock_v4.0' into 'release/v4.0'
...
components/bt: Backport of the BLE controller fix for hci desync deadlock v4.0
See merge request espressif/esp-idf!10129
2020-10-10 17:50:46 +08:00
Chinmay Chhajed
7af4c6f840
components/bt: Fix for HCI desync deadlock issue in BLE controller
2020-10-10 16:35:18 +08:00
Jiang Jiang Jian
c783abc2e3
Merge branch 'bugfix/assert_rx_link_v4.0_fix_mr_v4.0' into 'release/v4.0'
...
fix assert(10,9), when missing evt_end or rx and evt_end come the same time v4.0.
See merge request espressif/esp-idf!10422
2020-10-09 19:54:06 +08:00
Angus Gratton
3e44ebd3d7
Merge branch 'bugfix/ci_auto_checkout_revision_of_project_used_in_ci_v4.0' into 'release/v4.0'
...
CI: get git describe from annotated tags (v4.0)
See merge request espressif/esp-idf!10675
2020-10-08 16:44:52 +08:00
Angus Gratton
893d74f6ef
ci: Check version tags are always annotated
...
Closes https://github.com/espressif/esp-idf/issues/3114
2020-10-07 13:55:53 +11:00
Angus Gratton
3350a108c3
build system: Also get IDF version from annotated tags only
...
Builds on previous commit.
Note: Getting the project version still pases --tags so still works with plain
tags, to keep compatibility for existing projects
2020-10-07 13:55:53 +11:00
He Yin Ling
ac545ce97c
CI: get git describe from annotated tags:
...
we should only parse IDF version from annotated tags
2020-09-30 11:33:52 +08:00
Jiang Jiang Jian
445822104a
Merge branch 'bugfix/fix_receiving_packets_from_myself_v4.0' into 'release/v4.0'
...
esp_wifi: drop receiving packets from myself (backport v4.0)
See merge request espressif/esp-idf!10567
2020-09-24 22:35:19 +08:00
Jiang Jiang Jian
dabceb4fe4
Merge branch 'bugfix/ipv6_send_data_error_when_src_ip_miss_for_4.0' into 'release/v4.0'
...
lw-ip:ipv6 send multicast data fail when src address is null (backport 4.0)
See merge request espressif/esp-idf!10561
2020-09-24 22:35:10 +08:00
Jiang Jiang Jian
e6816163fe
Merge branch 'bugfix/wifi_spin_lock_allocation_in_PSRAM_v4.0' into 'release/v4.0'
...
wifi: Fix spin lock allocation in PSRAM bug(v4.0)
See merge request espressif/esp-idf!10551
2020-09-23 19:01:12 +08:00
Mahavir Jain
daab8014fb
Merge branch 'bugfix/libcoap_update_tinydtls_repo' into 'release/v4.0'
...
coap: update libcoap to fix its broken submodule pointer
See merge request espressif/esp-idf!10440
2020-09-23 18:25:49 +08:00
xiehang
a1fe8fa851
esp_wifi: drop receiving packets from myself
2020-09-23 14:34:31 +08:00
Jiang Jiang Jian
3687627226
Merge branch 'bugfix/update_esp32_phy_4390_v4.0' into 'release/v4.0'
...
esp_wifi: update phy v4390(backport v4.0)
See merge request espressif/esp-idf!10489
2020-09-23 13:51:15 +08:00
xueyunfei
0fe7ac0bd7
ipv6 send multicast data fail when src address is null for 4.0
2020-09-22 17:18:49 +08:00
dongyou
9039ddb20c
Fix spin lock allocation in PSRAM bug
2020-09-22 14:19:56 +08:00
Jiang Jiang Jian
c308562a31
Merge branch 'bugfix/btdm_spp_null_ptr_with_dynamic_memory_v4.0' into 'release/v4.0'
...
components/bt: Fix SPP using NULL point with dynamic memory
See merge request espressif/esp-idf!10324
2020-09-17 20:28:43 +08:00
ChenJianxing
293c2d95f6
esp_wifi: update phy v4390(backport v4.0)
2020-09-17 16:08:50 +08:00
Mahavir Jain
374b756f6b
coap: update libcoap to fix its broken submodule pointer
...
Though IDF v4.0 does not have dependency on `tinydtls` repository
within libcoap, it created problem in recursive clone. This commit
picks up change from upstream libcoap release-v4.2.0 to update
`tinydtls` repository pointer.
More information at:
https://github.com/obgm/libcoap/pull/531
Merges https://github.com/espressif/esp-idf/pull/5626
2020-09-14 10:59:52 +05:30
wangcheng
e3ecb8d073
fix assert(10,9), when missing evt_end or rx and evt_end come the same time
2020-09-14 10:48:59 +08:00
baohongde
9263b84f37
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:46:09 +08:00
Anton Maklakov
6093407d78
Merge branch 'feature/toolchain_2020r3_v4.0' into 'release/v4.0'
...
Update toolchain to esp-2020r3 (backport v4.0)
See merge request espressif/esp-idf!10278
2020-09-07 14:44:52 +08:00
Jiang Jiang Jian
0fda05cc83
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.0' into 'release/v4.0'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.0
See merge request espressif/esp-idf!10253
2020-09-07 14:18:09 +08:00
Michael (XIAO Xufeng)
df7028dc52
Merge branch 'bugfix/spi_flash_yield_coredump_v4.0' into 'release/v4.0'
...
spi_flash: don't call vTaskDelay in non-os context (backport v4.0)
See merge request espressif/esp-idf!10299
2020-09-07 13:24:38 +08:00
Ivan Grokhotkov
c928bcc4b8
spi_flash: don't call vTaskDelay in non-os context
...
Fixes regression in core dump, when a crash happens in interrupt
context.
2020-09-04 21:24:32 +02:00
Jiang Jiang Jian
5812a935ba
Merge branch 'feature/esp_spp_stop_srv_v4.0' into 'release/v4.0'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.0]
See merge request espressif/esp-idf!10013
2020-09-04 20:00:41 +08:00
wangcheng
2ba90c8453
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:24:23 +08:00
Anton Maklakov
7009d7bcfe
Update toolchain to esp-2020r3
...
Fixup more for PSRAM issue;
Allow GDB work correctly with Privileged Registers;
Based on GCC 8.4.0;
Update a fix of C++ exception crashs from the GCC mainline;
Fixup strptime_l() and some locale in libc;
Closes https://github.com/espressif/esp-idf/issues/5765
2020-09-04 13:20:39 +07:00
Jiang Jiang Jian
06fea3a2f7
Merge branch 'bugfix/update_esp32_phy_4370_v4.0' into 'release/v4.0'
...
esp_wifi: update esp32 phy v4370(Backport v4.0)
See merge request espressif/esp-idf!10025
2020-09-04 11:29:45 +08:00
ChenJianxing
e59336337c
esp_wifi: update esp32 phy v4370
...
fix sleep wakeup optimizaion do not cover 480M bbpll configuration,
which cause CPU working in 240M mode RX throughput is low.
2020-09-03 20:15:17 +08:00
Jiang Jiang Jian
749e71e8e2
Merge branch 'feature/pmf_espnow_coexistance_v4.0' into 'release/v4.0'
...
espnow/pmf: Implement ESPNOW + PMF Co-existance (Backport v4.0)
See merge request espressif/esp-idf!10247
2020-09-03 16:23:41 +08:00
Michael (XIAO Xufeng)
3f96604fda
Merge branch 'bugfix/fix_i2s_reset_issue_v4.0' into 'release/v4.0'
...
Bugfix/fix i2s reset issue v4.0
See merge request espressif/esp-idf!9585
2020-09-03 11:07:38 +08:00
Michael (XIAO Xufeng)
013654cc11
Merge branch 'feature/vfs_uart_set_line_ending_v4.0' into 'release/v4.0'
...
feature: support vfs uart set line endings with specified uart number release/v4.0
See merge request espressif/esp-idf!9598
2020-09-03 00:48:43 +08:00
wangcheng
ce1905d6b5
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:33:06 +08:00
Nachiket Kukade
4d8ba4b4de
espnow/pmf: Implement ESPNOW + PMF Co-existance
...
H/W decryption of Mgmt frames was disabled for PMF and done through
S/W. If ESPNOW packets go through this path, it affects backward
compatibility since method of decrypting Mgmt packets is different in H/W.
To address PMF + ESPNOW Co-existance, CCMP decryption method is modified
for ESPNOW packets so that they can be decrypted correctly. Since Tx
of ESPNOW packets can still be done in H/W alongside PMF, no change
required in encryption method in S/W.
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com >
Co-Authored-By: zhangyanjiao <zhangyanjiao@espressif.com >
Co-Authored-By: kapil.gupta <kapil.gupta@espressif.com >
2020-09-02 15:02:45 +05:30
houwenxiang
54c2bd7c0c
driver(I2S): Fix I2S reset issue for release/v4.0
...
`i2s_start` reseting I2S in incorrect order causeing the word-order error.
2020-09-02 16:30:03 +08:00
Michael (XIAO Xufeng)
d1fa5c712a
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_failure_backport4_0' into 'release/v4.0'
...
freemodbus: freemodbus fix long frame buffer failure (backport v4.0)
See merge request espressif/esp-idf!8199
2020-09-02 16:12:28 +08:00
Jiang Jiang Jian
c756f7c4d2
Merge branch 'bugfix/fix_ipv6_nd6_max_queue_num_4.0' into 'release/v4.0'
...
lw-ip: fix IPv6 ND6 queue too much pkts (Backport 4.0)
See merge request espressif/esp-idf!10090
2020-08-31 14:27:59 +08:00
Jiang Jiang Jian
5ec780d6b5
Merge branch 'bugfix/wifi_deinit_stop_crash_v4.0' into 'release/v4.0'
...
esp_wifi: fix the crash when wifi stop after deinit (v4.0)
See merge request espressif/esp-idf!10029
2020-08-27 11:48:30 +08:00
Jiang Jiang Jian
5ad4713362
Merge branch 'bugfix/clean_wpa2_wifi_deinit_v4.0' into 'release/v4.0'
...
wpa_supplicant: Deinit wpa2 states in wifi deinit(backport v4.0)
See merge request espressif/esp-idf!10104
2020-08-27 11:40:11 +08:00
Jiang Jiang Jian
6dd8569b4b
Merge branch 'bugfix/null_ptr_dereference_mgmt_rx' into 'release/v4.0'
...
esp_wifi: Fix null pointer dereferences in mgmt rx (backport v4.0)
See merge request espressif/esp-idf!10132
2020-08-27 11:22:07 +08:00
kapil.gupta
df52fb3942
esp_wifi: Fix null pointer dereferences in mgmt rx
2020-08-26 12:23:21 +05:30
Jiang Jiang Jian
e376e8f989
Merge branch 'bugfix/assert_9_10_error_v4.0' into 'release/v4.0'
...
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time,...
See merge request espressif/esp-idf!10049
2020-08-26 11:38:07 +08:00
kapil.gupta
98d525c1ea
wpa_supplicant: Deinit wpa2 states in wifi deinit
2020-08-20 15:09:55 +05:30
ChenJianxing
c4107150ee
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
2020-08-19 14:38:32 +08:00
wangcheng
6dde2eb3c5
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time, use the information of rx to determine the execution order
2020-08-18 16:06:22 +08:00
houwenxiang
d9660fcf9c
vfs: support vfs uart set line endings with specified uart number (release/v4.0)
2020-08-14 15:39:39 +08:00
liqigan
45c4fef890
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-08-13 12:01:39 +08:00
zhangyanjiao
93aea71641
esp_wifi: fix the crash when wifi stop after deinit
2020-08-13 10:56:57 +08:00
Jiang Jiang Jian
820621687c
Merge branch 'bugfix/fix_udp_tx_performance_issue_v4.0' into 'release/v4.0'
...
lw-ip: fix udp tx packet loss issue (backport v4.0)
See merge request espressif/esp-idf!10005
2020-08-11 22:23:48 +08:00
xiehang
bb33120756
lwip: fix udp tx packet loss issue
2020-08-11 15:09:44 +08:00
Jiang Jiang Jian
b88dc13ec3
Merge branch 'bugfix/buff_semaphore_not_free_v4.0' into 'release/v4.0'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9981
2020-08-10 15:10:24 +08:00
Island
ed0393d707
Merge branch 'bugfix/ble_mesh_client_msg_optimize_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh client msg optimize (v4.0)
See merge request espressif/esp-idf!9990
2020-08-10 11:02:29 +08:00
Angus Gratton
03abf3b209
Merge branch 'bugfix/idf_build_process_default_v4.0' into 'release/v4.0'
...
cmake: fix issue with setting defaults in idf_build_process (v4.0)
See merge request espressif/esp-idf!9713
2020-08-10 09:19:38 +08:00
lly
d3eaf8bdb0
ble_mesh: stack: Client model related code clean
2020-08-07 21:15:11 +08:00
lly
aa8f45e341
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-07 21:15:10 +08:00
lly
dfa6332606
ble_mesh: stack: Check client msg result in common func
2020-08-07 21:15:08 +08:00
lly
ba38c974e6
ble_mesh: stack: Fix no events for some error conditions
2020-08-07 21:15:07 +08:00
lly
3cc07d7969
ble_mesh: stack: Move client role set to the msg function
2020-08-07 21:15:06 +08:00
lly
035a24b468
ble_mesh: stack: Remove some not used client parameters
2020-08-07 21:15:04 +08:00
lly
c3e702da05
ble_mesh: stack: Remove some not used variables & functions
2020-08-07 21:15:03 +08:00
lly
dfd0cd5f3e
ble_mesh: stack: Update client model msg send
2020-08-07 21:15:02 +08:00
Jiang Jiang Jian
91cf59981c
Merge branch 'bugfix/ipv6_fragment_for_4.0' into 'release/v4.0'
...
lw-ip:fix bug for ipv6 fragment(backport4.0)
See merge request espressif/esp-idf!9578
2020-08-07 18:09:24 +08:00
Jiang Jiang Jian
b3de361e51
Merge branch 'bugfix/put_periph_module_enable/diable_into_iram_v4.0' into 'release/v4.0'
...
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM(v4.0)
See merge request espressif/esp-idf!9937
2020-08-07 18:08:26 +08:00
wangcheng
b50bbe3a5b
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-08-07 15:15:49 +08:00
Mahavir Jain
14140e7550
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: update to mbedtls release v2.16.7 (v4.0)
See merge request espressif/esp-idf!9908
2020-08-06 12:29:00 +08:00
dongyou
94f4a88c2d
wifi, bt: move esp_phy_common_clock_disable into periph_ctrl and put it into IRAM
...
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-05 17:41:05 +08:00
Island
7cc07173b2
Merge branch 'bugfix/btdm_blufi_send_longer_custom_data_will_congested_v4.0' into 'release/v4.0'
...
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
See merge request espressif/esp-idf!9918
2020-08-05 14:23:41 +08:00
Michael (XIAO Xufeng)
12e39e9291
Merge branch 'fixbug/sdmmc_spi_highspeed_v4.0' into 'release/v4.0'
...
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode(backport v4.0)
See merge request espressif/esp-idf!9839
2020-08-04 17:44:37 +08:00
XieWenxiang
100750ac1b
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
2020-08-04 15:22:18 +08:00
Angus Gratton
2597e046c5
Merge branch 'bugfix/ci_retries_when_download_v4.0' into 'release/v4.0'
...
CI: retry shell commands when download (v4.0)
See merge request espressif/esp-idf!9890
2020-08-04 12:48:03 +08:00
Angus Gratton
2995e78fa1
Merge branch 'bugfix/espcoredump_fix_error_reported_for_blank_partition_v40' into 'release/v4.0'
...
Bugfix/espcoredump fix error reported for blank partition (Backport v4.0)
See merge request espressif/esp-idf!9626
2020-08-04 12:45:41 +08:00
Jiang Jiang Jian
81e726e3fc
Merge branch 'bugfix/fix_fragment_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix WiFi fragment issue (backport v4.0)
See merge request espressif/esp-idf!9883
2020-08-04 12:27:52 +08:00
Mahavir Jain
cc0aa104e8
mbedtls: update to mbedtls release v2.16.7
...
For detailed release notes, please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.7
2020-08-03 15:50:34 +05:30
Michael (XIAO Xufeng)
26d7fb7744
Merge branch 'ci/resume_esp_flash_tests_4.0' into 'release/v4.0'
...
ci: resume esp_flash unit tests (v4.0)
See merge request espressif/esp-idf!9793
2020-08-02 17:15:24 +08:00
Ivan Grokhotkov
4cbb70541c
Merge branch 'feature/oocd_ver_backport_v4.0' into 'release/v4.0'
...
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709' (backport v4.0)
See merge request espressif/esp-idf!8425
2020-07-31 21:58:06 +08:00
xiehang
b1fa527f41
esp_wifi: Fix WiFi fragment issue
2020-07-31 21:42:19 +08:00
Jiang Jiang Jian
9a580242e8
Merge branch 'bugfix/fix_softap_mode_wpa_memory_leak_issue_v4.0' into 'release/v4.0'
...
bugfix: fix softap mode wpa memory leak (backport v4.0)
See merge request espressif/esp-idf!9847
2020-07-31 17:28:50 +08:00
Jiang Jiang Jian
3f332ef02b
Merge branch 'bugfix/bt_linkup_fallback_event_v4.0' into 'release/v4.0'
...
Bluedroid: Fixes cases having fallback to link up event. (v4.0)
See merge request espressif/esp-idf!9804
2020-07-31 17:27:37 +08:00
Jiang Jiang Jian
2be17377bb
Merge branch 'nimble/nrpa_support_v4.0' into 'release/v4.0'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.0)
See merge request espressif/esp-idf!9736
2020-07-31 17:27:21 +08:00
Alexey Gerenkov
a7fe03dcb0
tools: Updates OpenOCD version to 'v0.10.0-esp32-20200709'
2020-07-31 07:16:19 +00:00
Anton Maklakov
c2d261c88e
ci: use the retry script to download
2020-07-31 13:07:07 +07:00
Anton Maklakov
8ed6242e27
ci: add a helper for retrying shell command
2020-07-31 13:04:59 +07:00
Jiang Jiang Jian
f32582b588
Merge branch 'bugfix/fix_hci_max_page_num_v4.0' into 'release/v4.0'
...
bugfix/Support for more Bluetooth HID devices [backport v4.0]
See merge request espressif/esp-idf!9662
2020-07-30 21:20:15 +08:00
Jiang Jiang Jian
64c766ee4d
Merge branch 'bugfix/fix_get_bond_device_list_v4.0' into 'release/v4.0'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.0]
See merge request espressif/esp-idf!9668
2020-07-30 21:19:57 +08:00
Jiang Jiang Jian
4f86faa906
Merge branch 'bugfix/param_check_instant_tx_octets_adv_ubderrun_v4.0' into 'release/v4.0'
...
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0)
See merge request espressif/esp-idf!9483
2020-07-30 21:18:43 +08:00
Krzysztof Budzynski
16d68e4dee
Merge branch 'doc/freertos_backport_v4.0' into 'release/v4.0'
...
add a note about ESP-IDF FreeRTOS version (backport v4.0)
See merge request espressif/esp-idf!9820
2020-07-30 17:27:18 +08:00
Mahavir Jain
426f03de5f
Merge branch 'fix/prov_ble_read_offset_v4.0' into 'release/v4.0'
...
BLE provisioning: Add check for valid ble read offset (v4.0)
See merge request espressif/esp-idf!9746
2020-07-30 16:11:21 +08:00
Mahavir Jain
d3034e8172
Merge branch 'bugfix/convert-string-to-bytes_v4.0' into 'release/v4.0'
...
components: convert string to bytes to fix TypeError (backport v4.0)
See merge request espressif/esp-idf!9732
2020-07-30 16:11:02 +08:00
Michael (XIAO Xufeng)
fcb0206c59
Merge branch 'bugfix/mcpwm_fault_init_copypaste_typo_bp4.0' into 'release/v4.0'
...
MCPWM: Fix PWM-fault init function that read config incorrectly (backport v4.0)
See merge request espressif/esp-idf!9552
2020-07-30 15:55:11 +08:00
Angus Gratton
0dc46879c5
Merge branch 'bugfix/esp_flash_write_performance_regression_4.0' into 'release/v4.0'
...
esp_flash: fix the write performance regression (Backport v4.0)
See merge request espressif/esp-idf!9616
2020-07-29 15:30:13 +08:00
ronghulin
4e7d7426aa
bugfix: fix softap mode wpa memory leak
2020-07-29 14:17:12 +08:00
Michael (XIAO Xufeng)
818a2f8768
ci: resume esp_flash unit tests
2020-07-29 10:00:23 +08:00
Michael (XIAO Xufeng)
7dfb6adf27
sdmmc: fix the probe issue that forbid sdspi working in highspeed mode
...
SD cards don't support CMD7 (select_card) in SPI mode. Highspeed probe
of sdspi will fail in this step and stop working in highspeed mode.
Remove the CMD7 in enable_hs_mode_and_check to fix this issue.
Please note that, on ESP32, you have to use the IOMUX pins to use sdspi
in 40MHz, otherwise the initialization process will report reading issue
and fail.
2020-07-28 12:19:51 +08:00
yiying
9c82e7c875
docs: add a note about ESP-IDF FreeRTOS version
2020-07-27 20:24:43 +08:00
Chinmay Chhajed
5fe10f1ff8
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-07-27 14:03:20 +05:30
wangcheng
ebacef4304
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-07-24 12:05:29 +08:00
Prasad Alatkar
9566e4ec19
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.0)
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-23 11:31:52 +05:30
Angus Gratton
7abb8e7fc3
Merge branch 'docs/doc138_backport_v4.0' into 'release/v4.0'
...
Fix incorrect redirect link in getting started guide (backport v4.0)
See merge request espressif/esp-idf!9704
2020-07-23 13:24:20 +08:00
Angus Gratton
8cfc9f1609
Merge branch 'bugfix/prov_retry_failures_v4.0' into 'release/v4.0'
...
ci: Add retries for all provisioning methods, some refactors (v4.0)
See merge request espressif/esp-idf!9389
2020-07-23 13:17:21 +08:00
Jiang Jiang Jian
e5526e2953
Merge branch 'bugfix/wpa3_to_wpa2_transition_fix_v4.0' into 'release/v4.0'
...
Fix WPA3 and WPA2 transition related failures (Backport v4.0)
See merge request espressif/esp-idf!9534
2020-07-23 09:52:46 +08:00
Prasad Alatkar
8b5fb43d93
BLE provisioning: Add check for valid ble read offset
2020-07-22 19:42:09 +05:30
Angus Gratton
3b0a62a752
Merge branch 'ci/test_spi_speed_psram_enabled_4.0' into 'release/v4.0'
...
driver test: disable the spi master performance test when psram is used (v4.0)
See merge request espressif/esp-idf!9637
2020-07-22 17:28:24 +08:00
yiying
61bc60213e
docs: change redirection link in get-started
...
This link is supposed to go to Step 3, but it goes to Step 2.
2020-07-22 17:17:38 +08:00
martin.gano
2595326978
components: convert string to bytes to fix TypeError There is a string passed as an argument for function, but a format of a string seemingly refers to bytes therefore it needs to be converted to bytes Solves https://esp32.com/viewtopic.php?f=13&t=16529
...
(cherry picked from commit cb0bdb8bba )
2020-07-22 11:04:22 +02:00
Jiang Jiang Jian
53605395cf
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project_4.0' into 'release/v4.0'
...
Backport MR for baidu project for release/v4.0
See merge request espressif/esp-idf!8989
2020-07-22 16:34:19 +08:00
Angus Gratton
b994331b83
Merge branch 'ci/workaround_multiple_ci_failures_v4.0' into 'release/v4.0'
...
CI: workaround multiple ci failures (v4.0)
See merge request espressif/esp-idf!9686
2020-07-22 11:55:24 +08:00
Michael (XIAO Xufeng)
69059ea2cc
driver test: disable the spi master performance test when psram is used
2020-07-21 05:43:45 +00:00
Renz Christian Bagaporo
34f4b5a4d3
ci: pushd and cd in one go in idf_build_process defaults test
2020-07-20 18:24:05 +08:00
Renz Bagaporo
d30f3b6edd
cmake: fix setting defaults in idf_build_process
...
Closes https://github.com/espressif/esp-idf/issues/5053
2020-07-20 18:24:05 +08:00
Renz Bagaporo
948795265d
ci: test idf_build_process defaults set properly
2020-07-20 18:24:02 +08:00
He Yin Ling
ce88e9d3fe
CI: do not run cases likely to fail
2020-07-19 14:58:28 +08:00
He Yin Ling
83895b4e78
CI: disable cases with test env SSC_T5_1
2020-07-19 14:58:28 +08:00
He Yin Ling
53852b555e
CI: temp allow mesh job to fail as runner is not stable
2020-07-19 14:58:27 +08:00
He Yin Ling
087a1e339e
CI: remove incorrect MTU related cases
2020-07-19 14:58:27 +08:00
Island
712aa3daa7
Merge branch 'bugfix/ble_mesh_health_current_status_recv_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Fix recv health current status incorrectly (v4.0)
See merge request espressif/esp-idf!9665
2020-07-17 16:14:44 +08:00
boblane
9a88eef632
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-17 15:12:57 +08:00
lly
beda5f0fd4
ble_mesh: stack: Fix recv health current status incorrectly
2020-07-17 14:06:41 +08:00
DerfJagged
a1cf4fa871
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-17 10:23:52 +08:00
Angus Gratton
bf1394eeb8
Merge branch 'feature/toolchain_2020r2_v4.0' into 'release/v4.0'
...
Update toolchain to esp-2020r2 (backport v4.0)
See merge request espressif/esp-idf!9001
2020-07-16 16:22:17 +08:00
Island
0dc0c54acd
Merge branch 'bugfix/ble_mesh_misc_updates_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh misc updates (v4.0)
See merge request espressif/esp-idf!9642
2020-07-16 14:03:15 +08:00
lly
235cdd2ff0
ble_mesh: ci: Enable friend & low power in build check
2020-07-16 11:04:58 +08:00
lly
f3566fd2af
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-07-16 11:04:57 +08:00
lly
f10c62d84d
ble_mesh: stack: Make proxy server & client functions clear
2020-07-16 11:04:57 +08:00
Island
775fd14310
Merge branch 'bugfix/ble_mesh_add_misc_check_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh add misc check (v4.0)
See merge request espressif/esp-idf!9631
2020-07-16 10:51:49 +08:00
Nachiket Kukade
e9a07592fc
wpa_supplicant: Fix WPA3 and WPA2 transition related failures
...
1. If Device is connected to AP in WPA3-PSK mode, AP switching
security to WPA2-PSK causes connection failures even after reset.
Fix is to not store WPA3's PMK in NVS for caching.
2. AP switching back to WPA3 causes even more connection failures.
This is due to device not clearing Supplicant level PMK Cache when
it is no longer valid. Fix is to clear the Cache when 4-way handshake
fails and to check Key Mgmt of Cache before using.
3. When AP switches from WPA3 to WPA2, device's PMF config in
Supplicant remains enabled. This may cause failures during
4-way handshake. So clear PMF config in when PMF is no longer used.
2020-07-15 13:40:03 +00:00
Ivan Grokhotkov
48ea44f3d1
Merge branch 'feature/light_sleep_reject_v4.0' into 'release/v4.0'
...
sleep: enable sleep reject when entering light sleep (v4.0)
See merge request espressif/esp-idf!9501
2020-07-15 20:08:55 +08:00
Anton Maklakov
009492ca9a
Merge branch 'bugfix/fix_static_analysis_rules_v4.0' into 'release/v4.0'
...
static analysis: Apply current limits of known defects (v4.0)
See merge request espressif/esp-idf!9277
2020-07-15 16:56:22 +08:00
David Čermák
e4501dc0ec
Merge branch 'bugfix/ws_send_abort_v4.0' into 'release/v4.0'
...
websocket client: the client now aborts the connection if send fails. (v4.0)
See merge request espressif/esp-idf!9171
2020-07-15 16:38:05 +08:00
lly
1df9502301
ble_mesh: stack: Add proxy cfg pdu length check
2020-07-15 16:11:32 +08:00
lly
d04a8da916
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-07-15 16:11:31 +08:00
lly
6e79097b4a
ble_mesh: example: Add result check during mesh init
2020-07-15 16:11:29 +08:00
lly
c8601fface
ble_mesh: stack: Add more checks about input prov bearers
2020-07-15 16:11:27 +08:00
Island
cf98746771
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc_v4.0' into 'release/v4.0'
...
Feat/ble mesh use diff ram for mem alloc (v4.0)
See merge request espressif/esp-idf!9618
2020-07-15 16:07:00 +08:00
Michael (XIAO Xufeng)
7f99280b40
spi_flash: add unit test for read/write performance (no performance
...
check)
2020-07-15 14:41:02 +08:00
aleks
59c6afda95
espcoredump: fix error reported for blank partition
2020-07-15 08:30:28 +02:00
lly
1e528fa739
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-07-15 11:10:14 +08:00
lly
a27478b54d
ble_mesh: stack: Use macros for adv task name & prio
2020-07-15 11:10:14 +08:00
lly
2ff3c012ea
ble_mesh: ci: Add psram configurations
2020-07-15 11:10:14 +08:00
lly
0dc96d19aa
ble_mesh: stack: Make freertos static allocation visible
2020-07-15 11:09:58 +08:00
lly
9973f5ef04
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-07-15 09:41:15 +08:00
Michael (XIAO Xufeng)
ffc46954ae
esp_flash: fix the write performance regression
...
Also changed internal delay unit into microsecond.
2020-07-15 02:20:35 +08:00
Mahavir Jain
ee7b443d28
Merge branch 'bugfix/enable_mbedtls_renegotiation_v4.0' into 'release/v4.0'
...
esp-tls: enable TLS renegotiation using explicit API call (v4.0)
See merge request espressif/esp-idf!9593
2020-07-14 15:16:59 +08:00
Anton Maklakov
6182c172bf
Update toolchain to esp-2020r2
...
Fixes PSRAM issues, volatile loads with -O2, std::locale, C++ exception crashs, FDE sorting switchable;
Includes a 64-bit toolchain for Windows (win64);
Closes https://github.com/espressif/esp-idf/issues/5090
Closes https://github.com/espressif/esp-idf/issues/5112
Closes https://github.com/espressif/esp-idf/issues/5150
2020-07-14 14:04:54 +07:00
Jeroen Domburg
faae3ceec5
Add fixes for gcc8 psram fix improvement
2020-07-14 14:04:53 +07:00
Angus Gratton
f7742dd9cc
Merge branch 'bugfix/customer_baidu_int_wdt_v4.0' into 'release/v4.0'
...
backport v4.0: add soft solution for esp32 eco3 live lock issue
See merge request espressif/esp-idf!9214
2020-07-14 13:09:03 +08:00
David Čermák
5a99038b1a
Merge branch 'bugfix/eth_insert_min_hw_reset_time_v4.0' into 'release/v4.0'
...
ethernet: insert min assert time for PHY HW reset (v4.0)
See merge request espressif/esp-idf!9581
2020-07-13 22:33:19 +08:00
Ivan Grokhotkov
80e0be6dbd
Merge branch 'bugfix/rs485_test_temp_disable_v40' into 'release/v4.0'
...
ci: temporarily disable RS485 related tests (backport v4.0)
See merge request espressif/esp-idf!9520
2020-07-13 20:41:15 +08:00
Mahavir Jain
6f034e9194
esp-tls: enable TLS renegotiation using explicit API call
...
mbedTLS stack does not keep TLS renegotiation enabled even if
relevant config option is turned on, it needs explicit API call
`mbedtls_ssl_conf_renegotiation` to do so.
This issue was observed in case of Azure IoT, where keys needs to
be refreshed periodically to keep TLS connection intact.
2020-07-13 15:56:00 +05:30
weitianhua
de438461f5
Backport from baidu proj
2020-07-13 15:03:17 +08:00
xueyunfei
cb7c143523
fix bug for ipv6 fragment
2020-07-13 11:30:33 +08:00
morris
0100d70dfd
ethernet: insert min assert time for PHY HW reset
...
Closes https://github.com/espressif/esp-idf/issues/5528
2020-07-13 11:21:30 +08:00
Jiang Jiang Jian
f73cd1d4f1
Merge branch 'docs/fix_event_typo_backport_v4.0' into 'release/v4.0'
...
docs/fix event typo backport v4.0
See merge request espressif/esp-idf!9384
2020-07-12 21:23:54 +08:00
Jiang Jiang Jian
0b3954c0c3
Merge branch 'bugfix/fix_some_wifi_bugs_0703_v4.0' into 'release/v4.0'
...
fix some wifi bugs 0703 (v4.0)
See merge request espressif/esp-idf!9532
2020-07-12 20:30:52 +08:00
Jiang Jiang Jian
bfbbb4d581
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.0' into 'release/v4.0'
...
Bugfix/fix event bug in GAP API [backport v4.0]
See merge request espressif/esp-idf!9194
2020-07-10 16:57:37 +08:00
Jiang Jiang Jian
4cb1a2fdc3
Merge branch 'bugfix/fix_16mbit_psram_id_read_error_v4.0' into 'release/v4.0'
...
psram: fix 16mbit psram id read error (backport v4.0)
See merge request espressif/esp-idf!9439
2020-07-10 16:57:15 +08:00
Jiang Jiang Jian
94dfe1713c
Merge branch 'doc/add_UUID_description_in_gattc_demo_backport_v4.0' into 'release/v4.0'
...
docs:add 128-bit UUID description backport v4.0
See merge request espressif/esp-idf!9227
2020-07-10 16:56:36 +08:00
Jiang Jiang Jian
6a929916b7
Merge branch 'bugfix/fix_build_err_in_cpp_backport_v4.0' into 'release/v4.0'
...
ble_hid_device_demo: fix build if building with c++ backport v4.0
See merge request espressif/esp-idf!9233
2020-07-10 16:56:16 +08:00
Jiang Jiang Jian
ff6c39376a
Merge branch 'feature/make_tcp_rto_configurable_v4.0' into 'release/v4.0'
...
make TCP rto time configurable (backport v4.0)
See merge request espressif/esp-idf!9213
2020-07-10 16:55:53 +08:00
Island
62e6b6f571
Merge branch 'bugfix/ble_mesh_update_send_ttl_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh update send ttl v4.0
See merge request espressif/esp-idf!9563
2020-07-10 14:06:23 +08:00
Li Shuai
8560d88391
add soft solution for esp32 eco3 live lock issue
2020-07-10 02:14:47 +00:00
lly
724a5baa4e
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:15:02 +08:00
lly
c399b9520b
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-10 09:15:01 +08:00
Wielebny666
067d840c76
Fix init MCPWM Fault line via config struct
...
Signed-off-by: wubowen <wubowen@espressif.com >
Merges https://github.com/espressif/esp-idf/pull/5491
Closes https://github.com/espressif/esp-idf/issues/5433
2020-07-09 19:18:10 +08:00
Krzysztof Budzynski
b9dd8630ee
Merge branch 'doc/broken_readme_links_v4.0' into 'release/v4.0'
...
Docs: Fix broken README links (v4.0)
See merge request espressif/esp-idf!9503
2020-07-08 23:54:50 +08:00
xiehang
4e831ac080
esp_wifi: Add API to get available internal heap size.
2020-07-08 17:40:19 +08:00
zhangyanjiao
8ae3c733db
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 17:27:15 +08:00
Mahavir Jain
576957b17d
Merge branch 'bugfix/http_client_read_v4.0' into 'release/v4.0'
...
Fix error handling in esp_http_client_read and esp_https_ota_perform (v4.0)
See merge request espressif/esp-idf!9204
2020-07-08 17:19:50 +08:00
liqigan
9e506a921b
components/bt: Adjust the description of esp_bt_gap_start_discovery and esp_bt_gap_cancel_discovery.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-07-08 15:07:05 +08:00
aleks
db7f558e34
ci: temporarily disable RS485 related tests
2020-07-08 06:31:29 +02:00
Shubham Kulkarni
0253a372be
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-07-08 09:57:49 +05:30
Shubham Kulkarni
9fe1380b7f
esp_https_ota.c: Add fix to return failure if (-1) is returned from esp_http_client_read
...
Closes https://github.com/espressif/esp-idf/issues/4960
2020-07-08 09:57:43 +05:30
Shubham Kulkarni
a9591d1c1f
esp_http_client.c: In esp_http_client_read, add fix to return (-1) if esp_transport_read fails
2020-07-08 09:57:42 +05:30
Marius Vikhammer
4ff6d873bb
Fix broken README links
2020-07-07 18:07:57 +08:00
Ivan Grokhotkov
5da359c253
sleep: enable sleep reject when entering light sleep
2020-07-07 11:21:42 +02:00
Ivan Grokhotkov
9216af8371
Merge branch 'bugfix/coredump_size_inv_stack_v4.0' into 'release/v4.0'
...
coredump: Fixes data length calculation when task stack is corrupted (v4.0)
See merge request espressif/esp-idf!9458
2020-07-07 16:30:26 +08:00
Ivan Grokhotkov
1e95aba03a
Merge branch 'feature/msys2_env_update_v4.0' into 'release/v4.0'
...
windows: Update MSYS2 pre-compiled legacy build environment (v4.0)
See merge request espressif/esp-idf!9144
2020-07-06 15:16:39 +08:00
Michael (XIAO Xufeng)
8a2c055179
Merge branch 'bugfix/fix_adc_dac_conflict_backportv4.0' into 'release/v4.0'
...
Driver(adc): Disable the synchronization operation function of ADC1 and DAC (backport v4.0)
See merge request espressif/esp-idf!9362
2020-07-06 13:19:22 +08:00
Angus Gratton
d7f251aef3
ci provisioning: Add some experiments to check the runner's STA state
...
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-07-03 09:13:46 +00:00
Angus Gratton
e0fc7b1c48
esp_prov: Extend the timeout for HTTP connection to SoftAP
2020-07-03 09:13:46 +00:00
Angus Gratton
7358470ae9
ci wifi_tools: Log the wpa_supplicant interface state when trying to connect
...
Trigger reconnection if wpa_supplicant seems to have dropped the connection.
2020-07-03 09:13:46 +00:00
Angus Gratton
200fa4abeb
legacy provisioning: Always try to reconnect when disconnected
...
Some APs may fail authentication temporarily if they have too many
associated stations, for example.
2020-07-03 09:13:46 +00:00
Angus Gratton
822b6986aa
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-07-03 09:13:46 +00:00
Angus Gratton
6787718e1b
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-07-03 09:13:46 +00:00
Angus Gratton
388522a886
ci: Wait up to 60 seconds for client to connect to DUT in provisioning test
2020-07-03 09:13:46 +00:00
Island
a391a98a02
Merge branch 'bugfix/ble_mesh_fast_prov_misc_update_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh fast prov misc update (v4.0)
See merge request espressif/esp-idf!9463
2020-07-03 11:38:03 +08:00
lly
39705533f1
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:53:56 +08:00
lly
77fe2ced32
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:53:56 +08:00
Island
36ba6be9ae
Merge branch 'bugfix/ble_mesh_split_tinycrypt_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh split tinycrypt (v4.0)
See merge request espressif/esp-idf!9372
2020-07-02 22:46:08 +08:00
Jiang Jiang Jian
68b272f590
Merge branch 'bugfix/beacon_security_downgrade_v4.0' into 'release/v4.0'
...
Avoid parsing RSN/WPA IE's after connection (Backport v4.0)
See merge request espressif/esp-idf!9281
2020-07-02 21:29:18 +08:00
Alexey Gerenkov
f12b8c7990
coredump: Fixes data length calculation when task stack is corrupted
2020-07-02 14:12:15 +03:00
lly
c4794f761e
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:35:13 +00:00
lly
4d9af50eba
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:35:13 +00:00
lly
0e028c044d
ble_mesh: Remove the previously added redundant aes files
2020-07-02 03:35:13 +00:00
lly
813cf5cc00
ble_mesh: Update CMake and make files for tinycrypt
2020-07-02 03:35:13 +00:00
lly
ac0746aba1
ble_mesh: Update tinycrypt header file include guards
...
Add BLE_MESH in the macro to make it specific for BLE Mesh.
2020-07-02 03:35:13 +00:00
lly
e5f4ff2b1a
ble_mesh: Format source and header files of tinycrypt
2020-07-02 03:35:13 +00:00
lly
4f37a08437
ble_mesh: Port full implementation of tinycrypt [Zephyr]
...
- Original code is here: https://github.com/zephyrproject-rtos/tinycrypt
- Also this fixes the compile error when NimBLE and ESP BLE Mesh
both uses the tinycrypt.
2020-07-02 03:35:13 +00:00
Island
d8e590555c
Merge branch 'bugfix/ble_mesh_readme_fix_v4.0' into 'release/v4.0'
...
ble_mesh: example: Fix example README & tutorial link error (v4.0)
See merge request espressif/esp-idf!9436
2020-07-02 11:29:37 +08:00
Island
c7acaf9b44
Merge branch 'bugfix/ble_mesh_compile_error_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh compile error (v4.0)
See merge request espressif/esp-idf!9432
2020-07-02 11:29:06 +08:00
Nachiket Kukade
2c45d430da
esp_wifi: Update wifi lib
...
1. Avoid parsing RSN/WPA IE's after connection
2. Remove AUTH_CHANGED reason code logic
2020-07-01 16:24:23 +05:30
Michael (XIAO Xufeng)
671ecd7522
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-07-01 16:39:16 +08:00
chenjianqiang
fd475fc9bc
psram: fix 16mbit psram id read error
2020-07-01 16:38:29 +08:00
lly
797971e8cc
ble_mesh: example: Fix example README & tutorial link error
2020-07-01 14:39:32 +08:00
Jiang Jiang Jian
8309f06378
Merge branch 'bugfix/kconfig_vendor_specific_v4.0' into 'release/v4.0'
...
Bugfix: bt/Kconfig Vendor specific event data type and default value
See merge request espressif/esp-idf!9416
2020-07-01 13:49:53 +08:00
lly
4fd867616c
ble_mesh: ci: Add different proxy configurations
2020-07-01 11:55:13 +08:00
lly
3b6145dc46
ble_mesh: stack: Fix compile error when only proxy enabled
...
Also remove some redundant CONFIG_BLE_MESH_PROXY checks, because
when the following options are satisfied, the CONFIG_BLE_MESH_PROXY
option will be selected mandatorily.
2020-07-01 11:55:12 +08:00
Island
b823a2a35f
Merge branch 'bugfix/ble_mesh_check_subnet_before_update_beacon_sent_v4.0' into 'release/v4.0'
...
ble_mesh: Check if subnet exists before updating beacon_sent (v4.0)
See merge request espressif/esp-idf!9397
2020-07-01 11:16:39 +08:00
Island
4802585bfd
Merge branch 'bugfix/ble_mesh_set_recv_rssi_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh set recv rssi (v4.0)
See merge request espressif/esp-idf!9391
2020-07-01 11:15:20 +08:00
Chinmay Chhajed
b9b31e3c85
bt/Kconfig: Update data type and default value of vendor specific event.
2020-06-30 15:02:22 +05:30
Jiang Jiang Jian
d921a06c1f
Merge branch 'feature/bt_secure_conn_downgrade_check_v4.0' into 'release/v4.0'
...
Bluedroid: Authentication fixes in Legacy and Secure Connection.
See merge request espressif/esp-idf!9338
2020-06-30 15:26:57 +08:00
lly
dfcc8e77dc
ble_mesh: Check if subnet exists before updating beacon_sent
...
- Before updating the "beacon_sent" of a subnet, we need to check
if the subnet still exists, especially for a Provisioner.
- Fix a bug which will cause Provisioner failed to send Secure
Network Beacon if no device is provisioned
2020-06-30 09:22:49 +08:00
lly
7f6735fd60
ble_mesh: stack: Copy recv_rssi for other received messages
...
Follow the commit: 2b80cb6883 ,
copy the recv_rssi for other mesh messages.
2020-06-30 09:05:51 +08:00
mbroek
ca5ab9b607
When a generic mesh model message is received "bt_mesh_generic_server_cb_evt_to_btc" copies the
...
ctx values to cb_params for the mesh stack.
recv_rssi was not copied.
This means the rssi could not be read when receiving generic server messages using ble_mesh.
2020-06-30 09:05:50 +08:00
liminyang
acb54059be
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 20:59:14 +08:00
Mahavir Jain
3e31c484ba
Merge branch 'bugfix/http_server_lru_v4.0' into 'release/v4.0'
...
esp_http_server: Update LRU counter on accepting a new connection (v4.0)
See merge request espressif/esp-idf!9352
2020-06-29 12:57:25 +08:00
fuzhibo
fac0b1128f
Driver(adc): Disable the synchronization operation function of ADC1 and DAC
...
Closes IDF-1585
2020-06-29 03:41:26 +00:00
Michael (XIAO Xufeng)
9969ec1de5
Merge branch 'bugfix/esp_flash_revert_qe_clear_4.0' into 'release/v4.0'
...
esp_flash: fix the regression of non-quad mode by default chip driver, bugs in add_device and deprecate cs_id (4.0)
See merge request espressif/esp-idf!8879
2020-06-28 22:13:25 +08:00
Island
8cb2ad1fe6
Merge branch 'bugfix/ble_mesh_get_node_with_name_v4.0' into 'release/v4.0'
...
ble_mesh: Get node info with pre-configured node name (v4.0)
See merge request espressif/esp-idf!9303
2020-06-28 20:25:24 +08:00
Island
3f0956bfa0
Merge branch 'bugfix/ble_mesh_example_tag_define_v4.0' into 'release/v4.0'
...
ble_mesh: Move TAG definition to each example (v4.0)
See merge request espressif/esp-idf!9307
2020-06-28 20:25:06 +08:00
Island
304c40f3ef
Merge branch 'bugfix/ble_mesh_bt_hex_v4.0' into 'release/v4.0'
...
ble_mesh: Fix wrong log output with bt_hex (v4.0)
See merge request espressif/esp-idf!9310
2020-06-28 20:24:12 +08:00
Island
ef136a664c
Merge branch 'bugfix/ble_mesh_not_define_bool_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh not define bool (v4.0)
See merge request espressif/esp-idf!9317
2020-06-28 20:23:03 +08:00
Island
666014447b
Merge branch 'bugfix/ble_mesh_check_model_status_v4.0' into 'release/v4.0'
...
ble_mesh: stack: Check model status with variable length (v4.0)
See merge request espressif/esp-idf!9320
2020-06-28 20:22:26 +08:00
Krzysztof Budzynski
e9dcba0d5d
Merge branch 'docs/spi' into 'release/v4.0'
...
Fixed a typo according to DOC-216
See merge request espressif/esp-idf!9133
2020-06-28 18:22:29 +08:00
Wang Ning
1658838efb
Fixed a typo according to DOC-216
2020-06-28 18:22:29 +08:00
Armando
b88982b666
esp_flash: fix cache exception when CS pin is through IOMUX
2020-06-28 15:52:58 +08:00
Armando
59c1bf4d8f
esp_flash: fix the cleanup when add device fails
2020-06-28 15:52:58 +08:00
Armando
aa5b4fb372
esp_flash: fix the regression of non-quad mode by default chip driver
2020-06-28 15:52:58 +08:00
Marius Vikhammer
67d7b60f19
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
2020-06-28 02:12:35 +00:00
Ivan Grokhotkov
28b4419c4e
Merge branch 'bugfix/export_path_checks_v4.0' into 'release/v4.0'
...
tools: export.sh: better detection and checking of IDF_PATH (backport v4.0)
See merge request espressif/esp-idf!8748
2020-06-26 22:18:06 +08:00
Shubham Kulkarni
e933077fbc
esp_http_server: Update LRU counter on accepting a new connection
...
Closes https://github.com/espressif/esp-idf/issues/3851
2020-06-26 19:25:15 +05:30
Angus Gratton
a68b9272c5
Merge branch 'bugfix/idf_py_help_env_var_v4.0' into 'release/v4.0'
...
Tools: Mention ESPPORT and ESPBAUD in idf.py --help (v4.0)
See merge request espressif/esp-idf!9292
2020-06-26 14:43:02 +08:00
David Cermak
ae177f7077
static analysis: Apply current limits of known defects on v4.0
2020-06-25 06:16:14 +00:00
Chinmay Chhajed
a9d4ed4a55
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.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com >
2020-06-24 22:25:20 +05:30
lly
939a3b78e2
ble_mesh: Fix wrong log output with bt_hex
...
- This issue was introduced in the commit: a788e7cd3d
which updated the bt_hex() function incorrectly.
- And in bt_hex(), we use 2 for the two-dimensional array, because currently
at most two bt_hex() will be used at the same time. Also this will save
some DRAM compared with using 4.
2020-06-24 10:33:58 +00:00
lly
f1c0fee05b
ble_mesh: Get node info with pre-configured node name
...
Also add a function to get the entry of the nodes table.
Closes https://github.com/espressif/esp-idf/issues/5397
2020-06-24 10:31:25 +00:00
lly
268b0e5e3f
ble_mesh: Remove boolean type definitions
2020-06-24 09:12:31 +00:00
Nikolaos Strikos
940fcf0ca9
ble_mesh: Do not #define bool when compiling in C++
2020-06-24 09:12:31 +00:00
lly
c6ce7d2866
ble_mesh: stack: Check model status with variable length
2020-06-24 09:10:32 +00:00
lly
b4554ca2a6
ble_mesh: Move TAG definition to each example
...
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-06-24 09:08:18 +00:00
Ivan Grokhotkov
9b3aae1d32
tools: export.sh: fix compatibility with dash shell
...
* fix constructs invalid in dash
* clean shellcheck warnings and disable false positive ones
Closes https://github.com/espressif/esp-idf/issues/5366
2020-06-24 10:37:51 +02:00
Ivan Grokhotkov
0785d41c93
tools: export.sh: better detection and checking of IDF_PATH
...
1. detect IDF_PATH in zsh, if it is not set
2. if IDF_PATH is set, check that it is valid
3. make sure IDF_PATH is exported, not just set
Related to https://github.com/espressif/esp-idf/issues/3793
Closes https://github.com/espressif/esp-idf/pull/4418
Closes https://github.com/espressif/esp-idf/issues/4770
2020-06-24 10:37:17 +02:00
Roland Dobai
9624d9b19b
Tools: Mention ESPPORT and ESPBAUD in idf.py --help
...
Closes https://github.com/espressif/esp-idf/issues/5461
2020-06-24 10:19:37 +02:00
Anton Maklakov
4f22be795d
Merge branch 'bugfix/python_lint_v4.0' into 'release/v4.0'
...
tools: fix python lint (v4.0)
See merge request espressif/esp-idf!9301
2020-06-24 16:05:54 +08:00
morris
b53c59b7a4
tools: fix python lint
2020-06-24 13:22:21 +08:00
Angus Gratton
e37cb829f4
Merge branch 'feature/pyc_clean_v4.0' into 'release/v4.0'
...
tools/idf.py: Clean Python bytecode files (v4.0)
See merge request espressif/esp-idf!9264
2020-06-24 12:30:48 +08:00
Ivan Grokhotkov
2967334138
Merge branch 'bugfix/sleep_comments_v4.0' into 'release/v4.0'
...
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions (v4.0)
See merge request espressif/esp-idf!8568
2020-06-23 01:45:29 +08:00
Roland Dobai
0de2507b24
tools/idf.py: Clean Python bytecode files
2020-06-22 10:44:26 +02:00
Island
8c3a3766da
Merge branch 'bugfix/att_buffer_count_fixed_v4.0' into 'release/v4.0'
...
Bugfix/att buffer count fixed v4.0
See merge request espressif/esp-idf!9159
2020-06-22 11:45:10 +08:00
Elvis Dukaj
26e280c824
ble_hid_device_demo: fix build if building with c++
...
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com >
Signed-off-by: liminyang <liminyang@example.com >
Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-18 15:49:11 +08:00
Angus Gratton
3c630c7905
Merge branch 'bugfix/efuse_logs_v4.0' into 'release/v4.0'
...
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code (v4.0)
See merge request espressif/esp-idf!9207
2020-06-18 15:15:57 +08:00
liminyang
35f5cbaed4
docs:perfect 128-bit UUID description
...
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-18 15:08:57 +08:00
wangcheng
b869e69c62
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-18 15:02:02 +08:00
wangcheng
12759b951c
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-18 15:01:24 +08:00
Wang Cheng
d875485f89
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-18 15:01:18 +08:00
Geng Yu Chao
ac2e34f611
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-18 15:01:13 +08:00
wangcheng
211e7bb4c2
components/bt: Add api to query the number of available buffers for the current connection
2020-06-18 15:01:05 +08:00
Island
47fa80f7fe
Merge branch 'bugfix/blufi_buffer_overflow_report_v4.0' into 'release/v4.0'
...
blufi: When the format of the received data packet is wrong, reply with an error response(backport 4.0)
See merge request espressif/esp-idf!9199
2020-06-18 13:45:17 +08:00
KonstantinKondrashov
4a6e793322
esp32: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization
...
After setting _GLOBAL_REENT, ESP_LOGIx can be used instead of ESP_EARLY_LOGx.
Closes: https://github.com/espressif/esp-idf/issues/5343
2020-06-17 16:30:11 +08:00
yuanjm
458ed4085d
feat(lwip): make LWIP TCP rto time configurable
2020-06-17 15:32:59 +08:00
wangcheng
e781279110
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-17 12:20:53 +08:00
Jiang Jiang Jian
94d97499a3
Merge branch 'bugfix/wpa3_ble_coex_issue_4.0' into 'release/v4.0'
...
Fix WPA3 Auth timeout issue during BLE coex (Backport v4.0)
See merge request espressif/esp-idf!9140
2020-06-16 14:37:55 +08:00
Mahavir Jain
6778712be4
Merge branch 'bugfix/softap_prov_session_v4.0' into 'release/v4.0'
...
protocomm_httpd: Restart security session if request is received on a new session (v4.0)
See merge request espressif/esp-idf!9117
2020-06-16 12:33:15 +08:00
Nachiket Kukade
18d7f27f6c
esp_wifi: Update wifi lib
...
Fix WPA3 Auth timeout issue during BLE coex
2020-06-15 22:49:20 +08:00
Jiang Jiang Jian
e7ac221b42
Merge branch 'bugfix/authmode_degrade_fix_v4.0_1' into 'release/v4.0'
...
esp_wifi: Update wifi_lib pointer to correct branch
See merge request espressif/esp-idf!9126
2020-06-15 14:33:05 +08:00
Michael (XIAO Xufeng)
b58e777596
Merge branch 'bugfix/fix_dac_driver_self_contained' into 'release/v4.0'
...
driver(dac): fix dac header file self contained issue
See merge request espressif/esp-idf!8546
2020-06-15 12:15:32 +08:00
kapil.gupta
0265c63e6c
esp_wifi: Update wifi_lib pointer to correct branch
...
Correct wifi_lib pointer pointing to incorrect branch due to
auth_changed event MR.
2020-06-15 08:57:58 +05:30
Krzysztof Budzynski
4f29dfa969
Merge branch 'bugfix/doc_build_ut_cmdline_v4.0' into 'release/v4.0'
...
docs: Fixup format of a command line to build unit tests (backport v4.0)
See merge request espressif/esp-idf!9044
2020-06-15 02:43:02 +08:00
fuzhibo
8357318945
driver(dac): fix dac header file self contained issue
...
Closes https://github.com/espressif/esp-idf/issues/2560
2020-06-12 05:36:56 +00:00
Angus Gratton
83d6ab9b5f
msys2: Remove python version consideration in pacman commands
2020-06-12 10:24:29 +10:00
Angus Gratton
a972d3018c
windows: Update MSYS2 pre-compiled legacy build environment
...
* Bundled with esp2020r2 toolchain
* Built with Python 3 & latest MSYS2 packages
2020-06-12 10:24:29 +10:00
Angus Gratton
02a53166b6
Merge branch 'bugfix/parttool_get_info_wo_info_option_v4.0' into 'release/v4.0'
...
partition_table: Fix parttool.py crashes when retrieving partition info (v4.0)
See merge request espressif/esp-idf!9064
2020-06-10 15:57:41 +08:00
Piyush Shah
f677655fcb
protocomm_httpd: Restart security session if request is received on a new session
...
This commit fixes a bug as well as changes a behaviour.
Bugfix: During softap/httpd based provisioning, if a session was closed
midway and a new one started, it would never proceed if the http server
assigns same socket number to the new session (which happens almost always).
Now, if a session is closed, using the http callbacks, the older session
data is cleared so that a new one can be created.
Behavioural change: If a client (mobile app particularly) does not use
persistent http session i.e. all provisioning communication on the same
socket, the provisioning may fail. Earlier, since the session context was
not getting cleared, even if the client closed a session and continued
on a new one, it would go through if the socket number assigned was same
(which happens almost always).
Ideally, from a security perspective, all communication related
to secure provisioning must happen on the same socket, and so, this
change is required.
2020-06-10 01:25:53 +05:30
aleks
6932b4d1c0
freemodbus: add comments for limitation in current version of freemodbus
2020-06-08 08:39:49 +02:00
David Čermák
ccdd06937f
Merge branch 'feature/pin_ethernet_task_to_core_v4.0' into 'release/v4.0'
...
ethernet: support pin emac task to core (v4.0)
See merge request espressif/esp-idf!9038
2020-06-08 13:47:07 +08:00
Michael (XIAO Xufeng)
f16a37d439
Merge branch 'bugfix/fix_fifo_cnt_bug_v4.0' into 'release/v4.0'
...
bugfix(uart): fix esp32 uart fifo_cnt bug(backport v4.0)
See merge request espressif/esp-idf!9041
2020-06-08 13:25:58 +08:00
Jiang Jiang Jian
a864e3dcfe
Merge branch 'bugfix/authmode_degrade_fix_v4.0' into 'release/v4.0'
...
esp_wifi: Remove auth_changed event and fix wpa2_ent authmode threshold (backport 4.0)
See merge request espressif/esp-idf!8806
2020-06-08 11:22:10 +08:00
Michael (XIAO Xufeng)
ef8613b7f7
Merge branch 'bugfix/sdmmc_check_slot_before_pullup_4.0' into 'release/v4.0'
...
sdmmc: Correctly check function parameters before using them (4.0)
See merge request espressif/esp-idf!9056
2020-06-08 10:24:59 +08:00
kapil.gupta
d008eba708
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-07 10:55:02 +05:30
Mahavir Jain
b76773d943
Merge branch 'bugfix/httpd_lru_purge_v4.0' into 'release/v4.0'
...
esp_http_server: Fixed a bug which could cause issues with LRU purge (v4.0)
See merge request espressif/esp-idf!8833
2020-06-05 18:38:33 +08:00
Piyush Shah
ad95174a7a
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 09:24:06 +00:00
Jiang Jiang Jian
1ad7e276d9
Merge branch 'workaround/wps_iot_fixes_v4.0' into 'release/v4.0'
...
wpa_supplicant: WPS Inter operatability Fixes( backport v4.0)
See merge request espressif/esp-idf!8951
2020-06-05 13:50:27 +08:00
Angus Gratton
2f51b520c6
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi_v4.0' into 'release/v4.0'
...
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI (v4.0)
See merge request espressif/esp-idf!9014
2020-06-04 18:24:07 +08:00
Angus Gratton
84d6d48fe0
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
...
Closes https://github.com/espressif/esp-idf/issues/5321
2020-06-04 18:32:58 +10:00
KonstantinKondrashov
51bb86f0a6
partition_table: Fix parttool.py crashes when retrieving partition info
...
Closes: IDFGH-3279
Closes: https://github.com/espressif/esp-idf/issues/5271
2020-06-04 16:31:26 +08:00
Alexander Borsuk
7eaea6c726
sdmmc: Correctly check function parameters before using them
...
Closes https://github.com/espressif/esp-idf/pull/5000
2020-06-04 12:01:59 +08:00
kapil.gupta
9746fa569c
wpa_supplicant: WPS Inter operatability Fixes
...
Add WPS IOT fixes under config option
Current fixes under this flag.
1. Allow NULL-padded WPS attributes.
2. Bypass WPS-Config method validation
2020-06-03 13:33:49 +00:00
Nachiket Kukade
40385ea454
wpa_supplicant: Allow NULL-padded WPS attributes
...
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1.
2020-06-03 13:33:49 +00:00
morris
d96d68ea38
ethernet: support pin emac task to core
2020-06-03 19:54:22 +08:00
Island
9718338984
Merge branch 'bugfix/ble_mesh_remove_relay_dependency_v4.0' into 'release/v4.0'
...
ble_mesh: Remove relay option dependency (v4.0)
See merge request espressif/esp-idf!9027
2020-06-03 15:20:51 +08:00
Island
5a61c4c24c
Merge branch 'bugfix/ble_mesh_example_nvs_store_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh example nvs store (v4.0)
See merge request espressif/esp-idf!9017
2020-06-03 15:12:17 +08:00
Island
ceffc0837e
Merge branch 'bugfix/ble_mesh_model_recv_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh model recv fix (v4.0)
See merge request espressif/esp-idf!9008
2020-06-03 15:11:32 +08:00
Island
ece24128da
Merge branch 'bugfix/ble_mesh_rework_prov_pdu_len_check_v4.0' into 'release/v4.0'
...
ble_mesh: Rework prov pdu length check (v4.0)
See merge request espressif/esp-idf!9004
2020-06-03 15:10:52 +08:00
Anton Maklakov
7d6bcf5f5e
docs: Fixup format of a command line to build unit tests
2020-06-03 12:17:36 +07:00
xiongyu
f75088d40d
bugfix(uart): fix esp32 uart fifo_cnt bug
...
When using DPort to read fifo, fifo_cnt is not credible, we need to calculate the real cnt based on the fifo read and write pointer. When using AHB to read FIFO, we can use fifo_cnt to indicate the data length in fifo.
2020-06-03 12:29:06 +08:00
lly
19f69333f7
ble_mesh: Remove relay option dependency
...
When the relay functionality of a node is not enabled, this
issue will cause the node failing to send messages to fixed
group.
2020-06-02 19:18:52 +08:00
Jiang Jiang Jian
695ad84654
Merge branch 'bugfix/fix_some_wifi_bugs_0522_v4.0' into 'release/v4.0'
...
feature: optimize some wifi API (backport v4.0)
See merge request espressif/esp-idf!8878
2020-06-02 17:39:15 +08:00
lly
1636c2ba6b
ble_mesh: Add nvs operations for examples
...
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info
Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-02 14:04:37 +08:00
lly
db2376bb09
ble_mesh: Add mesh example common nvs operations
2020-06-02 14:04:36 +08:00
lly
b55020ad80
ble_mesh: Config and health client btc fixes
...
Fix an issue which may cause no error code is returned
when sending config client or health client messages
with invalid parameters.
2020-06-02 14:04:35 +08:00
lly
1ac6d48fcf
ble_mesh: Add more checks of net_idx & app_idx
2020-06-02 14:04:35 +08:00
lly
268f5ad6c6
ble_mesh: Optimize some send & recv logs
2020-06-02 14:04:34 +08:00
Island
1ab23bfd3d
Merge branch 'bugfix/ble_mesh_local_model_sub_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh local model sub (v4.0)
See merge request espressif/esp-idf!8984
2020-06-02 10:58:40 +08:00
lly
205425b86b
ble_mesh: correct the return type [Zephyr]
2020-06-02 10:32:25 +08:00
lly
c2589b0b57
ble_mesh: Add net_buf_simple_init_with_data [Zephyr]
2020-06-02 10:32:24 +08:00
lly
f990d725f4
ble_mesh: Optimize model recv operations [Zephyr]
...
Previously the model recv operation is a littl fuzzy.
With the changes, the model recv operation is splitted into:
- find op
- check app_idx
- check dst
- check length
- update info & handle message
2020-06-02 10:32:23 +08:00
lly
073b8daa6e
ble_mesh: Rework prov pdu length check
2020-06-02 10:14:50 +08:00
Angus Gratton
6a844f3737
Merge branch 'bugfix/kconfig_hex_values_v4.0' into 'release/v4.0'
...
kconfig: Fix two cases of hex values being handled incorrectly (v4.0)
See merge request espressif/esp-idf!8788
2020-06-01 14:48:16 +08:00
ronghulin
b571992626
feature: optimize some wifi API
...
1. optimization esp_wifi_set_max_tx_power description
2. Add API esp_wifi_ap_get_sta_aid
2020-06-01 11:07:49 +08:00
lly
cd40f3ad52
ble_mesh: Local model (un)subscribes group address
2020-06-01 09:11:27 +08:00
lly
11cfb44e58
ble_mesh: Define a macro for invalid company id
2020-06-01 09:11:26 +08:00
Jiang Jiang Jian
c00fe4c53c
Merge branch 'bugfix/wpa3_auth_coex_issue_v4.0' into 'release/v4.0'
...
Fix WPA3 Auth issue in coex scenario (backport v4.0)
See merge request espressif/esp-idf!8838
2020-05-29 18:05:43 +08:00
He Yin Ling
64114efdaf
Merge branch 'bugfix/ci_push_to_github_on_label_v4.0' into 'release/v4.0'
...
ci: Don't push to Github or deploy docs on customized pipelines (v4.0)
See merge request espressif/esp-idf!8938
2020-05-29 14:04:26 +08:00
Jiang Jiang Jian
569575b404
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v4.0' into 'release/v4.0'
...
flash: fix spi flash clock config error (backport v4.0)
See merge request espressif/esp-idf!8515
2020-05-29 12:46:04 +08:00
Angus Gratton
2f15eacdeb
Merge branch 'bugfix/heap_psram_fill_v4.0' into 'release/v4.0'
...
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on (v4.0)
See merge request espressif/esp-idf!8491
2020-05-29 12:43:45 +08:00
Jiang Jiang Jian
193e9c0d5a
Merge branch 'bugfix/add_so_linger_to_menuconfig_for_4.0' into 'release/v4.0'
...
lw-ip:add so linger to menuconfig for 4.0(backport4.0)
See merge request espressif/esp-idf!8759
2020-05-29 11:15:26 +08:00
Jiang Jiang Jian
5c2ed3af0e
Merge branch 'bugfix/fix_memleak_in_wpa3_feature_v4.0' into 'release/v4.0'
...
fix(wpa_supplicant): fix memleak in wpa3 feature (backport v4.0)
See merge request espressif/esp-idf!8655
2020-05-29 11:14:36 +08:00
Jiang Jiang Jian
6b5c89b684
Merge branch 'bugfix/ble_mesh_check_timer_init_v4.0' into 'release/v4.0'
...
ble_mesh: Check the result of creating timer (v4.0)
See merge request espressif/esp-idf!8959
2020-05-28 15:27:21 +08:00
Jiang Jiang Jian
a5ffd527ab
Merge branch 'nimble/update_nimble_submodule_v4.0' into 'release/v4.0'
...
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.0)
See merge request espressif/esp-idf!8795
2020-05-28 15:24:45 +08:00
lly
792605e8fd
ble_mesh: Check the result of creating timer
2020-05-28 10:27:25 +08:00
Island
59e11421bf
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh sync zephyr fixes (v4.0)
See merge request espressif/esp-idf!8949
2020-05-28 10:16:52 +08:00
Island
a90e8d67e9
Merge branch 'bugfix/ble_mesh_not_use_same_private_key_v4.0' into 'release/v4.0'
...
ble_mesh: Not using pre-initialized private key (v4.0)
See merge request espressif/esp-idf!8946
2020-05-28 10:14:45 +08:00
Island
a192095a5e
Merge branch 'bugfix/ble_mesh_comp_data_store_restore_v4.0' into 'release/v4.0'
...
ble_mesh: Same func for storing/restoring comp data (v4.0)
See merge request espressif/esp-idf!8943
2020-05-28 10:13:44 +08:00
Nachiket Kukade
9e21c09a11
esp_wifi: Update wifi lib
...
Fix WPA3 Auth issue in coex scenario
2020-05-27 19:44:39 +05:30
lly
63c83730c2
ble_mesh: Transport tx fields overflow [Zephyr]
...
The transport segmented TX nack and seg_pending fields must be at least
6 bits to avoid overflow for 32 segment messages. This change rearranges
the seg_tx fields to gather all state flag fields in one byte, while
making the counter fields whole bytes.
2020-05-27 17:45:55 +08:00
lly
f781c6edac
ble_mesh: Friend with unknown appkey [Zephyr]
...
Ensures that friend messages are enqueued, even if the packet is
received with an appkey is unknown to the friend. Previously, sdu_recv
would return EINVAL if the appkey was unknown, which would prevent the
lower transport layer from adding the packet to the friend queue. This
is irrelevant for the logic in lower transport, and should not be
returned as an error.
2020-05-27 17:45:49 +08:00
lly
7078065980
ble_mesh: Not using pre-initialized private key
2020-05-27 17:39:35 +08:00
lly
a8afd951dc
ble_mesh: Same func for storing/restoring comp data
2020-05-27 17:31:01 +08:00
Island
652e5352ee
Merge branch 'bugfix/ble_mesh_uses_deprecated_config_v4.0' into 'release/v4.0'
...
ble_mesh: Fix using old config for duplicate scan (v4.0)
See merge request espressif/esp-idf!8901
2020-05-27 17:24:26 +08:00
Angus Gratton
2ea5f522f3
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:06:30 +10:00
Jiang Jiang Jian
20c34cac2d
Merge branch 'bugfix/fix_some_wifi_bugs_0427_v4.0' into 'release/v4.0'
...
Bugfix/fix some wifi bugs 0427 (v4.0)
See merge request espressif/esp-idf!8571
2020-05-27 14:45:04 +08:00
chenjianqiang
e0a70b0675
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-05-27 04:38:40 +00:00
Angus Gratton
90eccf7cba
Merge branch 'ci/test_jobs_v4.0' into 'release/v4.0'
...
ci: Increase target test runnner count
See merge request espressif/esp-idf!8930
2020-05-27 10:10:12 +08:00
Angus Gratton
d1107a5234
ci: Increase target test runnner count
2020-05-27 11:17:52 +10:00
Angus Gratton
43c32f878a
Merge branch 'bugfix/ci_partition_table_detection_v4.0' into 'release/v4.0'
...
CI: Fix partition table detection if "partition" is in the project name (v4.0)
See merge request espressif/esp-idf!8432
2020-05-27 07:51:54 +08:00
Angus Gratton
6059992efd
Merge branch 'feature/ldgen_output_determinism_v4.0' into 'release/v4.0'
...
ldgen: determinism in mapping rule order (v4.0)
See merge request espressif/esp-idf!8663
2020-05-27 07:50:11 +08:00
Angus Gratton
90f6c9652e
Merge branch 'doc/openocd_security_features_v4.0' into 'release/v4.0'
...
doc: Add caveats about using JTAG debugging with hardware security features (v4.0)
See merge request espressif/esp-idf!8464
2020-05-27 07:49:44 +08:00
Angus Gratton
fa527dc6b3
Merge branch 'bugfix/make_to_cmake_msys_py3_v4.0' into 'release/v4.0'
...
tools: Make Unicode from subprocess result in the CMake convert script (v4.0)
See merge request espressif/esp-idf!8544
2020-05-27 07:49:34 +08:00
Angus Gratton
e93405c3a7
Merge branch 'bugfix/heap_trace_invalid_addr_v4.0' into 'release/v4.0'
...
heap: fix backtrace termination (v4.0)
See merge request espressif/esp-idf!8420
2020-05-27 07:49:01 +08:00
Angus Gratton
1d7765eeea
Merge branch 'bugfix/ci_unterminated_sdkconfig_defaults_v4.0' into 'release/v4.0'
...
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci (v4.0)
See merge request espressif/esp-idf!8457
2020-05-27 07:48:43 +08:00
Mahavir Jain
798cc4deb7
Merge branch 'bugfix/pthread_tcb_cleanup_wrapper_v4.0' into 'release/v4.0'
...
Fix linking for vPortCleanUpTCB wrapper (v4.0)
See merge request espressif/esp-idf!8702
2020-05-26 11:48:42 +08:00
Mahavir Jain
254967eea5
Merge branch 'bugfix/wifi_prov_not_stopping_v4.0' into 'release/v4.0'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors (v4.0)
See merge request espressif/esp-idf!8608
2020-05-26 11:48:15 +08:00
Angus Gratton
457e1160bc
Merge branch 'task/update_idf_version_v401' into 'release/v4.0'
...
version: Update to v4.0.1
See merge request espressif/esp-idf!8887
2020-05-26 07:38:09 +08:00
David Čermák
d6a2f9841d
Merge branch 'feature/config_mqtt_task_prio_v4.0' into 'release/v4.0'
...
esp_mqtt: configure task priority, esp_mqtt_abort_connection race condition, clenaup logs and docs (v4.0)
See merge request espressif/esp-idf!8473
2020-05-26 03:37:13 +08:00
David Čermák
d9f4cb89a4
Merge branch 'bugfix/ws_client_fragmented_send_v4.0' into 'release/v4.0'
...
ws_client: fix fragmented send setting proper opcodes (v4.0)
See merge request espressif/esp-idf!8691
2020-05-25 17:19:42 +08:00
David Čermák
76d79dff7c
Merge branch 'bugfix/ipv6_examples_4.0' into 'release/v4.0'
...
socket-examples: IPv6 related update for examples to set correct scoped id (v4.0)
See merge request espressif/esp-idf!8582
2020-05-25 17:18:59 +08:00
lly
9d5ea68c61
ble_mesh: Fix using old config for duplicate scan
2020-05-25 16:54:03 +08:00
Michael (XIAO Xufeng)
1ab129891a
Merge branch 'bugfix/erase_with_vtaskdelay_v4.0' into 'release/v4.0'
...
spi_flash: Add vTaskDelay while a long erasing (v4.0)
See merge request espressif/esp-idf!8599
2020-05-25 14:29:26 +08:00
Angus Gratton
a748457a70
version: Update to v4.0.1
2020-05-25 14:05:55 +10:00
xueyunfei
15916dfbec
add LINGER to menuconfig
2020-05-25 11:31:38 +08:00
Island
c18ffa8604
Merge branch 'example/ble_mesh_structural_adjust_v4.0' into 'release/v4.0'
...
Example/ble mesh structural adjust (v4.0)
See merge request espressif/esp-idf!8871
2020-05-22 19:14:58 +08:00
Island
57932baef3
Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub_v4.0' into 'release/v4.0'
...
ble_mesh: Fix Provisioner failed to publish (v4.0)
See merge request espressif/esp-idf!8874
2020-05-22 19:14:26 +08:00
Island
4c5fd2be70
Merge branch 'bugfix/ble_mesh_friend_init_flag_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh friend init flag (v4.0)
See merge request espressif/esp-idf!8869
2020-05-22 19:13:42 +08:00
Island
7a60ae4bc8
Merge branch 'bugfix/ble_mesh_remove_patch_v4.0' into 'release/v4.0'
...
ble_mesh: Remove patch for the bug of an App (v4.0)
See merge request espressif/esp-idf!8868
2020-05-22 19:13:24 +08:00
Island
7f049cd5dc
Merge branch 'bugfix/ble_mesh_fix_typos_v4.0' into 'release/v4.0'
...
ble_mesh: Fix typos (v4.0)
See merge request espressif/esp-idf!8867
2020-05-22 19:13:05 +08:00
lly
699270e09e
ble_mesh: Fix Provisioner failed to publish
2020-05-22 15:48:49 +08:00
lly
59187b0921
ble_mesh: Fix tutorial links in examples README.md
2020-05-22 14:30:12 +08:00
lly
ec6ebf7d4e
ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_*
2020-05-22 14:30:05 +08:00
lly
bcc1eb916b
ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_*
2020-05-22 14:28:38 +08:00
lly
9891045018
ble_mesh: Rename ble mesh example main & init files
...
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-22 14:22:39 +08:00
lly
009878f02d
ble_mesh: Move the example init to the common_components
2020-05-22 14:21:43 +08:00
David Cermak
ee51d336d3
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-22 06:21:25 +00:00
Simon Brélivet
d7310ae008
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-05-22 06:21:25 +00:00
lly
8bbee15932
ble_mesh: Move the button component to common_components
2020-05-22 14:20:56 +08:00
lly
d15735c71f
ble_mesh: Change the EXTRA_COMPONENT_DIRS used by examples
2020-05-22 14:20:41 +08:00
lly
b63abd2069
ble_mesh: Rename common_vendor_models to common_components
...
Since the scripts of CI will bypass common_components when
trying to get ALL_EXAMPLES, and these BLE Mesh components
will only be used by other mesh examples, i.e. no need to
be compiled as a single example, so we rename the folder
to common_componnets.
2020-05-22 14:20:21 +08:00
David Cermak
acf1478a51
socket-examples: IPv6 related update for examples to set correct scoped id
...
The scope id must be present when connecting to IPv6 Local Link
address.
2020-05-22 06:19:49 +00:00
David Cermak
55dd3c8b77
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:11:44 +00:00
David Čermák
7b01509b19
Merge branch 'bugfix/stop_mac_can_be_controlled_by_user_v4.0' into 'release/v4.0'
...
Bugfix/stop mac can be controlled by user v4.0
See merge request espressif/esp-idf!8762
2020-05-22 14:07:48 +08:00
KonstantinKondrashov
754f59fba7
spi_flash(new driver): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
9926b875d8
spi_flash(LEGACY_IMPL): Add a Kconfig option - Bypass a block erase and always do sector erase
...
Closes: IDF-1561
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
79831e64fd
spi_flash: Add into sim/stubs the esp_timer
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
a128eae7b8
spi_flash(new driver): Add vTaskDelay while a long erasing
2020-05-22 05:07:20 +00:00
KonstantinKondrashov
98ac272a3f
spi_flash(LEGACY_IMPL): Add vTaskDelay while a long erasing
...
Added Kconfig options to enable yield operation during flash erase
Closes: https://github.com/espressif/esp-idf/issues/2083
Closes: https://github.com/espressif/esp-idf/issues/4916
Closes: IDFGH-261
2020-05-22 05:07:20 +00:00
lly
13167a7579
ble_mesh: Clear two more vars during proxy server deinit
2020-05-22 11:39:51 +08:00
lly
acf41f93a9
ble_mesh: Add missing sdkconfig.h
2020-05-22 11:39:51 +08:00
lly
470c959b04
ble_mesh: Init device name during proxy server init
...
Device name will be reset when deinit mesh stack. If not
initializing device name during the next mesh stack init,
it will fail to set the device name when using bluedroid.
2020-05-22 11:39:50 +08:00
lly
dd7c98d6c2
ble_mesh: Add init flag for friend init/deinit
...
Since bt_mesh_friend_init() will only be invoked when
a device is provisioned or Provisioner is enabled, so
we add a flag to indicate if the friend functionality
is initialized in case deinit before initialization.
2020-05-22 11:39:49 +08:00
lly
90aa79fd2b
ble_mesh: Remove patch for the bug of an App
2020-05-22 11:37:30 +08:00
lly
97c1a4b5c6
ble_mesh: Fix typos
2020-05-22 11:34:07 +08:00
Island
5897354d7f
Merge branch 'bugfix/sync_zephyr_bt_mesh_bugfix_v4.0' into 'release/v4.0'
...
Bugfix/sync zephyr bt mesh bugfix (v4.0)
See merge request espressif/esp-idf!8853
2020-05-22 10:50:39 +08:00
Island
6c99fdceb2
Merge branch 'bugfix/ble_mesh_node_old_version_to_new_v4.0' into 'release/v4.0'
...
ble_mesh: Fix mesh node device role restore (v4.0)
See merge request espressif/esp-idf!8854
2020-05-22 10:50:09 +08:00
Island
1340e600c2
Merge branch 'doc/ble_mesh_fix_v4.0' into 'release/v4.0'
...
ble_mesh: Doc miscellaneous fixes (v4.0)
See merge request espressif/esp-idf!8859
2020-05-22 10:49:39 +08:00
lly
cdd35648b7
ble_mesh: Doc miscellaneous fixes
...
- Update ble mesh architecture
2020-05-21 17:48:21 +08:00
Michael (XIAO Xufeng)
6fe46c1798
Merge branch 'bugfix/timer_group_intr_enable_v4.0' into 'release/v4.0'
...
Fix timer group intr enable (backport v4.0)
See merge request espressif/esp-idf!8530
2020-05-21 17:42:02 +08:00
lly
d2bcb5c7ff
ble_mesh: A specific fix for compile warning in idf4.0
...
Compared with the latest idf, idf4.0 defines BIT(nr) in
the "esp_bit_defs.h" without the pre-condition "#ifndef BIT",
which will cause compile warning when using mesh. So we
include the header file "soc/soc.h" in "mesh_util.h",
which can bypass the definition of "BIT" in "mesh_util.h"
when compiling.
2020-05-21 16:50:09 +08:00
lly
2ea69e6df5
ble_mesh: Fix mesh node device role restore
...
Old version of BLE Mesh has no device role storage, because
previously we only support storing mesh node info.
If the binary of the node is upgraded from old version to a
new version (support storing provisioner info), the mesh info
of the node will not be restored because mesh role does not
exist in the flash.
2020-05-21 15:26:50 +08:00
lly
b5bd1bf67e
ble_mesh: Fix not update prov addr in fast prov
...
When using fast provisioning, the Provisioner functionality
will be enabled. Unicast addresses within the pre-allocated
range will be used for provisioning nodes. And during the
address assignment, the allocated unicast address will be
checked that if it's duplicated with other nodes addresses
and the Provisioner's own addresses.
So before starting using fast provisioning, we need to update
the Provisioner address.
2020-05-21 15:22:21 +08:00
lly
8294055c65
ble_mesh: net_key_status only pull one key idx [Zephyr]
...
Fixes bug where the config client's net_key_status handler would attempt
to pull two key indexes from a message which only holds one.
2020-05-21 15:22:21 +08:00
lly
11286e35a2
ble_mesh: Update client message timeout calculation
...
Since the behavior of sending segmented messages has been
changed properly, the calculation of timeout value which
will be used when sending an acknowledged message by a
client model also needs to be updated.
2020-05-21 15:22:20 +08:00
lly
2c5b0a523a
ble_mesh: Add lock for segmented msg operations
...
Add mutex to protect some variables of the mesh segmented
messages.
Currently the timeout handler of mesh will be executed in
the btc task, while the received mesh messages will be
handled in the btu task. In case some variables are set to
NULL when handled in the btu task, meanwhile these variables
are also accessed in the timeout handler, so we add mutex to
protect these variables and related operations.
2020-05-21 15:22:19 +08:00
lly
8c6f6318c0
ble_mesh: Fix dereferencing pointer before checking for NULL [Zephyr]
...
The publication context is checked for NULL in bt_mesh_model_publish()
however it was dereferenced before that. Move the assignment to
ctx.send_rel to the same place where other ctx members are set.
2020-05-21 15:22:18 +08:00
lly
632d9739b5
ble_mesh: Optimize some mesh log output
2020-05-21 15:22:18 +08:00
lly
34cb56b7aa
ble_mesh: Fix restore when revoke keys [Zephyr]
...
Store keys (NetKey and AppKey) again after revoking.
2020-05-21 15:22:17 +08:00
lly
7c12074801
ble_mesh: Spit mesh_util.h into different header files
...
Split mesh_util.h into mesh_byteorder.h, mesh_compiler.h,
mesh_ffs.h and mesh_util.h based on the classification of
Zephyr, which will make further porting more clear.
2020-05-21 15:22:16 +08:00
lly
4b21a34675
ble_mesh: Split mesh os related into a separate file
2020-05-21 15:22:13 +08:00
lly
ac51ec11ec
ble_mesh: Split mesh mutex into a separate file
2020-05-21 15:19:52 +08:00
lly
7db10be193
ble_mesh: Rename mesh_kernel.* to mesh_timer.*
2020-05-21 15:19:51 +08:00
lly
fde075aec2
ble_mesh: Add and use transport macro definitions [Zephyr]
2020-05-21 15:19:51 +08:00
lly
cbd2bcfbd2
ble_mesh: Friend SeqAuth cleanup [Zephyr]
...
The Friend queue uses the message SeqAuth to determine whether the
message is already in the queue. To facilitate this, the SeqAuth is
passed around as a pointer throughout the transport modules. In the
bt_mesh_ctl_send functions, this parameter is also exposed in the API,
but the internal usage is inconsistent and buggy. Also, no one actually
uses this parameter.
- Removes seq_auth param from bt_mesh_ctl_send, instead passing NULL
directly to the friend module, to enforce its addition to the queue.
- Makes the seq_auth pointer const throughout the friend module.
2020-05-21 15:19:50 +08:00
lly
5c5621790a
ble_mesh: Rework msg_cache [Zephyr]
...
Changes the behavior of the message cache to optimize for cache
capacity. Previously, the message cache's primary function was to avoid
decrypting messages multiple times, although the cache's main function
in the spec is to avoid message rebroadcasting. Optimizing for minimal
decryption causes us to fill the network cache faster, which in turn
causes more cache misses, potentially outweighing the advantage.
Now stores src + seq in message cache instead of field hash value. This
cuts cache size in two, while including more of the sequence number than
before.
Adds messages to the cache only after the packet is successfully
decrypted. This reduces noise in the cache, and ensures that no
invalid deobfuscations are added.
Additionally, this fixes a bug where multiple calls to net_decrypt with
the same packet failed, as the message cache found its own entry from
the previous call.
2020-05-21 15:19:49 +08:00
lly
fbdb7ff665
ble_mesh: Segmented TX to groups [Zephyr]
...
Implements several changes to the transport layer segmented tx to
improve group message performance:
- Moves retransmit counter to tx context instead of per packet. As every
unacked packet is sent every retransmit, the retransmit counters would
be the same in each segment. This makes it easier to control progress.
- Delays the scheduling of the retransmit until the completion of the
last segment by adding a seg_pending counter. This is essentially the
same as the old behavior, except that the old behavior might retrigger
the sending before all segments are finished if the advertising is
slow.
- Allows the group transmits to stop as soon as all retransmits have
been exhausted, instead of timing out waiting for acks that won't
come. This allows group tx to finish without error.
- Fixes a bug where a failed TX would block IV update.
- Cancels any pending transmissions of acked segments.
- Reduces log level for several common group tx scenarios that aren't
erronous.
2020-05-21 15:19:49 +08:00
lly
bbfaaa2044
ble_mesh: Add comment explaining use of byte order [Zephyr]
...
Add comment that explains why a different byte order is used for the
3-byte opcode on the CID part of the opcode.
2020-05-21 15:19:48 +08:00
lly
ad14507e3f
ble_mesh: Use 24-bit functions [Zephyr]
...
Use 24-bit functions for byteorder and net_buf in order to make the
byteorder used more readable.
2020-05-21 15:19:47 +08:00
lly
c9d1255ce4
ble_mesh: Optimize net_buf_simple routines [Zephyr]
...
Use sys_put_xyz() helpers instead of memcpy() whenever possible. This
brings in straight-line inline code for pushes and adds of known,
small sizes.
2020-05-21 15:19:46 +08:00
lly
25569cd9de
ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h
2020-05-21 15:19:46 +08:00
lly
416e8958fa
ble_mesh: Add push functions for supported bit-variants [Zephyr]
...
Add push functions for bit-widths supported by add and pull functions.
2020-05-21 15:19:45 +08:00
lly
cde1592bf3
ble_mesh: Add support for 64 bit data type [Zephyr]
...
This enables pulling and pushing values in 64 bit format.
2020-05-21 15:19:44 +08:00
lly
0af05fdee1
ble_mesh: Add support for 48 bit data type [Zephyr]
...
This enables pulling and pushing values in 48 bit format.
2020-05-21 15:19:44 +08:00
lly
4536a485be
ble_mesh: Add 48 bit variants [Zephyr]
...
This adds sys_*_*48 functions that operation on a 48 bits values.
2020-05-21 15:19:43 +08:00
lly
e7d37f2d1a
ble_mesh: Add support for 24 bit data type [Zephyr]
...
This enables pulling and pushing values in 24 bit format.
2020-05-21 15:19:42 +08:00
lly
fd17ff2f0b
ble_mesh: Add 24 bit variants [Zephyr]
...
This adds sys_*_*24 functions that operation on a 24 bits values.
2020-05-21 15:19:41 +08:00
lly
e322c5950b
ble_mesh: Group resends in proxy nodes [Zephyr]
...
Resend transport segments for groups on the advertiser interface, even
if a connected proxy node holds the group.
2020-05-21 15:19:41 +08:00
lly
1f96a6f35d
ble_mesh: Typo in condition in comp_add_elem of cfg_srv [Zephyr]
...
Vendor model IDs take up four (not two) bytes in the composition
2020-05-21 15:19:40 +08:00
lly
4fddf1156b
ble_mesh: GATT Proxy Spec 1.0.1 changes [Zephyr]
...
Backport of https://github.com/apache/mynewt-nimble/pull/724
Mesh spec 1.0.1 changes proxy disabling behavior to only affect the
relaying from proxy nodes. Previously, disabling proxy would shut down
all proxy and node activity.
Tweaks from the original commit:
- Removed redundant call to bt_mesh_adv_update() in gatt_proxy_set()
- Removed invalid ref to 4.2.11.1 in node_identity_set()
---
According to Mesh Profile Spec 1.0.1, Section 4.2.11:
"If the Proxy feature is disabled, a GATT client device can connect
over GATT to that node for configuration and control. Messages from
the GATT bearer are not relayed to the advertising bearer."
Moreover some notes have been removed from the spec compared to
version 1.0:
Mesh Profile Spec 1.0, Section 4.2.11:
"Upon transition from GATT Proxy state 0x01 to GATT Proxy state 0x00
the GATT Bearer Server shall disconnect all GATT Bearer Clients."
"The Configuration Client should turn off the Proxy state as the last
step in the configuration process."
Mesh Profile Spec 1.0, Section 4.2.11.1:
"When the GATT Proxy state is set to 0x00, the Node Identity state
for all subnets shall be set to 0x00 and shall not be changed."
2020-05-21 15:19:39 +08:00
lly
833483bb22
ble_mesh: Support reliable sending when publishing [Zephyr]
...
Until now the choice of reliable sending (segmented messages with
acks) was implicitly dependent on the size of the payload. Add a new
member to the bt_mesh_model_pub to force using segment acks even when
the payload would fit a single unsegmented message.
2020-05-21 15:19:39 +08:00
lly
3d4948664b
ble_mesh: Check device uuid when init provisioning
2020-05-21 15:19:38 +08:00
lly
203f871420
ble_mesh: Fix provisioning buffer initialization [Zephyr]
...
When PB-GATT support has been enabled the provisioning code "borrows"
the buffer from the proxy code. However, the way that initialization
was happening the proxy buffers were initialized only after
provisioning initialization, resulting in a corrupted buffer with
buf->data pointing to NULL. Reorder the initialization calls so that
proxy is done first and provisioning only after it.
2020-05-21 15:19:37 +08:00
lly
2c6a3f9e5b
ble_mesh: Skip publish if update fails [Zephyr]
...
Allow models to skip a periodic publish interval by returning an error
from the publish update callback.
Previously, an error return from publish update would cancel periodic
publishing. This can't be recovered from, and as such, no valid model
implementation could return an error from this callback, and there was
no way to skip a periodic publish.
2020-05-21 15:19:36 +08:00
lly
2b6131b5f4
ble_mesh: Enable Segmented Control Messages [Zephyr]
...
The function bt_mesh_ctl_send() used to support maximum length of
11 bytes. The segmentation complies with the BLE Mesh Standard.
The ack is disabled in case of non unicast address.
2020-05-21 15:19:36 +08:00
Island
793d2b11f1
Merge branch 'bugfix/ble_mesh_not_ignore_msg_in_fast_prov_v4.0' into 'release/v4.0'
...
ble_mesh: Not ignore msg when fast prov is enabled (v4.0)
See merge request espressif/esp-idf!8711
2020-05-21 15:16:08 +08:00
Island
bbc95d981c
Merge branch 'bugfix/ble_mesh_use_sdkconfig_ci_v4.0' into 'release/v4.0'
...
ble_mesh: Add bluedroid and nimble example configurations (v4.0)
See merge request espressif/esp-idf!8499
2020-05-21 15:14:45 +08:00
Island
471171cb32
Merge branch 'feat/ble_mesh_sensor_model_example_v4.0' into 'release/v4.0'
...
ble_mesh: Add ble mesh sensor model examples (v4.0)
See merge request espressif/esp-idf!8508
2020-05-21 15:14:22 +08:00
Island
3b4ff12246
Merge branch 'bugfix/ble_mesh_compile_error_o2_v4.0' into 'release/v4.0'
...
ble_mesh: Fix compile error when -O2 (performance) is chosen (v4.0)
See merge request espressif/esp-idf!8617
2020-05-21 15:13:56 +08:00
Island
351dba9272
Merge branch 'bugfix/ble_mesh_provisioner_check_key_v4.0' into 'release/v4.0'
...
ble_mesh: Check if appkey exist before deleting it (v4.0)
See merge request espressif/esp-idf!8620
2020-05-21 15:13:31 +08:00
Island
7b6236c2d9
Merge branch 'bugfix/ble_mesh_node_reset_erase_v4.0' into 'release/v4.0'
...
ble_mesh: Fix node not erase info completely (v4.0)
See merge request espressif/esp-idf!8623
2020-05-21 15:12:21 +08:00
Michael (XIAO Xufeng)
1ce4c20115
Merge branch 'bugfix/fix_gpio_wake_up_disable_invalid_for_rtc_io_v4.0' into 'release/v4.0'
...
bugfix (GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
See merge request espressif/esp-idf!7996
2020-05-21 11:39:39 +08:00
lly
3e885dc73b
ble_mesh: Add bluedroid and nimble example configurations
2020-05-20 11:25:07 +00:00
lly
c85d7dfd5a
ble_mesh: Add ble mesh sensor model examples
2020-05-20 10:51:55 +00:00
lly
9a654ec590
ble_mesh: Add some common macros for sensor model
2020-05-20 10:51:55 +00:00
lly
193828f121
ble_mesh: Allow empty sensor series column value
2020-05-20 10:51:55 +00:00
lly
fab2dcb790
ble_mesh: Check if same sensor (settings) property id exists
2020-05-20 10:51:55 +00:00
lly
d3619d0b45
ble_mesh: Allow empty sensor settings exist
2020-05-20 10:51:55 +00:00
Prasad Alatkar
5af06f49f5
NimBLE: Include upstream fixes and use macros for log level filtering (backport v4.0)
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-20 16:19:55 +05:30
zhangyanjiao
e430860df3
wifi changes:
...
1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
4. fix the timeout issue of EAPOL four-way handshake
5. fix the crash issue when fetch peer after delete the cur_peer
2020-05-20 18:13:07 +08:00
Angus Gratton
4c81978a3e
Merge branch 'bugfix/doc_version_links_v4.0' into 'release/v4.0'
...
doc: Fix broken Release page links when building a stable version (v4.0)
See merge request espressif/esp-idf!8821
2020-05-20 13:17:23 +08:00
xiehang
ddc2427385
esp_wifi:Add softap example channel configuration
2020-05-20 10:59:04 +08:00
Angus Gratton
6153026f22
doc: Fix broken Release page links when building a stable version
2020-05-20 11:32:53 +10:00
Angus Gratton
18abdd7cb0
confserver: Always store hex values in sdkconfig with 0x prefix
...
This is not necessary for correct behaviour or to have valid sdkconfig files
(previous commit adds tests for this), but it's useful for consistency with
sdkconfig files generated by menuconfig.
As reported in https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-18 17:02:37 +10:00
Angus Gratton
260fe847e2
kconfig: Fix generation of hex outputs for Make & CMake
...
And add tests for hex output formatting in all output formats.
Previously, Make & CMake outputs only formatted hex values with the 0x prefix
if they had the 0x prefix in the sdkconfig file. Now this prefix is always
applied.
Closes https://github.com/espressif/vscode-esp-idf-extension/issues/83
2020-05-18 17:02:37 +10:00
Jiang Jiang Jian
fc2199c5d6
Merge branch 'bugfix/wpa3_mixed_mode_authype_v4.0' into 'release/v4.0'
...
esp_wifi: Add and utilize WPA3/WPA2 Mixed mode Authtype (backport v4.0)
See merge request espressif/esp-idf!8768
2020-05-17 17:05:15 +08:00
Jiang Jiang Jian
4695eeddee
Merge branch 'bufix/fix_v4.0_bluedroid_bugs_mr' into 'release/v4.0'
...
component/bt: fix notify malloc failed , fix no BLE_AUTH_CMPL_EVT and fix bluedroid btc deinit crash(backport 4.0)
See merge request espressif/esp-idf!8755
2020-05-16 19:53:15 +08:00
Piyush Shah
65d4596a36
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-05-15 13:50:47 +00:00
Nachiket Kukade
748720a466
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype
2020-05-15 14:58:07 +05:30
xueyunfei
8688bd0593
add LINGER to menuconfig
2020-05-15 17:18:50 +08:00
zhiweijian
6ee978c6aa
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 16:18:31 +08:00
wangcheng
d231b25bc4
fix bta_dm_deinit_cb crash
2020-05-15 16:16:26 +08:00
wangcheng
456c8bdbdf
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-15 16:16:26 +08:00
Jiang Jiang Jian
94917184be
Merge branch 'bugfix/wpa3_pmf_memleak_fix_v4.0' into 'release/v4.0'
...
WPA3 / PMF memory leak fixes (backport v4.0)
See merge request espressif/esp-idf!8677
2020-05-15 15:11:44 +08:00
morris
b13d96ae8b
ethernet: better control start/stop/uninstall/install
2020-05-14 22:12:42 +08:00
morris
496ab2a83f
ethernet: esp_eth_stop API should stop emac hardware
2020-05-14 22:10:37 +08:00
Angus Gratton
3c882991b5
Merge branch 'bugfix/ethernet_task_watchdog_timeout' into 'release/v4.0'
...
ethernet: fix potential task watch dog timeout (backport 4.0)
See merge request espressif/esp-idf!8743
2020-05-14 16:21:35 +08:00
Angus Gratton
4d35a99c12
Merge branch 'nimble/config_option_sdkconfig_rename_v4.0' into 'release/v4.0'
...
Add NimBLE config options in sdkconfig.rename (v4.0)
See merge request espressif/esp-idf!8736
2020-05-14 16:19:36 +08:00
morris
6442184dd8
ethernet: fix potential task watch dog timeout
2020-05-14 14:23:32 +08:00
Hrishikesh Dhayagude
02c47360f1
Add NimBLE config options in sdkconfig.rename
2020-05-14 11:31:53 +10:00
Nachiket Kukade
db5f01429f
wpa_supplicant: Fix memory leaks in WPA3 connection
...
1. Buffers for SAE messages are not freed after the handshake.
This causes memory leak, free buffers after SAE handshake.
2. SAE global data is not freed until the next WPA3 connection
takes place, holding up heap space without reason. Free theis
data after SAE handshake is complete or event fails.
3. Update wifi lib which includes memory leak fix during BIP
encryption/decryption operations.
2020-05-13 20:45:34 +05:30
Nachiket Kukade
b938846de6
wpa_supplicant: Fix formatting of file esp_wpa3.c
...
Replace tabs with spaces in esp_wpa3.c.
2020-05-13 20:35:56 +05:30
Jiang Jiang Jian
7d295e18bc
Merge branch 'bugfix/fix_switch_channel_without_discon_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix AP switch to adjacent channel without disconnect (backport v4.0)
See merge request espressif/esp-idf!8705
2020-05-13 19:58:22 +08:00
lly
b47111c708
ble_mesh: Not ignore msg when fast prov is enabled
...
When fast provisioning is enabled, Provisioner shall not
ignore messages from the nodes whose addresses are not in
the provisioning database. Because other nodes which are
not provisioned by the Primary Provisioner will send node
address messages to the Primary Provisioner.
2020-05-13 10:09:50 +08:00
Jiang Jiang Jian
6a6de506b1
Merge branch 'bugfix/supplicant_general_fixes_40' into 'release/v4.0'
...
wpa_supplicant: Fix some memleaks and invalid memory access (backport v4.0)
See merge request espressif/esp-idf!8553
2020-05-12 20:17:51 +08:00
Jiang Jiang Jian
12a65aaac1
Merge branch 'bugfix/wep40_key_parsing_bug_v4.0' into 'release/v4.0'
...
wpa_supplicant: Add parsing support for WEP40 key(backport)
See merge request espressif/esp-idf!8684
2020-05-12 20:17:15 +08:00
Jiang Jiang Jian
6bfad8a47d
Merge branch 'fixbug/tcp_kill_state_assert_for_v4.0' into 'release/v4.0'
...
lw-ip:fixbug for tcp kill state assert(backport 4.0)
See merge request espressif/esp-idf!8451
2020-05-12 20:15:45 +08:00
xiehang
0863de4a69
esp_wifi: Fix AP switch to adjacent channel without disconnect
2020-05-12 17:20:48 +08:00
Shubham Kulkarni
db3a1110ec
pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper
2020-05-12 10:35:47 +05:30
kapil.gupta
398dc28a4e
wpa_supplicant: Add parsing support for WEP40 key
...
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-05-11 11:23:10 +05:30
Renz Bagaporo
4011393920
ldgen: determinism in mapping rule order
...
This MR imposes some determinism in the mapping rule order in the output
file. For each section, the archives are arranged alphabetically
(ascending), and the mapping rules in each archive are arranged by
increasing specificity then alphabetically (ascending). The default
rules remain the very first rule for each section.
2020-05-08 21:10:19 +08:00
Zhang Jun Hao
a87df25d9e
fix(wpa_supplicant): fix memleak in wpa3 feature
2020-05-08 16:25:38 +08:00
lly
814108f9ac
ble_mesh: Add length check for some mesh operations
2020-05-07 09:18:15 +00:00
lly
baf0fb3576
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-05-07 09:18:15 +00:00
lly
a895bb157f
ble_mesh: Fix node not erase info completely
...
Previously only mesh node info is supported to be stored
in flash. So when trying to reset the node, we only need
to judge if the BLE_MESH_VALID flag is set.
Currently we support storing both node & Provisioner info
in flash, when trying to erase the node info from flash,
the BLE_MESH_NODE flag will be checked. So we need to set
bt_mesh.flags to 0 when all the erase operations are done.
2020-05-07 09:16:51 +00:00
Angus Gratton
b0f053d82d
Merge branch 'bugfix/get_started_export_profile_v4.0' into 'release/v4.0'
...
docs: remove suggestion about running export.sh from .profile script (backport v4.0)
See merge request espressif/esp-idf!8614
2020-05-07 12:07:05 +08:00
kapil.gupta
4242519894
wpa_supplicant: Fix some memleaks and invalid memory access
...
Add changes to fix issues reported in clang analyzer
2020-05-06 11:06:51 +00:00
morris
b3c3b4e7f0
ethernet: not using latch register to check link
2020-05-06 17:28:18 +08:00
morris
f09c9b957c
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-05-06 17:28:18 +08:00
dowster
24c9f56d45
Fix typo with sigmadelta.h #ifdef
2020-05-06 17:28:18 +08:00
Angus Gratton
08bcb587ec
Merge branch 'fix/ci_example_test_prov_v4.0' into 'release/v4.0'
...
CI: Fix prov example test exception handle (v4.0)
See merge request espressif/esp-idf!8440
2020-05-06 16:59:20 +08:00
Jiang Jiang Jian
c5a8dc85b7
Merge branch 'feature/wpa3_pmf_pmk_caching_backport_v4.0' into 'release/v4.0'
...
WPA3, PMF & PMK caching support (backport v4.0)
See merge request espressif/esp-idf!8625
2020-05-06 15:41:05 +08:00
Shivani Tipnis
a7ca14b064
CI: Fix prov example test cryptography package version exception handling
2020-05-06 04:54:59 +00:00
Nachiket Kukade
4557c686b8
wpa_supplicant: Fix EAP Re-authentication issue
...
EAP reauth frames are dropped at various stages due to current
implementation of WPA2 ENT states and EAP SM init/deinit logic.
Route EAPOL frames based on EAP pkt type and maintain EAP SM
to facilitate EAP re-authentication process.
2020-05-06 10:21:45 +05:30
Nachiket Kukade
5e33a351f1
esp_wifi: Enable WPA3 & PMF by default
2020-05-06 10:21:41 +05:30
Nachiket Kukade
1fc54cfad8
Increase example cmake parallel jobs number
2020-05-06 10:21:29 +05:30
Nachiket Kukade
bc7a34b494
wpa_supplicant: Disable TLSv1.2 by default
...
Some Enterprise Authentication Servers do not support TLS v1.2.
Move this option to Menuconfig and disable by default.
2020-05-06 10:21:25 +05:30
Nachiket Kukade
ab81940982
esp_wifi: Additional changes for WPA3 & PMF testcases
...
Added WPA3 Testcases support for -
1. Anti-Clogging Token Request support
2. Return correct status from SAE modules for invalid scenarios
3. Add PMK Caching support for WPA3
wifi lib includes fixes for below PMF Certification issues -
1. Check return status of decrypt operation. Fixes 5.3.3.1.
2. Allow PMF negotiation for WPA2-Enterprise. Fixes 5.3.3.2, 5.3.3.4.
3. Add NULL check on key before encrypting PMF, fixes crash.
2020-05-06 10:20:46 +05:30
Sagar Bijwe
6d6b7b09e8
wifi: Add PMF and WPA3 documentation
2020-05-06 10:20:40 +05:30
Nachiket Kukade
d36663b798
wpa_supplicant: Support WPA3 4-way handshake, add config option
...
1. Add changes in 4-way handshake path to allow SAE key mgmt.
2. Support for configuring WAP3 at init time, added Kconfig option.
3. Handle and propagate error conditions properly.
2020-05-06 10:20:35 +05:30
Nachiket Kukade
6b76228fcb
wpa_supplicant: Add SAE handshake support for WPA3-PSK
...
Under WPA3-Personal, SAE authentication is used to derive PMK
which is more secure and immune to offline dictionary attacks.
1. Add modules to generate SAE commit/confirm for the handshake
2. Add modules that build and parse SAE data in Auth frames
3. Add WPA3 association and key mgmt definitions
4. Invert y-bit while solving for ECC co-ordinate -
Once an X co-ordinate is obtained, solving for Y co-ordinate
using an elliptical curve equation results in 2 possible values,
Y and (P - Y), where p is the prime number. The co-ordinates are
used for deriving keys in SAE handshake. As par the 802.11 spec
if LSB of X is same as LSB of Y then Y is chosen, (P - Y) otherwise.
This is not what is implemented, so fix this behavior to obtain the
correct Y co-ordinate.
2020-05-06 10:20:26 +05:30
Sagar Bijwe
8f5f828ad6
wpa_supplicant: Adding SAE modules with testcase
...
This change ports SAE(Simultaneous Authentication of Equals)
feature from wpa_supplicant and makes it work with mbedtls
crypto APIs. Currently only group 19 is supported. A sample
SAE handshake is included in the testcase. Other minor
changes for DH groups are also included.
2020-05-06 10:20:22 +05:30
Nachiket Kukade
5c5ae96be2
Add encryption/decryption support for PMF
...
1. Add CCMP, AES crypto modules for unicast protected Mgmt frames
2. Add support for computing SHA256 MIC on Bcast Mgmt frames
3. Add support for storing iGTK during 4-way handshake.
4. Provide APIs to MLME for utilizing the SW crypto modules
2020-05-06 10:20:16 +05:30
Nachiket Kukade
1b7f3fee5c
Add support for PMF configuration and negotiation
...
1. Add APIs for configuring PMF through set config.
2. Map Supplicant and Wifi Cipher types.
3. Add support for PMF negotiation while generating RSN IE.
2020-05-06 10:20:11 +05:30
Hrudaynath Dhabe
b7dc47108f
wifi: Add code required to backport PMK Caching
2020-05-06 10:19:52 +05:30
liu zhifu
8cd210b38b
esp_wifi/supplicant: fix some WiFi stop memory leak
2020-05-06 10:15:51 +05:30
Hrudaynath Dhabe
19e840aa53
wpa_supplicant: Set assoc_ie_len based on generated RSN/WPA IE
2020-05-06 10:15:46 +05:30
Hrudaynath Dhabe
39acf9c4dd
wifi: Add PMK caching feature for station WPA2-enterprise
...
4. Pmksa cache expiry after dot11RSNAConfigPMKLifetime timeout.
2020-05-06 10:15:43 +05:30
Sagar Bijwe
2da4ffa2aa
wifi: Add PMK caching feature for station WPA2-enterprise
...
1) Added PMK caching module from wpa_supplicant.
2) Modified wpa_sm to
a) Add entry to PMK cache when first time associated to an AP.
b) Maintain entry across the associations.
c) Clear current PMKSA when deauth happens.
d) Search for an entry when re-associating to the same AP and
set it as current PMKSA
e) Wait for msg 1/4 from AP instead of starting EAP authentication.
f) Check PMKID in msg 1 with current PMKSA/cache.
g) Use the cached PMK to complete 4-way handshake.
3) Remove config_bss callback as it was redundant and used to cause
problems for PMK caching flow.
Closes IDF-969
2020-05-06 10:15:36 +05:30
lly
30c645d9c2
ble_mesh: Check if appkey exist before deleting it
2020-05-06 11:39:02 +08:00
Jiang Jiang Jian
b9fa6b0b1a
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v4.0' into 'release/v4.0'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v4.0)
See merge request espressif/esp-idf!8401
2020-05-06 11:16:24 +08:00
Island
5f71ec3640
Merge branch 'bugfix/ble_mesh_rpl_list_size_v4.0' into 'release/v4.0'
...
ble_mesh: Associate replay protection list size with nodes count (v4.0)
See merge request espressif/esp-idf!8495
2020-05-06 11:14:21 +08:00
Island
a44f473d4a
Merge branch 'doc/ble_mesh_fixes_v4.0' into 'release/v4.0'
...
doc: Fix some ble mesh description (v4.0)
See merge request espressif/esp-idf!8503
2020-05-06 11:12:57 +08:00
Island
beb64a1af4
Merge branch 'bugfix/ble_mesh_add_missing_cpp_v4.0' into 'release/v4.0'
...
ble_mesh: Add missing #ifdef __cplusplus (v4.0)
See merge request espressif/esp-idf!8506
2020-05-06 11:12:25 +08:00
Island
7b8356ee2f
Merge branch 'bugfix/ble_mesh_time_scene_wrong_name_v4.0' into 'release/v4.0'
...
ble_mesh: Fix time scene wrong macro name (v4.0)
See merge request espressif/esp-idf!8511
2020-05-06 11:11:00 +08:00
Ivan Grokhotkov
7fbfb1aa03
docs: remove suggestion about running export.sh from .profile script
...
This was quite obviously a bad suggestion, and it seems that some
users have actually read the docs attentively enough to have followed
it. Replace be recommendation to create an alias.
Closes https://github.com/espressif/esp-idf/issues/3889
2020-05-05 21:39:30 +02:00
Angus Gratton
02b5db37d1
doc: Specify that sleep wakeup source restrictions apply to all current ESP32 revisions
...
Closes https://github.com/espressif/esp-idf/issues/4681
Discussion https://esp32.com/viewtopic.php?f=13&t=15145
2020-04-30 15:36:04 +10:00
Roland Dobai
7f4b651434
tools: Make Unicode from subprocess result in the CMake convert script
...
Fixes an issue with Python 3 in MSYS where it fails while trying to join
paths where one part is Unicode (default string on Python3) and the
second part are bytes (returned by the subprocess call).
Closes https://github.com/espressif/esp-idf/issues/5189
2020-04-28 15:22:27 +02:00
lly
b97d4c617b
ble_mesh: Fix time scene wrong macro name
2020-04-27 16:26:23 +08:00
lly
765bd76ba3
ble_mesh: Add missing #ifdef __cplusplus
2020-04-27 15:34:14 +08:00
lly
9370264cac
doc: Fix some ble mesh description
2020-04-27 15:25:46 +08:00
Angus Gratton
07c1d9d9c7
doc: Add warnings about using JTAG debugging with hardware security features
...
This is related to the following issues but is not a fix, just documentation of a workaround until we can
improve the support:
https://github.com/espressif/esp-idf/issues/4878
https://github.com/espressif/esp-idf/issues/4734
2020-04-27 16:41:16 +10:00
lly
8bfa01cc28
ble_mesh: Fix client local parameters not initialized
2020-04-27 14:39:40 +08:00
lly
90a9444696
ble_mesh: Continue node info restore even if failure happens
...
During BLE Mesh Provisioner initialization, the stack will restore
the nodes information if settings storage is enabled.
Previously when a failure happens (e.g. found the same uuid) during
the restore procedure, the information of the following nodes will
not be restored and error will be directly returned.
But this will introduce some problem with user experience, because
some newly provisioned nodes information will not be restored and
Provisioner will not be able to control those nodes.
So we change the operation here, when a failure happens during the
restore procedure, Provisioner will only ignore the information of
the current node and continue restoring other nodes information.
2020-04-27 14:39:40 +08:00
lly
b9fd2673a7
ble_mesh: Remove some redundant functions
2020-04-27 14:39:39 +08:00
lly
7595116353
ble_mesh: Notify unprovisioned device beacon to application layer
...
With this change, if a Provisioner has provisioned the maximum
number of nodes, it can still report the unprovisioned device
beacon from other nodes to the application layer. And this will
be more reasonable compared with the previous implementation.
Previously when the node array of Provisioner is full, no beacon
from unprovisioned devices will be reported, only some warning
logs will be given.
2020-04-27 14:39:38 +08:00
lly
9aae0f2dee
ble_mesh: Check if assigned node address is duplicated
...
Previously only check the node address when it is assigned by the
application layer. Here we also check the address when the address
is allocated internally. And this will be useful when some mesh
internal tests are performed.
2020-04-27 14:39:38 +08:00
lly
f137546a4b
ble_mesh: Update next alloc address when node info is added
2020-04-27 14:39:37 +08:00
lly
388043c203
ble_mesh: Fix Provisioner provisioning deadlock
2020-04-27 14:39:37 +08:00
lly
c496fa79de
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-27 14:39:36 +08:00
lly
2af16b92e5
ble_mesh: Associate replay protection list size with nodes count
...
The replay protection list of Provisioner should be at least equal
to the number of nodes with the precondition that each node contains
only one element.
The help information of replay protection list is updated, and the
maximum number of nodes for Provisioner is adjusted based on the
replay protection list size.
2020-04-27 14:39:35 +08:00
Angus Gratton
8c98f6bdaf
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-27 16:34:31 +10:00
Roland Dobai
c4af9d3e24
CI: Add EOL to sdkconfig.defaults before adding sdkconfig.ci
2020-04-23 16:54:33 +02:00
xueyunfei
27da86fb6e
fixbug for tcp kill state assert
2020-04-23 16:04:33 +08:00
Roland Dobai
2d13bfb8fa
CI: Fix partition table detection if "partition" is in the project name
2020-04-22 10:05:18 +02:00
Ivan Grokhotkov
81f0744ada
test: add a (non-automated) case for backtraces with ROM functions
2020-04-21 11:49:15 +02:00
Ivan Grokhotkov
c3ae910529
heap: recognize 0x40000000 as an address terminating the backtrace
...
On Xtensa, backtrace can not recover the two most significant bits of
the address, as the window call size is encoded in these bits.
Because of this, __builtin_return_address modifies these MSBs to
match those of the callee, "fixing" the address. An unfortunate side
effect is that the zero return address, which usually terminates the
backtrace, gets converted to 0x40000000. While there is a valid
instruction at this address, its occurrence in the backtrace is
highly unlikely: this is the first instruction of WindowOverflow4
vector, and IDF apps switch VECBASE to an IRAM location very early at
startup.
2020-04-21 11:48:43 +02:00
Krzysztof Budzynski
c955b7d133
Merge branch 'docs/backport_6147' into 'release/v4.0'
...
backport changes in 6147
See merge request espressif/esp-idf!8101
2020-04-21 14:34:21 +08:00
liying
4131b51c16
Backport changes made in 6147 to release/4.0
2020-04-20 21:47:26 +08:00
Angus Gratton
1de273a901
Merge branch 'bugfix/error_on_building_in_idf_path_v4.0' into 'release/v4.0'
...
cmake: Error out when building in IDF_PATH dir (v4.0)
See merge request espressif/esp-idf!8298
2020-04-20 15:04:25 +08:00
zhangyanjiao
2139d40f5e
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 11:18:07 +08:00
Jiang Jiang Jian
44d653adff
Merge branch 'bugfix/btdm_backports_v4.0_0328' into 'release/v4.0'
...
Bugfix/btdm backports v4.0 0328
See merge request espressif/esp-idf!8151
2020-04-16 22:01:39 +08:00
Jiang Jiang Jian
41eabbefd6
Merge branch 'bugfix/coredump_no_ext_stacks_v4.0' into 'release/v4.0'
...
core dump: don't allow core dumps to Flash if PSRAM is used for stacks (backport v4.0)
See merge request espressif/esp-idf!8229
2020-04-16 15:24:21 +08:00
Jiang Jiang Jian
8972461611
Merge branch 'bugfix/fix_errors_with_mbedtls_disabled_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled. (v4.0)
See merge request espressif/esp-idf!8357
2020-04-16 15:23:03 +08:00
Angus Gratton
0e6bbdf683
Merge branch 'bufgix/esp_ota_get_app_elf_sha256_v4.0' into 'release/v4.0'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled (v4.0)
See merge request espressif/esp-idf!8367
2020-04-16 14:32:22 +08:00
Angus Gratton
778ebb4dba
Merge branch 'bugfix/efuse_get_coding_scheme_and_ut_v4.0' into 'release/v4.0'
...
efuse: Fix get_coding_scheme() using ESP_EARLY_LOG* instead of ESP_LOG* (v4.0)
See merge request espressif/esp-idf!8361
2020-04-16 14:29:39 +08:00
Angus Gratton
f87df26cf4
Merge branch 'bugfix/transport_connection_active_v4.0' into 'release/v4.0'
...
fix(transport): Fix a bug of the connection whether be active (v4.0)
See merge request espressif/esp-idf!7743
2020-04-16 14:05:24 +08:00
Marius Vikhammer
93b8fcf664
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-04-15 21:13:21 +08:00
KonstantinKondrashov
a78772bbc6
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-04-15 21:06:43 +08:00
KonstantinKondrashov
1490256968
efuse: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-04-15 20:52:50 +08:00
Sagar Bijwe
5209dff76b
wpa_supplicant: Fix compilation errors when USE_MBEDTLS is disabled.
...
This is a regression from earlier commit related to TLSV12 which used
sha functions that are currently declared static.
Solution: Follow upstream code structure and resolve the errors.
2020-04-15 15:34:35 +05:30
Liu Han
b7f163530b
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-04-15 09:49:03 +00:00
Angus Gratton
a2d0fb348b
Merge branch 'feature/add_rtc_xtal_cal_retry_option_v4.0' into 'release/v4.0'
...
esp32: Add a Kconfig option - Number of attempts to repeat 32k XTAL calibration (v4.0)
See merge request espressif/esp-idf!7932
2020-04-15 16:09:59 +08:00
Jiang Jiang Jian
fe67bedee2
Merge branch 'nimble/fix_ble_hs_reset_v4.0' into 'release/v4.0'
...
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.0)
See merge request espressif/esp-idf!8218
2020-04-15 13:26:18 +08:00
Jiang Jiang Jian
85b27d3b03
Merge branch 'bugfix/psram_single_bit_error_v4.0' into 'release/v4.0'
...
psram: support psram 2T mode to fix single bit error (backport v4.0)
See merge request espressif/esp-idf!8328
2020-04-15 13:26:02 +08:00
Jiang Jiang Jian
cb466be9d9
Merge branch 'bugfix/fix_supplicant_tlsv12_v4.0' into 'release/v4.0'
...
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues (v4.0)
See merge request espressif/esp-idf!8204
2020-04-15 13:06:49 +08:00
Sagar Bijwe
64061541f0
wpa_supplicant: Fix wpa_supplicant TLS 1.2 issues
...
1) Fixed compilation issues.
2) Added tlsprf.c from upstream
3) Enabled SHA256 in supplicant compilation.
2020-04-13 16:24:26 +00:00
Krzysztof Budzynski
6825d8e0be
Merge branch 'bugfix/uart_echo_readme_v4.0' into 'release/v4.0'
...
example: Remove duplicate commands and invalid serial port information (v4.0)
See merge request espressif/esp-idf!8336
2020-04-13 23:13:01 +08:00
Jiang Jiang Jian
c4fe416f33
Merge branch 'bugfix/backport_some_wifi_bugs_0326_v4.0' into 'release/v4.0'
...
Bugfix/backport some wifi bugs 0326 (backport v4.0)
See merge request espressif/esp-idf!8309
2020-04-13 22:38:39 +08:00
Roland Dobai
14c978b54f
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-13 15:26:22 +02:00
chenjianqiang
a6b08cb025
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 14:52:33 +08:00
Jiang Jiang Jian
acdba0eb46
Merge branch 'feat/ble_mesh_ble_adv_simultaneously_v4.0' into 'release/v4.0'
...
ble_mesh: Support BLE advertising simultaneously (v4.0)
See merge request espressif/esp-idf!8316
2020-04-10 21:07:42 +08:00
lly
3b5eb3caf5
ble_mesh: Support BLE advertising simultaneously
2020-04-10 17:36:44 +08:00
Island
967e66bdf6
Merge branch 'bugfix/ble_mesh_add_test_function_v4.0' into 'release/v4.0'
...
ble_mesh: Add ble mesh white list test function (v4.0)
See merge request espressif/esp-idf!8159
2020-04-10 17:29:07 +08:00
liu zhifu
0b4e1ecdec
esp_wifi: backport some WiFi bugs
...
1. Fix WiFi log print level
2. Optimize WiFi/BT coexist sleep
- If any data tx/rx in WiFi slice, fore wakeup next TBTT
- Increase active timeout time to coex TBTT interval to avoid sleep in WiFi slice
3. Fix esp_wifi_stop() crash
esp_wifi_stop() crashes if it's called when WiFi is not initialized.
4. Fix esp_wifi_stop() leads to memory leak
5. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-10 11:18:44 +08:00
Angus Gratton
fd58809899
Merge branch 'bugfix/esp_event_bugfixes_v4.0' into 'release/v4.0'
...
esp_event-related fixes (v4.0)
See merge request espressif/esp-idf!8072
2020-04-09 22:11:16 +08:00
Ivan Grokhotkov
ed3ea95cc2
Merge branch 'bugfix/IDFGH-2910_v4.0' into 'release/v4.0'
...
NVS: bugfix - iterator skipping version 1 blobs (v4.0)
See merge request espressif/esp-idf!8193
2020-04-09 05:45:21 +08:00
Renz Bagaporo
3ba480ba53
cmake: error out on building in IDF_PATH root dir
2020-04-08 19:56:57 +08:00
Michael (XIAO Xufeng)
2628f3ebbd
Merge branch 'bugfix/cpp_extern_v4.0' into 'release/v4.0'
...
Add extern C header guards to some files (backport v4.0)
See merge request espressif/esp-idf!8225
2020-04-07 15:39:48 +08:00
Prasad Alatkar
0fc72b58e1
NimBLE: Reset master and slave states on host reset and fix build failure (backport v4.0)
2020-04-07 10:41:35 +05:30
Mahavir Jain
cfb331e71b
Merge branch 'bugfix/size_calculation_in_ota_v4.0' into 'release/v4.0'
...
Fix size calculation to erase partition range for OTA image (v4.0)
See merge request espressif/esp-idf!8267
2020-04-06 18:04:11 +08:00
Shubham Kulkarni
d74995736c
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-04-06 13:39:51 +05:30
Ivan Grokhotkov
c8a05bae78
Merge branch 'bugfix/nvs_no_throw' into 'release/v4.0'
...
NVS: Changed all new to new (nothrow) (backport v4.0)
See merge request espressif/esp-idf!7847
2020-04-03 16:38:01 +08:00
Michael (XIAO Xufeng)
127fa7094a
Merge branch 'bugfix/gpio_pin_bit_mask_truncation_v4.0' into 'release/v4.0'
...
driver: fix gpio pin_bit_mask truncation in sdspi_host and others (backport v4.0)
See merge request espressif/esp-idf!8227
2020-04-03 13:28:30 +08:00
Ivan Grokhotkov
ccc6363a21
core dump: don't allow core dumps to Flash if PSRAM is used for stacks
...
It is not possible to write to Flash when the stack is located in
PSRAM, and it is not possible to write PSRAM buffers into Flash when
malloc can not be used.
2020-04-02 23:44:47 +02:00
Ivan Grokhotkov
8ffb38265c
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
...
Closes https://github.com/espressif/esp-idf/issues/4348
2020-04-02 23:38:17 +02:00
boarchuz
17bd6e8fab
Add missing extern "C" to rtc_cntl.h
...
Related: https://github.com/espressif/arduino-esp32/issues/3149
2020-04-02 23:36:14 +02:00
Ivan Grokhotkov
192c20c9f7
clk.h: add extern C guards
...
Closes https://github.com/espressif/esp-idf/issues/4215
2020-04-02 23:22:41 +02:00
Gabriel Durante
c7ac9a296d
Added Cpp compatibility for components/spi_flash/include/esp_flash_spi_init.h
...
Merges https://github.com/espressif/esp-idf/pull/4260
2020-04-02 23:22:10 +02:00
Island
50073a7e61
Merge branch 'nimble/misc_host_flow_ctrl_changes_v4.0' into 'release/v4.0'
...
NimBLE: Misc fixes in NimBLE host (backport v4.0)
See merge request espressif/esp-idf!7949
2020-04-02 19:43:52 +08:00
Jiang Jiang Jian
f69f96edab
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v4.0' into 'release/v4.0'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v4.0)
See merge request espressif/esp-idf!8182
2020-04-01 17:56:05 +08:00
Mahavir Jain
2ee765ffaf
Merge branch 'bugfix/secure_boot_ecdsa_config_v4.0' into 'release/v4.0'
...
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
See merge request espressif/esp-idf!8196
2020-04-01 16:42:47 +08:00
Jakob Hasse
3ed127709e
NVS: bugfix - iterator skipping version 1 blobs
...
Closes https://github.com/espressif/esp-idf/issues/4954
2020-04-01 15:17:14 +08:00
Angus Gratton
02c5c8d8ad
Merge branch 'backport/malloc_zero_return_null_v4.0' into 'release/v4.0'
...
backport/malloc_zero_return_null_v4.0
See merge request espressif/esp-idf!8145
2020-04-01 14:42:38 +08:00
Angus Gratton
bdfba3b88c
mbedtls: Make ECDHE-PSK config item depend on ECDHE
2020-04-01 16:43:03 +11:00
Angus Gratton
904b85e365
secure boot: Ensure mbedTLS enables ECDSA if signatures are checked in app
...
and all ECDSA to be disabled if secure boot is not enabled
Previously if ECDSA disabled in config then secure_boot_signatures.c would
fail to build (whether or not secure boot was enabled).
To avoid breaking apps that might be using the signature scheme with custom OTA
without enabling secure boot signatures in config, this change just disables
this functionality if unavailable in mbedTLS config.
Possible fix for root cause of https://github.com/espressif/esp-idf/pull/3703
Closes https://github.com/espressif/esp-idf/issues/4758
2020-04-01 16:42:41 +11:00
Mahavir Jain
2cc9d28a35
Merge branch 'fix/wifi_provisioning_uuid_v4.0' into 'release/v4.0'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script (backport v4.0)
See merge request espressif/esp-idf!8163
2020-04-01 13:04:26 +08:00
xiewenxiang
50e83cf374
component/bt: fix don't dequeue the command queue after process the read_by_type_req
2020-03-31 16:29:07 +08:00
Angus Gratton
a3f3c7bdc3
Merge branch 'bugfix/monitor_encrypted_target_v4.0' into 'release/v4.0'
...
tools: Fix flashing encrypted binaries from IDF Monitor (v4.0)
See merge request espressif/esp-idf!8128
2020-03-31 13:11:02 +08:00
Angus Gratton
0b822a9ec7
Merge branch 'bugfix/kconfiglib_open_encoding_v4.0' into 'release/v4.0'
...
tools: Avoid Unicode error in kconfiglib while opening files
See merge request espressif/esp-idf!8082
2020-03-31 11:52:16 +08:00
Prasad Alatkar
dfd197b4c5
Wifi_provisioning_mgr_test: Allow three attempts to connect to AP before concluding provisioning failure (v4.0)
2020-03-30 11:22:48 +05:30
Prasad Alatkar
1e2ca78aac
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID (v4.0)
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-30 11:22:32 +05:30
lly
1d55af4bb2
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-03-30 11:03:00 +08:00
baohongde
b2a3a9041d
components/coex: Fix wakeup delay with DFS
2020-03-28 20:49:15 +08:00
baohongde
286d249239
components/bt: Fix assert when create conntion cancel
2020-03-28 20:44:43 +08:00
Felipe Neves
9d5d22c458
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:30:27 -03:00
Roland Dobai
13f4656d2a
tools: Fix flashing encrypted binaries from IDF Monitor
2020-03-27 10:31:37 +01:00
Jiang Jiang Jian
57a5a486ff
Merge branch 'feat/ble_mesh_vnd_model_example_v4.0' into 'release/v4.0'
...
Feat/ble mesh vnd model example (v4.0)
See merge request espressif/esp-idf!8002
2020-03-27 14:08:22 +08:00
Angus Gratton
363f55f618
Merge branch 'bugfix/cmake_bugfixes_v4.0' into 'release/v4.0'
...
CMake-related bugfixes (v4.0)
See merge request espressif/esp-idf!8066
2020-03-26 16:29:45 +08:00
Jiang Jiang Jian
fb14ab08c8
Merge branch 'bugfix/backport_some_wifi_bugs_0323_v4.0' into 'release/v4.0'
...
esp_wifi: Backport some wifi bugs 0323 (backport v4.0)
See merge request espressif/esp-idf!8087
2020-03-25 15:01:44 +08:00
Jiang Jiang Jian
6ce172bcae
Merge branch 'optimization/TCPv6_connect_for_v4.0' into 'release/v4.0'
...
lw-ip:optimization TCPv6 connect for v4.0
See merge request espressif/esp-idf!8021
2020-03-24 15:25:47 +08:00
xiehang
d71ac521cf
esp_wifi: backport some wifi bugs 0323
...
1,Reduce WiFi bin size
2,Add TX packets size check
3,Fix scan get rssi error
4,Add wifi stop check at WiFi deinit entry
5,coex adjust scheme when bt is connected status
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:10:31 +08:00
Mahavir Jain
921e56d0c3
Merge branch 'feature/upgrade_mbedtls_to_v4.0' into 'release/v4.0'
...
mbedtls: upgrade to release v2.16.5 (v4.0)
See merge request espressif/esp-idf!7987
2020-03-24 13:46:34 +08:00
Roland Dobai
e9fdc4c7b2
tools: Avoid Unicode error in kconfiglib while opening files
...
This fix is for IDF v4.0 and earlier versions. The upstream kconfiglib
included since IDF v4.1 doesn't have this issue.
Closes https://github.com/espressif/esp-idf/issues/4977
2020-03-23 11:36:10 +01:00
Renz Christian Bagaporo
aed56d4da9
esp_event: remove extra line from source file
2020-03-22 21:46:07 +08:00
Renz Christian Bagaporo
39e8e2003a
esp_event: test that handlers can unregister themselves
2020-03-22 21:45:58 +08:00
Renz Christian Bagaporo
b79062aeec
esp_event: iterate loop nodes safely as well
2020-03-22 21:45:50 +08:00
Xentec
66949e3b54
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2020-03-22 21:45:41 +08:00
Rusty Eddy
cb871f0472
Added semi-colon to esp_event_loop_create(...)
...
Title sums it up.
2020-03-22 21:45:26 +08:00
Renz Bagaporo
fbd12902eb
cmake: show error message on encrypted flash targets without proper config
2020-03-22 21:09:35 +08:00
Renz Christian Bagaporo
35839232c8
cmake: utility to create a failing target
2020-03-22 21:09:23 +08:00
Renz Bagaporo
14d6dad650
examples: split source files for one of the ulp examples
2020-03-22 21:09:14 +08:00
Renz Bagaporo
7bdb7ee235
ulp: fix ulp external project args
...
Closes https://github.com/espressif/esp-idf/issues/4713
2020-03-22 21:09:03 +08:00
Renz Christian Bagaporo
0f036b8749
ulp: use quotes when specifying files for embedding ulp binaries
2020-03-22 21:07:58 +08:00
Renz Bagaporo
7663928e49
ci: add test for partition_table target
2020-03-22 21:04:13 +08:00
Renz Christian Bagaporo
365e6ce181
partition_table: output partition table info for partition_table target
2020-03-22 21:04:03 +08:00
He Yin Ling
7b8aa11e12
Merge branch 'bugfix/modify_ble_mesh_command_for_v4.0' into 'release/v4.0'
...
ble mesh: update ble mesh console example(backport v4.0)
See merge request espressif/esp-idf!8047
2020-03-22 18:35:15 +08:00
Chen Sheng
5cbb726028
ble mesh: update ble mesh console example(backport v4.0)
2020-03-22 18:35:12 +08:00
Jiang Jiang Jian
0e70b783ae
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v4.0' into 'release/v4.0'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect for v4.0
See merge request espressif/esp-idf!8024
2020-03-21 15:16:01 +08:00
xueyunfei
ac302329d1
optimization TCPv6 connect
2020-03-20 15:02:43 +08:00
Mahavir Jain
08f401b74e
Merge branch 'bugfix/advanced_https_ota_example_v4.0' into 'release/v4.0'
...
esp_https_ota in sync with v4.x (backport v4.0)
See merge request espressif/esp-idf!7153
2020-03-20 14:33:53 +08:00
xueyunfei
e1d78a218a
bugfix for TCPv6 send ok when sta disconnect
2020-03-19 14:06:40 +08:00
Mahavir Jain
13e3e26065
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-03-18 11:49:23 +00:00
Sagar Bijwe
a8e0b9171b
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-03-18 11:49:23 +00:00
Shubham Kulkarni
402e97ea51
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
0bdd75a344
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
662b39fc1e
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
8785ac4c2a
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2020-03-18 08:19:56 +00:00
Mahavir Jain
6627ca40da
esp_http_client: fix issue where http parser was not invoking message_complete callback
...
https://github.com/espressif/esp-idf/issues/2625
https://github.com/espressif/esp-idf/issues/4209
2020-03-18 08:19:56 +00:00
Shubham Kulkarni
465d517fbd
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
...
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c
bootloader_support is added in public requirements of CMake
bootloader_common.h is included in esp_https_ota.h
Closes https://github.com/espressif/esp-idf/issues/4198
Closes IDFGH-2066
2020-03-18 08:19:56 +00:00
Hrudaynath Dhabe
3bdebe2383
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2020-03-18 08:19:56 +00:00
Hrudaynath Dhabe
be08f6f2bb
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
...
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.
Closes https://github.com/espressif/esp-idf/issues/3004
2020-03-18 08:19:56 +00:00
Angus Gratton
718af6ed07
Merge branch 'bugfix/ci_handle_retried_jobs_v4.0' into 'release/v4.0'
...
ci: add find job id argument job status (backport v4.0)
See merge request espressif/esp-idf!7954
2020-03-18 16:02:23 +08:00
Island
233349c235
Merge branch 'bugfix/ble_mesh_nimble_adapt_deinit_v4.0' into 'release/v4.0'
...
ble_mesh: Fix ble mesh nimble host deinit (v4.0)
See merge request espressif/esp-idf!8005
2020-03-18 12:31:54 +08:00
Jiang Jiang Jian
982e7b5538
Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v4.0' into 'release/v4.0'
...
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v4.0)
See merge request espressif/esp-idf!7757
2020-03-18 12:06:42 +08:00
houwenxiang
9eb7eceeec
driver(GPIO): fixed gpio_wake_up_disable not working for RTC IO (release/4.0)
2020-03-18 10:29:18 +08:00
lly
28a9cb5be1
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 16:22:26 +08:00
lly
47fc70df7f
ble_mesh: Add ESP BLE Mesh vendor models example
2020-03-17 16:01:50 +08:00
lly
be9725f8e7
ble_mesh: Rename ble_mesh_vendor_models to common_vendor_models
2020-03-17 16:01:45 +08:00
Jiang Jiang Jian
a8364af83d
Merge branch 'bugfix/ble_mesh_miscellaneous_fix_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh miscellaneous fix (v4.0)
See merge request espressif/esp-idf!7970
2020-03-17 15:35:12 +08:00
Jiang Jiang Jian
75f6bc2de1
Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled_v4.0' into 'release/v4.0'
...
Bugfix/compiler err when performance optimization enabled v4.0
See merge request espressif/esp-idf!7978
2020-03-17 13:53:54 +08:00
Jiang Jiang Jian
9866b4f17c
Merge branch 'bugfix/hfp_github_issues_v4.0' into 'release/v4.0'
...
Bugfix for HFP and some Github issue. v4.0
See merge request espressif/esp-idf!7976
2020-03-17 13:50:19 +08:00
Jiang Jiang Jian
8df1d1ffab
Merge branch 'bugfix/fix_beacon_frame_vendor_ie_issue_v4.0' into 'release/v4.0'
...
bugfix: Place the Vendor Specific element at the end according to the protocol (backport v4.0)
See merge request espressif/esp-idf!7777
2020-03-17 13:44:23 +08:00
Prasad Alatkar
5f7436006f
NimBLE: Add Host based privacy (RPA) feature support (v4.0)
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-16 07:33:07 +00:00
Prasad Alatkar
6ee1947822
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v4.0)
...
Closes BT-290 & BT-440
2020-03-16 07:33:07 +00:00
Hrishikesh Dhayagude
3aaf6a06dd
NimBLE: Use dynamic buffers instead of static memory (v4.0)
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-03-16 07:33:07 +00:00
Prasad Alatkar
3ee6dfa4d6
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example (v4.0)
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-03-16 07:33:07 +00:00
weitianhua
b6415d9a91
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-14 14:45:57 +08:00
weitianhua
ce55956a8f
Fix mem_start uninitialized error when compiler optimization performance enabled
2020-03-14 14:45:04 +08:00
weitianhua
7c2f1287ec
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-03-14 14:19:54 +08:00
lly
eee8bd4612
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:27:55 +08:00
lly
4dde86e45d
ble_mesh: Use the right netkey during iv update
2020-03-13 19:27:54 +08:00
lly
e6b4eb60ef
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:27:54 +08:00
lly
c5b2f693b8
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:27:54 +08:00
lly
7cf29e0f3f
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:27:54 +08:00
lly
cb31c71877
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:27:54 +08:00
lly
50040e8e99
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:27:53 +08:00
lly
a364541193
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:27:53 +08:00
Mahavir Jain
fdbdf9a0ec
Merge branch 'bugfix/unicore_config_prevent_ipc_code_v4.0' into 'release/v4.0'
...
ipc: prevent code getting pulled in for unicore configuration (v4.0)
See merge request espressif/esp-idf!7943
2020-03-12 13:31:44 +08:00
He Yin Ling
0ad0507f88
ci: add find job id argument job status:
...
if we retry failed job, we will have 2 jobs with same name in one pipeline. we need to use status to find the retried job instead of failed job.
2020-03-12 09:59:31 +08:00
Jiang Jiang Jian
40bebcb39b
Merge branch 'bugfix/select_waiting_assert_for_v4.0' into 'release/v4.0'
...
lw-ip:fix bug for after udp close select_waiting assert for v4.0
See merge request espressif/esp-idf!7921
2020-03-11 21:11:23 +08:00
KonstantinKondrashov
1c12e67c8a
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:18:09 +08:00
xueyunfei
cf77068675
fix bug for after udp close select_waiting assert for v4.0
2020-03-11 10:04:32 +00:00
Michael (XIAO Xufeng)
68b4177f70
Merge branch 'bugfix/ledc_driver_enums_v4.0' into 'release/v4.0'
...
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum (v4.0)
See merge request espressif/esp-idf!7910
2020-03-11 16:39:11 +08:00
Mahavir Jain
0cc802e6ab
ipc: prevent code getting pulled in for unicore configuration
2020-03-11 14:04:45 +05:30
KonstantinKondrashov
cb10ba5785
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-03-10 19:39:56 +08:00
Michael (XIAO Xufeng)
6023d60966
Merge branch 'bugfix/put_spihost_handle_in_sram_v4.0' into 'release/v4.0'
...
spi: always put spihost handle in SRAM (backport 4.0)
See merge request espressif/esp-idf!7902
2020-03-10 15:32:24 +08:00
Jiang Jiang Jian
2161d09079
Merge branch 'Bugfix/netconn_marked_close_crash_for_v4.0' into 'release/v4.0'
...
lw-ip:fix bug for netconn marked close crash for v4.0
See merge request espressif/esp-idf!7897
2020-03-09 16:36:45 +08:00
Michael (XIAO Xufeng)
1b08b7c5fb
Merge branch 'bugfix/spiflash_read_psram_v4.0' into 'release/v4.0'
...
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers (v4.0)
See merge request espressif/esp-idf!7878
2020-03-09 11:10:52 +08:00
xueyunfei
8ea128ded5
fix bug for netconn marked close crash for v4.0
2020-03-09 02:49:57 +00:00
Angus Gratton
c5a5b34ba4
driver: Avoid possible accidental mismatch between ledc_clk_src_t & ledc_clk_cfg_t enum
...
ledc.h includes two similar enums, ledc_clk_src_t & ledc_clk_cfg_t.
The two enums do different things but there are two similar names: LEDC_REF_TICK / LEDC_USE_REF_TICK
and LEDC_APB_CLK / LEDC_USE_APB_CLK.
Because C will accept any enum or integer value for an enum argument, there's no easy way to check
the correct enum is passed without using static analysis.
To avoid accidental errors, make the numeric values for the two similarly named enums the same.,
Noticed when looking into https://github.com/espressif/esp-idf/issues/4476
2020-03-09 11:32:18 +11:00
Angus Gratton
c38c3ff3f0
spi_flash: Remove 16KB free internal heap limit for esp_flash_read() into PSRAM
...
Allocation of the temporary internal buffer will now repeat until a small enough buffer can be
allocated, and only fail if less than a 256 byte block of internal RAM is free.
Adds unit test for the same, and generic test utility for creating memory pressure.
2020-03-09 09:59:43 +11:00
Angus Gratton
376703bf05
Merge branch 'bugfix/cmake_convert_whitespace_v4.0' into 'release/v4.0'
...
cmake: Minor convert_to_cmake.py fixes (v4.0)
See merge request espressif/esp-idf!7876
2020-03-09 06:55:19 +08:00
Krzysztof Budzynski
3d887cfff7
Merge branch 'bugfix/docs_ulp_reg_rd_wr_instructions_v4.0' into 'release/v4.0'
...
Correct ULP REG_WR and REG_RD instruction for ESP32
See merge request espressif/esp-idf!7868
2020-03-06 19:09:44 +08:00
Krzysztof Budzynski
af5adbc18e
Correct ULP REG_WR and REG_RD instruction for ESP32
2020-03-06 19:09:43 +08:00
morris
bcedff5a12
spi: always put spihost handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-03-06 17:39:14 +08:00
Jiang Jiang Jian
254b0e9693
Merge branch 'bugfix/bt_interrupt_disable_timing_error_v4.0' into 'release/v4.0'
...
(backport v4.0) btController: events scheduling error in case of wifi and bluetooth.
See merge request espressif/esp-idf!7866
2020-03-05 20:37:51 +08:00
Angus Gratton
af4c6ac0f3
spi_flash: Fix over-allocation and OOM crash when reading from SPI flash to PSRAM buffers
...
Previously would try allocate buffer of minimum size 16KB not maximum size 16KB, causing
out of memory errors for any large reads, or if less than 16KB contiguous free heap.
Also, if using legacy API and internal allocation failed then implementation would abort()
instead of returning the error to the caller.
Added test for using large buffers in PSRAM.
Closes https://github.com/espressif/esp-idf/issues/4769
Also reported on forum: https://esp32.com/viewtopic.php?f=13&t=14304&p=55972
2020-03-05 17:11:26 +11:00
Angus Gratton
3d0ecfdc70
cmake: Add warnings that convert_to_cmake.py doesn't calculate component requirements
...
Any component which requires another component will need this manually
added to its CMakeLists.txt file.
2020-03-05 17:06:38 +11:00
Angus Gratton
e85c4a65a4
cmake: convert_to_cmake: Fix possible whitespace issues
...
As reported on forum:
https://esp32.com/viewtopic.php?f=2&t=13565&p=53476#p53453
split() with no arg will match any whitespace sequence not just
a single space, so takes care of case where two spaces are
inserted in the variable value.
2020-03-05 17:06:38 +11:00
Chinmay Chhajed
abab19ad4d
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) (819979b9)
2020-03-04 20:30:37 +05:30
Jiang Jiang Jian
cfb6ac13c4
Merge branch 'bugfix/add_hostname_in_discover_packet_for_v4.0' into 'release/v4.0'
...
lw-ip:add host name in discover packet for v4.0
See merge request espressif/esp-idf!7841
2020-03-04 11:24:22 +08:00
xueyunfei
5bcdce8272
add host name in discover packet for v4.0
2020-03-03 12:18:57 +00:00
Jakob Hasse
d5d2d716f6
NVS: Changed all new to new (nothrow)
2020-03-03 17:08:28 +08:00
David Čermák
2a467d17bd
Merge branch 'bugfix/ws_rcv_exceed_buf_v4.0' into 'release/v4.0'
...
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer (backport v4.0)
See merge request espressif/esp-idf!7755
2020-03-03 16:29:10 +08:00
Jiang Jiang Jian
e6a59ac038
Merge branch 'feat/ble_mesh_update_4.0' into 'release/v4.0'
...
Feat/ble mesh update 4.0
See merge request espressif/esp-idf!7799
2020-03-02 15:33:14 +08:00
Angus Gratton
a2af518069
Merge branch 'bugfix/ci_weekend_test_update_v4.0' into 'release/v4.0'
...
ci: a build_system_test(_cmake) fix and some mqtt fixes (backport v4.0)
See merge request espressif/esp-idf!7773
2020-03-02 12:43:34 +08:00
ronghulin
dc193cea49
bugfix: Place the Vendor Specific element at the end according to the protocol
2020-03-02 12:03:32 +08:00
Jiang Jiang Jian
8eb263f9d1
Merge branch 'feature/esp32_5p0_backport_v4p0' into 'release/v4.0'
...
esp325p0 features support and code optimize changes to release/v4.0(backport v4.0)
See merge request espressif/esp-idf!7563
2020-03-02 11:27:50 +08:00
Krzysztof Budzynski
5b402f8081
Merge branch 'bugfix/doc_remove_cmake_defconfig_v4.0' into 'release/v4.0'
...
Doc: replace defconfig with reconfigure (v4.0)
See merge request espressif/esp-idf!7688
2020-03-02 05:10:17 +08:00
June
ea3d70382b
backport esp325p0 new features to release/v4.0
2020-02-29 09:11:30 +00:00
Jiang Jiang Jian
2f8af222e9
Merge branch 'bugfix/IPV6_multicast_adress_error_for_v4.0' into 'release/v4.0'
...
lw-ip:fix ipv6 bug when input the wrong broadcast for v4.0
See merge request espressif/esp-idf!7805
2020-02-29 17:08:32 +08:00
Jiang Jiang Jian
2408dc2671
Merge branch 'feature/doc_feedback_links_v4.0' into 'release/v4.0'
...
docs: Include feedback link in footer (v4.0)
See merge request espressif/esp-idf!7821
2020-02-29 16:58:07 +08:00
Krzysztof
c924da6f0a
Include feedback link in footer
2020-02-29 00:32:55 +08:00
Jiang Jiang Jian
198c8333d1
Merge branch 'bugfix/btdm_div_by_zero_in_slp_clk_conversion_v4.0' into 'release/v4.0'
...
bugfix/btdm_div_by_zero_in_slp_clk_conversion_v4.0(backport v4.0)
See merge request espressif/esp-idf!7787
2020-02-28 17:19:55 +08:00
Marius Vikhammer
f542c979e9
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-28 10:53:08 +08:00
xueyunfei
1351e94a0e
fix ipv6 bug when input the wrong broadcast for v4.0
2020-02-27 17:15:09 +08:00
lly
6eaeda9cf4
ble_mesh: Calc incomplete timeout based on msg info
2020-02-27 14:42:25 +08:00
lly
f2e5ee5d25
ble_mesh: Start the timer when starting to send the client message
2020-02-27 14:42:25 +08:00
lly
4a3b06dde3
ble_mesh: No timeout for client message to non-unicast address
2020-02-27 14:42:25 +08:00
lly
ef7461ae1d
ble_mesh: Unify client application and lower transport layer timeout
2020-02-27 14:42:25 +08:00
lly
bfed4fc90c
ble_mesh: Allow maximum 377 octets payload
2020-02-27 14:42:25 +08:00
lly
6d61f6667a
ble_mesh: Reset transport info when node is removed
2020-02-27 14:42:25 +08:00
lly
41cef4b1bb
ble_mesh: Provisioner ignores msg from removed node
2020-02-27 14:42:25 +08:00
lly
e24641cc89
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-27 14:42:25 +08:00
Jiang Jiang Jian
280f0effc1
Merge branch 'bugfix/mesh_ie_issues_4.0' into 'release/v4.0'
...
Bugfix/mesh ie issues (Backport 4.0)
See merge request espressif/esp-idf!7308
2020-02-27 14:38:36 +08:00
Krzysztof Budzynski
f9cb434eeb
Merge branch 'bugfix/doc_python3_v4.0' into 'release/v4.0'
...
Docs: Encourage to use Python 3 (v4.0)
See merge request espressif/esp-idf!7783
2020-02-26 20:35:27 +08:00
wangmengyang
2236449f47
component/bt: set non-zero initial value for bt sleep clock cycle to avoid div-by-zero error in function "btdm_us_2_lpcycles" when BT modem sleep is not enabled
2020-02-26 16:19:43 +08:00
Roland Dobai
2a4173e9a6
Docs: Encourage to used Python 3
2020-02-26 09:01:42 +01:00
Michael (XIAO Xufeng)
e2cba84555
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v4.0' into 'release/v4.0'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v4.0)
See merge request espressif/esp-idf!7371
2020-02-26 15:20:29 +08:00
David Čermák
8a56c31a25
Merge branch 'bugfix/ws_client_sending_race_v4.0' into 'release/v4.0'
...
websocket_client: fix locking in ws client task (v4.0)
See merge request espressif/esp-idf!7712
2020-02-26 06:11:16 +08:00
David Cermak
daf95803ec
websocket_client: fix locking mechanism in ws-client task and when sending data
...
closes https://github.com/espressif/esp-idf/issues/4169
2020-02-25 20:52:29 +00:00
chenyudong
b006ffa643
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-25 20:50:22 +08:00
David Cermak
80fd327308
update mqtt weekend test to use mbedtls asymetric buffer
2020-02-25 18:32:27 +07:00
David Cermak
ee8ab79696
ci: fix test build system when using template repository from a
...
different branch then master
2020-02-25 18:32:22 +07:00
David Cermak
a7f573c3a1
ci: fix weekend test confguration update per latest refactoring of
...
grouping tests
2020-02-25 18:32:11 +07:00
Jiang Jiang Jian
d292907fb7
Merge branch 'bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk_for_v4.0' into 'release/v4.0'
...
bugfix/btdm_check_EXT_CRYS_state_for_sleep_clk(backport v4.0)
See merge request espressif/esp-idf!7747
2020-02-25 17:55:59 +08:00
Mahavir Jain
4fa13a8575
Merge branch 'bugfix/softap_prov_disconnect_v4.0' into 'release/v4.0'
...
Bugfix/softap prov disconnect (v4.0)
See merge request espressif/esp-idf!7684
2020-02-25 15:40:18 +08:00
Angus Gratton
216b8b4088
Merge branch 'bugfix/child_cmake_uninitialized_vars_v4.0' into 'release/v4.0'
...
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects (v4.0)
See merge request espressif/esp-idf!7630
2020-02-25 15:27:24 +08:00
Jiang Jiang Jian
2c90bce980
Merge branch 'feature/wifi_redo_scan_example_v4.0' into 'release/v4.0'
...
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v4.0)
See merge request espressif/esp-idf!7271
2020-02-25 14:22:59 +08:00
Hrudaynath Dhabe
3ed5b73617
esp_wifi: Additional code snippets in esp_wifi_scan_example (backport v4.0)
2020-02-25 14:22:58 +08:00
Angus Gratton
a8fe083017
cmake: Set uninitialized variable warnings in ULP & bootloader subprojects
...
Fixes issue where PYTHON was not being expanded when running ulp_mapgen.py,
causing Windows launch setting to be used - reported here:
https://esp32.com/viewtopic.php?f=13&t=12640&p=50283#p50283
Closes https://github.com/espressif/esp-idf/issues/4785
2020-02-25 17:16:42 +11:00
Jiang Jiang Jian
25dfb08435
Merge branch 'bugfix/btdm_role_switch_v4.0' into 'release/v4.0'
...
Fix bugs about role switch
See merge request espressif/esp-idf!6924
2020-02-25 14:13:58 +08:00
Mahavir Jain
bdeec924a2
Merge branch 'bugfix/nimble_apps_conn_handle_v4.0' into 'release/v4.0'
...
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event (v4.0)
See merge request espressif/esp-idf!7702
2020-02-24 19:14:17 +08:00
Piyush Shah
5136605cb1
wifi_prov_manager: Delay the Wi-Fi connect call
...
For SoftAP provisioning, if we start Wi-Fi connection as soon as the
apply config request is received, it has been observed that the clients
(Phone apps mostly) do not get the response for this as we switch the
Wi-Fi channel, causing a momentary disconnection.
Delaying the connection calls helps mitigate the issue.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2020-02-24 09:25:33 +00:00
Piyush Shah
63d3fd17f9
wifi_prov_manager: Change the name of an internal timer handle to better reflect the purpose
...
Signed-off-by: Piyush Shah <piyush@espressif.com >
2020-02-24 09:25:33 +00:00
wangmengyang
636195fb29
component/bt: fall back to main XTAL as Bluetooth sleep clock when EXT 32K CRYS is configured but not detected
2020-02-24 12:14:25 +08:00
Jiang Jiang Jian
6c19711778
Merge branch 'feature/dev_security_restore_backport_v4p0' into 'release/v4.0'
...
feature/dev_security_restore_backport_v4p0(backport release/v4.0)
See merge request espressif/esp-idf!7738
2020-02-24 11:48:27 +08:00
Jiang Jiang Jian
28788e2d66
Merge branch 'bugfix/mbedtls_esp_bignum_v4.0' into 'release/v4.0'
...
mbedtls: esp bignum fix for 4096 keys (v4.0)
See merge request espressif/esp-idf!7705
2020-02-24 11:44:16 +08:00
June
9d15ffb573
backport mr !6031 - fix security info restore bug
2020-02-21 20:00:25 +08:00
Jiang Jiang Jian
6fee9da72e
Merge branch 'bugfix/enable_ipv6_address_autoconfig_v4.0' into 'release/v4.0'
...
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v4.0)
See merge request espressif/esp-idf!7653
2020-02-21 14:53:47 +08:00
Mahavir Jain
54f7ed5dcc
Merge branch 'bugfix/esp_log_timestamp_v4.0' into 'release/v4.0'
...
Use proper API to get Tick Count is esp_log_timestamp (v4.0)
See merge request espressif/esp-idf!7719
2020-02-20 20:52:33 +08:00
Mahavir Jain
938c291973
Merge branch 'fix/run_esptool_absolute_path_v4.0' into 'release/v4.0'
...
project_include.cmake: Make esptool_py_custom_target callable from other directories (v4.0)
See merge request espressif/esp-idf!7714
2020-02-20 20:22:11 +08:00
Shubham Kulkarni
2966f8cb8c
log: Check for ISR context and use proper API to get Tick Count
2020-02-20 15:55:22 +05:30
Amit Sheth
b59bcb88ce
project_include.cmake: Make esptool_py_custom_target callable from other directories
2020-02-20 15:17:05 +05:30
David Cermak
f8fc84813c
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:03:00 +01:00
David Cermak
e29d17fcd0
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:03:00 +01:00
Hrishikesh Dhayagude
2c5932e4fd
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event
2020-02-20 14:02:12 +05:30
baohongde
06ff1ceae3
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-20 15:21:28 +08:00
Jiang Jiang Jian
b04e643bd0
Merge branch 'bugfix/coex_schm_v4.0' into 'release/v4.0'
...
Bugfix/coex schm v4.0
See merge request espressif/esp-idf!7636
2020-02-20 14:49:32 +08:00
xiehang
e4696f077d
lwip: Enable IPv6 stateless address autoconfiguration
2020-02-20 13:53:55 +08:00
Sergei Silnov
8911c52a58
Doc: replace defconfig with reconfigure
...
Closes https://github.com/espressif/esp-idf/issues/3965
2020-02-19 17:19:19 +01:00
baohongde
53e355b355
components/coex: Fix misspell in Kconfig
2020-02-19 11:48:45 +08:00
baohongde
d07b9e97d7
components/coex: Fix a2dp stuck after creating anther connection
2020-02-19 11:48:33 +08:00
Angus Gratton
024a2755be
Merge branch 'bugfix/kconfig_cmake_escape_v4.0' into 'release/v4.0'
...
confgen.py: Escape special characters for cmake (v4.0)
See merge request espressif/esp-idf!7646
2020-02-19 08:01:00 +08:00
Angus Gratton
6ad136a49e
Merge branch 'doc/secure_boot_ref_v4.0' into 'release/v4.0'
...
doc: secure boot: Fix relative reference to key generation step (v4.0)
See merge request espressif/esp-idf!7628
2020-02-19 07:59:16 +08:00
Jiang Jiang Jian
615dc00e86
Merge branch 'bugfix/some_host_and_example_bugfix_Backport_to_4v0' into 'release/v4.0'
...
Bugfix/some host and example bugfix backport to v4.0
See merge request espressif/esp-idf!7360
2020-02-18 21:02:34 +08:00
Jiang Jiang Jian
8dd98715a4
Merge branch 'bugfix/unified_prov_bluedroid_v4.0' into 'release/v4.0'
...
Unified Provisioning - BLE: Fix characteristics read response issue (backport v4.0)
See merge request espressif/esp-idf!7650
2020-02-18 20:57:33 +08:00
Jiang Jiang Jian
3b954fb6d6
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp_4.0' into 'release/v4.0'
...
ble_mesh: Fix compile error with c++ files (v4.0)
See merge request espressif/esp-idf!7584
2020-02-18 20:44:41 +08:00
Hrishikesh Dhayagude
6f875f2db2
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of [MTU-1]
2020-02-18 15:09:30 +05:30
Roland Dobai
6b6d9d7321
confgen.py: Escape special characters for cmake
...
Closes https://github.com/espressif/esp-idf/issues/4751
2020-02-18 09:55:53 +01:00
Ivan Grokhotkov
477e6355eb
Merge branch 'bugfix/legacy_msys2_environment_update_v4.0' into 'release/v4.0'
...
doc: Update the MSYS2 legacy toolchain zip to same as master branch (v4.0)
See merge request espressif/esp-idf!7627
2020-02-18 16:26:28 +08:00
Ivan Grokhotkov
008d2db20b
Merge branch 'bugfix/win_tools_installer_fixes_v4.0' into 'release/v4.0'
...
docs: Windows tools installer release v2.3 (v4.0)
See merge request espressif/esp-idf!7561
2020-02-18 16:24:21 +08:00
baohongde
78ecc043d5
Improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi performance in some Classic BT scienario(idle, inquire scan,
connecting, connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect performance in coexistence scienario.
2020-02-18 12:40:48 +08:00
baohongde
c48a94d4a8
components/mesh: Fix some bugs about mesh
...
fix send acl pkt after ble have sent terminate ind
modify min adv interval to 10ms
2020-02-18 11:07:16 +08:00
baohongde
6f4e257601
Increase TCP send buffer and receive window limitation when TCP window scale is enabled
2020-02-18 11:06:15 +08:00
Angus Gratton
2fdb56e741
Merge branch 'feat/mcpwm_hal_fixes_v4.0' into 'release/v4.0'
...
mcpwm: add HAL layer support (fix part, backport v4.0)
See merge request espressif/esp-idf!7105
2020-02-18 09:45:13 +08:00
Ivan Grokhotkov
3f6f658532
docs: update version of IDF tools installer for windows to v2.3
2020-02-18 12:23:34 +11:00
Angus Gratton
0155bce1be
doc: secure boot: Fix relative reference to key generation step
2020-02-18 10:48:18 +11:00
Angus Gratton
ba43d99db9
doc: Update the MSYS2 legacy toolchain zip to same as master branch
...
This is not required for v4.0 (the previous zip will work for v4.0), but it will be
required if updating to a newer ESP-IDF and there's no downside to requiring it here.
2020-02-18 10:38:14 +11:00
Jiang Jiang Jian
0f64291700
Merge branch 'bugfix/backport_some_wifi_bugs_0107_v4.0' into 'release/v4.0'
...
backport some Wi-Fi bugs 0107 (backport v4.0)
See merge request espressif/esp-idf!7260
2020-02-17 20:44:50 +08:00
Angus Gratton
64c1e029fb
Merge branch 'bugfix/doc_sphinxcontrib_dep_v4.0' into 'release/v4.0'
...
Docs: Fix sphinxcontrib dependencies (v4.0)
See merge request espressif/esp-idf!7610
2020-02-17 15:20:23 +08:00
Angus Gratton
99c9e86b7a
Merge branch 'bugfix/update_eclipse_docs' into 'release/v4.0'
...
docs: Update Eclipse installation instructions, ref....
See merge request espressif/esp-idf!7621
2020-02-17 15:06:02 +08:00
Krzysztof
7eeaa62c49
docs: Update Eclipse installation instructions, ref. https://esp32.com/viewtopic.php?f=13&t=14237#p55468
2020-02-15 23:12:59 +08:00
Michael (XIAO Xufeng)
9037b8fb52
mcpwm: decrease test time
...
cherry-pick 538540ce
2020-02-15 23:10:33 +08:00
michael
0f10d12b81
mcpwm: fix the fault handling and capture issues
...
1. The fault signal 3 for unit 2 is corrected to the right value
2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.
3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.
Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2020-02-15 18:39:28 +08:00
michael
8c148ede22
mcpwm: enable some unit tests again
2020-02-15 18:39:27 +08:00
Roland Dobai
70d4d32511
Docs: Fix sphinxcontrib dependencies
2020-02-14 10:39:19 +01:00
Anton Maklakov
5826ed0c48
Merge branch 'bugfix/smtp_strict_prototypes_fix_v4.0' into 'release/v4.0'
...
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds (backport v4.0)
See merge request espressif/esp-idf!7600
2020-02-14 17:13:59 +08:00
Jiang Jiang Jian
f92534f95d
Merge branch 'bugfix/btdm_error_type_in_config_eir_evt_v4.0' into 'release/v4.0'
...
components/bt: Fix error EIR type in config eir event
See merge request espressif/esp-idf!7407
2020-02-14 16:41:58 +08:00
xiehang
d2af36c9fb
lwip: Drop packets larger than MTU
2020-02-14 12:03:49 +08:00
zhangyanjiao
5894e049bc
esp_wifi: fix some WiFi issues
...
Fix following WiFi issues:
1. Fix WiFi buffer reload issue
2. Fix AMSDU decrypt issue
3. Fix some WiFi timer issues
4. Fix the crash caused by too big of association request RSN information
5. Fix the crash caused by block scan
6. Fix the bug for getting channel and bandwidth
7. Fix some Sniffer bugs
8. Fix some ESP-NOW issues
1> fix the bug when modifying the channel info of peer node
2> fix the crash when modifying peer node between unencrypted and encrypted
3> fix the bug for fetch peer
4> modify the esp_wifi_set_channel() function
5> fix the bug that the channel parameter doesn't work when adding peer node
Closes https://github.com/espressif/esp-idf/issues/2833
Closes https://github.com/espressif/esp-idf/issues/4311
2020-02-14 12:03:18 +08:00
Jiang Jiang Jian
50b686bfb4
Merge branch 'bugfix/fix_performance_issues_new_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi performance issue (backport v4.0)
See merge request espressif/esp-idf!7227
2020-02-14 11:47:06 +08:00
Jiang Jiang Jian
92d8558364
Merge branch 'bugfix/wifi_clear_phy_status_when_cpu_start_v4.0' into 'release/v4.0'
...
soc: clear PHY status when cpu start (v4.0)
See merge request espressif/esp-idf!7593
2020-02-14 11:34:17 +08:00
Ivan Grokhotkov
45454cd477
ci: re-add the lost PEDANTIC_{C,CXX}FLAGS in CMake example builds
2020-02-13 19:01:43 +01:00
Xia Xiaotian
0a2bec85f3
soc: clear PHY status when cpu start
2020-02-13 14:36:11 +08:00
Jiang Jiang Jian
b6bec84c6e
Merge branch 'bugfix/ble_mesh_utf_8_comma_4_0' into 'release/v4.0'
...
ble_mesh: Kconfig included a UTF-8 comma (v4.0)
See merge request espressif/esp-idf!7576
2020-02-13 11:13:02 +08:00
Jiang Jiang Jian
fb924ece79
Merge branch 'bugfix/btdm_fix_multi_open_evt_and_clear_blufi_prepare_write_len' into 'release/v4.0'
...
component/bt: fix multi open evt and clear blufi prepare write len(backport v4.0)
See merge request espressif/esp-idf!7324
2020-02-13 11:08:41 +08:00
Jiang Jiang Jian
e07a64925b
Merge branch 'bugfix/coex_bt_ble_stuck_v4.0' into 'release/v4.0'
...
components/bt: Fix A2DP stuck when BLE's interval is too small
See merge request espressif/esp-idf!7220
2020-02-13 11:08:20 +08:00
Jiang Jiang Jian
e07ecea868
Merge branch 'hfp_a2dp_iphone_4.1' into 'release/v4.0'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 4.0]
See merge request espressif/esp-idf!7249
2020-02-13 11:08:10 +08:00
Jiang Jiang Jian
5b9cb366c2
Merge branch 'bugfix/fix_airkiss_bug_v4.0' into 'release/v4.0'
...
fix the bug for Airkiss
See merge request espressif/esp-idf!7346
2020-02-13 11:07:41 +08:00
Jiang Jiang Jian
d5bd2256f4
Merge branch 'bugfix/fix_ble_mesh_memory_leak_v4.0' into 'release/v4.0'
...
ble_mesh: Fix memory leak when node is reset (v4.0)
See merge request espressif/esp-idf!7278
2020-02-13 10:58:09 +08:00
Jiang Jiang Jian
c235640bf4
Merge branch 'bugfix/ble_mesh_update_lightness_last_v4.0' into 'release/v4.0'
...
ble_mesh: Update lightness last state when actual state is changed (v4.0)
See merge request espressif/esp-idf!7281
2020-02-13 10:58:06 +08:00
Jiang Jiang Jian
6193a439a3
Merge branch 'bugfix/sync_zephyr_v2.0_ble_mesh_fixes_v4.0' into 'release/v4.0'
...
ble_mesh: sync Zephyr v2.0 ble mesh fixes (v4.0)
See merge request espressif/esp-idf!7300
2020-02-13 10:58:03 +08:00
liu zhifu
a3cd5ab1ae
esp_wifi: improve WiFi performance
2020-02-13 10:50:48 +08:00
lly
3bf1b9b8ab
ble_mesh: Fix compile error with c++ files
2020-02-13 09:52:10 +08:00
lly
04fc15a4f3
ble_mesh: Fix memory leak when node is reset
...
When node is being reset, the init functions of each sig-defined
models will be invoked again, this will cause memory leak because
some model internal data will be allocated again.
Hence before trying to allocate memory for them, we add some check
to make sure no memory has been allocated previously.
And for client model, when the init functions are invoked again,
we will clear the list items.
2020-02-12 12:03:31 +00:00
lly
e95b59c089
ble_mesh: Kconfig included a UTF-8 comma
2020-02-12 18:28:06 +08:00
Ivan Grokhotkov
2309313103
Merge branch 'bugfix/ci_no_attempts_no_custom_toolchain_url_v4.0' into 'release/v4.0'
...
ci: no stage attempts variables, no custom toolchain url (backport v4.0)
See merge request espressif/esp-idf!7542
2020-02-12 17:55:17 +08:00
Ivan Grokhotkov
8cb3cc5154
Merge branch 'bugfix/idf_tools_virtualenv_v4.0' into 'release/v4.0'
...
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0 (backport v4.0)
See merge request espressif/esp-idf!7553
2020-02-12 17:32:20 +08:00
Ivan Grokhotkov
bbbe6fd449
Merge branch 'bugfix/idf_tools_py_install_required_v4.0' into 'release/v4.0'
...
Fix Docker image builds on release/v4.0
See merge request espressif/esp-idf!7551
2020-02-12 16:54:03 +08:00
Ivan Grokhotkov
7ccf6ebada
idf_tools.py: fix install-python-env failure with virtualenv 20.0.0
...
--no-site-packages is the default behavior since virtualenv 1.7
(released in Nov 2011). This option was removed in virtualenv 20.0.
2020-02-11 09:46:03 +01:00
Angus Gratton
91dc4d78f8
Merge branch 'bugfix/select_driver_not_installed_v4.0' into 'release/v4.0'
...
VFS: Check in select() if the UART driver is installed or not (v4.0)
See merge request espressif/esp-idf!7417
2020-02-11 12:08:48 +08:00
Angus Gratton
5bf43a854c
Merge branch 'bugfix/make_undefined_variable_warning_v4.0' into 'release/v4.0'
...
make: fix undefined variable warning (IDF_SKIP_CHECK_SUBMODULES) (backport v4.0)
See merge request espressif/esp-idf!7480
2020-02-11 12:07:33 +08:00
Angus Gratton
2bee223250
Merge branch 'bugfix/part_gen_subtype_fix_v4.0' into 'release/v4.0'
...
partition_table: Fix subtype in gen_esp32part.py (v4.0)
See merge request espressif/esp-idf!7536
2020-02-11 12:06:25 +08:00
Angus Gratton
f92a52f275
Merge branch 'bugfix/remove_cjson_test_file_from_cmake_build_v4.0' into 'release/v4.0'
...
cJSON: include only source file objects for cmake build (v4.0)
See merge request espressif/esp-idf!7546
2020-02-11 11:57:32 +08:00
Anton Maklakov
f368f69922
idf_tools.py: fix downloading for tools which have "on_request" options for some platforms.
...
'install' and 'download' options can be used for 'required' or 'all' tools
2020-02-10 20:10:26 +01:00
Mahavir Jain
8df70a1728
cJSON: include only source file objects for cmake build
...
Test file can cause build issues in some cases, since it has its own main() function
2020-02-10 17:32:26 +05:30
Anton Maklakov
c5d20275dd
ci: remove using IDF_XTENSA_TOOLCHAIN_URL because there are idf_tools.json and multi-target support
2020-02-10 18:38:23 +07:00
Anton Maklakov
f2ef0509e3
ci: Use ARTIFACT_DOWNLOAD_ATTEMPTS and others from the project settings
2020-02-10 18:35:12 +07:00
boarchuz
8c88f0f1f6
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-10 12:04:45 +01:00
Ivan Grokhotkov
313c1ed1ba
Merge branch 'bugfix/esp_log_from_critical_v4.0' into 'release/v4.0'
...
intr_alloc: don't call ESP_LOG from a critical section (backport v4.0)
See merge request espressif/esp-idf!7159
2020-02-10 17:34:53 +08:00
Ivan Grokhotkov
c3961fdacb
Merge branch 'bugfix/idf_monitor_usbser_sys_v4.0' into 'release/v4.0'
...
tools: work around usbser.sys bug in IDF monitor (v4.0)
See merge request espressif/esp-idf!7470
2020-02-10 17:34:00 +08:00
Ivan Grokhotkov
c8215756fa
Merge branch 'feature/idfpy_add_baud_parameter_to_monitor_v4.0' into 'release/v4.0'
...
idf.py: add monitor-baud option to monitor command (v4.0)
See merge request espressif/esp-idf!7461
2020-02-10 17:33:32 +08:00
Ivan Grokhotkov
0c2c821f8f
Merge branch 'bugfix/esp_ptr_executable_single_core_v4.0' into 'release/v4.0'
...
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory (v4.0)
See merge request espressif/esp-idf!7464
2020-02-10 16:30:34 +08:00
Ivan Grokhotkov
f5dc81aaae
Merge branch 'bugfix/panic_cache_err_dig_reset_v4.0' into 'release/v4.0'
...
esp32: panic: do digital reset if cache error interrupt is set (backport v4.0)
See merge request espressif/esp-idf!7484
2020-02-10 16:30:02 +08:00
Ivan Grokhotkov
97ef8fd057
Merge branch 'bugfix/idf_tools_v4.0' into 'release/v4.0'
...
idf_tools.py bug fixes (backport v4.0)
See merge request espressif/esp-idf!7479
2020-02-10 16:29:27 +08:00
Angus Gratton
204f19ac0b
Merge branch 'bugfix/doc_nwdiag_v4.0' into 'release/v4.0'
...
docs: Fix nwdiag dependency for documentation build (v4.0)
See merge request espressif/esp-idf!7516
2020-02-07 06:20:35 +08:00
Roland Dobai
39194136e5
docs: Fix nwdiag dependency for documentation build
2020-02-06 17:51:59 +01:00
Angus Gratton
3f76083e8c
Merge branch 'bugfix/several_ethernet_bugfix_from_4.1' into 'release/v4.0'
...
Ethenret driver bugfix and optimization (4.0)
See merge request espressif/esp-idf!7426
2020-02-06 14:38:47 +08:00
Angus Gratton
87eccad969
Merge branch 'bugfix/wps_config_init_v4.0' into 'release/v4.0'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7334
2020-02-06 14:06:40 +08:00
Hrudaynath Dhabe
8f0f3e8f88
WPS_CONFIG_INIT_DEFAULT(type) error
2020-02-06 14:06:38 +08:00
Angus Gratton
c3a3a81b08
Merge branch 'feature/idf_docker_updates_v4.0' into 'release/v4.0'
...
Enable ccache and use newer CMake in Docker image (backport v4.0)
See merge request espressif/esp-idf!7482
2020-01-31 15:58:50 +08:00
Ivan Grokhotkov
4ce7b666a6
esp32: panic: do digital reset if cache error interrupt is set
...
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that
the cache error interrupt status is set. For example, this may happen
due to an invalid cache access in the panic handler itself.
Check cache error interrupt status instead of frame->exccause to
decide whether to do CPU reset or digital reset.
Also remove unnecessary esp_dport_access_int_pause from
esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2020-01-30 12:28:22 +01:00
Angus Gratton
c2bce897b8
idf.py: Add environment variable to enable ccache by default
2020-01-30 12:14:54 +01:00
Ivan Grokhotkov
5140eea3d1
tools/docker: enable ccache by default
2020-01-30 12:10:31 +01:00
Ivan Grokhotkov
1b0473494f
tools/docker: install CMake version provided in tools.json
...
Closes https://github.com/espressif/esp-idf/issues/4644
Closes IDFGH-2559
2020-01-30 12:10:31 +01:00
Ivan Grokhotkov
e9d3800ad2
make: fix undefined variable warning (IDF_SKIP_CHECK_SUBMODULES)
2020-01-30 12:06:57 +01:00
Ivan Grokhotkov
97242031e7
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name
...
Fixes the workaround added in 9279b72a6 .
2020-01-30 11:59:29 +01:00
Ivan Grokhotkov
5ab36dc2ec
idf_tools.py: fix virtualenv issue for macOS with homebrew
2020-01-30 11:59:16 +01:00
Ivan Grokhotkov
09dd8ca3e9
idf_tools.py: when guessing IDF_PATH, set it in the enviroment
...
This allows the processes launched from idf_tools.py to use the value
of IDF_PATH. One such example is the installation of Python packages,
when requirements.txt uses IDF_PATH to refer to the esp-windows-curses
package.
Closes https://github.com/espressif/esp-idf/issues/4341
2020-01-30 11:57:51 +01:00
Angus Gratton
f27a344fc9
Merge branch 'bugfix/parttool_backtraces_v4.0' into 'release/v4.0'
...
parttool: Avoid unnecessary exception backtrace for legitimate errors (v4.0)
See merge request espressif/esp-idf!7463
2020-01-30 13:36:52 +08:00
Rosa Elena Veiga Otero
02596a7efa
tools: work around usbser.sys bug in idf_monitor
...
implemented workaround in idf_monitor for known usbser.sys bug which
causes changes in RTS signal to only be sent if DTR signal also changes.
Works by forcing a dummy change in DTR signal (re-assigning its current
value, as it has previously been done in the flashing tool)
Closes https://github.com/espressif/esp-idf/pull/4676
2020-01-29 10:36:43 +01:00
Angus Gratton
a61fd1e42b
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v4.0' into 'release/v4.0'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v4.0)
See merge request espressif/esp-idf!7304
2020-01-29 14:25:27 +08:00
Angus Gratton
d897e522af
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:03:30 +11:00
Angus Gratton
59649ea825
parttool: Fix regression when parsing binary partition data
...
Regression in a91de43537
2020-01-29 09:40:23 +11:00
Angus Gratton
bdb0851065
parttool: Avoid unnecessary exception backtrace for legitimate errors
...
Previous version used exception handling for program control flow,
which makes for long and confusing backtrace messages if an error
occurs while parsing the CSV (as it also prints the phony error that
occurred while trying to parse as a binary, then prints
"During handling of the above exception, another exception occurred:",
then prints the real error).
Use the same heuristic that is applied in gen_esp32_part, instead.
Also, avoid printing the entire backtrace if the error is a gen_esp32_part
InputError, same as gen_esp32part does.
Found while looking into https://github.com/espressif/esp-idf/issues/4474
2020-01-29 09:40:22 +11:00
KonstantinKondrashov
9a24d95907
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-01-28 21:41:27 +08:00
Sergei Silnov
ead0e6da36
idf.py: add monitor-baud option to monitor command
2020-01-27 18:54:37 +01:00
Angus Gratton
08219f3cf5
Merge branch 'bugfix/esp_tls_blocking_timeout_v4.0' into 'release/v4.0'
...
esp-tls: add timeout for blocking connection (v4.0)
See merge request espressif/esp-idf!7396
2020-01-22 11:44:48 +08:00
Angus Gratton
b324ab9c6e
Merge branch 'bugfix/mqtt_submodule_ref_update_v4.0' into 'release/v4.0'
...
mqtt: update submodule to point to latest commit (backport 4.0)
See merge request espressif/esp-idf!7276
2020-01-22 11:29:34 +08:00
morris
93e5a31685
ethernet: always put eth_driver handle in SRAM
...
Closes https://github.com/espressif/esp-idf/issues/4635
2020-01-21 21:30:34 +08:00
morris
01cc5a38cc
ethernet: work with cache disabled
2020-01-21 21:30:18 +08:00
morris
7b128595ac
ethernet: optimise tx and rx
2020-01-21 20:51:03 +08:00
Mahavir Jain
f48930a040
Merge branch 'nimble/example_update_doc_v4.0' into 'release/v4.0'
...
NimBLE: Update the documentation link in the examples (v4.0)
See merge request espressif/esp-idf!7365
2020-01-21 17:58:46 +08:00
Roland Dobai
642dc19c25
VFS: Check in select() if the UART driver is installed or not
...
Closes https://github.com/espressif/esp-idf/issues/4627
2020-01-21 10:11:08 +01:00
Jiang Jiang Jian
55834dd001
Merge branch 'bugfix/wa_dport_and_intr_v4.0' into 'release/v4.0'
...
esp32: Fix for DPORT (v4.0)
See merge request espressif/esp-idf!7349
2020-01-21 10:49:08 +08:00
baohongde
e38c080f79
components/bt: Fix error EIR type in config eir event
2020-01-20 21:50:01 +08:00
David Cermak
c7e1416174
esp_tls: added connection timeout to esp_tls_conn_new_sync()
2020-01-20 07:26:51 +01:00
David Cermak
e0c88dbd73
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-20 07:08:40 +01:00
Paul Abbott
a58fa7665a
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:22:36 +08:00
Hrishikesh Dhayagude
d84677493e
NimBLE: Update the documentation link in the examples
2020-01-16 17:12:33 +05:30
gengyuchao
443ea78e78
bugfix:Fix length check for snprintf in osi config. And remove the error code when there is no file in the nvs in config.c
2020-01-16 16:20:43 +08:00
gengyuchao
ef07a315bb
Add notes
2020-01-16 16:09:49 +08:00
gengyuchao
ed6805625c
ble:set a esp api to get size of controller send packets buffer.
2020-01-16 16:09:34 +08:00
gengyuchao
74a89774fd
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-16 16:09:17 +08:00
gengyuchao
7dc5c2af59
ble Fix typo and add some comment
2020-01-16 16:05:44 +08:00
Brian Friedkin
e5bd8b1982
add missing gatt descriptors
2020-01-16 16:05:29 +08:00
gengyuchao
983f528513
example:ble_hid_device_demo fix the wrong mask value according to HID protocol
2020-01-16 15:27:25 +08:00
Geng Yu Chao
5445c80a8e
component/bt: Fix the issue with pointer type conversion in gattc. Unified count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-01-16 15:26:37 +08:00
Geng Yu Chao
69d341f7f0
Fix some typo in idf
2020-01-16 15:26:37 +08:00
KonstantinKondrashov
f927957950
esp32: Add UT for DPORT
2020-01-16 13:31:20 +08:00
KonstantinKondrashov
6fca0e3861
esp32: Fix esp_dport_access_reg_read
2020-01-16 13:31:20 +08:00
zhangyanjiao
5202be013a
fix the bug for Airkiss
2020-01-16 11:54:02 +08:00
Geng Yu Chao
ed44d25690
example/blufi: Fix the wrong wifi storage mode and check if ble is connected before sending a ble message.
2020-01-16 11:48:46 +08:00
Geng Yu Chao
8c980c11aa
example/ble_throughput fix the throughput clinet crash bug when open the CONFIG_GATTC_WRITE_THROUTHPUT option
2020-01-16 11:47:52 +08:00
Geng Yu Chao
4312c71e71
example/ble_throughput fix the throughput server crash bug when running with throughput client
2020-01-16 11:40:37 +08:00
gengyuchao
4900ead609
bugfix:btmd fix the problem that fixed_queue_enqueue may give the wrong semaphore if list_append fail to calloc a new node
2020-01-16 11:32:40 +08:00
Ivan Grokhotkov
386804d407
intr_alloc: don't call ESP_LOG from a critical section
...
Calling ESP_LOG from a critical section leads to abort() in 4.1, and
may also randomly abort() in earlier versions.
Closes FCS-268
2020-01-15 04:16:24 +00:00
zhiweijian
93409bd57e
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:25:54 +08:00
zhiweijian
32ba52760f
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:24:36 +08:00
Marius Vikhammer
158f2d065d
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:55:50 +08:00
lly
14a408c478
ble_mesh: Fix PreviousAddress endianess in Friend Request
...
The upper transport layer is using big endian ordering. The
PreviousAddress field of a Friend Request message should therefore
be converted to native endianess using sys_cpu_to_be16().
2020-01-13 10:40:25 +08:00
lly
92d0d7ad49
ble_mesh: Fix next_period computation
...
If the duration to publish is roughly the same as the period, we might
end up with elapsed == period, which returns 0 and cancel the periodic
publication. Instead 1 should be returned, just like when the elapsed
time is greater than the period.
2020-01-13 10:40:20 +08:00
lly
19c9ae400b
ble_mesh: Make model publication struct more compact
...
Previously the FastPeriodDivisor value was introduced to the model
publication struct. Based on the way it was grouped it seems the
intention was to fit it within the same octet as other bit fields,
but it actually makes the octet overflow by one bit. This ends up
creating another u8_t variable which in turn adds 24 bits of padding
after it.
To keep the size of the struct as compact as possible, group the flag
together with the key index, since that only requires 12 bits. Some
care is needed here, since the mesh stack does have special internal
key index values that require more than 12 bits such as
BLE_MESH_KEY_UNUSED and BLE_MESH_KEY_DEV. In this case restricting
ourselves to 12 bits is fine since the value in the model publication
struct follows 1:1 the value received in the Config Model Publication
Set message, and there the parameter is defined to be exactly 12 bits.
2020-01-13 10:40:13 +08:00
lly
566fb11a73
ble_mesh: Fix compile error when using release optimization level
2020-01-13 10:40:05 +08:00
lly
928480ada9
ble_mesh: Remove useless CONFIG_BLE_MESH_NODE
...
For Low Power node and Proxy Server, the two features
depend on BLE_MESH_NODE in Kconfig.in, here in the
stack there is no need to judge if CONFIG_BLE_MESH_NODE
is enabled.
2020-01-13 10:39:57 +08:00
lly
da0205b166
ble_mesh: Fixes Provisioner not support friend feature
2020-01-13 10:39:52 +08:00
lly
610fc8124a
ble_mesh: Fixes wrong subnet info used for Friend Clear
...
When Friend node tries to send Friend Clear message to other
Friend nodes, it should use the subnet information based on
the net_idx from friendship.
2020-01-13 10:39:42 +08:00
lly
21dbee1291
ble_mesh: fix provisioner failed to send msg to 0xFFFF
...
According to Mesh Spec 3.4.5.3, a node shall implement a local
network interface. And here we limit the situation just based
on the spec, and Provisioner directly sending the msg without
passing through the local network interface.
2020-01-13 10:39:37 +08:00
lly
e5431e55a9
ble_mesh: fix virtual addr wrong return value
...
Fixes missing return value on `va_del`
Fixes wrong return value on `va_add`
2020-01-13 10:39:28 +08:00
lly
4405560483
ble_mesh: Persistent storage of Virtual Address
...
The 16-bit format group addresses will be stored,
but we don't store (or restore) the virtual label UUIDs,
i.e. after a power cycle the 16-bit group addresses
would be meaningless.
2020-01-13 10:39:22 +08:00
lly
51616eacee
ble_mesh: Proxy forwards ALL_NODES addr
...
Unless explicitly blacklisted, the Proxy node will forward all messages
for the ALL_NODES address to the GATT proxy client.
2020-01-13 10:39:15 +08:00
lly
4aa7f31f02
ble_mesh: Model message macros
...
Creates macros for determining model message lengths based on opcode,
payload length and MIC size. Also adds macro wrapping
NET_BUF_SIMPLE_DEFINE to serve the most common use case.
2020-01-13 10:39:10 +08:00
lly
318f83e33a
ble_mesh: Use net_buf_simple_clone
...
Uses net_buf_simple_clone to access the sdu of an unsegmented app packet
for re-encryption.
2020-01-13 10:39:03 +08:00
lly
4bf2ceee4e
ble_mesh: Skip local messages in rx
...
Local messages are already enqueued for the LPN in the tx path, and
don't have to be added again in the rx path.
2020-01-13 10:38:59 +08:00
lly
a9c5092baf
ble_mesh: Ensure seqnum match in app/net
...
Re-encrypts single-segment application messages when the network seqnum
has changed, to avoid encrypting messages with different seqnums in
network and transport. This operation is only required for unsegmented
messages, as segmented messages don't need to use the same seqnum in
network.
Reinstates the special adv data for friend messages to store the app key
index.
2020-01-13 10:38:54 +08:00
lly
9e47e04897
ble_mesh: Expose app key get function
2020-01-13 10:38:48 +08:00
lly
ca0bfb84d0
ble_mesh: Expose header parsing outside net
2020-01-13 10:38:38 +08:00
lly
cc772c1324
ble_mesh: Remove unused macro FRIEND_BUF_SIZE
2020-01-13 10:38:31 +08:00
lly
c344a4a3b9
ble_mesh: Make RSSI value available to mesh applications
2020-01-13 10:38:26 +08:00
lly
32387250bc
ble_mesh: Encrypt friend packets on send
...
Stores friend queue packets unencrypted, removing any out-of-order
issues caused by seqnum allocation. Also moves as much of the metadata
storage as possible into the packet, allowing us to free up some bytes
of net_buf user data for friend packets.
2020-01-13 10:38:21 +08:00
lly
a870460f72
ble_mesh: Expose SeqZero mask
...
Makes a define for the seqzero 13-bit mask in transport, and exposes it
in the header for use in the friend module.
2020-01-13 10:38:15 +08:00
Ivan Grokhotkov
463a9d8b7f
Merge branch 'bugfix/ci_deploy_tags_v4.0' into 'release/v4.0'
...
ci: fix tags for internal deploy jobs (backport v4.0)
See merge request espressif/esp-idf!7295
2020-01-11 14:08:55 +08:00
Anton Maklakov
ef34e6f6f7
ci: fix tags for internal deploy jobs
2020-01-10 18:33:11 +07:00
lly
cf2c5b8d96
ble_mesh: Update lightness last state when actual state is changed
2020-01-10 15:33:59 +08:00
Ivan Grokhotkov
aa51829ec8
Merge branch 'bugfix/cmake_reflashable_build_targets_v4.0' into 'release/v4.0'
...
secure boot: Fix bootloader build system target for bootloader digest (v4.0)
See merge request espressif/esp-idf!7229
2020-01-09 15:56:08 +08:00
Angus Gratton
dcd735759e
Merge branch 'bugfix/mdns_deinit_event_crash_v4.0' into 'release/v4.0'
...
mdns: fixed crash on event during deinit (v4.0)
See merge request espressif/esp-idf!7246
2020-01-09 13:02:28 +08:00
Angus Gratton
a36bbd4e95
Merge branch 'bugfix/mdns_send_sdptr_answer_v4.0' into 'release/v4.0'
...
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp (v4.0)
See merge request espressif/esp-idf!7242
2020-01-09 13:01:11 +08:00
Angus Gratton
3f8a89504f
Merge branch 'feature/ws_local_server_test_v4.0' into 'release/v4.0'
...
websocket_client: added example_test with a local websocket server (backport v4.0)
See merge request espressif/esp-idf!7200
2020-01-09 08:31:58 +08:00
Angus Gratton
1d280a0825
Merge branch 'fix/ci_target_test_v4.0' into 'release/v4.0'
...
ci: Fix target variable default value v4.0
See merge request espressif/esp-idf!7237
2020-01-09 07:24:18 +08:00
Jiang Jiang Jian
3b13eba1b2
Merge branch 'bugfix/wifi_fix_beacon_timeout_and_connect_fail_when_coex_v4.0' into 'release/v4.0'
...
Fix WiFi beacon timeout and station fails to connect to AP sometimes when WiFi and Bluetooth run togerther.
See merge request espressif/esp-idf!7192
2020-01-08 22:53:30 +08:00
weitianhua
a388eb8806
componnets_bt/:fix hfp/a2dp coex bug with iphone
2020-01-08 19:25:29 +08:00
David Cermak
1f263434a6
mdns: fixed crash on event during deinit
...
mdns library deinitialization destroys internal structures including action queue. if an event (e.g. network update) received
after some essential stucture is destoyed, an unexpected behavour might be introduced (e.g. crash of adding the event notification
to the action queue which was already destroyed
Closes WIFI-1485
2020-01-08 10:27:30 +01:00
David Cermak
06cc4e888d
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:21:28 +01:00
Xia Xiaotian
0a2371972a
Fix WiFi beacon timeout and station fails to connect to AP sometimes
...
when WiFi and Bluetooth run togerther.
2020-01-08 16:48:16 +08:00
Shivani Tipnis
b7a191a996
ci: Fix target variable default value v4.0
2020-01-07 20:29:06 +05:30
Angus Gratton
beb73456ee
Merge branch 'feature/prebuilt_binary_example_v4.0' into 'release/v4.0'
...
Import prebuilt binary (v4.0)
See merge request espressif/esp-idf!7208
2020-01-07 14:34:38 +08:00
Angus Gratton
e3d65c8e3e
Merge branch 'bugfix/ws_user_context_v4.0' into 'release/v4.0'
...
websocket: added missing event data (backport v4.0)
See merge request espressif/esp-idf!7195
2020-01-07 14:34:08 +08:00
Jiang Jiang Jian
d11bca44db
Merge branch 'bugfix/sniffer_crash_issue_v4.0' into 'release/v4.0'
...
esp_wifi: Fix wifi stop bug when sniffer enable (backport v4.0)
See merge request espressif/esp-idf!7207
2020-01-07 10:57:26 +08:00
Angus Gratton
6da2676a3c
secure boot: Fix bootloader build system target for bootloader digest
...
Closes https://github.com/espressif/esp-idf/issues/4513
2020-01-07 09:38:01 +11:00
Ivan Grokhotkov
15aa9bc041
Merge branch 'bugfix/backport_wifi_event_bits' into 'release/v4.0'
...
examples: using xEventGroup bits properly (backport v4.0)
See merge request espressif/esp-idf!7209
2020-01-06 23:19:09 +08:00
baohongde
3ae110b30c
components/bt: Fix A2DP stuck when BLE's interval is too small
...
1. Fix the cumulative time switch from BLE to classic BT
2. Enhance classic BT performance while enable calssic BT and BLE at the same time
2020-01-06 20:31:54 +08:00
Jakob Hasse
509ac2cfc1
examples: using xEventGroup bits properly
...
Closes IDF-1177
* changed
../../wifi/getting_started/station/README.md
../../wifi/getting_started/station/main/station_example_main.c
2020-01-06 12:41:00 +08:00
Renz Christian Bagaporo
8c23bb4aa9
examples: add import prebuilt example
2020-01-06 09:39:49 +08:00
Renz Christian Bagaporo
989dac1e64
cmake: implement utility to import prebuilt libraries
2020-01-06 09:39:49 +08:00
Jack
2ea0062fe8
Fix wifi stop bug when sniffer enable
2020-01-04 15:25:09 +08:00
Marius Vikhammer
5cb04f3e13
websocket_client: added example_test with a local websocket server
...
- Added a example test that connects to a local python websocket server.
- Added readme for websocket_client example.
Closes IDF-907
2020-01-03 15:03:27 +08:00
Angus Gratton
16e102199a
Merge branch 'bugfix/backport_nvs_iterator_fix' into 'release/v4.0'
...
NVS: iterator corrupting entries (backport v4.0)
See merge request espressif/esp-idf!7071
2020-01-03 13:07:20 +08:00
Marius Vikhammer
2215aeaad8
websocket: added missing event data
...
user_context was missing from websocket event data, added. Also added the websocket client handle to the event data.
Removed unused event data struct.
Closes: IDF-1271
2020-01-03 10:01:10 +08:00
Wang Jia Lin
51a1421f65
Merge branch 'bugfix/i2s_timergroup_dev_array_used_by_isr_issue' into 'release/v4.0'
...
bugfix(driver): fix i2s and timergroup some issues
See merge request espressif/esp-idf!7141
2020-01-02 21:20:21 +08:00
Jiang Jiang Jian
0cefe6df78
Merge branch 'bugfix/fix_a_wifi_rx_bug_v4.0' into 'release/v4.0'
...
esp_wifi: fix a WiFi receiving bug (backport v4.0)
See merge request espressif/esp-idf!7002
2020-01-02 16:30:04 +08:00
Angus Gratton
20e75ef87d
Merge branch 'feat/spi_internal_header_v4.0' into 'release/v4.0'
...
spi: move deprecated functions into internal header (backport v4.0)
See merge request espressif/esp-idf!7103
2020-01-02 02:16:18 +08:00
Ivan Grokhotkov
cb1d440cb8
Merge branch 'bugfix/fix_python3_errors_for_ttfw_v4.0' into 'release/v4.0'
...
test: fix python3 errors for ttfw (backport v4.0)
See merge request espressif/esp-idf!7146
2019-12-31 17:56:37 +08:00
Angus Gratton
e5d25fb51e
Merge branch 'doc/esp_ringbuf_acquire_complete_v4.0' into 'release/v4.0'
...
esp_ringbuf: add documents for SendAcquire and SendComplete (backport v4.0)
See merge request espressif/esp-idf!7104
2019-12-31 15:01:49 +08:00
Angus Gratton
8306ddf3c1
Merge branch 'feature/wifi_prov_ext_httpd_v4.0' into 'release/v4.0'
...
wifi_provisioning_softap: Allow applications to start webserver externally (v4.0)
See merge request espressif/esp-idf!7163
2019-12-31 15:00:59 +08:00
Mahavir Jain
93928a5d11
Merge branch 'nimble/update_doc_link_v4.0' into 'release/v4.0'
...
NimBLE: Update the link to NimBLE upstream documentation (v4.0)
See merge request espressif/esp-idf!7167
2019-12-31 13:42:30 +08:00
xiongyu
96a5e34d7a
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 11:02:35 +08:00
Angus Gratton
6bc284f7b7
Merge branch 'feature/tools_installer_v2.2_v4.0' into 'release/v4.0'
...
docs: update Windows tools installer link (backport v4.0)
See merge request espressif/esp-idf!7158
2019-12-31 09:17:46 +08:00
Jakob Hasse
daa2178f30
WIFI: added log for wifi test, increased timeout
2019-12-31 08:33:11 +08:00
Jakob Hasse
92b10b4ba3
NVS: bugfix nvs_set_str/blob checks write mode
2019-12-31 08:33:11 +08:00
Jakob Hasse
69b0919904
NVS: BUGFIX non-matching type iterator works
...
Closes IDFGH-2229
2019-12-31 08:33:11 +08:00
Angus Gratton
4cbbe6cca3
Merge branch 'bugfix/ci_test_idf_monitor_4.0' into 'release/v4.0'
...
CI: Adjust the test parameters of IDF Monitor (backport v4.0)
See merge request espressif/esp-idf!7165
2019-12-31 06:40:07 +08:00
Hrishikesh Dhayagude
edcba21b28
NimBLE: Update the link to NimBLE upstream documentation
2019-12-30 19:18:06 +05:30
Roland Dobai
e8b454e802
CI: Adjust the test parameters of IDF Monitor
2019-12-30 14:28:30 +01:00
Piyush Shah
84029130cf
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com >
2019-12-30 17:34:05 +05:30
Ivan Grokhotkov
6cbda6bd22
docs: update Windows tools installer link
2019-12-30 11:34:00 +01:00
He Yin Ling
dae4da07c3
CI: reduce number of unit test jobs
2019-12-30 10:59:47 +08:00
He Yin Ling
ca3b2a8909
test: fix multiple devices cases fail on python3
2019-12-30 10:55:57 +08:00
He Yin Ling
95f0553f40
test: let unit test jobs use python3
2019-12-30 10:55:46 +08:00
He Yin Ling
09935510bd
ttfw: fix incorrect relative import for python3
2019-12-30 10:55:32 +08:00
Jiang Jiang Jian
fb81b516da
Merge branch 'bugfix/btdm_revert_changes_of_security_mask_v4.0' into 'release/v4.0'
...
components/bt: Revert changes of security mask
See merge request espressif/esp-idf!7119
2019-12-29 21:38:09 +08:00
baohongde
d93bff2699
components/bt: Revert changes of security mask
2019-12-29 06:29:23 +00:00
Ivan Grokhotkov
03addfb0c5
Merge branch 'bugfix/legacy_msys2_environment_v4.0' into 'release/v4.0'
...
doc: Update the legacy MSYS2 environment to use 2019r2 toolchain version (v4.0)
See merge request espressif/esp-idf!7078
2019-12-27 23:29:13 +08:00
liu zhifu
0631d185bd
esp_wifi: fix a WiFi receiving bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2019-12-26 19:41:04 +08:00
Mahavir Jain
65cfbbda52
Merge branch 'bugfix/touchpad_interrupt' into 'release/v4.0'
...
Change critical section API for touch pad interrupt
See merge request espressif/esp-idf!7100
2019-12-24 19:51:49 +08:00
michael
6a18a33bad
esp_ringbuf: add documents for SendAcquire and SendComplete
2019-12-24 17:46:53 +08:00
Michael (XIAO Xufeng)
6f6677ac42
spi: move deprecated functions into internal header
...
Resolves https://github.com/espressif/esp-idf/issues/4132
2019-12-24 17:43:32 +08:00
Shubham Kulkarni
0e623d4dbf
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 14:52:54 +05:30
Jiang Jiang Jian
d41c020649
Merge branch 'bugfix/fix_ble_mesh_adv_buf_unref_v4.0' into 'release/v4.0'
...
ble_mesh: Fix adv buf unref and link_id in exceptional list (v4.0)
See merge request espressif/esp-idf!7080
2019-12-22 16:02:24 +08:00
Jiang Jiang Jian
b261647835
Merge branch 'bugfix/ble_mesh_client_check_remain_time_v4.0' into 'release/v4.0'
...
ble_mesh: Client model check timer remaining time (v4.0)
See merge request espressif/esp-idf!7074
2019-12-22 15:59:34 +08:00
lly
53e6eb8467
ble_mesh: Fix using wrong name for PB-GATT
2019-12-20 17:13:20 +08:00
lly
ebaa3e1c3e
ble_mesh: Fix adv buf unref and link_id in exceptional list
2019-12-20 17:13:15 +08:00
Angus Gratton
66889332ce
doc: Update the legacy MSYS2 environment to use 2019r2 toolchain version
...
As reported at https://www.esp32.com/viewtopic.php?p=52805
2019-12-20 19:29:57 +11:00
lly
23770edb43
ble_mesh: Add unlock when failed to create alarm
2019-12-20 15:34:10 +08:00
lly
6ea738eeb0
ble_mesh: Rename ble mesh lock/unlock functions
...
Rename BLE Mesh internal lock/unlock functions, also seperate
the list, buf and atomic lock/unlock functions
2019-12-20 15:34:06 +08:00
lly
3e6d04fc86
ble_mesh: Use mutex to protect client list operations
2019-12-20 15:34:01 +08:00
lly
9dc45e788d
ble_mesh: Remove useless parameters of lock/unlock
2019-12-20 15:33:56 +08:00
lly
bf712e4f91
ble_mesh: Client model check timer remaining time
...
Before handling status message, client models need check if the
corresponding timer has expired. And if timeout happens, the
status message will be treated as a publish message.
2019-12-20 15:33:50 +08:00
Angus Gratton
83813f830d
Merge branch 'bugfix/menuconfig_confirm_v4.0' into 'release/v4.0'
...
Menuconfig: Don't ask to save configuration when nothing has changed (backport v4.0)
See merge request espressif/esp-idf!6813
2019-12-20 13:11:00 +08:00
Jiang Jiang Jian
b0d6c01b04
Merge branch 'bugfix/btdm_fix_doc_and_host_bug_backport_v4.0' into 'release/v4.0'
...
Bugfix/btdm fix doc and host bug backport v4.0
See merge request espressif/esp-idf!6954
2019-12-18 14:19:30 +08:00
Geng Yu Chao
f955c49423
Bugfix/btdm fix doc and host bug backport v4.0
2019-12-18 14:19:27 +08:00
Angus Gratton
1b15e6cf56
Merge branch 'bugfix/nvs_flash_missing_tests' into 'release/v4.0'
...
nvs: Added nvs tests, minor corrections (backport v4.0)
See merge request espressif/esp-idf!6987
2019-12-18 11:38:08 +08:00
Angus Gratton
1ad1e70077
Merge branch 'feature/can_support_low_bit_rates_backport_v4.0' into 'release/v4.0'
...
can: Add support for lower bit rates (backport v4.0)
See merge request espressif/esp-idf!6392
2019-12-18 07:46:06 +08:00
Angus Gratton
d8665e5343
Merge branch 'bugfix/doc_fix_debian_requirements_v4.0' into 'release/v4.0'
...
Docs: Update Debian & Ubuntu install prerequisites (v4.0)
See merge request espressif/esp-idf!7036
2019-12-18 07:35:42 +08:00
Roland Dobai
46cb254f21
Docs: Update Debian & Ubuntu install prerequisites
...
Latest versions of apt-get don't install as much packages by default
as older ones. This fix adds some missing packages discovered for an OS
derived from the latest stable Debian. These packages exist for older
Debian derivatives as well (tested with Ubuntu 16.04 LTS).
Closes https://github.com/espressif/esp-idf/issues/4480
2019-12-17 13:38:22 +01:00
Jiang Jiang Jian
20e6d46d44
Merge branch 'bugfix/esp_timer_set_alarm_v4.0' into 'release/v4.0'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v4.0)
See merge request espressif/esp-idf!6988
2019-12-16 19:37:59 +08:00
Jiang Jiang Jian
a89decd3c1
Merge branch 'demo-hfp-client-v4.0' into 'release/v4.0'
...
component_bt/: Add HFP HF Unit Example
See merge request espressif/esp-idf!7023
2019-12-16 19:36:40 +08:00
weitianhua
1e7933049d
Add HFP Unit example code.
2019-12-16 17:18:51 +08:00
Jiang Jiang Jian
626c58fc67
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v4.0' into 'release/v4.0'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6880
2019-12-16 16:13:32 +08:00
Darian Leung
03d5742e11
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:38 +00:00
Jiang Jiang Jian
3c081abb32
Merge branch 'feature/hwcrypto_perf_ut_v4.0' into 'release/v4.0'
...
mbedtls: enable HW SHA by default, add SHA performance test (backport v4.0)
See merge request espressif/esp-idf!6668
2019-12-16 14:24:25 +08:00
Jiang Jiang Jian
482d2f06c3
Merge branch 'ci/artifact_expiry_v4.0' into 'release/v4.0'
...
ci: Keep build artifacts for 4 days (v4.0)
See merge request espressif/esp-idf!6994
2019-12-16 14:23:44 +08:00
Ivan Grokhotkov
4ffa3dbffb
Merge branch 'bugfix/libc_link_issues_v4.0' into 'release/v4.0'
...
newlib: fix linking issues (fcntl, system, raise) (backport v4.0)
See merge request espressif/esp-idf!7000
2019-12-16 14:16:56 +08:00
Ivan Grokhotkov
bf0863a50a
mbedtls: Enable SHA hardware acceleration by default
2019-12-15 20:46:20 +00:00
Ivan Grokhotkov
20d435c561
mbedtls: add SHA performance test
...
Results with this revision:
SHA256 rate 2.599MB/sec Debug 240MHz SW
SHA256 rate 1.147MB/sec Release 80MHz SW
SHA256 rate 3.469MB/sec Release 240MHz SW
SHA256 rate 2.687MB/sec Release 240MHz SW + PSRAM workaround
SHA256 rate 9.433MB/sec Debug 240MHz HW rev1
SHA256 rate 3.727MB/sec Release 80MHz HW rev1
SHA256 rate 10.961MB/sec Release 240MHz HW rev1
SHA256 rate 9.966MB/sec Release 240MHz HW rev1 + PRAM workaround
SHA256 rate 10.974MB/sec Debug 240MHz HW rev3
SHA256 rate 4.362MB/sec Release 80MHz HW rev3
SHA256 rate 13.207MB/sec Release 240MHz HW rev3
Debug = Og, assertions enabled
Release = O2, assertions disabled
2019-12-15 20:46:20 +00:00
baohongde
a82215d161
components/bt: Fix AVRC metadata length error
2019-12-14 05:48:26 +00:00
KonstantinKondrashov
dcbcb5fe58
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:46:27 +08:00
Ivan Grokhotkov
23e6b47a28
esp-tls: check return value of fcntl
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
85656ca77d
newlib: define fcntl as strong symbol
...
Closes https://github.com/espressif/esp-idf/issues/3694
Closes https://github.com/espressif/esp-idf/issues/4407
2019-12-13 14:12:36 +00:00
Ivan Grokhotkov
6f0f5d79f9
newlib: add definitions of system, raise
...
Closes IDF-1220
Closes IDFGH-1811
Closes https://github.com/espressif/esp-idf/pull/4020
2019-12-13 14:12:36 +00:00
Jakob Hasse
314a0443ad
nvs: Added nvs tests, minor corrections
...
* closes IDF-1135:
same namespace was used in different tests which
could lead to conflicts when re-running tests
* removes duplicated functions declarations
* correct argument order for test case macros
2019-12-13 17:06:27 +08:00
Angus Gratton
3ba9eae86c
Merge branch 'feature/ci_optimize_artifact_download_v4.0' into 'release/v4.0'
...
CI: optimize example build and artifact download (backport v4.0)
See merge request espressif/esp-idf!6940
2019-12-13 11:36:04 +08:00
Angus Gratton
a8e01de0e4
ci: Keep build artifacts for 4 days
2019-12-12 06:30:13 +00:00
Angus Gratton
0104a24a36
Merge branch 'bugfix/server_down_message_v4.0' into 'release/v4.0'
...
tools: Produce user friendly error during install when the server is down (v4.0)
See merge request espressif/esp-idf!6958
2019-12-12 08:12:36 +08:00
Angus Gratton
643757bfad
Merge branch 'bugfix/doc_package_versions_v4.0' into 'release/v4.0'
...
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5 (v4.0)
See merge request espressif/esp-idf!6974
2019-12-12 06:31:07 +08:00
Angus Gratton
30ac846112
Merge branch 'bugfix/cmake_secure_boot_v4.0' into 'release/v4.0'
...
secure boot: CMake bug fixes (v4.0)
See merge request espressif/esp-idf!6630
2019-12-12 06:30:37 +08:00
KonstantinKondrashov
8e54ee3f16
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-11 19:28:20 +08:00
Jiang Jiang Jian
ba11fed9c1
Merge branch 'bugfix/mesh_stop_recv_crash_4.0' into 'release/v4.0'
...
Bugfix/mesh stop recv crash 4.0
See merge request espressif/esp-idf!6948
2019-12-11 19:25:36 +08:00
Jiang Jiang Jian
bf01dd61f7
Merge branch 'doc/update_several_ble_mesh_docs_v4.0' into 'release/v4.0'
...
doc: update ble mesh docs based on the feature and example update (v4.0)
See merge request espressif/esp-idf!6966
2019-12-11 19:00:20 +08:00
chenyudong
ee6ba0eb47
mesh: fix mesh stop recv crash
2019-12-11 05:54:39 +00:00
He Yin Ling
45a50ed701
test: fix incorrect error type in xunit result
2019-12-11 15:57:49 +11:00
He Yin Ling
fd481d9cdd
ci: fix fetch submodule error on python3
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
ec8e057e4c
ci: remove dependencies from link_check job
2019-12-11 15:57:49 +11:00
Angus Gratton
510ec904c9
spi_flash tests: Fix exclusion of new API tests in legacy mode
2019-12-11 15:57:49 +11:00
He Yin Ling
fbdedee4cb
ci: reduce number of unit test cases
2019-12-11 15:57:49 +11:00
Anton Maklakov
f8e1ee35e2
soc: fix unit tests not included in the build
...
Regression from 9eccd7c082
2019-12-11 15:57:49 +11:00
He Yin Ling
06aa755265
ci: unit test use binary to built by cmake
2019-12-11 15:57:49 +11:00
He Yin Ling
48786c1da0
CI: remove not exist file from executable-list.txt
2019-12-11 15:57:49 +11:00
He Yin Ling
e9be102224
CI: build system do not check submodule for CI
2019-12-11 15:57:49 +11:00
He Yin Ling
3691ebc273
CI: modify fetch submodule method:
...
download archive for submodules instead of clone
2019-12-11 15:57:49 +11:00
He Yin Ling
31b9329d36
CI: raise import error instead of exit for ble tools
2019-12-11 15:57:49 +11:00
He Yin Ling
d00acce7b2
CI: support only download artifacts by request:
...
use CI dependencies could waste a lot bandwidth for target test jobs, as
example binary artifacts are very large. Now we will parse required
artifacts first, then use API to download required files in artifacts.
2019-12-11 15:57:49 +11:00
He Yin Ling
6e05a79536
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-11 15:57:49 +11:00
He Yin Ling
978bf09f83
CI: add utility gitlab_api
2019-12-11 15:57:49 +11:00
He Yin Ling
7a5d17e1b7
tiny-test-fw: move to tools/esp_python_packages:
...
make `tiny_test_fw` as a package and move to root path of idf python
packages
2019-12-11 15:57:49 +11:00
He Yin Ling
d3e0301aee
tiny-test-fw: only load module from the same file one time:
...
we should only load one module once.
if we load one module twice, python will regard the same object loaded in the first time and second time as different objects.
it will lead to strange errors like `isinstance(object, type_of_this_object)` return False
2019-12-11 15:57:49 +11:00
He Yin Ling
69c0e6243e
unit-test-app: fix test script error when handling multiple unit test configs in one config file:
...
If we have multiple configs, we need to flash DUT with different binaries. But if we don't close DUT before apply new config, the old DUT will be reused, so new config name will not be applied.
2019-12-11 15:57:49 +11:00
He Yin Ling
cffe7bf3a1
ci: use more flexible assign for unit test cases
2019-12-11 15:57:49 +11:00
He Yin Ling
1041bc800c
unit-test-app: print config name in test script
2019-12-11 15:57:49 +11:00
He Yin Ling
dd74a331c7
tiny-test-fw: print useful debug info when assign test:
...
* total requirements (number of required jobs vs tags)
* unused CI jobs
* missing jobs (number of missing jobs vs tags)
2019-12-11 15:57:49 +11:00
He Yin Ling
6ee7492512
ci: optimize unit test assignment:
...
Currently we use config and test function as filter when assign cases to one CI job. It's not necessary as the runner can run test with different configs / test functions. Now we will try to assign as many cases to a job as possible, to reduce the amount of jobs required.
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
9bf656e12e
examples: fix sdkconfig warnings
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
6ae4c29191
examples: update wifi/iperf to use the new builder
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
3fcecdd12e
ci: don't add build_examples_make as a target_test dependency
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
f3c8907cef
ci: reimplement build_examples_cmake using {find,build}_apps.py
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
7db756fbd9
tiny-test-fw: add build config and target options
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
1d72766f1a
tools: add build warnings checking script
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
5d03ae7428
tools: add {find,build}_apps.py, scripts to build multiple apps
...
This commit adds a pair of scripts, find_apps.py and build_apps.py.
These scripts are intended to be used in various CI jobs, building
multiple applications with different configurations and targets.
The first script, find_apps.py, is used to prepare the list of builds:
1. It finds apps for the given build system.
2. For each app, it finds configurations (sdkconfig files) which need
to be built.
3. It filters out the apps and configurations which are not compatible
with the given target.
4. It outputs the list of builds into stdout or a file. Currently the
format is a list of lines, each line a JSON string. In the future,
the tool can be updated to output YAML files.
The lists of builds can be concatenated and processed with standard
command line tools, like sed.
The second script, build_apps.py, executes the builds from the list.
It can execute a subset of builds based on --parallel-count and
--parallel-index arguments.
These two scripts are intended to replace build_examples_make,
build_examples_cmake, and the custom unit-test-app logic (in the
Makefile and idf_ext.py).
Closes IDF-641
2019-12-11 15:57:49 +11:00
Ivan Grokhotkov
bfbc10e2d8
lw-ip: silence a warning related to CONFIG_LWIP_TCP_WND_DEFAULT value
2019-12-11 15:57:49 +11:00
Angus Gratton
1fd0e6f482
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
2019-12-11 14:39:09 +11:00
Jiang Jiang Jian
21995978e1
Merge branch 'optimize_tcp_random_close_for_4.0' into 'release/v4.0'
...
optimize tcp random close for v4.0
See merge request espressif/esp-idf!6949
2019-12-10 16:47:36 +08:00
lly
e0b6ad0d1a
doc: update ble mesh docs based on the feature and example update
2019-12-10 14:02:20 +08:00
xueyunfei
2b5a8fe5ea
optimize tcp random close for v4.0
2019-12-10 11:53:22 +08:00
Roland Dobai
bb7e52a4a8
tools: Produce user friendly error during install when the server is down
...
Closes https://github.com/espressif/esp-idf/issues/4329
2019-12-09 15:51:38 +01:00
Jiang Jiang Jian
c0597aaf69
Merge branch 'bugfix/phy_critical_v4.0' into 'release/v4.0'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6941
2019-12-09 14:17:54 +08:00
Jiang Jiang Jian
87c30adfed
Merge branch 'bugfix/coex_fix_wifi_scan_and_connect_bugs_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
See merge request espressif/esp-idf!6939
2019-12-09 13:43:46 +08:00
Angus Gratton
3636bf5813
Merge branch 'bugfix/update_libexpat_v4.0' into 'release/v4.0'
...
expat: Update library from 2.2.5 to 2.2.9 (v4.0)
See merge request espressif/esp-idf!6921
2019-12-09 13:21:28 +08:00
Tian Hao
ea2959af36
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:45:52 +08:00
Jiang Jiang Jian
585654388f
Merge branch 'bugfix/improve_lwip_performance_v4.0' into 'release/v4.0'
...
LW-IP: fix bug for performance lose when update lw-ip to 2.1.2
See merge request espressif/esp-idf!6938
2019-12-09 12:42:04 +08:00
Jack
939d5a0f6a
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-09 12:17:16 +08:00
Angus Gratton
4d3c650b49
Merge branch 'bugfix/macos_link_toomany_open_files_v4.0' into 'release/v4.0'
...
build system: explicitly disable LTO plugin to reduce the number of simultaneously open files (backport v4.0)
See merge request espressif/esp-idf!6867
2019-12-09 06:19:30 +08:00
Jiang Jiang Jian
2318e6828d
Merge branch 'Bugfix/add_netif_assert' into 'release/v4.0'
...
fix bug for netif add crash
See merge request espressif/esp-idf!6895
2019-12-07 17:33:39 +08:00
xueyunfei
262acbc0a8
fix bug for improve performance
2019-12-07 16:16:57 +08:00
Jiang Jiang Jian
2b2f0d0f28
Merge branch 'feature/reorganise_bluetooth-bluedroid-hci_v4.0' into 'release/v4.0'
...
Moved HCI examples from bluetooth/bluedroid/hci to bluetooth/hci. (v4.0)
See merge request espressif/esp-idf!6915
2019-12-06 12:09:16 +08:00
Chinmay Chhajed
2887131b39
Changes in menuconfig options to not compile any host when using hci
...
examples as no host is required there.
2019-12-06 12:09:16 +08:00
xueyunfei
104299353d
fix bug for netif add crash
2019-12-06 10:54:12 +08:00
Jiang Jiang Jian
19d394a366
Merge branch 'bugfix/ramdom_tcp_crash_for_4.0' into 'release/v4.0'
...
fix bug for random tcp close for 4.0
See merge request espressif/esp-idf!6841
2019-12-05 20:27:39 +08:00
xueyunfei
e4312f8ab5
fix bug for random tcp close for 4.0
2019-12-05 18:41:42 +08:00
Jiang Jiang Jian
1930c56bd2
Merge branch 'bugfix/lwip_rx_buff_free_v4.0' into 'release/v4.0'
...
lw-IP: Adapted lw-ip port layer to use 2.1.2-esp in 4.0 (v4.0)
See merge request espressif/esp-idf!6857
2019-12-05 18:39:38 +08:00
David Cermak
5e67f9578d
lwip: Adapted lwip port layer to use 2.1.2-esp in 4.0
2019-12-05 16:24:04 +08:00
Roland Dobai
46a172178a
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:17:39 +01:00
Angus Gratton
e6006a6bdf
Merge branch 'bugfix/remove_mbedtls_would_block_v40' into 'release/v4.0'
...
Remove check for would_block in mbedtls (Backport v4.0)
See merge request espressif/esp-idf!6913
2019-12-05 07:37:15 +08:00
Jiang Jiang Jian
a5b803540a
Merge branch 'bugfix/btdm_allow_start_adv_again_v4.0' into 'release/v4.0'
...
component/bt: allow to send stop adv again and fix tx prog crash(backport v4.0)
See merge request espressif/esp-idf!6653
2019-12-04 20:24:07 +08:00
Kedar Sovani
673ccaa1e5
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-12-04 17:28:15 +05:30
Angus Gratton
08e55b8a66
Merge branch 'bugfix/ethernet_add_reference_counter_v4.0' into 'release/v4.0'
...
ethernet: add reference counter v4.0 (v4.0)
See merge request espressif/esp-idf!6780
2019-12-04 14:59:45 +08:00
morris
0508ad525a
ethernet: add pm lock
2019-12-03 17:37:45 +08:00
morris
97defec6cd
ethernet:a bunch of bugfix from master
2019-12-03 17:37:35 +08:00
morris
96e6049dab
ethernet:add start stop control
2019-12-03 17:36:48 +08:00
morris
37154d4c08
ethernet:add reference counter
2019-12-03 15:53:39 +08:00
suda-morris
14dd44c05f
doc: move common Ethernet config explanation into a single file
2019-12-03 15:53:39 +08:00
suda-morris
42a462d584
ethernet: add gpio number into config structure
2019-12-03 15:53:39 +08:00
Angus Gratton
c68bd605f8
Merge branch 'bugfix/idf_tool_git_worktree_v4.0' into 'release/v4.0'
...
tools: Don't use git work-tree in idf_tools.py and try to parse IDF version from C header (v4.0)
See merge request espressif/esp-idf!6821
2019-12-03 09:22:29 +08:00
Mahavir Jain
f37837f785
Merge branch 'NimBLE/fix_send_after_controller_ready_v4.0' into 'release/v4.0'
...
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (Backport v4.0)
See merge request espressif/esp-idf!6793
2019-12-01 17:53:50 +08:00
Prasad Alatkar
69c86bc37e
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (Backport v4.0)
2019-12-01 17:53:49 +08:00
Ivan Grokhotkov
14f1a30e38
build system: move -fno-rtti link option next to the compile option
...
Previous commit has added `link_options` to the root CMakeLists.txt,
can use it to collect such global link options now.
2019-11-28 11:02:30 +01:00
Ivan Grokhotkov
afeed3cc6f
build system: explicitly disable LTO plugin
...
... to reduce the number of simultaneously open files at link time.
When plugin support is enabled in the linker, BFD's (and the
corresponding file handles) are cached for the plugin to use. This
results in quite a large number of simultaneously open files, which
hits the default limit on macOS (256 files).
Since we aren't using LTO now, disable it explicitly when invoking the
linker.
Closes IDF-923
Closes IDFGH-1764
Closes https://github.com/espressif/esp-idf/issues/3989
2019-11-28 11:02:18 +01:00
Jiang Jiang Jian
139913baa2
Merge branch 'bugfix/config_assert_thread_safety_backport_v4.0' into 'release/v4.0'
...
freertos: Fix configASSERT thread safety (backport v4.0)
See merge request espressif/esp-idf!6662
2019-11-28 11:51:13 +08:00
Jiang Jiang Jian
e324013ed6
Merge branch 'bugfix/hfp_client_indication_v4.0' into 'release/v4.0'
...
component/bt: Fix bugs in HFP feature v4.0
See merge request espressif/esp-idf!6851
2019-11-27 22:49:03 +08:00
zhiweijian
8d189d9fb4
component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes
2019-11-27 20:15:08 +08:00
weitianhua
e7a6fdca54
component/bt: Fix bugs in HFP feature
2019-11-27 16:48:26 +08:00
Jiang Jiang Jian
48dfbe05a4
Merge branch 'fixed_queue_v4.0' into 'release/v4.0'
...
component_bt/: Fix_pointer_type_fixed_queue v4.0
See merge request espressif/esp-idf!6846
2019-11-27 16:39:51 +08:00
weitianhua
5d00321d07
fix_pointer_type_fixed_queue
2019-11-27 15:06:15 +08:00
Jiang Jiang Jian
2e8ad19e35
Merge branch 'bugfix/ble_mesh_device_with_wrong_name_on_ios_v4.0' into 'release/v4.0'
...
ble_mesh: fix ble mesh device with wrong name on iOS (v4.0)
See merge request espressif/esp-idf!6521
2019-11-27 10:31:01 +08:00
Roland Dobai
c45830d03f
tools: Don't use git work-tree in idf_tools.py
...
Closes https://github.com/espressif/esp-idf/issues/4355
2019-11-26 08:56:34 +01:00
Angus Gratton
7725ce4999
Merge branch 'fix/esp_flash_no_qe_4.0' into 'release/v4.0'
...
esp_flash: fix the QE write issue in high freq, and support UT for external chips (backport v4.0)
See merge request espressif/esp-idf!6423
2019-11-26 11:34:14 +08:00
Roland Dobai
97488fe806
Menuconfig: Don't ask to save configuration when nothing has changed
...
Closes https://github.com/espressif/esp-idf/issues/4303
2019-11-25 11:29:58 +01:00
Jiang Jiang Jian
e3f0854771
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v4.0' into 'release/v4.0'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v4.0)
See merge request espressif/esp-idf!6769
2019-11-22 17:38:06 +08:00
Michael (XIAO Xufeng)
b5d04a21fb
esp_flash: fix the quad issue for some GD flash chips
...
The GD flash with product ID 40H, is already used in Wrover-nosufix modules.
2019-11-21 12:26:15 +08:00
Michael (XIAO Xufeng)
337b1df430
esp_flash: add unit test for external flash and QE toggling
...
Tests for external flash chips used to controlled by macros, one bin for
one chip. And tests are done manually. This commit refactored the test
so that all 3 chips can all run in single test.
2019-11-21 12:26:15 +08:00
Michael (XIAO Xufeng)
41e64bd79c
esp_flash: rename internal variables for better readability
...
chip_drv in HAL are renamed as host
2019-11-21 12:26:14 +08:00
Michael (XIAO Xufeng)
2b7681ec4f
esp_flash: fix set qe bit and write command issues
...
There used to be dummy phase before out phase in common command
transactions. This corrupts the data.
The code before never actually operate (clear) the QE bit, once it finds
the QE bit is set. It's hard to check whether the QE set/disable
functions work well.
This commit:
1. Cancel the dummy phase
2. Set and clear the QE bit according to chip settings, allowing tests
for QE bits. However for some chips (Winbond for example), it's not
forced to clear the QE bit if not able to.
3. Also refactor to allow chip_generic and other chips to share the same
code to read and write qe bit; let common command and read command share
configure_host_io_mode.
4. Rename read mode to io mode since maybe we will write data with quad
mode one day.
2019-11-21 12:26:14 +08:00
Angus Gratton
668c0dfb9b
Merge branch 'bugfix/idfpy_before_flash_option_v4.0' into 'release/v4.0'
...
idf.py: Add --before flag to esptool.py call (v4.0)
See merge request espressif/esp-idf!6625
2019-11-21 06:40:14 +08:00
Angus Gratton
0b0f8d6d6c
Merge branch 'feature/windows_ccache_enable_v4.0' into 'release/v4.0'
...
tools: export IDF_CCACHE_ENABLE on Windows by default (backport v4.0)
See merge request espressif/esp-idf!6664
2019-11-21 06:39:27 +08:00
Jiang Jiang Jian
a8f956e590
Merge branch 'bugfix/warning_fix_latest_freertos_v4.0' into 'release/v4.0'
...
Fixed warnings for components driver, esp32 and mbedtls (v4.0)
See merge request espressif/esp-idf!6759
2019-11-20 12:20:02 +08:00
Jiang Jiang Jian
3b879ce8c3
Merge branch 'bugfix/put_more_rx_code_to_iram_v4.0' into 'release/v4.0'
...
Put some rx code to iram (backport v4.0)
See merge request espressif/esp-idf!6492
2019-11-20 11:19:20 +08:00
Jack
5102308b2b
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:51:28 +08:00
Shubham Kulkarni
f95a723412
Fixed warnings for components driver, esp32 and mbedtls
2019-11-19 15:02:02 +05:30
Jiang Jiang Jian
88cbc26f4d
Merge branch 'bugfix/btdm_run_out_of_frame_element_v4.0' into 'release/v4.0'
...
components/bt: Fix assert due to no free element form
See merge request espressif/esp-idf!6700
2019-11-19 17:01:32 +08:00
Mahavir Jain
1b53af2e88
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-11-19 04:42:27 +00:00
Darian Leung
376107b2ae
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-11-19 04:42:27 +00:00
Jiang Jiang Jian
c9294aff6f
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v4.0' into 'release/v4.0'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6725
2019-11-19 12:15:36 +08:00
Angus Gratton
99fb9a3f7c
Merge branch 'bugfix/miscellaneous_cmake_fixes' into 'release/v4.0'
...
CMake bugfixes
See merge request espressif/esp-idf!6654
2019-11-19 06:52:07 +08:00
xiehang
e5773cc2fe
esp_wifi: Put some rx code to iram and update phy4180
2019-11-18 02:54:46 +00:00
He Yin Ling
4e6c575fed
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v4.0' into 'release/v4.0'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v4.0)
See merge request espressif/esp-idf!6603
2019-11-18 10:44:20 +08:00
baohongde
8353ecdf36
components/bt: Disable some unsupported security mask
2019-11-17 13:45:32 +08:00
Angus Gratton
5bb0b39700
ci: Add test configs for 32kHz crystals
2019-11-16 17:06:14 +08:00
Jiang Jiang Jian
9214c887f7
Merge branch 'bugfix/asio_examples_v4.0' into 'release/v4.0'
...
asio: fix asio test code to start the test after ip address received from common example code (v4.0)
See merge request espressif/esp-idf!6699
2019-11-15 23:50:22 +08:00
Mahavir Jain
ebc2e7bce0
Merge branch 'fix/NimBLE_protocomm_mngr' into 'release/v4.0'
...
NimBLE: Fix bug in `protocomm_nimble` chararcteristic access callback (release/v4.0)
See merge request espressif/esp-idf!6703
2019-11-15 19:11:19 +08:00
Jiang Jiang Jian
065e386c57
Merge branch 'bugfix/fix_the_bug_in_espnow_example_v4.0' into 'release/v4.0'
...
espnow: fix the bug for calling esp_wifi_set_channel (backport v4.0)
See merge request espressif/esp-idf!6692
2019-11-14 19:26:29 +08:00
Prasad Alatkar
c595b2fa8c
NimBLE: Fix bug in protocomm_nimble chararcteristic access callback (release/v4.0)
...
Fixes bug in `protocomm_nimble` while writing to characteristic with length greater than MTU value.
2019-11-14 15:24:47 +05:30
lly
eb95bc68c4
ble_mesh: fix ble mesh device with wrong name on iOS
2019-11-14 16:56:34 +08:00
Jiang Jiang Jian
2b208eecde
Merge branch 'feat/ble_mesh_4_1_new_features_v4.0' into 'release/v4.0'
...
ESP BLE Mesh new features (v4.0)
See merge request espressif/esp-idf!6698
2019-11-14 16:48:44 +08:00
baohongde
f9f49107ca
components/bt: Fix assert due to no free element form
2019-11-14 15:20:54 +08:00
KonstantinKondrashov
fae116bb2e
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-14 12:26:43 +08:00
David Cermak
8d90156c07
asio: fix asio test code to start the test after ip address received from common example code
...
Previously set to wait until IP address got from tcpip_adapter, but since common example connect code blocks until both IP4 and IPv6 address received it could happen that test code might have started connection to the ASIO counter-part while ESP32 still waiting for IPv6 address
2019-11-14 12:12:15 +08:00
lly
f22d46515b
ble_mesh: miscellaneous modifications
...
1. Clean up client_common.c
2. Clean up esp_ble_mesh directory
3. Update Kconfig.in
4. Format esp_ble_mesh files
2019-11-14 11:59:21 +08:00
lly
27cb3d7f72
ble_mesh: adapt ble mesh with nimble host
2019-11-14 10:42:30 +08:00
lly
e0e62232e0
ble_mesh: update ble mesh examples
2019-11-14 10:42:16 +08:00
lly
a302d210b9
ble_mesh: add events for configuration server model
2019-11-14 10:39:55 +08:00
lly
a32c72a1b2
ble_mesh: add Generic/Sensor/Time and Scenes/Lighting Server models
2019-11-14 10:39:49 +08:00
lly
f1850b54f3
ble_mesh: add proxy client functionality
2019-11-14 10:39:40 +08:00
lly
c85abf87b5
ble_mesh: add ble mesh friend node event
2019-11-14 10:39:17 +08:00
lly
9029ccd21b
ble_mesh: add low power node api and event
2019-11-14 10:39:13 +08:00
lly
eaeb36375a
ble_mesh: add heartbeat message recv callback
2019-11-14 10:39:08 +08:00
lly
805bc06127
ble_mesh: modify health server model callbacks
2019-11-14 10:39:04 +08:00
lly
4702cd1b51
ble_mesh: add separate advertising buffers for relay packets
2019-11-14 10:38:59 +08:00
Jiang Jiang Jian
720528ef11
Merge branch 'feature/nimble_host_esp_ble_mesh_v4.0' into 'release/v4.0'
...
components/bt: Add support of NimBLE host in ESP BLE Mesh (backport v4.0)
See merge request espressif/esp-idf!6619
2019-11-13 21:32:23 +08:00
zhangyanjiao
d934badaa7
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:37:26 +08:00
Jiang Jiang Jian
35b91ebf2d
Merge branch 'bugfix/dockerfile_set_idf_branch_v4.0' into 'release/v4.0'
...
tools/docker: use correct branch and commit of IDF when building (backport v4.0)
See merge request espressif/esp-idf!6665
2019-11-13 16:25:53 +08:00
Jiang Jiang Jian
6c7f72cc1b
Merge branch 'bugfix/http_client_buffer_overflow_v4.0' into 'release/v4.0'
...
Fix HTTP client buffer overflow (v4.0)
See merge request espressif/esp-idf!6666
2019-11-13 16:24:51 +08:00
Jiang Jiang Jian
7061c8aec2
Merge branch 'bugfix/mdns_invalid_hostname_queries_v4.0' into 'release/v4.0'
...
mdns: fix crash for hostname queries (backport v4.0)
See merge request espressif/esp-idf!6504
2019-11-13 16:19:19 +08:00
David Cermak
3ba8ae7a62
http_client: added comments to http header generation function
2019-11-12 09:59:50 +01:00
David Cermak
2c27c55679
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-12 09:59:50 +01:00
Ivan Grokhotkov
68ad6ad63a
tools/docker: use correct branch and commit of IDF when building
2019-11-12 09:57:15 +01:00
Ivan Grokhotkov
981b2496cb
tools: export IDF_CCACHE_ENABLE on Windows by default
2019-11-12 09:54:57 +01:00
Jiang Jiang Jian
077b727608
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v4.0' into 'release/v4.0'
...
esp_wifi: fix some WiFi bugs 1009 (backport v4.0)
See merge request espressif/esp-idf!6299
2019-11-12 11:27:40 +08:00
Angus Gratton
79f36e85d5
Merge branch 'fix/ci_ut_psram_wroverb_v4.0' into 'release/v4.0'
...
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM (backport v4.0)
See merge request espressif/esp-idf!6592
2019-11-11 18:38:53 +08:00
Renz Christian Bagaporo
d49077c13b
spiffs: fix build issue on clean project
...
From issue:
I did some poking around in components/spiffs/project_include.cmake and
it looks like what is failing is it isn't getting an offset from
parttool.py. I think what the problem is that the parttool.py cannot
determine the offset of the storage partition as I can't run menuconfig
to set the custom partitions.
I have tested that this problem is solvable by manually setting the
custom partitions in sdkconfig and that is a workaround but there should
be at least a better error message in the configuration when it cannot
find the partition as this would also happen if the partition name was
misspelled.
Closes https://github.com/espressif/esp-idf/issues/4236
2019-11-11 18:11:12 +08:00
Renz Christian Bagaporo
0c2202ef3e
examples: fix idf as library example build on macOS
...
GCC prefixes underscore on symbol names on macOS, and so the set
undefined symbol `-u app_main` won't work. However, this is unecessary,
as the source file that defines it is specified directly to the
executable, and not through a static library.
Closes https://github.com/espressif/esp-idf/issues/4168
2019-11-11 18:09:52 +08:00
Renz Christian Bagaporo
e4137cc6ca
cmake: support git worktree
...
Use rev-parse to get the HEAD directory instead of manually looking for
it. This method works in the main repository, worktrees and submodules.
Closes https://github.com/espressif/esp-idf/issues/4136
2019-11-11 18:09:15 +08:00
Renz Christian Bagaporo
308e4fcce1
cmake: do not check if sdkconfig exists
2019-11-11 18:06:48 +08:00
Renz Christian Bagaporo
a6d40e3583
docs: cmake docs fixes
2019-11-11 18:05:35 +08:00
Renz Christian Bagaporo
95b5745c3c
cmake: treat unregistered components as unresolved
2019-11-11 18:03:26 +08:00
Renz Christian Bagaporo
bc3134594d
esptool_py: add missing phony build targets for CMake
...
Adds targets erase_flash and monitor for users not using idf.py.
Closes https://github.com/espressif/esp-idf/issues/2420 .
2019-11-11 18:02:32 +08:00
Renz Christian Bagaporo
8300945189
cxx: force pthread to appear later in link line
2019-11-11 18:01:45 +08:00
Renz Christian Bagaporo
c9ca3a05fc
docs: fix typo of build component aliases name
2019-11-11 18:01:00 +08:00
Renz Christian Bagaporo
ecce2bc926
cmake: introduce BUILD_COMPONENT_ALIASES
...
This commit makes it so that BUILD_COMPONENT holds only the component,
and a new property BUILD_COMPONENT_ALIASES hold the full name of the
component.
This also removes erroneous check for duplicate components, as this can
never happen:
(1) if two components have the same name but different prefixes,
the internal names are still unique between them
(2)if two components happen to have the same name and same prefix, the
latter would override the former
2019-11-11 18:01:00 +08:00
Renz Christian Bagaporo
b69898257a
cmake: make build components available before immediately
...
Previous implementation only builds list of components included in the
build during component registration.
Since the build components is known as the requirements expansion is
ongoing, update the list here instead.
2019-11-11 18:00:50 +08:00
Renz Christian Bagaporo
22548d0ea4
cmake: hide internal targets
...
Use imported library, which does not create additional rules, but still
allows attaching arbitraty properties instead of custom targets. This
allows the targets to not appear in the target list of IDEs such as
CLion.
2019-11-11 17:58:02 +08:00
Ivan Grokhotkov
088ac409d7
Merge branch 'bugfix/partition_cmake_md5_v4.0' into 'release/v4.0'
...
cmake: fix partition_table cmake when using md5 checksum (v4.0)
See merge request espressif/esp-idf!6640
2019-11-09 21:17:08 +08:00
Jiang Jiang Jian
14ce4cde2e
Merge branch 'bugfix/wifi_internal_memory_v4.0' into 'release/v4.0'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v4.0)
See merge request espressif/esp-idf!6627
2019-11-09 13:47:33 +08:00
Wu Jian Gang
83cd515817
cmake: fix partition_table cmake when using md5 checksum
2019-11-08 18:52:18 +08:00
Angus Gratton
d48d9a1c88
Merge branch 'bugfix/i2s-bootloader-random-disable_v4.0' into 'release/v4.0'
...
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v4.0
See merge request espressif/esp-idf!6602
2019-11-08 17:12:02 +08:00
Michael (XIAO Xufeng)
f54cab62a2
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-08 08:25:35 +00:00
Angus Gratton
c64d4236fb
secure boot: In Reflashable mode, make sure the bootloader digest updates
...
... whenever the bootloader.bin is updated
2019-11-08 11:39:01 +08:00
Angus Gratton
90568fbf00
secure boot: Fix bug where verification key was not embedded in app
2019-11-08 11:39:01 +08:00
Angus Gratton
475a746e46
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:37:46 +08:00
Angus Gratton
947fc14a3f
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:37:46 +08:00
tatsutaigu
6f6629e568
idf.py: Add --before flag to esptool.py call
...
Merges https://github.com/espressif/esp-idf/pull/4125
2019-11-07 17:37:18 +01:00
Jiang Jiang Jian
4c4b1da7e7
Merge branch 'bugfix/ws_client_fixes_v4.0' into 'release/v4.0'
...
ws_client: various fixes (v4.0)
See merge request espressif/esp-idf!6446
2019-11-07 13:29:50 +08:00
Hrishikesh Dhayagude
9cc272978c
nimble: Miscellaneous changes
...
1. Update NimBLE submodule as per changes in adv interval and stop port
2. Make changes in ESP BLE Mesh NimBLE host code for the same
2019-11-06 18:27:14 +05:30
Hrishikesh Dhayagude
5cb6a49c1e
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-11-06 18:26:30 +05:30
Hrishikesh Dhayagude
56d1e4411e
NimBLE: Set the default number of max connections to the controller's value
...
Also, update the NimBLE submodule to remove unwanted logging stuff
2019-11-06 18:24:56 +05:30
Ivan Grokhotkov
05510e513b
Merge branch 'feature/update_toolchain_esp-2019r2_v4.0' into 'release/v4.0'
...
Introduce esp-2019r2 toolchain (backport v4.0)
See merge request espressif/esp-idf!6582
2019-11-06 16:15:27 +08:00
Marius Vikhammer
5e042803a2
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-11-05 11:31:18 +00:00
Chen Zheng Wei
74d06101b1
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v4.0
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 17:18:13 +08:00
Anton Maklakov
2cd3018c0a
Introduce esp-2019r2 toolchain
2019-11-04 16:21:56 +07:00
David Cermak
1a8e5a40d6
ws_client: added subprotocol configuration option to websocket client
...
closes https://github.com/espressif/esp-idf/issues/3893
2019-11-02 14:12:11 +01:00
David Cermak
b529c6f282
ws_client: fixed path config issue when ws server configured using host and path instead of uri
...
closes https://github.com/espressif/esp-idf/issues/3892
2019-11-02 14:12:11 +01:00
David Cermak
7a05879024
ws_client: fixed transport config option when server address configured as host, port, transport rather then uri
...
closes https://github.com/espressif/esp-idf/issues/3891
2019-11-02 14:12:11 +01:00
David Cermak
1611386431
ws_client: fix ping-pong mechanism to use mask, support reception of zero-payload PONG and sending non-zero-payload PING
...
Closes https://github.com/espressif/esp-idf/issues/3890
Closes https://github.com/espressif/esp-idf/issues/4138
2019-11-02 14:12:11 +01:00
Jiang Jiang Jian
6181686489
Merge branch 'bugfix/ws_client_fix_event_blocking_v4.0' into 'release/v4.0'
...
ws_client: fixed posting to event loop with websocket timeout (v4.0)
See merge request espressif/esp-idf!6450
2019-11-02 17:29:26 +08:00
Jiang Jiang Jian
0562281353
Merge branch 'bugfix/ws_buffer_overflow_fix_v4.0' into 'release/v4.0'
...
tcp_transport: fix possible buffer overflow in ws transport connect (v4.0)
See merge request espressif/esp-idf!6447
2019-11-02 17:28:12 +08:00
Jiang Jiang Jian
8bc1f6e2f5
Merge branch 'bugfix/ws_opcodes_fix_v4.0' into 'release/v4.0'
...
ws_client: fix for not sending ping responses, updated to pass events also for... (v4.0)
See merge request espressif/esp-idf!6451
2019-11-02 17:24:40 +08:00
Jiang Jiang Jian
dd99a6dbe8
Merge branch 'bugfix/ws_client_fixed_path_query_uri_v4.0' into 'release/v4.0'
...
websocket_client: fix URI parsing to include also query part in websocket connection path (v4.0)
See merge request espressif/esp-idf!6452
2019-11-02 17:19:44 +08:00
Jiang Jiang Jian
5a686d7ad1
Merge branch 'bugfix/mdns_answer_ip6_size_v4.0' into 'release/v4.0'
...
mdns: use constant size of AAAA answer instead of lw_IP struct size (v4.0)
See merge request espressif/esp-idf!6453
2019-11-02 17:17:45 +08:00
Jiang Jiang Jian
0ca0e7d3cc
Merge branch 'bugfix/mdns_BCT_fix_v4.0' into 'release/v4.0'
...
mdns: fixes to have the BCT passing with latest IDF/lw-IP (v4.0)
See merge request espressif/esp-idf!6454
2019-11-02 17:17:38 +08:00
Jiang Jiang Jian
f06ef95610
Merge branch 'bugfix/bugs_in_a2dp_task_v4.0' into 'release/v4.0'
...
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
See merge request espressif/esp-idf!6532
2019-11-02 17:17:07 +08:00
liu zhifu
0078896347
esp_wifi: 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 5.5M signal test bug
2019-11-01 22:16:30 +08:00
David Cermak
44599d3a84
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data
...
closes https://github.com/espressif/esp-idf/issues/3982
2019-11-01 14:14:15 +00:00
David Cermak
0fa7dcb946
websocket_client: fix URI parsing to include also query part in websocket connection path
...
closes https://github.com/espressif/esp-idf/issues/4090
2019-11-01 14:07:15 +00:00
David Cermak
d3a8dcb929
tcp_transport: fix possible buffer overflow in ws transport connect
...
closes IDF-692
2019-11-01 14:05:04 +00:00
David Cermak
4e8c1b91c0
ws_client: fixed posting to event loop with websocket timeout
...
Executing event loop `esp_event_loop_run()` with timeout causes delays in receiving events from user code. Fixed by removing the timeout to post synchronously.
closes https://github.com/espressif/esp-idf/issues/3957
2019-11-01 14:02:58 +00:00
Jiang Jiang Jian
4ed0d006b4
Merge branch 'bugfix/fix_wifi_deinit_memory_leak_v4.0' into 'release/v4.0'
...
esp_wifi: fix WiFi deinit memory leak (backport v4.0)
See merge request espressif/esp-idf!6539
2019-11-01 21:39:56 +08:00
baohongde
e85804824e
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
2019-11-01 20:12:24 +08:00
Jiang Jiang Jian
304f6a577a
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v4.0' into 'release/v4.0'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6534
2019-11-01 18:20:07 +08:00
David Cermak
29690afc57
mdns: use constant size of AAAA answer in mdns packets instead of deriving from lwip struct size, since the struct could contain also zones
...
closes WIFI-771
2019-11-01 09:50:42 +00:00
David Cermak
98450e80e5
mdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECTED event.
...
tcpip_adapter_dhcpc_get_status() returns the actual internal value of dhcp client without any locking or TCP/IP stack context call, so when CONNECTED event fired with default settings it started DHCP client in TCP/IP stack context and at the same time mdns event handler checking actual DHCP state, which could still be INIT (not STARTED). Purpose of this check is to enable PCB if DHCP was stopped before setting network interface up (typically static IP settings), so the solutin is to check against TCPIP_ADAPTER_DHCP_STOPPED state
2019-11-01 07:51:49 +00:00
Jiang Jiang Jian
1007473a3b
Merge branch 'bugfix/btdm_check_avrc_connected_error_4.0' into 'release/v4.0'
...
components/bt: Fix error in checking AVRC connected
See merge request espressif/esp-idf!6440
2019-11-01 14:14:13 +08:00
Jiang Jiang Jian
e875f59ed5
Merge branch 'feature/esp-ble-mesh-documentation-v4.0' into 'release/v4.0'
...
Provide BLE Mesh documentation (v4.0)
See merge request espressif/esp-idf!6560
2019-11-01 14:02:26 +08:00
Jiang Jiang Jian
4f946ea00e
Merge branch 'bugfix/can_critical_section_compliance_backport_v4.0' into 'release/v4.0'
...
CAN: Fix critical section compliance (backport v4.0)
See merge request espressif/esp-idf!6568
2019-11-01 14:01:42 +08:00
Darian Leung
666f87109f
CAN: Fix critical section compliance
...
This commit makes the CAN driver ISR use the ISR version
of critical section.
2019-11-01 12:14:39 +08:00
Jiang Jiang Jian
154f315a49
Merge branch 'Bugfix/close_nonblocking_tcp_crash_for_4.0' into 'release/v4.0'
...
Bugfix/close nonblocking tcp crash for 4.0
See merge request espressif/esp-idf!6517
2019-11-01 11:24:13 +08:00
Ivan Grokhotkov
b175ec77ad
Merge branch 'feature/cxx_rtti_preparation_v3_v4.0' into 'release/v4.0'
...
C++: re-add provisions for optional RTTI support (backport v4.0)
See merge request espressif/esp-idf!6557
2019-10-31 23:27:33 +08:00
Krzysztof Budzynski
f9fa039826
Provide BLE Mesh documentation
2019-10-31 17:08:26 +08:00
Ivan Grokhotkov
b54528696a
Merge branch 'doc/support_policy_v4.0' into 'release/v4.0'
...
docs: Add ESP-IDF support period policy (v4.0)
See merge request espressif/esp-idf!6528
2019-10-31 15:46:43 +08:00
Anton Maklakov
fae64f79bb
C++: prepare RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
Also, for full RTTI support, libstdc++.a in the toolchain should be built
in both with RTTI and w/o RTTI options. Multilib with -fno-rtti
flag is used for that.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-31 13:27:39 +07:00
Anton Maklakov
4f297ed3fa
Revert "C++: add provisions for optional RTTI support"
...
This reverts commit 3d0466ccd1 .
2019-10-31 13:26:53 +07:00
Jiang Jiang Jian
8eaa440221
Merge branch 'bugfix/jump_time_54_sec_v4.0' into 'release/v4.0'
...
esp_timer: Fix time jumps back ~ 54sec (v4.0)
See merge request espressif/esp-idf!6456
2019-10-31 12:31:39 +08:00
Jiang Jiang Jian
56d5548747
Merge branch 'bugfix/btdm_backports_v4.0_1028' into 'release/v4.0'
...
bt: backport btdm controller fixes to v4.0
See merge request espressif/esp-idf!6514
2019-10-30 15:39:11 +08:00
xueyunfei
665a341147
fix bug for close nonblocking tcp crash
2019-10-30 10:44:36 +08:00
baohongde
cab589af9d
components/bt: Fix error in checking AVRC connected
2019-10-30 02:34:33 +00:00
liu zhifu
19e355e080
esp_wifi: fix WiFi deinit memory leak
2019-10-29 22:32:17 +08:00
baohongde
1cf2da8d67
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 19:58:52 +08:00
Jiang Jiang Jian
744625f234
Merge branch 'bugfix/btdm_disable_bt_gatt_v4.0' into 'release/v4.0'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6503
2019-10-29 18:15:54 +08:00
Angus Gratton
5e505898df
docs: Add ESP-IDF support period policy
2019-10-29 16:26:13 +11:00
Jiang Jiang Jian
3a1d0e9352
Merge branch 'bugfix/coex_semaphore_take_in_isr_lock_v4.0' into 'release/v4.0'
...
fix bug that semaphore may schedule out in ISR locking
See merge request espressif/esp-idf!6426
2019-10-28 18:45:17 +08:00
baohongde
8afd0de501
components/bt: bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
2019-10-28 15:10:23 +08:00
baohongde
1f7a66a22e
components/bt: Fix LMP sniff req timeout
2019-10-28 15:09:49 +08:00
baohongde
bcc19b7826
components/bt: Disable BR/EDR GATT
2019-10-28 11:21:09 +08:00
Jiang Jiang Jian
0a03a55c1e
Merge branch 'bugfix/fix_mesh_proxy_adv_with_wrong_dev_name_v4.0' into 'release/v4.0'
...
ble_mesh: using bt device name in mesh proxy adv (v4.0)
See merge request espressif/esp-idf!6439
2019-10-26 20:59:28 +08:00
Jiang Jiang Jian
61f26c985e
Merge branch 'bugfix/can_reset_mode_entry_v4.0' into 'release/v4.0'
...
Bugfix/can reset mode entry v4.0
See merge request espressif/esp-idf!6497
2019-10-26 20:57:52 +08:00
Angus Gratton
165e778d7e
ci: Temporarily ignore CAN example test failures
...
Due to internal CI issue.
2019-10-26 16:45:23 +08:00
Darian Leung
859ddcdb63
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-26 16:45:10 +08:00
Tian Hao
c599d7aa49
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-25 12:01:06 +08:00
Jiang Jiang Jian
da636bd4ac
Merge branch 'bugfix/msys2_toolchain_path_note_v4.0' into 'release/v4.0'
...
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces (v4.0)
See merge request espressif/esp-idf!6455
2019-10-25 11:39:04 +08:00
Jiang Jiang Jian
834893d8e4
Merge branch 'feature/esptool_v2.8_v4.0' into 'release/v4.0'
...
esptool: Bump to v2.8 release (v4.0)
See merge request espressif/esp-idf!6460
2019-10-25 11:38:09 +08:00
Angus Gratton
059052acaa
Merge branch 'bugfix/select_with_sdmmc_mount_v4.0' into 'release/v4.0'
...
VFS: Fix bug which occurs when driver is installed during a select() call (v4.0)
See merge request espressif/esp-idf!6429
2019-10-24 10:49:24 +08:00
Angus Gratton
996db972f0
esptool: Bump to v2.8 release
2019-10-23 09:04:43 +11:00
David Cermak
4ddc6916c3
docs: fix minor parameter description inconsistency for idf_component_set_property
2019-10-22 21:21:31 +02:00
David Cermak
c06519a759
docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces
2019-10-22 21:21:21 +02:00
KonstantinKondrashov
f1e8a49836
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-22 23:43:28 +08:00
KonstantinKondrashov
09cc922b42
esp32: Add UTs to check the System time does not jump back
2019-10-22 23:43:28 +08:00
lly
34c33f7440
ble_mesh: using bt device name in mesh proxy adv
2019-10-22 15:48:00 +08:00
Roland Dobai
5464aaac45
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-21 14:54:48 +02:00
Jiang Jiang Jian
054e2dbb44
Merge branch 'bugfix/not_restoring_ble_mesh_cfg_val_v4.0' into 'release/v4.0'
...
ble_mesh: fix not restoring ble mesh cfg value (v4.0)
See merge request espressif/esp-idf!6276
2019-10-21 20:16:50 +08:00
Jiang Jiang Jian
59a186b27e
Merge branch 'bugfix/mqtt_example_url_update_v4.0' into 'release/v4.0'
...
MQTT: update default broker URL for examples (backport v4.0)
See merge request espressif/esp-idf!6410
2019-10-21 10:52:44 +08:00
Jiang Jiang Jian
62a609190d
Merge branch 'feature/idf_tools_installer_v2.1_v4.0' into 'release/v4.0'
...
IDF tools installer: extra fixes, bump version to v2.1 (backport 4.0)
See merge request espressif/esp-idf!6401
2019-10-21 10:49:12 +08:00
Jiang Jiang Jian
9f1d992ef9
Merge branch 'bugfix/idf_py_fix_property_dict_v4.0' into 'release/v4.0'
...
idf.py: Fix PropertyDict implementation (v4.0)
See merge request espressif/esp-idf!6249
2019-10-21 10:37:31 +08:00
Jiang Jiang Jian
7cb3d5bc4a
Merge branch 'bugfix/apps_esp_ble_mesh_v4.0' into 'release/v4.0'
...
ESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately (v4.0)
See merge request espressif/esp-idf!6374
2019-10-21 10:37:09 +08:00
Jiang Jiang Jian
de27a71a56
Merge branch 'bugfix/freertos_xTaskNotifyGive_v4.0' into 'release/v4.0'
...
freertos: remove semicolon in xTaskNotifyGive (v4.0)
See merge request espressif/esp-idf!6269
2019-10-21 10:35:56 +08:00
Jiang Jiang Jian
ed8ddf7e76
Merge branch 'bugfix/mqtt_reference_latest_version_4.0' into 'release/v4.0'
...
mqtt: updated to latest version to include latest fixes, support for global CA (backport 4.0)
See merge request espressif/esp-idf!6386
2019-10-21 10:34:56 +08:00
Jiang Jiang Jian
3860753818
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v4.0' into 'release/v4.0'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v4.0)
See merge request espressif/esp-idf!6393
2019-10-21 10:33:50 +08:00
Jiang Jiang Jian
2056b891d3
Merge branch 'bugfix/ext_flash_load_partitions_v4.0' into 'release/v4.0'
...
spi_flash: ensure partition table loaded when esp_partition_register_external is called (backport v4.0)
See merge request espressif/esp-idf!6402
2019-10-21 10:33:01 +08:00
Jiang Jiang Jian
c6a6740e3f
Merge branch 'feature/cxx_rtti_preparation_v2_v4.0' into 'release/v4.0'
...
C++: add provisions for optional RTTI support (backport v4.0)
See merge request espressif/esp-idf!6403
2019-10-21 10:31:52 +08:00
Jiang Jiang Jian
dd1615d57c
Merge branch 'bugfix/can_driver_assertions_v4.0' into 'release/v4.0'
...
drivers/can: fix skipped function calls when assertions disabled (backport v4.0)
See merge request espressif/esp-idf!6405
2019-10-21 10:27:16 +08:00
Mahavir Jain
106f066254
Merge branch 'bugfix/spi_flash_read_changes_for_less_than_16_bytes_v4.0' into 'release/v4.0'
...
Bugfix/spi flash read changes for less than 16 bytes v4.0(backport v4.0)
See merge request espressif/esp-idf!6247
2019-10-19 15:00:00 +08:00
Ajita Chavan
32b8b60dc5
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 15:00:00 +08:00
Marius Vikhammer
4283b59dde
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-18 17:32:33 +08:00
Ivan Grokhotkov
be894757ff
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:26:05 +02:00
Ivan Grokhotkov
3d0466ccd1
C++: add provisions for optional RTTI support
...
Ref. https://github.com/espressif/esp-idf/issues/1684
This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.
Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.
If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.
Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.
2019-10-18 11:22:39 +02:00
Ivan Grokhotkov
92adc524a2
examples/ext_flash_fatfs: print out data partitions, add CI test
2019-10-18 11:15:10 +02:00
Ivan Grokhotkov
0fc30f4379
spi_flash: load partition table before adding an external partition
...
esp_partition_register_external did not call load_partitions, so if
it was called before any call to esp_partition_find, then the main
partition table would never be loaded. Introduce new function,
ensure_partitions_loaded, and call it both from esp_partition_find and
esp_partition_register_external.
Closes https://github.com/espressif/esp-idf/issues/4116
2019-10-18 11:14:32 +02:00
Ivan Grokhotkov
905fdbc1ad
docs: update get-started to use Tools Installer v2.1
2019-10-18 11:10:41 +02:00
Ivan Grokhotkov
3a115a1ad2
tools: bump windows tools installer version to v2.1
...
Includes the following changes:
80ad09f23 allow changing the installation path
(a fix for https://github.com/espressif/esp-idf/issues/3806 )
9c5284e7b verify that IDF_PATH doesn't contain spaces
aaf3dcbda fix quoting of IDF_TOOLS_PATH
(a fix for https://github.com/espressif/esp-idf/issues/3807 )
e6e179294 tools: update idf_exe to 1.0.1
76dc87e9a idf_exe: fix NULL pointer passed to WriteFile
(fixes for https://github.com/espressif/esp-idf/issues/3740 )
2019-10-18 11:10:41 +02:00
Ivan Grokhotkov
019c72e4fc
tools: update Windows installer build script
...
Replace the outdated build_installer.sh with the steps used in CI,
call build_installer.sh from CI. Move the signing part into the new
script, sign_installer.sh.
2019-10-18 11:10:41 +02:00
Ivan Grokhotkov
21ecf51a40
idf_tools.py: add workaround for PermissionError in os.rename
...
Closes https://github.com/espressif/esp-idf/issues/4063
Closes https://github.com/espressif/esp-idf/issues/3819
2019-10-18 11:10:41 +02:00
X-Ryl669
3c97f7e42e
idf_tools.py: pass --work-tree instead of -C option to git
...
Older versions of git do not support -C option. Use --work-tree option
instead.
Closes https://github.com/espressif/esp-idf/issues/4018
Merges https://github.com/espressif/esp-idf/pull/4019
2019-10-18 11:10:40 +02:00
Roland Dobai
de9b0b1c56
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-18 10:27:37 +02:00
Mahavir Jain
57a13b09cc
Merge branch 'NimBLE/fix_esp_nimble_hci_delay_v4.0' into 'release/v4.0'
...
NimBLE: Misc changes in NimBLE porting layer and menuconfig option (Backport v4.0)
See merge request espressif/esp-idf!6321
2019-10-18 13:18:09 +08:00
Prasad Alatkar
6a60c4a046
NimBLE: Misc changes in NimBLE porting layer and menuconfig option (Backport 4.0)
...
- Minor fix to remove while loop & delay while transmitting data from
host to controller.
- Add menuconfig option to enable predefined public-private keypair for
debugging (Vol. 3, Part H, 2.3.5.6.1)
- Update NimBLE submodule: Fix for #4028 , #4012
2019-10-18 13:18:09 +08:00
David Cermak
f96c02adac
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-17 16:45:29 +02:00
suda-morris
9351ae7dc9
freertos: remove semicolon in xTaskNotifyGive
2019-10-17 08:06:57 +00:00
Angus Gratton
2cde888a6d
Merge branch 'feature/enable_ethernet_unit_test_4.0' into 'release/v4.0'
...
ethernet: enable unit test (v4.0)
See merge request espressif/esp-idf!6220
2019-10-17 12:54:53 +08:00
Angus Gratton
c94434917d
Merge branch 'bugfix/ut_adjtime_v4.0' into 'release/v4.0'
...
newlib: Fix UT - test time adjustment happens linearly (v4.0)
See merge request espressif/esp-idf!6348
2019-10-17 12:51:35 +08:00
Hrishikesh Dhayagude
fb32429387
ESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately
...
The new value should be printed in the set function and not the previous
one.
2019-10-16 15:19:14 +08:00
Jiang Jiang Jian
1cc6d2ef62
Merge branch 'docs/update_bootloader_chip_revision_print_v4.0' into 'release/v4.0'
...
bootloader_support: fix logging prints around chip revision (v4.0)
See merge request espressif/esp-idf!6336
2019-10-14 22:14:25 +08:00
Jiang Jiang Jian
128d650d7d
Merge branch 'bugfix/alt_exit_idf_monitor_v4.0' into 'release/v4.0'
...
idf_monitor: Exit with CTRL+X in menu (v4.0)
See merge request espressif/esp-idf!6289
2019-10-14 21:46:32 +08:00
Jiang Jiang Jian
090dd78355
Merge branch 'bugfix/multi_heap_printf_backport_v4.0' into 'release/v4.0'
...
heap: Fix printf usage in heap poisoning (backport v4.0)
See merge request espressif/esp-idf!6092
2019-10-14 21:28:36 +08:00
KonstantinKondrashov
706df7ab12
newlib: Fix UT - test time adjustment happens linearly
2019-10-14 14:52:04 +08:00
Mahavir Jain
cfa355c705
Merge branch 'bugfix/set_url_discards_username_password_v4.0' into 'release/v4.0'
...
fixes : set_url discards username and password (v4.0)
See merge request espressif/esp-idf!6333
2019-10-14 11:09:10 +08:00
Mahavir Jain
a87e699104
bootloader_support: fix logging prints around chip revision
2019-10-13 11:58:16 +05:30
ganeshlandge
7566bfb548
fixes : set_url discards username and password
2019-10-12 10:50:11 +05:30
Angus Gratton
57335cfc26
Merge branch 'feature/add_chip_revision_to_image_header_4.0' into 'release/v4.0'
...
Add chip revision into image header(v4.0)
See merge request espressif/esp-idf!6127
2019-10-11 13:22:12 +08:00
Angus Gratton
7a6faa093b
Merge branch 'bugfix/fixes_from_kconfiglib_update_v4.0' into 'release/v4.0'
...
Fix of menuconfig bug for MSYS2 and a couple of cosmetic changes (v4.0)
See merge request espressif/esp-idf!6308
2019-10-11 13:06:46 +08:00
Darian Leung
a389312750
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-11 03:10:56 +00:00
lly
7d267a340f
ble_mesh: fix not callback net_key when device is provisioned
2019-10-11 10:05:12 +08:00
Roland Dobai
783ef22dd3
Fix cmake typo
2019-10-10 09:11:01 +02:00
Roland Dobai
4f193dfa71
tools: Fix idf.py menuconfig characters in MSYS2
2019-10-10 09:11:01 +02:00
Roland Dobai
c875e5698a
Cosmetic Kconfig fixes
2019-10-10 09:11:01 +02:00
Angus Gratton
4cafa3e76e
Merge branch 'feature/add_psram_workaround_option_4.0' into 'release/v4.0'
...
make psram workaround depend on chip revison(v4.0)
See merge request espressif/esp-idf!6115
2019-10-10 11:00:29 +08:00
suda-morris
1e5ea2827c
ethernet: fix crash in unit test
2019-10-10 10:43:42 +08:00
suda-morris
cf5331b9f1
ethernet: enable unit test
2019-10-10 10:42:48 +08:00
Ivan Grokhotkov
28a2e6a775
Merge branch 'bugfix/deprecated_sdkconfig_defaults_v4.0' into 'release/v4.0'
...
Handle deprecated values in sdkconfig.defaults (v4.0)
See merge request espressif/esp-idf!6254
2019-10-09 23:50:05 +08:00
Per-Olov Jernberg
34a327791c
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:27:50 +02:00
Mahavir Jain
8bcf5a19d5
Merge branch 'bugfix/esp_tls_add_header_in_esp_tls_h_v4.0' into 'release/v4.0'
...
ESP32/esp_tls: include esp_err.h in esp_tls.h (v4.0)
See merge request espressif/esp-idf!6264
2019-10-09 13:31:38 +08:00
lly
66a46de2a7
ble_mesh: fix not restoring ble mesh cfg value
2019-10-08 16:37:20 +08:00
suda-morris
bcd496be49
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-08 02:45:36 +00:00
suda-morris
79923d0199
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-10-08 02:45:36 +00:00
Aditya Patwardhan
858b3d2277
ESP32/esp-tls: include esp_err.h in esp_tls.h
...
Closes https://github.com/espressif/esp-idf/issues/4100
2019-10-07 17:47:51 +05:30
Roland Dobai
dedaf624db
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-03 10:13:42 +02:00
Sergei Silnov
9ca33a260f
idf.py: Fix PropertyDict implementation
2019-10-01 17:49:51 +02:00
Jiang Jiang Jian
abdf12dc9e
Merge branch 'bugfix/coex_fix_some_bugs_v4.0' into 'release/v4.0'
...
Coexist: fix some coexist bugs(backport v4.0)
See merge request espressif/esp-idf!6088
2019-09-30 17:01:32 +08:00
Xia Xiaotian
10d26549fa
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-09-30 11:42:05 +08:00
Jiang Jiang Jian
26676c2b8f
Merge branch 'bugfix/fix_wifi_stop_leads_to_watchdog_v4.0' into 'release/v4.0'
...
Fixed the bug that WiFi stop leads to task watchdog (backport v4.0)
See merge request espressif/esp-idf!6228
2019-09-30 11:00:53 +08:00
zhangyanjiao
d9cfb05eb6
esp_wifi:
...
1. Fixed smartconfig ipc crash
2. Fix the WiFi init sequence bug
3. Fixed the bug that WiFi stop leads to task watchdog
4. Put g_promis_buf to IRAM
2019-09-29 11:38:11 +08:00
Jiang Jiang Jian
4322e89006
Merge branch 'bugfix/ble_mesh_client_invalid_addr_access_4.0' into 'release/v4.0'
...
ble_mesh: fix client model invalid address access (v4.0)
See merge request espressif/esp-idf!6218
2019-09-29 10:24:04 +08:00
Ivan Grokhotkov
96748f3037
Merge branch 'refactor/update_spi_ethernet_api_v4.0' into 'release/v4.0'
...
update spi ethernet api (v4.0)
See merge request espressif/esp-idf!6177
2019-09-27 19:43:15 +08:00
lly
5a94142481
ble_mesh: fix client model invalid address access
2019-09-27 15:28:10 +08:00
Ivan Grokhotkov
e5ff431b35
Merge branch 'fix/esp_flash_coredump_4.0' into 'release/v4.0'
...
esp_flash: fix coredump issues (backport v4.0)
See merge request espressif/esp-idf!6136
2019-09-26 21:26:53 +08:00
Ivan Grokhotkov
c225801b3e
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_4.0' into 'release/v4.0'
...
spi: Put argument of macro SPI_SWAP_DATA_TX in parentheses (backport v4.0)
See merge request espressif/esp-idf!6107
2019-09-26 21:25:20 +08:00
Ivan Grokhotkov
610e3cac31
Merge branch 'bugfix/gnu_make_windows_paths_v4.0' into 'release/v4.0'
...
build: In GNU Make, use "cygpath -m" to avoid backslashes (v4.0)
See merge request espressif/esp-idf!6155
2019-09-26 21:24:48 +08:00
Jiang Jiang Jian
c776991233
Merge branch 'bugfix/kconfig_corrections_v4.0' into 'release/v4.0'
...
Fix Kconfig issues discovered by upstream Kconfiglib (v4.0)
See merge request espressif/esp-idf!6195
2019-09-25 16:26:40 +08:00
Jiang Jiang Jian
041fcceddf
Merge branch 'feat/esp_flash_support_encrypt_4.0' into 'release/v4.0'
...
esp_flash: add support for encrypted read and write (backport v4.0)
See merge request espressif/esp-idf!6106
2019-09-25 16:17:31 +08:00
Jiang Jiang Jian
899957f521
Merge branch 'feature/cmake_check_mconf_version_v4.0' into 'release/v4.0'
...
cmake: check mconf-idf binary version (backport v4.0)
See merge request espressif/esp-idf!6067
2019-09-25 16:15:26 +08:00
Jiang Jiang Jian
815d7674ef
Merge branch 'bugfix/openocd_instructions_v4.0' into 'release/v4.0'
...
docs: jtag-debugging: update for IDF Tools installation method (backport v4.0)
See merge request espressif/esp-idf!6066
2019-09-25 16:15:07 +08:00
Jiang Jiang Jian
57527ba6f9
Merge branch 'doc/build_system_requirements_v4.0' into 'release/v4.0'
...
docs: Explain build system REQUIRES & PRIV_REQUIRES in more detail (v4.0)
See merge request espressif/esp-idf!6054
2019-09-25 16:13:48 +08:00
Jiang Jiang Jian
a21eb04cc6
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v4.0' into 'release/v4.0'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v4.0(backport v4.0)
See merge request espressif/esp-idf!5940
2019-09-25 16:12:43 +08:00
Jiang Jiang Jian
116d0c8145
Merge branch 'bugfix/ble_mesh_queue_task_init_check_v4.0' into 'release/v4.0'
...
ble_mesh: check ble mesh queue and task init status (v4.0)
See merge request espressif/esp-idf!6193
2019-09-25 15:08:23 +08:00
suda-morris
dda49709fe
ethernet: update spi-ethernet api
2019-09-25 06:34:39 +00:00
suda-morris
ebffa5f9f2
ethernet: test apps can build with ethernet disabled
2019-09-25 06:34:39 +00:00
Roland Dobai
fc738680f8
Fix Kconfig issues discovered by upstream Kconfiglib
2019-09-25 08:25:51 +02:00
Jiang Jiang Jian
1c586ebcfd
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v4.0' into 'release/v4.0'
...
BT/Bluedroid: Add support to set min encryption key size requirement (backport v4.0)
See merge request espressif/esp-idf!6180
2019-09-25 11:57:22 +08:00
Prasad Alatkar
499accb652
BT/Bluedroid: Add support to set min encryption key size requirement (backport)
...
- Backport of IDF MR!6122.
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-25 11:57:21 +08:00
Jiang Jiang Jian
988147a451
Merge branch 'bugfix/btdm_loop_in_feature_req_ext_v4.0' into 'release/v4.0'
...
components/bt: Fix sending LMP_features_req_ext in a loop
See merge request espressif/esp-idf!6023
2019-09-25 11:52:10 +08:00
lly
9e6c56f9f2
ble_mesh: check ble mesh queue and task init status
2019-09-25 11:03:18 +08:00
Jiang Jiang Jian
1b6eb69f53
Merge branch 'NimBLE/mbedTLS_option_for_tinycrypty_v4.0' into 'release/v4.0'
...
NimBLE: Add optional mbedTLS support to NimBLE (backport)
See merge request espressif/esp-idf!6146
2019-09-23 21:37:40 +08:00
Prasad Alatkar
daa65b6f91
NimBLE: Add optional mbedTLS support to NimBLE (backport)
...
- NimBLE: Additional menuconfig option to enable mbedTLS instead of Tinycrypt from
NimBLE, changes `component.mk` & `CMakeLists.txt` for the same.
- Addition of NimBLE stack size configuration and misc changes.
- mbedTLS: Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and
`esp_config.h`.
- Example: Minor changes to `app_mesh.c` application.
2019-09-23 21:37:40 +08:00
Jiang Jiang Jian
7f9626d378
Merge branch 'cleanup/make_supp_headers_private_v4.0' into 'release/v4.0'
...
wpa_supplicant: Make internal crypto headers private (backport v4.0)
See merge request espressif/esp-idf!6061
2019-09-23 18:00:43 +08:00
wangmengyang
6cad60f34b
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-09-23 03:22:34 +00:00
Jiang Jiang Jian
b4c7ed999c
Merge branch 'bugfix/remove_v40_deprecations_v4.0' into 'release/v4.0'
...
Remove features deprecated before ESP-IDF V4.0 (v4.0)
See merge request espressif/esp-idf!6150
2019-09-20 19:51:51 +08:00
Jiang Jiang Jian
8a5c08df98
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v4.0' into 'release/v4.0'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done (backport v4.0)
See merge request espressif/esp-idf!6072
2019-09-20 14:02:19 +08:00
Angus Gratton
b1eac64865
build: In GNU Make, use "cygpath -m" to avoid backslashes
...
Fixes issues where backslashes in KCONFIG paths are later expanded as shell escape sequences.
2019-09-19 21:33:56 +10:00
xiehang
4e7b559101
Delete extra '/'
2019-09-19 19:22:44 +08:00
xiehang
43616f6f05
esp_wifi: Update wifi lib
2019-09-19 17:49:18 +08:00
Angus Gratton
3b9ab9caa6
idf_test: Disable tests for Wi-Fi auto reconnect
...
Disable one, remove IDF tag from the other
2019-09-19 18:49:37 +10:00
Jack
0dc9ddb77c
Wi-Fi: remove wifi_fast_scan_threshold_t which is not suitable in name
2019-09-19 18:49:37 +10:00
Jack
9ab92331c4
dport: remove clock_en and reset bitname which is not suitable
2019-09-19 18:49:37 +10:00
Angus Gratton
08416d05ba
soc: Remove deprecated LEDC struct register names (bit_num, div_num)
...
Deprecated since ESP-IDF V3.0
2019-09-19 18:49:37 +10:00
Angus Gratton
200c82561a
soc: remove deprecated io_mux PIN_PULLxxx_yyy macros
...
Deprecated before ESP-IDF V1.0!
2019-09-19 18:49:37 +10:00
Angus Gratton
2e05c6020f
mbedtls: Remove esp_aes_encrypt/decrypt
...
Deprecated in ESP-IDF V3.1
Anyone reading this should please include mbedtls/aes.h and use mbedTLS APIs,
not the ESP-specific APIs.
2019-09-19 18:49:37 +10:00
Angus Gratton
d139c851f3
heap: Remove esp_heap_alloc_caps header
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:49:37 +10:00
Angus Gratton
365e3fd685
fatfs: Remove esp_vfs_fat_unregister()
...
Deprecated in ESP-IDF V2.0
2019-09-19 18:49:37 +10:00
Angus Gratton
71fad5e2c0
esp_wifi: Remove WIFI_PS_MODEM constant
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
94ba3a20cb
esp_wifi: Remove deprecated auto connect API
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
5a7d3ef319
ringbuf: Remove deprecated RingbufferType_t
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
e4a4e6ed81
wdt: Remove deprecated esp_task_wdt_feed() function
...
Deprecated in ESP-IDF V3.1
2019-09-19 18:48:55 +10:00
Angus Gratton
8094e880c6
esp32/esp_common: Remove deprecated esp_efuse_read_mac() function
...
Deprecated since ESP-IDF V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
35b9223cf4
esp32/esp_common: Remove deprecated system_* APIs
...
Mostly deprecated before ESP-IDF V1.0 & V2.0
2019-09-19 18:48:30 +10:00
Angus Gratton
fe97d14e0f
esp_adc_cal: Remove deprecated ADC calibration functions
...
Deprecated since ESP-IDF V3.1
2019-09-19 18:48:14 +10:00
Angus Gratton
2c16557ee7
esp32: Remove deprecated system_deep_sleep function
...
Deprecated since ESP-IDF V3.0
2019-09-19 18:48:14 +10:00
Ivan Grokhotkov
5f8e5db268
esp32/test: fix usage of deprecated fields
2019-09-19 18:48:14 +10:00
Angus Gratton
a9fe3165c4
soc/pm: Remove deprecated use of rtc_cpu_freq_t enum
...
Removes deprecated ways of setting/getting CPU freq, light sleep freqs.
Deprecated since ESP-IDF V3.2
2019-09-19 18:48:13 +10:00
Angus Gratton
b01036e13e
driver: Remove features deprecated pre-IDF V4.0
2019-09-19 18:47:15 +10:00
Angus Gratton
10649ae23b
app_update: Remove deprecated "make erase_ota" target
...
Deprecated in v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
c4306f7942
bootloader_support: Remove deprecated partition load/verify functions
...
Deprecated since v3.2
2019-09-19 18:45:36 +10:00
Angus Gratton
62be877ada
bluetooth: Remove bt.h header (deprecated in v3.1-dev)
2019-09-19 18:45:36 +10:00
suda-morris
546026d018
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-09-19 13:50:53 +08:00
Jiang Jiang Jian
05d3665a14
Merge branch 'bugfix/ble_mesh_get_timer_remaining_time_v4.0' into 'release/v4.0'
...
ble_mesh: fix ble mesh get timer remaining time (v4.0)
See merge request espressif/esp-idf!6059
2019-09-18 16:38:31 +08:00
michael
0bba92b2a0
esp_flash: put adapter to legacy functions into IRAM to be back-compatible
2019-09-18 15:16:00 +08:00
Michael (XIAO Xufeng)
399477cd10
coredump: use esp_flash api in coredump
...
Also put esp_flash functions into noflash region, when
ESP32_PANIC_HANDLER_IRAM and coredump are enabled. The option disables
the re-enabling of the CPU-cache when it's disabled during coredump.
This requires all the coredump functions including the flash API to be
in the D/IRAM.
2019-09-18 15:14:53 +08:00
Michael (XIAO Xufeng)
d3b54ec84a
esp_flash: fix the coredump issue
...
During coredump, dangerous-area-checking should be disabled, and cache
disabling should be replaced by a safer version.
Dangerous-area-checking used to be in the HAL, but it seems to be more
fit to os functions. So it's moved to os functions. Interfaces are
provided to switch between os functions during coredump.
2019-09-18 14:30:23 +08:00
Michael (XIAO Xufeng)
e4b44f3488
esp_flash: fix coredump for legacy spi flash API
...
When legacy mode is used, the coredump still fails during linking
because "esp_flash_init_default_chip", "esp_flash_app_init" and
"esp_flash_default_chip " are not compiled and linked.
Instead of using ``if`` macros in callers, these functions are protected
by ``if`` macros in the header, and also not compiled in the sources.
"esp_flash_default_chip" variable is compiled with safe default value.
2019-09-18 14:28:12 +08:00
Nachiket Kukade
ca80b0445d
wpa_supplicant: Make internal crypto headers private (backport v4.0)
...
A lot of internally used crypto headers are publicly includeable
in user projects. This leads to bug reports when these headers
are incorrectly used or the API's are not used as intended.
Move all crypto headers into private crypto src folder, also move
crypto_ops into Supplicant to remove dependecy on crypto headers.
Closes IDF-476
2019-09-17 13:28:30 +00:00
lly
1e01accaa4
ble_mesh: fix duplicate memory free during receiving status message
2019-09-16 17:30:03 +08:00
Martin Thierer
2ca3735edd
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:17:42 +08:00
Michael (XIAO Xufeng)
b9a2639ab4
esp_flash: add support for encrypted read and write
...
Using legacy implementation.
2019-09-16 17:10:08 +08:00
lly
77f186a7b9
ble_mesh: make unicast elem lookup O(1)
2019-09-16 15:06:52 +08:00
lly
89e848c820
ble_mesh: use adv report flow control for ble mesh
2019-09-16 14:44:34 +08:00
Angus Gratton
5e0cc123ee
Merge branch 'bugfix/cmake_sdkconfig_path' into 'release/v4.0'
...
fix bug for cmake build system
See merge request espressif/esp-idf!6102
2019-09-16 14:20:38 +08:00
jiangguangming
536c131114
fix bug for cmake build system
...
The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.
2019-09-16 11:18:04 +08:00
Angus Gratton
ef17d8bba1
Merge branch 'bugfix/httpd_sess_close_v4.0' into 'release/v4.0'
...
httpd_sess_close: Check for session validity before closing (v4.0)
See merge request espressif/esp-idf!5742
2019-09-16 08:21:37 +08:00
Angus Gratton
3194e12479
Merge branch 'bugfix/uart_select_free_v4.0' into 'release/v4.0'
...
VFS: Fix memory access after free() in UART select() (v4.0)
See merge request espressif/esp-idf!6085
2019-09-13 14:49:46 +08:00
Angus Gratton
bb52613bea
Merge branch 'bugfix/use_local_kconfiglib_v4.0' into 'release/v4.0'
...
Use kconfiglib from $IDF_PATH/tools/kconfig_new (v4.0)
See merge request espressif/esp-idf!6079
2019-09-13 14:47:07 +08:00
Piyush Shah
4ee065df79
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-09-12 08:41:31 +00:00
Roland Dobai
63c2834d7b
VFS: Fix memory access after free() in UART select()
...
Closes https://github.com/espressif/esp-idf/issues/4030
2019-09-12 08:38:31 +02:00
Jiang Jiang Jian
dbf2c3d480
Merge branch 'bugfix/btdm_config_msbc_v4.0' into 'release/v4.0'
...
components/bt: Disable Wide Bond Speech when SCO data path is PCM
See merge request espressif/esp-idf!5979
2019-09-12 13:23:54 +08:00
Jiang Jiang Jian
582d5de497
Merge branch 'bugfix/coex_bb_reset_lock_v4.0' into 'release/v4.0'
...
fix some coex bugs
See merge request espressif/esp-idf!6056
2019-09-12 11:04:10 +08:00
Jiang Jiang Jian
5a351af83f
Merge branch 'bugfix/flash_encryption_disable_plaintext_v4.0' into 'release/v4.0'
...
flash encryption: Always disable plaintext reflashes in Release mode (v4.0)
See merge request espressif/esp-idf!6070
2019-09-12 10:40:34 +08:00
Roland Dobai
a6fc9bf246
Use kconfiglib from $IDF_PATH/tools/kconfig_new
2019-09-11 14:28:39 +02:00
Jiang Jiang Jian
d52b244ae8
Merge branch 'bugfix/openocd_ulp_install_instructions_v4.0' into 'release/v4.0'
...
docs: ulp: update for IDF Tools installation method (backport v4.0)
See merge request espressif/esp-idf!6065
2019-09-11 16:06:52 +08:00
Angus Gratton
00e3cb672b
Merge branch 'bugfix/flash_encryption_regressions_v4.0' into 'release/v4.0'
...
fix flash encryption regressions, add tests (backport v4.0)
See merge request espressif/esp-idf!6068
2019-09-11 12:06:02 +08:00
zhangyanjiao
67eb732dbe
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:37:29 +08:00
Jiang Jiang Jian
c53a5ee427
Merge branch 'bugfix/http_header_parser_resolution_v4.0' into 'release/v4.0'
...
(backport v4.0) esp_http_server : Bugfix in parsing of empty header values
See merge request espressif/esp-idf!6041
2019-09-11 10:20:36 +08:00
Angus Gratton
69241907a5
bootloader: Link RTC clock functions to the iram_loader section
...
As flash encryption & secure boot needs these functions after the app is loaded.
Fixes regression introduced in fb72a6f629
2019-09-11 10:16:43 +10:00
Angus Gratton
d4ee21bd6d
docs: Small cleanup of flash encryption docs
2019-09-11 10:16:43 +10:00
Angus Gratton
5b69614e32
flash encryption: Ensure flash encryption can't be disabled if Secure Boot is on
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
3e12967535
bootloader: add definition of esp_clk_apb_freq
...
Commit 8cd04c80 has added a dependency of efuse component on
esp_clk_apb_freq, however there was no definition of this function in
the bootloader context.
Reported at https://esp32.com/viewtopic.php?f=13&t=12035
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
d9f1219a21
efuse: set timing configuration before writing
2019-09-11 10:16:43 +10:00
Ivan Grokhotkov
f3fc4916d2
ci: add jobs for flash encryption tests
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
b17ca9cb38
unit-test-app: add config with flash encryption enabled
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
801010dac6
spi_flash: fix mmap unit tests for flash encryption
2019-09-10 17:20:19 +02:00
Ivan Grokhotkov
f84394e550
examples/flash_encryption: refactor, add test
...
1. Clean up the example code
2. Add demonstration of partition read/write operations
3. Add example test
2019-09-10 17:19:44 +02:00
Ivan Grokhotkov
a0256b9e9d
flash encryption: add option to require flash encryption to be enabled
...
In testing environment, to avoid accidentally enabling flash
encryption on a device, CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED
can be set. If set, the bootloader will refuse to boot if flash
encryption is not enabled, instead of enabling it.
2019-09-10 17:19:08 +02:00
Ivan Grokhotkov
a37694741c
tiny-test-fw: support testing apps with flash encryption
...
If CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT is set, pass
--encrypted flag to esptool.py.
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
fae124a2c1
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.
Closes https://github.com/espressif/esp-idf/issues/3907
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
ad100e497a
spi_flash: remove duplicate definition of spi_flash_unlock
...
The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.
2019-09-10 17:18:51 +02:00
Ivan Grokhotkov
da8c09c463
cmake: check mconf-idf binary version
...
Print a warning if an outdated version of mconf-idf is found in
the PATH.
2019-09-10 17:15:15 +02:00
suda-morris
6df148aa54
docs: jtag-debugging: update translation
2019-09-10 17:12:48 +02:00
Ivan Grokhotkov
3fc9b022b6
docs: jtag-debugging: update for IDF Tools installation method
...
- rely on OPENOCD_SCRIPTS variable in all cases, remove -s flags
- replace installation section with a reference to the Getting Started
guides
- add Windows-specific commands in a few cases
2019-09-10 17:12:48 +02:00
suda-morris
28ee1c0da2
doc: update translation of ulp install instuctions
2019-09-10 17:10:17 +02:00
Ivan Grokhotkov
05b306bae1
docs: ulp: update for IDF Tools installation method
...
binutils-esp32ulp is installed automatically by install.sh/install.bat
or the IDF Tools Installer for Windows.
2019-09-10 17:10:17 +02:00
lly
8dbb2083ea
ble_mesh: fix ble mesh get timer remaining time
2019-09-10 17:01:03 +08:00
Tian Hao
a8590c7e8e
fix some coex bugs
...
1. fix the bug that bb reset lock unhandled may cause assert in vPortCPUReleaseMutexIntsDisabledInternal
2. fix wifi mac reset may blocking then cause wdt timeout
3. fix bug wifi mac reset before coex init
2019-09-10 15:58:42 +08:00
Chinmay Chhajed
8876cda09b
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-10 05:58:49 +00:00
Angus Gratton
cec1c5f856
docs: Explain build system REQUIRES & PRIV_REQUIRES in more detail
...
Including an example.
2019-09-10 15:10:30 +10:00
Jiang Jiang Jian
a7107d9bbd
Merge branch 'bugfix/ble_mesh_related_bugfixes_v4.0' into 'release/v4.0'
...
Bugfix/ble mesh related bugfixes v4.0
See merge request espressif/esp-idf!6042
2019-09-10 09:48:36 +08:00
Angus Gratton
850684438b
Merge branch 'bugfix/ethernet_rx_length_check_v4.0' into 'release/v4.0'
...
ethernet: bugfix and optimize (v4.0)
See merge request espressif/esp-idf!6028
2019-09-10 07:58:46 +08:00
Angus Gratton
9d00f3b420
Merge branch 'deprecate/spi_common_claim_macros_v4.0' into 'release/v4.0'
...
spi_common: remove deprecated spi_common_periph_claim macros (backport v4.0)
See merge request espressif/esp-idf!6006
2019-09-10 06:42:32 +08:00
Andrew
72264ca9b9
spi_common: remove deprecated spi_common_periph_claim macros (backport v4.0)
2019-09-10 06:42:31 +08:00
Angus Gratton
da2025a74a
Merge branch 'bugfix/newlib_time_test_v4.0' into 'release/v4.0'
...
newlib: Fix UT - test time adjustment happens linearly (v4.0)
See merge request espressif/esp-idf!6014
2019-09-10 06:40:09 +08:00
Angus Gratton
93bad7a0de
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v4.0' into 'release/v4.0'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v4.0)
See merge request espressif/esp-idf!6020
2019-09-10 06:39:19 +08:00
lly
55f687c763
ble_mesh: update ble mesh examples sdkconfig.defaults
2019-09-09 18:10:52 +08:00
lly
329388fa47
ble_mesh: fix ble mesh btc may caused memory leak
2019-09-09 18:10:47 +08:00
lly
0f36dabcaf
ble_mesh: fix publication period timestamp initialization
2019-09-09 18:10:42 +08:00
lly
0299e22dd0
ble_mesh: remove useless mesh_opcode
2019-09-09 18:10:34 +08:00
lly
f072c5af4e
ble_mesh: fix bt_mesh_net_resend() caused compiling error
2019-09-09 17:47:56 +08:00
lly
6982663380
ble_mesh: fix adhering to the configured Friend Queue size
2019-09-09 17:47:47 +08:00
lly
1d970ad276
ble_mesh: remove useless code bt_mesh_trans_resend()
2019-09-09 17:47:30 +08:00
lly
a73cc70af9
ble_mesh: lpn remove msg from cache on rejection
2019-09-09 17:47:24 +08:00
lly
225ee8e5d1
ble_mesh: introduce a helper for send callback function
2019-09-09 17:47:18 +08:00
lly
fa4cd56d00
ble_mesh: fix heartbeat sending on friendship established/lost
2019-09-09 17:47:07 +08:00
lly
15f8b0fccc
ble_mesh: fix checking for active heartbeat publication
2019-09-09 17:46:49 +08:00
lly
97080afba2
ble_mesh: fix starting iv update when not on primary subnet
2019-09-09 17:46:43 +08:00
lly
612822d8c9
ble_mesh: fix canceling publication retransmit timer
2019-09-09 17:46:35 +08:00
lly
ff6cb921c3
ble_mesh: fix resending segments on correct bearer
2019-09-09 17:46:27 +08:00
lly
6f7b7c552d
ble_mesh: fix not sending all segments through the Friend Queue
2019-09-09 17:46:19 +08:00
lly
e00186e683
ble_mesh: fix canceled buffer memory leak
2019-09-09 17:46:06 +08:00
lly
a734b3b1bc
ble_mesh: remove some useless copy during ecdh calculation
2019-09-09 17:45:59 +08:00
lly
6de637811f
ble_mesh: move heartbeat sending to transport layer
2019-09-09 17:45:52 +08:00
lly
6ec0c6743a
ble_mesh: fix provisioning send error handling
2019-09-09 17:45:44 +08:00
lly
299c86cc84
ble_mesh: fix rejecting invalid remote public key
2019-09-09 17:45:27 +08:00
lly
d123f6c04b
ble_mesh: add error checks for scan start/stop
2019-09-09 17:45:20 +08:00
lly
3c17bf1a6f
ble_mesh: rename reset_link() to reset_adv_link()
2019-09-09 17:45:14 +08:00
lly
8fb20e4529
ble_mesh: fix public key mismatch error handling
2019-09-09 17:45:06 +08:00
lly
e020d1055a
ble_mesh: update protocol error timeout from zephyr
2019-09-09 17:44:17 +08:00
lly
05e4b28a74
ble_mesh: fix segmented message RPL behavior
2019-09-09 17:44:11 +08:00
lly
27bc688ed8
ble_mesh: clear LPN sent_req on failure
2019-09-09 17:43:59 +08:00
lly
a214fb2821
ble_mesh: update proxy sar operation from zephyr
2019-09-09 17:43:46 +08:00
lly
6b7b9d1550
ble_mesh: fix postponing storage deadline indefinitely
2019-09-09 17:43:40 +08:00
lly
18b873b2e3
ble_mesh: fix RPL storage timeout handling
2019-09-09 17:43:29 +08:00
lly
d1755c1484
ble_mesh: fix output MIC with additional data
2019-09-09 17:43:23 +08:00
lly
152ebb104d
ble_mesh: remove non-standard relay opearation
2019-09-09 17:43:13 +08:00
lly
e3b304997f
ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg
2019-09-09 17:43:04 +08:00
lly
1e20ed4849
ble_mesh: fix failed to set device role caused mem leak
2019-09-09 17:42:50 +08:00
lly
59b663c43d
ble_mesh: ble mesh btc miscellaneous modifications
2019-09-09 17:42:43 +08:00
lly
e9e28c1265
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
2019-09-09 17:42:35 +08:00
lly
7030d612e2
ble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug
2019-09-09 17:42:20 +08:00
lly
2c852b0d74
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
2019-09-09 17:42:08 +08:00
lly
708bff3b17
ble_mesh: rename ble mesh client model variables and functions
2019-09-09 17:42:00 +08:00
lly
317f4c5ff5
ble_mesh: reorganize ble mesh model files
2019-09-09 17:41:54 +08:00
lly
2c025824d7
ble_mesh: sync zephyr v1.14.0 bt_hex()
2019-09-09 17:41:41 +08:00
lly
9b95064018
ble_mesh: fix provisioner prov auth bug
2019-09-09 17:41:34 +08:00
Jiang Jiang Jian
ecdffe531e
Merge branch 'bugfix/reset_periph_modules_v4.0' into 'release/v4.0'
...
driver: Add a reset before enabling if a module is off (v4.0)
See merge request espressif/esp-idf!6015
2019-09-08 23:06:31 +08:00
Jiang Jiang Jian
31be6be147
Merge branch 'fix/esp_flash_set_get_wp_4.0' into 'release/v4.0'
...
esp_flash: fix the set/get write protection functions (backport v4.0)
See merge request espressif/esp-idf!5832
2019-09-08 16:34:40 +08:00
suda-morris
305a4a1b57
ethernet: bugfix and optimize
...
1. check frame length before pass to stack
2. replace semaphore with task notify
2019-09-06 15:46:18 +08:00
Jiang Jiang Jian
e659f1b15a
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v4.0' into 'release/v4.0'
...
fix the bug for WPA_WPA2_PSK connection fail(backport v4.0)
See merge request espressif/esp-idf!6010
2019-09-06 14:52:58 +08:00
Jiang Jiang Jian
2c49592216
Merge branch 'refactor/move_smartconfig_ack_to_wifi_v4.0' into 'release/v4.0'
...
smartconfig: move smartconfig_ack to esp_wifi conponent (v4.0)
See merge request espressif/esp-idf!5999
2019-09-06 14:27:29 +08:00
baohongde
6afb2743e7
components/bt: Fix sending LMP_features_req_ext in a loop
...
Remove xtensa/xtruntime.h at the same time
2019-09-06 12:04:16 +08:00
KonstantinKondrashov
f7b458841f
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-06 11:59:03 +08:00
KonstantinKondrashov
f1e9b8299f
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-06 11:59:03 +08:00
Konstantin Kondrashov
9ce1b8986a
rmt/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
c5bea8dddb
pcnt/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
ba6b502cc9
sdmmc_host/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
3b0b5f92a7
i2s/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
d6bc1b3cbc
can/driver: Add module reset before enabling
2019-09-06 11:34:53 +08:00
Konstantin Kondrashov
199c4e55f2
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-09-06 11:34:53 +08:00
KonstantinKondrashov
61339353e9
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-09-06 11:30:01 +08:00
zhangyanjiao
3b2dda5197
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:34:34 +08:00
Jiang Jiang Jian
1b8ed9abf0
Merge branch 'bugfix/btdm_crash_in_sket_ist_v4.0' into 'release/v4.0'
...
Fix 2 bugs in r_ld_fm_sket_isr
See merge request espressif/esp-idf!5947
2019-09-05 12:02:26 +08:00
Jiang Jiang Jian
f9453ef93d
Merge branch 'bugfix/btdm_config_but_task_size_fail_v4.0' into 'release/v4.0'
...
Bugfix/btdm config but task size fail v4.0
See merge request espressif/esp-idf!5962
2019-09-05 11:26:56 +08:00
suda-morris
dcf571c1cd
smartconfig: move smartconfig_ack to esp_wifi conponent
2019-09-05 10:44:00 +08:00
Angus Gratton
538c56426a
Merge branch 'bugfix/err_code_collision_v4.0' into 'release/v4.0'
...
Fix error code collisions and re-enable CI check (v4.0)
See merge request espressif/esp-idf!5984
2019-09-04 09:10:19 +08:00
Roland Dobai
1402e78844
Fix error code collision and CI check
2019-09-03 08:07:16 +02:00
baohongde
01f0c8ef16
components/bt: Rename some macros
2019-09-03 10:28:49 +08:00
Zac Bond
a774406b91
Use CONFIG value instead of hard-coded value.
...
Add intermediate defines.
Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component
2019-09-03 10:28:12 +08:00
Jiang Jiang Jian
c9bff93080
Merge branch 'feature/enable_cfg_for_tls_asymmetric_content_length_v4.0' into 'release/v4.0'
...
mbedtls: keep asymmetric tls buffer length option enabled by default (v4.0)
See merge request espressif/esp-idf!5970
2019-09-02 23:25:06 +08:00
Jiang Jiang Jian
4b8e4ff248
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0_v4.0' into 'release/v4.0'
...
components/bt: Fix linking fail with toolchain 8.2.0
See merge request espressif/esp-idf!5967
2019-09-02 22:22:22 +08:00
Jiang Jiang Jian
9dbf979cf3
Merge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig_v4.0' into 'release/v4.0'
...
components/bt: Remove unused macro in menuconfig
See merge request espressif/esp-idf!5951
2019-09-02 22:21:12 +08:00
baohongde
ad70ab8957
components/bt: Disable Wide Bond Speech when SCO data path is PCM
2019-09-02 20:55:17 +08:00
Jiang Jiang Jian
cd5dc4d05f
Merge branch 'doc/add_ble_mesh_example_description_v4.0' into 'release/v4.0'
...
ble_mesh: add ble mesh example description(backport v4.0)
See merge request espressif/esp-idf!5948
2019-09-02 14:29:13 +08:00
Angus Gratton
ebb9384681
Merge branch 'bugfix/various_cmake_fixes_v4.0' into 'release/v4.0'
...
CMake: Various backports
See merge request espressif/esp-idf!5933
2019-09-02 12:46:40 +08:00
Jiang Jiang Jian
0d3fde04ff
Merge branch 'bugfix_kconfig_deps_missing_v4.0' into 'release/v4.0'
...
kconfig: Add -MP option so .d files include empty targets (v4.0)
See merge request espressif/esp-idf!5845
2019-09-02 12:43:28 +08:00
Jiang Jiang Jian
0552ec5791
Merge branch 'update/cjson_v1_7_12_v4.0' into 'release/v4.0'
...
Update cJSON to v1.7.12 (v4.0)
See merge request espressif/esp-idf!5850
2019-09-02 12:41:30 +08:00
Jiang Jiang Jian
524eef9225
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v4.0' into 'release/v4.0'
...
test: fix nvs compatible case error (backport v4.0)
See merge request espressif/esp-idf!5891
2019-09-02 12:40:46 +08:00
Jiang Jiang Jian
955f7e2877
Merge branch 'test/fix_mesh_test_case_4.0' into 'release/v4.0'
...
test: fix test case MESH_EST_2403 (backport 4.0)
See merge request espressif/esp-idf!5907
2019-09-02 12:38:51 +08:00
lly
e28834aa15
ble_mesh: add ble mesh example description
2019-09-02 12:17:47 +08:00
Jiang Jiang Jian
ac03786412
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v4.0' into 'release/v4.0'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v4.0)
See merge request espressif/esp-idf!5952
2019-09-02 12:04:49 +08:00
Mahavir Jain
a5dae2ff43
mbedtls: keep asymmetric tls buffer length option enabled by default
2019-08-31 10:24:37 +05:30
baohongde
1d0142d25d
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-30 17:56:01 +08:00
Angus Gratton
65ef597da6
Merge branch 'bugfix/test_esp_efuse_table_on_host_v4.0' into 'release/v4.0'
...
CI: Fix path in the Efuse table test (v4.0)
See merge request espressif/esp-idf!5953
2019-08-30 16:27:47 +08:00
Jiang Jiang Jian
310beae373
Merge branch 'bugfix/revert_optimize_wifi_rx_v4.0' into 'release/v4.0'
...
esp_wifi: revert WiFi RX optimization
See merge request espressif/esp-idf!5941
2019-08-30 10:59:20 +08:00
liu zhifu
cf0caaec11
esp_wifi: revert WiFi RX optimization
...
Revert following commit since it has compatibility issue:
commit 45dd6175cd
esp32: optimize wifi rx
2019-08-29 21:26:42 +08:00
baohongde
4af9504a65
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:58 +08:00
Roland Dobai
64bece146c
Fix path in the Efuse table test
2019-08-29 09:50:38 +02:00
Nachiket Kukade
6b348b94e3
wps: Relax the check on older config methods in case of WPS2.0 (backport
...
v4.0)
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-29 13:05:02 +05:30
baohongde
6222040888
Fix 2 bugs in r_ld_fm_sket_isr
...
1. When remove two elt in the 1st isr, then assert in then 2nd one.
2. When timestamp of first elt is equal to sket_clkn, then crash.
2019-08-29 11:31:57 +08:00
Angus Gratton
ea1037742d
Merge branch 'bugfix/confgen_msys_path_v4.0' into 'release/v4.0'
...
Fix sdkconfig.rename paths for confgen.py in MSYS (v4.0)
See merge request espressif/esp-idf!5904
2019-08-29 10:15:21 +08:00
Mahavir Jain
465d46e9dd
Merge branch 'bugfix/cmake_src_exclude_issue_v4.0' into 'release/v4.0'
...
cmake: fix issue with handling of EXCLUDE_SRCS (v4.0)
See merge request espressif/esp-idf!5900
2019-08-28 14:42:20 +08:00
Renz Christian Bagaporo
e71e4da388
cmake: check include directories
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
c711e969cc
components: fix incorrect include dir args
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
3f1ec39a8d
cmake: fix issue with checking build process args
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
f62798cb8b
cmake: make default version 1
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
b6c89984a9
cmake: fix build failure when git repo is initialized but no first commit
...
Closes https://github.com/espressif/esp-idf/issues/3920
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
520ecb0c4d
ldgen: fix build issue on make when build dir is a symlink
...
Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.
Closes https://github.com/espressif/esp-idf/issues/3626
2019-08-28 10:28:17 +08:00
Per Malmberg
b669495d97
Make sure ESP_PLATFORM is defined when processing CMake files.
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
8778c551eb
cmake: set build dir for mconf-idf
...
Fixes an issue where if idf_build_process is called in a CMake
subdirectory, menuconfig looks for the mconf-idf binary in the wrong
place (in the subdirectory build dir instead of root binary dir).
2019-08-28 10:28:17 +08:00
Renz Christian Bagaporo
c34d313a86
mbedtls: add source files to appropriate library
2019-08-28 10:28:17 +08:00
Jiang Jiang Jian
ebcb3a22b8
Merge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice_v4.0' into 'release/v4.0'
...
Component/bt: fix some BLE bugs (backport v4.0)
See merge request espressif/esp-idf!5909
2019-08-27 18:49:55 +08:00
Renz Christian Bagaporo
6781d01e89
cmake: fix encrypted project flash arg file generation
2019-08-27 13:35:39 +08:00
Renz Christian Bagaporo
4c9f30a869
cmake: set component properties
2019-08-27 13:35:21 +08:00
baohongde
61ba1c3026
components/bt: backport 2 BT bugfix about controller
...
1.Bugfix btdm sleep twice after wakeup request
2.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-27 10:42:40 +08:00
zhiweijian
90bbea65c1
Component/bt: fix some BLE bugs
...
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes
2019-08-26 20:29:01 +08:00
chenyudong
672e9f4abc
test: fix test case MESH_EST_2403
2019-08-26 20:26:46 +08:00
Roland Dobai
cb3d458050
Fix sdkconfig.rename paths for confgen.py in MSYS
...
Closes https://github.com/espressif/esp-idf/issues/3950
2019-08-26 11:12:44 +02:00
Mahavir Jain
b72ff61899
cmake: fix issue with handling of EXCLUDE_SRCS
2019-08-26 11:49:30 +05:30
He Yin Ling
83b9727c42
test: fix nvs compatible case error:
...
nvs compatible test case uses new test env and app. update test config
file.
2019-08-25 20:46:56 +08:00
Jiang Jiang Jian
7bb8b5ba9e
Merge branch 'Bugfix/nonblocking_udp_is_zero_for_4.0' into 'release/v4.0'
...
fix bug for nonblocking udp is zero for v4.0
See merge request espressif/esp-idf!5855
2019-08-23 10:50:45 +08:00
xueyunfei
1f5f6adcb6
fix bug for nonblocking udp is zero for v4.0
2019-08-21 17:07:45 +08:00
Angus Gratton
aa0bb29404
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:40:50 +10:00
Angus Gratton
2264ea7714
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:20:47 +10:00
Michael (XIAO Xufeng)
a626b26cf9
esp_flash: improve the comments a bit
2019-08-20 14:05:35 +08:00
Michael (XIAO Xufeng)
1cc860216e
esp_flash: fix the set/get write protection functions
...
Add support for get write protection support, fixed the duplicated
set_write_protection link.
All the write_protection check in the top layer are removed. The lower
levels (chip) should ensure to disable write protection before the
operation start.
2019-08-20 14:05:35 +08:00
Angus Gratton
16ee476a77
Merge branch 'bugfix/config_panic_gdbstub_build_issue_v4.0' into 'release/v4.0'
...
esp32_gdbstub: fix build error with esp32-2019r1 toolchain (v4.0)
See merge request espressif/esp-idf!5764
2019-08-20 13:11:24 +08:00
Angus Gratton
674ecc3b56
Merge branch 'bugfix/vfs_concurrent_select_v4.0' into 'release/v4.0'
...
VFS: Support concurrent VFS select calls & improve the documentation (backport v4.0)
See merge request espressif/esp-idf!5797
2019-08-20 12:49:03 +08:00
Angus Gratton
43efee5232
Merge branch 'bugfix/fix_mbedtls_net_sockets_error_handling_v4.0' into 'release/v4.0'
...
mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors (v4.0)
See merge request espressif/esp-idf!5768
2019-08-20 12:28:56 +08:00
Angus Gratton
5dab23ea98
Merge branch 'bugfix/confserver_temporaryfile_windows_v4.0' into 'release/v4.0'
...
confserver: Fix NamedTemporaryFile use on Windows (v4.0)
See merge request espressif/esp-idf!5818
2019-08-20 12:28:16 +08:00
Angus Gratton
79afd2d580
confserver: Fix NamedTemporaryFile use on Windows
...
Can't have the file open twice, so need to close and delete after reopening.
2019-08-19 17:44:18 +10:00
Roland Dobai
a8e8919bbf
tools: Support sdkconfig.rename files from outside IDF in confgen.py
2019-08-19 17:44:18 +10:00
Angus Gratton
ba0f4f17ed
Merge branch 'bugfix/doc_pip_requirements_v4.0' into 'release/v4.0'
...
Add -r flag to pip install command from file (backport v4.0)
See merge request espressif/esp-idf!5798
2019-08-16 13:16:04 +08:00
Angus Gratton
a63b3c4fe6
Merge branch 'feature/dport_eco_revision2_v4.0' into 'release/v4.0'
...
make dport workaround depend on chip revision (v4.0)
See merge request espressif/esp-idf!5765
2019-08-16 13:15:18 +08:00
Angus Gratton
6b8c75d87c
Merge branch 'bugfix/hwcrypt_fault_inj_v4.0' into 'release/v4.0'
...
AES & SHA fault injection checks (backport v4.0)
See merge request espressif/esp-idf!5748
2019-08-16 05:29:54 +08:00
Luke Bayes
68d82abe52
Added -r flag to pip install command from file
...
Closes https://github.com/espressif/esp-idf/pull/3874
Closes https://github.com/espressif/esp-idf/issues/3915
2019-08-15 14:23:49 +02:00
Roland Dobai
ec31f235e9
docs: Correct and extend the documentation about VFS select()
2019-08-15 14:11:51 +02:00
Roland Dobai
7e9d90b180
VFS: Support concurrent VFS select calls
...
Closes https://github.com/espressif/esp-idf/issues/3392
2019-08-15 14:11:37 +02:00
Angus Gratton
d4fcbe37f3
Merge branch 'bugfix/idf_tool_default_encoding_v4.0' into 'release/v4.0'
...
idf_tool: fix UnicodeDecodeError (v4.0)
See merge request espressif/esp-idf!5720
2019-08-15 16:35:58 +08:00
Angus Gratton
b9a5f764ba
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v4.0' into 'release/v4.0'
...
bugfix(flash): add spi dio address bitlen configure in psram init (backprot v4.0)
See merge request espressif/esp-idf!5790
2019-08-15 12:08:56 +08:00
chenjianqiang
764b70d7e6
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-15 10:52:56 +08:00
Angus Gratton
a1496b90e5
Merge branch 'bugfix/fix_ledc_clock_select_bug_v4.0' into 'release/v4.0'
...
driver(ledc): fixed ledc clock selection bug for v4.0
See merge request espressif/esp-idf!5757
2019-08-14 10:44:39 +08:00
Mahavir Jain
622d6d5504
mbedtls: use errno instead of SO_ERROR for getting socket errors
...
As per upgrade notes of lwIP v2.1.0:
socket API: according to the standard, SO_ERROR now only returns asynchronous errors.
All other/normal/synchronous errors are (and always were) available via 'errno'.
LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!
Refer: https://www.nongnu.org/lwip/2_1_x/upgrading.html
Fixes https://github.com/espressif/esp-azure/issues/51
2019-08-13 13:11:24 +05:30
suda-morris
1b903111b6
efuse: update the scheme of getting chip revision
2019-08-13 14:37:17 +08:00
Mahavir Jain
69ef694178
esp32_gdbstub: fix build error with esp32-2019r1 toolchain
...
Fixes https://github.com/espressif/esp-idf/issues/3866
Closes https://github.com/espressif/esp-idf/issues/3834
2019-08-13 11:38:28 +05:30
Angus Gratton
81651b47a4
Merge branch 'ci/disable_nimble_tests_v4.0' into 'release/v4.0'
...
ci: Temporarily disable NimBLE tests in CI (v4.0)
See merge request espressif/esp-idf!5754
2019-08-13 10:42:38 +08:00
Jiang Jiang Jian
30dc86179c
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v4.0' into 'release/v4.0'
...
fix wifi bugs for authmode and multi ssid (backport v4.0)
See merge request espressif/esp-idf!5725
2019-08-12 23:34:43 +08:00
kooho
eff3ac05b3
driver(ledc): fixed ledc clock selection bug for release/v4.0
2019-08-12 17:16:52 +08:00
Angus Gratton
e5349d47a8
ci: Temporarily disable NimBLE tests in CI
2019-08-12 17:14:54 +10:00
zhangyanjiao
4253adf42b
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-12 02:38:44 +00:00
zhangyanjiao
088ed65194
wifi: fix wifi bugs for authmode and multi ssid
2019-08-12 02:38:44 +00:00
Angus Gratton
0ce94950b7
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 15:58:48 +10:00
Angus Gratton
ae8b2684d7
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 15:58:48 +10:00
Angus Gratton
9c51f679a7
Merge branch 'bugfix/update_example_docs_build_instructions_to_cmake_v4.0' into 'release/v4.0'
...
examples: change default build instructions in docs to CMake (v4.0)
See merge request espressif/esp-idf!5704
2019-08-09 13:20:25 +08:00
suda-morris
5c07acad46
idf_tool: fix unicode decode error
...
Closes https://github.com/espressif/esp-idf/issues/3841
2019-08-07 21:27:29 +08:00
Mahavir Jain
70af759dd2
examples: change default build instructions in docs to CMake
2019-08-06 17:25:25 +05:30
Mahavir Jain
76191a0f55
Merge branch 'move/ble_example_v4.0' into 'release/v4.0'
...
examples/bluetooth: Move the demos to the appropriate locations (v4.0)
See merge request espressif/esp-idf!5687
2019-08-06 00:32:26 +08:00
Hrishikesh Dhayagude
f0c3114f2f
examples/bluetooth: Move the demos to the appropriate locations (v4.0)
2019-08-06 00:32:25 +08:00