Jiang Jiang Jian
093214c86f
Merge branch 'feature/add_psram_workaround_option_3.2' into 'release/v3.2'
...
make psram workaround depend on chip revison (v3.2)
See merge request espressif/esp-idf!6304
2019-10-14 21:45:34 +08:00
Angus Gratton
f55cb56380
Merge branch 'feature/handle_icy_uris_v32' into 'release/v3.2'
...
Modified http_parser to handle ICY uris (Backport v3.2)
See merge request espressif/esp-idf!6326
2019-10-14 18:56:01 +08:00
Angus Gratton
f612a39127
Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.2' into 'release/v3.2'
...
freertos: remove semicolon in xTaskNotifyGive (v3.2)
See merge request espressif/esp-idf!6271
2019-10-14 11:20:41 +08:00
suda-morris
ae2cec834e
ethernet: add kconfig help for GPIO0 output mode
...
1. add kconfig help for GPIO0 output mode
2. fix a bug when select gpio0 output mode and initialize psram
3. make default config to official development board
4. fix wrong LAN8720 register index
2019-10-14 10:50:49 +08:00
Vikram Dattu
31c720602d
Modified http_parser to handle ICY uris.
...
ICY URIs e.g `http://uk1.internet-radio.com/proxy/vombat?mp=/ ;` need to
be handled differently.
For basic use case, these URIs are similar to HTTP with exception that they reply with `ICY 200` etc in place of `HTTP/1.1 200`.
In http_parser, we now also parse ICY URIs to be able to handle these similar to HTTP.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-10-11 16:24:31 +05:30
Jiang Jiang Jian
0b4faeb781
Merge branch 'bugfix/btdm_backports_v3.2_0903' into 'release/v3.2'
...
Bugfix/btdm backports v3.2 0903
See merge request espressif/esp-idf!5987
2019-10-11 18:34:31 +08:00
suda-morris
ef796860d7
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-10-10 12:08:34 +08:00
suda-morris
9742acc33d
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-10-10 11:55:16 +08:00
Prasad Alatkar
cf26a8b0f0
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.2)
...
- Backport(v3.2) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-10-09 16:19:48 +08:00
Angus Gratton
14098b4832
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_3.2' into 'release/v3.2'
...
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses (backport v3.2)
See merge request espressif/esp-idf!6110
2019-10-09 12:51:55 +08:00
suda-morris
5088758640
freertos: remove semicolon in xTaskNotifyGive
2019-10-08 12:39:28 +08:00
baohongde
ca824d0ddf
components/bt: backports release/v3.2 0903
...
Remove xtensa/xruntime.h
Fix sending Lmp_feature_req_ext in a loop
Fix 2 bugs in r_ld_fm_sket_isr
fix data loss and send same pkt twice sometimes
fix adv data error in air sometimes
fix adv start/stop crash sometimes
2019-09-23 17:53:29 +08:00
suda-morris
eb4c8d9991
support esp32 eco revision 2 and 3
2019-09-19 17:05:08 +08:00
Martin Thierer
d56892b563
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-16 17:40:40 +08:00
Angus Gratton
b1ee664367
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.2' into 'release/v3.2'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v3.2)
See merge request espressif/esp-idf!6024
2019-09-16 15:11:38 +08:00
Angus Gratton
ee5604cad0
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.2' into 'release/v3.2'
...
esp32: Dis interrupts up to 5 lvl for DPORT (v3.2)
See merge request espressif/esp-idf!5714
2019-09-16 15:11:33 +08:00
Angus Gratton
88d8e93223
Merge branch 'update/cjson_v1_7_12_v3.2' into 'release/v3.2'
...
Update cJSON to v1.7.12 (v3.2)
See merge request espressif/esp-idf!5852
2019-09-16 08:20:59 +08:00
KonstantinKondrashov
2b22f3e853
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-12 22:07:05 +08:00
KonstantinKondrashov
70954c0b3e
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-12 22:07:05 +08:00
Konstantin Kondrashov
69be477885
esp32: Add UTs for DPORT and Hi-interrupt
2019-09-12 13:47:48 +00:00
Konstantin Kondrashov
76f97f3abd
esp32: Dis interrupts up to 5 lvl for DPORT
...
Disable interrupts for both DPORT workarounds up to 5 lvl.
Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
2019-09-12 13:47:48 +00:00
chenyudong
d0bfde2ceb
test: fix test case MESH_EST_2403
2019-09-12 02:51:06 +00:00
zhangyanjiao
b937de7df2
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:50:58 +08:00
Chinmay
fa952e5d30
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
* non-empty header values : invokes callbacks with the pointer to the start of a value
* empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
Backports !5663
2019-09-09 08:57:29 +00:00
Jiang Jiang Jian
ca1e5e5bc5
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.2' into 'release/v3.2'
...
fix the bug for WPA_WPA2_PSK connection fail(backport v3.2)
See merge request espressif/esp-idf!6007
2019-09-06 11:44:09 +08:00
zhangyanjiao
23b3d97099
1. fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
...
2. fix the bug for softAP set authmode
2019-09-05 20:08:52 +08:00
Angus Gratton
0a0f5a3bdc
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.2' into 'release/v3.2'
...
flash encryption: Add config option to disable any plaintext reflashes (v3.2)
See merge request espressif/esp-idf!5998
2019-09-05 17:26:04 +08:00
Angus Gratton
ec331b3979
flash encryption: Add config option to disable any plaintext reflashes
...
Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.
2019-09-05 18:54:29 +10:00
Angus Gratton
73e040e584
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.2' into 'release/v3.2'
...
test: fix nvs compatible case error (backport v3.2)
See merge request espressif/esp-idf!5893
2019-09-05 16:51:30 +08:00
Angus Gratton
d1f40c15ac
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.2' into 'release/v3.2'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.
See merge request espressif/esp-idf!5898
2019-09-03 13:36:29 +08:00
Jiang Jiang Jian
7718234acc
Merge branch 'bugfix/coex_bb_reset_lock_v3.2' into 'release/v3.2'
...
fix bug that wifi start/stop may cause crash
See merge request espressif/esp-idf!5969
2019-09-02 14:26:03 +08:00
Tian Hao
01cd149cb7
fix bug that wifi start/stop may cause crash
...
1. fix bug bb reset lock flag to avoid bb reset lock unhandle,
may cause assert in vPortCPUReleaseMutexIntsDisabledInternal.
2. fix bug wifi reset mac cause task watch dog timeout
3. fix bug wifi reset mac position
2019-08-30 22:13:01 +08:00
Angus Gratton
7dd4923190
Merge branch 'bugfix/httpd_sess_close_v3.2' into 'release/v3.2'
...
httpd_sess_close: Check for session validity before closing (v3.2)
See merge request espressif/esp-idf!5744
2019-08-29 10:29:41 +08:00
Nachiket Kukade
151ddb4cda
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.2)
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-08-27 14:10:43 +05:30
Jiang Jiang Jian
1fab985f63
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.2' into 'release/v3.2'
...
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link
See merge request espressif/esp-idf!5873
2019-08-26 18:01:01 +08:00
redchenjs
548844b5cc
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.2.
...
The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
2019-08-26 14:02:27 +08:00
He Yin Ling
9bc71370b7
test: fix integration test jobs not executed:
...
naming rule for parallel test job config file is different.
rename test job config file to make it unified.
2019-08-26 14:01:34 +08:00
He Yin Ling
66118ab580
test: fix nvs compatible case error:
...
use new env for nvs compatible test case and update test config
2019-08-26 09:36:32 +08:00
wangmengyang
fae3bad007
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack.
...
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-23 08:30:23 +08:00
Ivan Grokhotkov
48e5dcd9b5
Merge branch 'power_management/i2s+i2c-v3.2' into 'release/v3.2'
...
Power management/i2s+i2c (backport v3.2)
See merge request espressif/esp-idf!5863
2019-08-22 23:29:52 +08:00
Sachin Parekh
eeb9a0359c
PM: I2S and I2C added in the Power Management docs
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-08-21 18:15:51 +05:30
Sachin Parekh
4cdf488de8
I2S: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-08-21 18:15:41 +05:30
Sachin Parekh
c56f147d48
I2C: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-08-21 18:15:29 +05:30
Angus Gratton
1d953831bd
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:58:37 +10:00
Michael (XIAO Xufeng)
a393bb6f1b
sdio_slave: fix the send_flush infinite loop issue
...
Also add some helper functions.
2019-08-20 17:00:21 +08:00
chenjianqiang
3bf6c5b604
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-15 10:34:04 +08:00
Jiang Jiang Jian
90747cc8b3
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.2' into 'release/v3.2'
...
fix wifi bugs for authmode and multi ssid (backport v3.2)
See merge request espressif/esp-idf!5729
2019-08-11 17:14:53 +08:00
Angus Gratton
91451d31be
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:19:21 +10:00
Angus Gratton
8fe9e4b09f
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:19:21 +10:00
Angus Gratton
910cede38d
hwcrypto: Add AES fault injection check
...
Hardware AES-CBC performance changes:
Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec
(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
2019-08-11 13:19:21 +10:00
Piyush Shah
107d927547
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-08-09 14:58:28 +05:30
baohongde
dc1db1c4e7
components/bt: Backport 3 bugfixs into release v3.2
...
1. Bugfix btdm sleep twice after wakeup request
2. Fix connect fail duo to loop of send extended feature request
3. Clear BT/BLE interrupts after controller_disable to overwrite the default non-zero value of intcntl registers
2019-08-09 03:04:40 +00:00
Jiang Jiang Jian
db898de8fb
Merge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.2' into 'release/v3.2'
...
Try to allocate some Lw-ip memories in SPIRAM first. If failed, try to allocate in internal RAM then.(Backport v3.2)
See merge request espressif/esp-idf!5719
2019-08-09 10:56:54 +08:00
Jiang Jiang Jian
d657a679a2
Merge branch 'feature/move_gettimeofday_in_clock_gettime_v3.2' into 'release/v3.2'
...
newlib: Move _gettimeofday_r call in clock_gettime (v3.2)
See merge request espressif/esp-idf!5718
2019-08-08 22:02:43 +08:00
zhangyanjiao
e451282f18
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-08-08 16:54:35 +08:00
zhangyanjiao
f3ffce3096
wifi: fix wifi bugs for authmode and multi ssid
2019-08-08 16:48:50 +08:00
Xia Xiaotian
754a292309
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.
2019-08-07 21:11:06 +08:00
Jiang Jiang Jian
00f1ac748b
Merge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.2' into 'release/v3.2'
...
esp_wifi: add esp_wifi_internal_ioctl declared (v3.2)
See merge request espressif/esp-idf!5707
2019-08-07 20:48:58 +08:00
raldone01
b0cff945cf
newlib: Move _gettimeofday_r call in clock_gettime
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789
2019-08-07 20:37:25 +08:00
Angus Gratton
1beac49f3a
Merge branch 'feature/mqtt_improve_recv_3.2' into 'release/v3.2'
...
MQTT improved receive (backport 3.2)
See merge request espressif/esp-idf!5098
2019-08-07 16:05:07 +08:00
xiehang
207438f2da
esp_wifi: add esp_wifi_internal_ioctl declared
2019-08-07 11:17:39 +08:00
Jiang Jiang Jian
83e5e6b24c
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.2' into 'release/v3.2'
...
bugfix(flash): improve spi cs timing settings for flash (backport v3.2)
See merge request espressif/esp-idf!5513
2019-07-31 23:39:07 +08:00
Angus Gratton
6510c6f495
Merge branch 'bugfix/select_init_sem_v3.2' into 'release/v3.2'
...
VFS: Allocate socket select semaphore outside ISR (backport v3.2)
See merge request espressif/esp-idf!4989
2019-07-31 16:11:57 +08:00
Angus Gratton
b460718954
Merge branch 'bugfix/libsodium_test_timeouts_v3.2' into 'release/v3.2'
...
test: Set timeout of libsodium ed25519_convert test to 60s (v3.2)
See merge request espressif/esp-idf!5555
2019-07-30 21:59:51 +08:00
Angus Gratton
b7196d21c9
Merge branch 'bugfix/gpio_intr_enable_bug_v3.2' into 'release/v3.2'
...
bugfix(GPIO): Fixed GPIO interrupts bug for v3.2
See merge request espressif/esp-idf!5651
2019-07-30 14:10:29 +08:00
Angus Gratton
1a307a417d
test: Set timeout of libsodium ed25519_convert test to 60s
...
Test takes 28s-29s to run in some configs, can fail in CI.
2019-07-30 04:44:30 +00:00
kooho
f6a9f76401
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core for release/v3.2
2019-07-29 19:22:59 +08:00
xiehang
e34aeae1a0
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-27 06:40:01 +00:00
Jiang Jiang Jian
43600262a8
Merge branch 'bugfix/mesh_scan_done_crash_3.2' into 'release/v3.2'
...
mesh: fix scan done crash caused by uint8_t overflow (backport 3.2)
See merge request espressif/esp-idf!5614
2019-07-27 14:38:39 +08:00
Jiang Jiang Jian
8fdea83505
Merge branch 'bugfix/btdm_mem_leak_v3.2' into 'release/v3.2'
...
components/bt: Fix memory leak about rfcomm
See merge request espressif/esp-idf!5623
2019-07-27 14:38:28 +08:00
Mahavir Jain
7e77f67777
Merge branch 'feature/tcp_transport_http_client_v3.2' into 'release/v3.2'
...
Minor bugfixes in esp_http_client and tcp_transport (backport v3.2)
See merge request espressif/esp-idf!5221
2019-07-25 19:37:26 +08:00
Jiang Jiang Jian
e1518b4112
Merge branch 'bugfix/sec_boot_ota_fail_v32' into 'release/v3.2'
...
Bugfix: ota fails with secure boot on for image size greater than 3.2MB (backport v3.2)
See merge request espressif/esp-idf!5580
2019-07-25 18:04:39 +08:00
baohongde
151638fdbb
components/bt: Fix memory leak about rfcomm
2019-07-25 17:10:52 +08:00
Jiang Jiang Jian
b3a5dc869f
Merge branch 'bugfix/supplicant_security_fixes_v3.2' into 'release/v3.2'
...
wpa_supplicant: Fix sprintf security bugs. (v3.2)
See merge request espressif/esp-idf!5465
2019-07-25 12:18:19 +08:00
chenyudong
87947004c4
mesh: fix scan done crash caused by uint8_t overflow
2019-07-25 11:16:53 +08:00
chenyudong
f892937780
test: move wifi library check to esp32-wifi-lib ci
2019-07-22 11:17:04 +08:00
Jitin George
105e3302a7
esp_http_client: Fix header sent event bug
2019-07-21 07:25:23 +00:00
Jitin George
19fd2b3d93
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-07-21 07:25:23 +00:00
xiehang
8be97410a4
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
...
1. Modfy wifi_country struct
2. Add md5 check esp_wifi_types.h
3. Add md5 check esp_wifi.h
2019-07-21 10:30:45 +08:00
liu zhifu
6af16447f8
mesh: fix the bug that esp_mesh_stop doesn't return
2019-07-21 10:26:17 +08:00
xiehang
eee568ddc5
wps: add overlap event
2019-07-21 10:23:01 +08:00
liu zhifu
c119a1a0f4
esp32: fix wifi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-07-21 10:20:25 +08:00
liu zhifu
ed6b453346
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-07-21 10:15:19 +08:00
liu zhifu
ba69e61ed5
esp32: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-07-21 09:59:37 +08:00
Jiang Jiang Jian
6ba62f7b0b
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.2' into 'release/v3.2'
...
fix the watchdog bug during WiFi scan and BLE scan (v3.2)
See merge request espressif/esp-idf!5541
2019-07-19 18:08:56 +08:00
Vikram Dattu
e155cd7a78
Add mmu pages available check in non-secure image hash check path.
...
Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-19 10:08:39 +05:30
Vikram Dattu
13069ecb26
Changed log level for spi_master
...
There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-19 10:08:39 +05:30
Vikram Dattu
7f42d63687
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
...
When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-19 09:56:32 +05:30
Jiang Jiang Jian
ed7664d19f
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.2' into 'release/v3.2'
...
bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.2)
See merge request espressif/esp-idf!5507
2019-07-16 18:41:45 +08:00
zhangyanjiao
3675e3182f
fix the watchdog bug during WiFi scan and BLE scan
2019-07-16 14:29:29 +08:00
chenjianqiang
9edc9674bc
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-15 14:44:28 +08:00
Mahavir Jain
376377ceca
Merge branch 'bugfix/i2s_apll_clock_fix_v3.2' into 'release/v3.2'
...
driver/i2s: fix apll_clock_rate for different sample rates (v3.2)
See merge request espressif/esp-idf!5449
2019-07-12 11:36:01 +08:00
chenjianqiang
490a7e682d
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-11 21:10:20 +08:00
Angus Gratton
1b9d62ad95
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.2' into 'release/v3.2'
...
bugfix(UART): fixed two UART issues for release/v3.2
See merge request espressif/esp-idf!5480
2019-07-11 14:56:32 +08:00
Jiang Jiang Jian
21601f00f4
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.2' into 'release/v3.2'
...
wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.2)
See merge request espressif/esp-idf!5099
2019-07-10 15:40:23 +08:00
kooho
7e2465995f
bugfix(UART): fixed two UART issues:
...
1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled.
2019-07-09 14:47:04 +08:00
Angus Gratton
878d70d9e6
Merge branch 'fix/update_curr_page_state_3.2' into 'release/v3.2'
...
nvs_util: Set previous page state to FULL before creating new page (v3.2)
See merge request espressif/esp-idf!5326
2019-07-08 14:05:40 +08:00
Sagar Bijwe
4b43c10490
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-07-08 10:39:48 +05:30
Angus Gratton
a8916daeb2
Merge branch 'fix/nvs_util_keylen_3.2' into 'release/v3.2'
...
nvs_util: Add check for keylen in input csv (v3.2)
See merge request espressif/esp-idf!5396
2019-07-08 12:59:55 +08:00
zhangyanjiao
b7a2516242
wifi bugfix:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
2019-07-08 11:42:36 +08:00
Jiang Jiang Jian
4a9f339447
Merge branch 'mesh/bugfix_0628' into 'release/v3.2'
...
mesh: bugfix (backport3.2)
See merge request espressif/esp-idf!5402
2019-07-05 22:43:16 +08:00
Mahavir Jain
c1af728239
Merge branch 'bugfix/prov_examples_strlcpy_backport_v3.2' into 'release/v3.2'
...
Various bugfixes in Protocomm / Unified Provisioning (backport v3.2)
See merge request espressif/esp-idf!5372
2019-07-05 20:56:35 +08:00
Jiang Jiang Jian
35789eef16
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.2' into 'release/v3.2'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.2)
See merge request espressif/esp-idf!5288
2019-07-05 20:42:06 +08:00
Shivani Tipnis
23c17c4c0d
nvs_util: Add check for keylen in input csv
2019-07-05 11:06:02 +00:00
zhiweijian
2821e99bcc
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 21:17:51 +08:00
redchenjs
a4f2283384
i2s: fix a bug when calculating i2s apll parameters
...
Closes https://github.com/espressif/esp-idf/issues/2634
Closes https://github.com/espressif/esp-idf/issues/3380
Fixes https://github.com/espressif/esp-idf/issues/3407
2019-07-04 18:28:18 +05:30
qiyuexia
b905f2de4d
mesh: bugfix
...
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-04 11:39:17 +08:00
Shivani Tipnis
c517628c77
nvs_util: Set previous page state to FULL before creating new page
2019-07-03 11:09:49 +00:00
Jiang Jiang Jian
cbec031c91
Merge branch 'bugfix/btdm_backport_2_bugs_v3.2' into 'release/v3.2'
...
Bugfix/btdm backport 2 bugs v3.2
See merge request idf/esp-idf!5269
2019-07-02 17:33:53 +08:00
chenjianqiang
90c7885f4d
bugfix(flash): improve flash dio read timing
...
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-07-02 14:57:13 +08:00
Jiang Jiang Jian
476d4ba1b7
Merge branch 'bugfix/fix_wpa2_vulnerability_and_lwip_window_scale_v3.2' into 'release/v3.2'
...
esp32/lfix wpa2-enterprise vulnerability and support lwindow scale (backport v3.2)
See merge request idf/esp-idf!5411
2019-07-02 14:26:48 +08:00
Jiang Jiang Jian
da80efa8bc
Merge branch 'bugfix/pm_isr_exit_lock_v3.2' into 'release/v3.2'
...
pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.2)
See merge request idf/esp-idf!4969
2019-07-02 13:55:35 +08:00
Mahavir Jain
725ecf108f
Merge branch 'protocomm_ble_128bit_uuid_v3.2' into 'release/v3.2'
...
protocomm_ble : Fix support for custom service UUIDs (backport v3.2)
See merge request idf/esp-idf!5018
2019-07-01 19:22:28 +08:00
liu zhifu
d10dec358d
esp32/lwip: fix wpa2-enterprise vulnerability and support lwip window scale
...
1. Fix WiFi wpa2-enterprise vulnerability bug
2. Support LWIP window scale
2019-07-01 11:34:35 +08:00
liu zhifu
293a665601
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Fix the bug that WiFi stop leads to task watchdog
2019-06-30 21:36:38 +08:00
Jiang Jiang Jian
c6c1d089cc
Merge branch 'bugfix/xTaskIncrementTick_v3.2' into 'release/v3.2'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.2)
See merge request idf/esp-idf!5035
2019-06-30 18:01:45 +08:00
Anurag Kar
d76d94549a
protocomm_ble : Fixed custom service UUID support
...
List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names
2019-06-28 10:14:52 +00:00
Angus Gratton
444ded835d
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.2' into 'release/v3.2'
...
mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.2)
See merge request idf/esp-idf!5355
2019-06-28 08:31:41 +08:00
Anurag Kar
57c7a25bb3
protocomm_ble : Bugfix for unbound memcpy on prepare write buffer
...
Closes https://github.com/espressif/esp-idf/issues/3633
2019-06-27 18:59:34 +05:30
Jiang Jiang Jian
8c17eb91e2
Merge branch 'feature/config_spi_pins_based_on_efuse_value_v3.2' into 'release/v3.2'
...
feat(psram): config SPI psram pins based on efuse value (backport v3.2)
See merge request idf/esp-idf!5237
2019-06-27 19:22:34 +08:00
Mahavir Jain
91ec6068e9
Merge branch 'bugfix/httpd_log_purge_v3.2' into 'release/v3.2'
...
esp_http_server : Logging of purged data to monitor made configurable (backport v3.2)
See merge request idf/esp-idf!5016
2019-06-27 16:16:05 +08:00
Anurag Kar
dab432d7ff
Protocomm : Minor fixes
...
List of changes:
* protocomm_httpd : Reset session_id static variable on start and stop
* security1 : Typo in checking failed dynamic allocation
2019-06-27 12:38:20 +05:30
Anurag Kar
76719b9c37
Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase
...
These changes guarantee that the SSID and Passphrase received via protocomm are NULL terminated and size limited to their standard lengths.
List of changes:
* Corrected length of passphrase field in wifi_prov_config_set_data_t structure
* Performing length checks on SSID, passphrase and bssid, when populating wifi_prov_config_set_data_t structure with received credentials
2019-06-27 12:38:07 +05:30
Jiang Jiang Jian
da10a5b7e9
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.2' into 'release/v3.2'
...
component/bt: fix unpack hci enhance connection complete event error(backport v3.2)
See merge request idf/esp-idf!5282
2019-06-27 14:28:49 +08:00
Konstantin Kondrashov
901e8338ac
mbedtls: Add UTs for modexp
2019-06-26 14:20:30 +08:00
Konstantin Kondrashov
fbe566ac67
mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
...
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.
Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-26 14:20:30 +08:00
Chen Sheng
c0a68466a7
test: modified test case for bluedroid (backport v3.2)
2019-06-25 23:18:47 +08:00
zhiweijian
eaf8cfbf8d
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 03:23:31 +00:00
Angus Gratton
b34a0874b1
Merge branch 'bugfix/spi_concurrency_3.2' into 'release/v3.2'
...
spi: fix a possible concurrency issue (port to v3.2)
See merge request idf/esp-idf!5278
2019-06-21 13:22:22 +08:00
Michael (XIAO Xufeng)
f21762eeef
spi: fix a possible concurrency issue
2019-06-19 12:38:31 +08:00
baohongde
e7f57fef55
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
2019-06-17 14:12:09 +08:00
baohongde
284362d62d
add missing source files to CMakeLists for HFP
2019-06-17 14:06:33 +08:00
wangmengyang
29b009d6fd
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-06-17 14:06:19 +08:00
He Yin Ling
86e8983499
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:55:09 +08:00
Jiang Jiang Jian
fa42f63226
Merge branch 'bugfix/dns_bug_3.2' into 'release/v3.2'
...
DNS: fix the crash under static IP address(backport3.2)
See merge request idf/esp-idf!5238
2019-06-14 11:34:50 +08:00
chenjianqiang
93c9c07e22
bugfix(psram): make sure the psram_io struct is initialized and make unknown psram package version more obvious
2019-06-14 10:34:56 +08:00
xueyunfei
2ed18dcdd7
lwip:fix dns bug for 3.2
2019-06-13 16:47:50 +08:00
chenjianqiang
cb2e328c5f
feat(psram): config SPI psram pins based on efuse value
2019-06-13 16:07:21 +08:00
baohongde
267ce80355
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:25:59 +08:00
Angus Gratton
8b54542a88
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.2' into 'release/v3.2'
...
CMake: Fix custom bootloader does not override original (v3.2)
See merge request idf/esp-idf!5082
2019-06-11 08:26:08 +08:00
Mahavir Jain
a8fe057219
Merge branch 'bugfix/https_doc_api_v3.2' into 'release/v3.2'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.2)
See merge request idf/esp-idf!5014
2019-06-10 11:49:57 +08:00
Konstantin Kondrashov
adc5b2e08f
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-07 09:54:03 +00:00
Konstantin Kondrashov
0be4deeb22
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
...
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.
Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.
Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
2019-06-07 09:54:03 +00:00
Renz Christian Bagaporo
88eaa34075
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-06-04 23:04:47 +08:00
Konstantin Kondrashov
b434b8f5d2
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-06-04 20:16:40 +08:00
Anurag Kar
7e6d1ef4bc
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-06-03 08:37:41 +00:00
Anurag Kar
92dc6a6dde
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-06-03 08:36:24 +00:00
Angus Gratton
8e51f7e236
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.2' into 'release/v3.2'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.2)
See merge request idf/esp-idf!5032
2019-06-03 14:23:55 +08:00
Konstantin Kondrashov
3886be23c8
soc: Add some headers into gpio_periph.h
2019-05-29 13:46:37 +08:00
David Cermak
814ee9db7f
tcp_transport: modified ws_read to read payload directly to the read buffer and separately from header bytes
...
Previous version read all data to the buffer including header which reduced maximum payload read. This version uses a local array to receive header and reads payload bytes to the buffer
cherry-picked from db121a56e1
2019-05-29 07:45:13 +02:00