Angus Gratton
8147d48ec8
Merge branch 'feature/add_chip_revision_to_image_header_v3.3' into 'release/v3.3'
...
Add chip revision into image header (v3.3)
See merge request espressif/esp-idf!6128
2019-10-10 11:24:00 +08:00
Angus Gratton
8466b8d6d3
Merge branch 'bugfix/event_minor_leak_v3.3' into 'release/v3.3'
...
esp_event: fix minor memory leak when overwriting already registered handler (v3.3)
See merge request espressif/esp-idf!5132
2019-10-10 11:05:41 +08:00
Angus Gratton
6e47143dc5
Merge branch 'bugfix/malloc_warnings_event_loop_3.3' into 'release/v3.3'
...
esp_event: fix possible malloc free issues found by static analyzer (Backport 3.3)
See merge request espressif/esp-idf!5884
2019-10-10 11:04:00 +08:00
aleks
4559434d5a
freemodbus: fix incorrectly set coils read event
...
incorrect set of the MB_EVENT_COILS_WR event is changed while read coils in mbcontroller.c file
added read/write handling for appropriate registers in freemodbus.c example file
Closes https://github.com/espressif/esp-idf/issues/3289
2019-10-09 17:49:00 +02:00
Jitin George
25f837a148
esp-tls: Add support to add CN from config and validate PEM buffers
2019-10-09 14:02:48 +00:00
Jitin George
7726102bfb
esp_http_client: Add support to disable validation of certificate's CN field
2019-10-09 14:02:48 +00:00
Jitin George
8c74a4a989
tcp_transport: Add API to allow skipping of certificate CN validation
2019-10-09 14:02:48 +00:00
Gregory Eslinger
7db01c954e
esp_https_ota: Removed unnecessary free()
...
Closes https://github.com/espressif/esp-idf/issues/3504
Merges https://github.com/espressif/esp-idf/pull/3513
Signed-off-by: Jitin George <jitin@espressif.com>
2019-10-09 14:02:48 +00:00
Jitin George
7d60a78b31
esp_https_ota: Add support for URL redirection, basic auth and more control with new APIs
...
Bugfixes:
- Fix http url redirection issue
- Fix basic/digest auth issue with http url
Features:
- Add support for adding custom http header
- Add support for reading firmware image header
- Add support for monitoring upgrade status
- This requires breaking down esp_https_ota API such that it allows finer application level control
- For simpler use-cases previous API is still supported
Closes https://github.com/espressif/esp-idf/issues/3218
Closes https://github.com/espressif/esp-idf/issues/2921
2019-10-09 14:02:48 +00:00
Jitin George
23a8cbb247
esp_http_client: Add API for adding authorization info
...
There was existing support for adding authorization info in esp_http_client
but it was functional only while using `esp_http_client_perform` API. This commit just moves
existing authorization addition logic into publicly exposed API.
2019-10-09 14:02:48 +00:00
Sachin Parekh
f3fd849da1
PM: I2S and I2C added in the Power Management docs
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-10-09 11:37:33 +00:00
Sachin Parekh
7a2bd81870
I2S: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-10-09 11:37:33 +00:00
Sachin Parekh
2b6f7697b9
I2C: Enable Power Management locks
...
Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-10-09 11:37:33 +00:00
Jiang Jiang Jian
15a9d4f4d3
Merge branch 'bugfix/fix_several_wifi_bugs_0930_v3.3' into 'release/v3.3'
...
fix several wifi bugs 0930 (backport v3.3)
See merge request espressif/esp-idf!6233
2019-10-09 16:16:13 +08:00
Mahavir Jain
65e9af5114
Merge branch 'bugfix/esp_tls_add_header_in_esp_tls_h_v3.3' into 'release/v3.3'
...
ESP32/esp_tls: include esp_err.h in esp_tls.h (v3.3)
See merge request espressif/esp-idf!6265
2019-10-09 14:29:26 +08:00
chenjianqiang
579cbd8229
esp32: cpu_start: read binary image header via cache
...
When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.
2019-10-09 06:25:26 +00:00
Angus Gratton
10732770d3
Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.3' into 'release/v3.3'
...
freertos: remove semicolon in xTaskNotifyGive (v3.3)
See merge request espressif/esp-idf!6270
2019-10-09 13:37:17 +08:00
suda-morris
c67b02db52
freertos: remove semicolon in xTaskNotifyGive
2019-10-08 12:39:07 +08:00
suda-morris
dc4c16f475
ethernet: add kconfig help for GPIO0 output mode
...
1. add kconfig help for GPIO0 output mode
2. fix a bug when select gpio0 output mode and initialize psram
3. make default config to official development board
4. fix wrong LAN8720 register index
2019-10-08 02:41:40 +00:00
David Cermak
3f2bf11751
esp_event: fix possible malloc free issues found by static analyzer
...
(v3.3)
Backport of bd537083d9
2019-10-07 19:19:23 +00:00
David Cermak
b1f264be69
esp_event: fix minor memory leak when overwriting alredy registered handler
2019-10-07 19:15:59 +00:00
David Cermak
d14f2c5fca
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected
2019-10-07 19:15:59 +00:00
David Cermak
35898c704f
tcp_transport: modified ws_read to read payload directly to the read buffer and separately from header bytes
...
Previous version read all data to the buffer including header which reduced maximum payload read. This version uses a local array to receive header and reads payload bytes to the buffer
cherry-picked from db121a56e1
2019-10-07 19:11:30 +00:00
Aditya Patwardhan
3564d6728c
ESP32/esp-tls: include esp_err.h in esp_tls.h
...
Closes https://github.com/espressif/esp-idf/issues/4100
2019-10-07 17:48:05 +05:30
KonstantinKondrashov
c5b1b57b09
esp32: Fix UT - Check pre-read workaround DPORT and Hi-interrupt
2019-09-30 19:04:38 +08:00
zhangyanjiao
fbd38ad19a
modify WIFI_CONN_0101 case for wrong authmode of AP
2019-09-30 12:03:58 +08:00
zhangyanjiao
2d5ee438fa
wifi:
...
1.Fix the bug that WiFi stop leads to task watchdog(526c6956)
2.Fix the WiFi init sequence bug
3.Fix smartconfig ipc crash
4.Put g_promis_buf to IRAM
5.esp_wifi_set_channel should return error when sniffer is not enabled
6.fix the bug when set WEP authmode or wrong authmode, there is no error return
7.fix the bug that STA parse authmode wrong when AP sets WPA_WPA2_PSK mode
8.fix the bug that wrong error code and wrong event when there is an auto AP in multi-ssid case
2019-09-30 12:02:46 +08:00
Jiang Jiang Jian
46b12a560a
Merge branch 'bugfix/btdm_backports_v3.3_0903' into 'release/v3.3'
...
Bugfix/btdm backports v3.3 0903
See merge request espressif/esp-idf!5983
2019-09-29 16:19:22 +08:00
Prasad Alatkar
9c87165bc8
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.3)
...
- Backport(v3.3) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-29 16:06:27 +08:00
suda-morris
6514820311
bootloader: shrink bin size
...
1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.
2019-09-29 11:27:17 +08:00
suda-morris
0af56e2815
Add chip revision into image header
...
Check chip id and chip revision before boot app image
Closes https://github.com/espressif/esp-idf/issues/4000
2019-09-27 10:24:39 +08:00
Jiang Jiang Jian
a06b88d7f6
Merge branch 'bugfix/backport_some_wifi_bugs_201907_v3.3' into 'release/v3.3'
...
Backport some wifi bugs 201907 v3.3 (backport v3.3)
See merge request espressif/esp-idf!5526
2019-09-25 19:21:17 +08:00
Jiang Jiang Jian
5e292d50ad
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx_3.3' into 'release/v3.3'
...
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses (backport v3.3)
See merge request espressif/esp-idf!6108
2019-09-25 16:21:37 +08:00
Jiang Jiang Jian
321ecc94d3
Merge branch 'bugfix/btdm_a2dp_src_pkt_overflow_v3.3' into 'release/v3.3'
...
component/bt: fix some performance issues in A2DP source data flow control
See merge request espressif/esp-idf!5986
2019-09-25 11:14:25 +08:00
Jiang Jiang Jian
f0f30f9d0c
Merge branch 'test/fix_mesh_test_case_3.3' into 'release/v3.3'
...
test: fix test case MESH_EST_2403 (backport 3.3)
See merge request espressif/esp-idf!5908
2019-09-23 21:41:22 +08:00
Jiang Jiang Jian
9ea662a4ba
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.3' into 'release/v3.3'
...
fix the bug that ESP32 sends broadcast to phone after smartconfig is done(backport v3.3)
See merge request espressif/esp-idf!6073
2019-09-23 21:40:42 +08:00
baohongde
285925a43b
components:bt: backports release/v3.3 0903
...
Remove xtensa/xruntime.h
Fix sending Lmp_feature_req_ext in a loop
Fix 2 bugs in r_ld_fm_sket_isr
fix data loss and send same pkt twice sometimes
fix adv data error in air sometimes
fix adv start/stop crash sometimes
Fix connect fail with some speakers
clear BT/BLE interruots after controller disable
add sco_data_path to be set in sdkconfig and do not reset the value upon HCI reset command
2019-09-23 18:02:28 +08:00
wangmengyang
9e51598ee7
component/bt: fix some performance issues in A2DP source data flow control
...
1. modify the limit of frames to send to avoid dropping packet on A2DP source due to TX data queue overflow
2. reduce the A2DP source data queue size in order to achieve faster control respnonse
2019-09-20 11:52:46 +00:00
Angus Gratton
5e321badd5
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.3' into 'release/v3.3'
...
bootloader: Blocking the Factory reset during wake up from deep sleep (v3.3)
See merge request espressif/esp-idf!6021
2019-09-20 19:22:45 +08:00
chenyudong
e943181f72
test: move wifi library check to esp32-wifi-lib ci
2019-09-20 17:50:23 +08:00
xiehang
2dc98f3be8
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
...
1. Modfy wifi_country struct
2. Add md5 check esp_wifi_types.h
3. Add md5 check esp_wifi.h
2019-09-20 17:50:19 +08:00
liu zhifu
3badf6ebd9
mesh: fix the bug that esp_mesh_stop() doesn't return
2019-09-20 17:49:49 +08:00
liu zhifu
9a1b11c813
esp32: fix wifi stop bug
...
Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.
2019-09-20 17:49:49 +08:00
liu zhifu
b933d851bf
esp32: fix WPS/WPA2-Enterprise memory leak
...
Fix WPS and WPA2-Enterprise memory leak bug.
2019-09-20 17:49:49 +08:00
liu zhifu
204b58a34c
esp32: fix smartconfig crash when no AP is found
...
Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.
2019-09-20 17:49:49 +08:00
KonstantinKondrashov
fefc65f885
newlib: Fix UT - test time adjustment happens linearly
...
Obtaining accurate and adjustable time occurs closer to each other.
2019-09-17 14:16:58 +08:00
Martin Thierer
d7e257d8ba
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
...
Close https://github.com/espressif/esp-idf/pull/3996
2019-09-16 17:34:14 +08:00
KonstantinKondrashov
ca3df7de7f
app_update: Fix UTs for FACTORY_RESET and APP_TEST
2019-09-14 09:52:58 +00:00
KonstantinKondrashov
8849d6acfa
bootloader: Factory reset not for deep sleep
...
Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
2019-09-14 09:52:58 +00:00
Mahavir Jain
1173b4f51a
Merge branch 'bugfix/http_header_parser_resolution_v3.3' into 'release/v3.3'
...
(backport v3.3) esp_http_server : Bugfix in parsing of empty header values
See merge request espressif/esp-idf!6038
2019-09-12 18:46:22 +08:00
chenyudong
f6d0a913de
test: fix test case MESH_EST_2403
2019-09-12 02:50:17 +00:00
zhangyanjiao
262f3774e8
fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2019-09-11 11:45:08 +08:00
Xia Xiaotian
e0748cdaf2
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.
2019-09-10 14:26:50 +08:00
Chinmay
38b1c93764
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-09 08:21:13 +00:00
Jiang Jiang Jian
69d8fab619
Merge branch 'update/cjson_v1_7_12_v3.3' into 'release/v3.3'
...
Update cJSON to v1.7.12 (v3.3)
See merge request espressif/esp-idf!5851
2019-09-08 23:16:25 +08:00
Jiang Jiang Jian
cc50d88a89
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.3' into 'release/v3.3'
...
test: fix nvs compatible case error (backport v3.3)
See merge request espressif/esp-idf!5894
2019-09-08 23:14:29 +08:00
Jiang Jiang Jian
4aea2dce15
Merge branch 'fix/sdio_slave_reset_infloop_leak_3.3' into 'release/v3.3'
...
sdio_slave: fix the send_flush infinite loop issue (backport v3.3)
See merge request espressif/esp-idf!5836
2019-09-08 23:13:41 +08:00
Jiang Jiang Jian
54c7379060
Merge branch 'feature/move_gettimeofday_in_clock_gettime_v3.3' into 'release/v3.3'
...
newlib: Move _gettimeofday_r call in clock_gettime (v3.3)
See merge request espressif/esp-idf!5717
2019-09-08 23:13:13 +08:00
Jiang Jiang Jian
b12c2646fa
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.3' into 'release/v3.3'
...
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM (v3.3)
See merge request espressif/esp-idf!5617
2019-09-08 23:11:57 +08:00
Jiang Jiang Jian
39ac9cb44b
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.3' into 'release/v3.3'
...
component/bt: fix unpack hci enhance connection complete event error(backport v3.3)
See merge request espressif/esp-idf!5281
2019-09-08 23:11:18 +08:00
Jiang Jiang Jian
64fbce50c2
Merge branch 'bugfix/pm_isr_exit_lock_v3.3' into 'release/v3.3'
...
pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.3)
See merge request espressif/esp-idf!4970
2019-09-08 23:10:02 +08:00
Jiang Jiang Jian
38e2d3bec6
Merge branch 'bugfix/btdm_mem_leak_v3.3' into 'release/v3.3'
...
components/bt: Fix memory leak about rfcomm
See merge request espressif/esp-idf!5622
2019-09-08 23:09:24 +08:00
Angus Gratton
3201333f06
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.3' into 'release/v3.3'
...
flash encryption: Add config option to disable any plaintext reflashes (3.3)
See merge request espressif/esp-idf!5280
2019-09-05 08:00:39 +08:00
Angus Gratton
85a89db863
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.3' into 'release/v3.3'
...
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.
See merge request espressif/esp-idf!5899
2019-09-03 13:36:54 +08:00
Angus Gratton
21a8a9a170
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.3' into 'release/v3.3'
...
esp32: Dis interrupts up to 5 lvl for DPORT (v3.3)
See merge request espressif/esp-idf!5713
2019-09-03 13:34:54 +08:00
wangmengyang
0ce9d2662d
add missing source files to CMakeLists for HFP
2019-09-03 11:51:16 +08:00
Angus Gratton
d4e13c011e
Merge branch 'bugfix/httpd_sess_close_v3.3' into 'release/v3.3'
...
httpd_sess_close: Check for session validity before closing (v3.3)
See merge request espressif/esp-idf!5743
2019-09-03 09:57:37 +08:00
Angus Gratton
f380d72825
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.3' into 'release/v3.3'
...
bugfix(flash): add flash config in app startup (backport v3.3)
See merge request espressif/esp-idf!5928
2019-09-02 08:50:38 +08:00
Jiang Jiang Jian
6ccb4cf5b7
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.3' into 'release/v3.3'
...
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link
See merge request espressif/esp-idf!5872
2019-08-30 19:09:02 +08:00
redchenjs
3451f3526f
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.
...
The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.
2019-08-28 19:24:17 +08:00
Roland Dobai
cc3ba7186f
esp_http_client: fix CI issues & return value
2019-08-28 16:46:04 +05:30
Nguyễn Hồng Quân
7d28c02fd5
Fix: Lost username when setting new URL with a path.
...
Closes https://github.com/espressif/esp-idf/pull/3250
2019-08-28 14:54:59 +05:30
Piyush Shah
1aa2f36dec
httpd_sess_close: Check for session validity before closing
...
If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.
2019-08-28 09:03:55 +00:00
wangmengyang
3becdd7850
components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
...
This patch is to address the CVE-2019-9506 vulnerability.
2019-08-28 08:13:30 +00:00
chenjianqiang
cf2062f1d7
bugfix(flash): add flash config in app startup
...
We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.
These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip
2019-08-27 21:04:36 +08:00
He Yin Ling
a742bad8f3
test: fix nvs compatible case error:
...
nvs compatible test case uses new test env and app. update test config
file.
2019-08-27 02:49:44 +00:00
He Yin Ling
0a609be968
CI: use parallel attribute in CI config file
2019-08-26 10:46:39 +08:00
Konstantin Kondrashov
8fa409a0b5
esp32: Add UTs for DPORT and Hi-interrupt
2019-08-21 09:48:16 +00:00
Konstantin Kondrashov
2e9904556f
esp32: Dis interrupts up to 5 lvl for DPORT
...
Disable interrupts for both DPORT workarounds up to 5 lvl.
Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
2019-08-21 09:48:16 +00:00
Angus Gratton
8e32eb78a4
Update cJSON to v1.7.12
...
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354
2019-08-21 18:55:32 +10:00
Jiang Jiang Jian
148a269808
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.3' into 'release/v3.3'
...
bugfix(flash): improve spi cs timing settings for flash (backport v3.3)
See merge request espressif/esp-idf!5514
2019-08-20 16:33:57 +08:00
Michael (XIAO Xufeng)
7b3bedbc10
sdio_slave: fix the send_flush infinite loop issue
...
Also add some helper functions.
2019-08-20 16:25:58 +08:00
chenjianqiang
4cd7fd89f5
bugfix(flash): add spi dio address bitlen configure in psram init
2019-08-16 07:38:54 +00:00
suda-morris
b482ba117d
efuse: update the scheme of getting chip revision
2019-08-13 15:49:01 +08:00
Angus Gratton
07735424a2
Merge branch 'bugfix/xTaskIncrementTick_v3.3' into 'release/v3.3'
...
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.3)
See merge request espressif/esp-idf!5034
2019-08-13 13:42:26 +08:00
Angus Gratton
f2f5a237c0
Merge branch 'bugfix/gpio_intr_enable_bug_v3.3' into 'release/v3.3'
...
bugfix(GPIO): Fixed GPIO interrupt bug for v3.3
See merge request espressif/esp-idf!5650
2019-08-12 13:00:15 +08:00
Angus Gratton
3991084777
sha: Add fault injection checks reading hash digest state
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:18:23 +10:00
Angus Gratton
088439c634
aes: Add fault injection checks when writing key to hardware
...
Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.
2019-08-11 13:18:23 +10:00
raldone01
02068cf328
newlib: Move _gettimeofday_r call in clock_gettime
...
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789
2019-08-07 20:37:11 +08:00
Angus Gratton
7c5dd19c83
hwcrypto: Add AES fault injection check
...
Hardware AES-CBC performance changes:
Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec
(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)
2019-08-07 16:04:59 +10:00
kooho
0929dbbc9b
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
...
but registers interrupt service routines on another core for release/v3.3
2019-08-06 03:20:11 +00:00
Vikram Dattu
4c27f9ced8
Add mmu pages available check in non-secure image hash check path.
...
Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-08-05 05:34:11 +00:00
Vikram Dattu
b800dfe6f1
Changed log level for spi_master
...
There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-08-05 05:34:11 +00:00
Vikram Dattu
caa1ef0cb6
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
...
When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:
https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-08-05 05:34:11 +00:00
Jiang Jiang Jian
97e7c14f4e
Merge branch 'bugfix/btdm_sleep_twice_v3.3' into 'release/v3.3'
...
bugfix btdm sleep twice after wakeup request
See merge request espressif/esp-idf!5638
2019-08-04 15:51:36 +08:00
Angus Gratton
e8a4e70c42
flash encryption: Add config option to disable any plaintext reflashes
...
Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.
2019-07-30 08:35:30 +00:00
Angus Gratton
6a3e160aaf
test: Set timeout of libsodium ed25519_convert test to 60s
...
Test takes 28s-29s to run in some configs, can fail in CI.
2019-07-30 07:19:54 +00:00
Tian Hao
3ca82d5923
bugfix btdm sleep twice after wakeup request
...
This problem may cause HCI send command timeout.
When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.
2019-07-27 18:07:20 +08:00
Mahavir Jain
6da2bec1e8
esp_event: add missing header include
...
Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.
2019-07-26 16:36:13 +05:30
baohongde
b9f2531e8c
components/bt: Fix memory leak about rfcomm
2019-07-25 16:51:40 +08:00
xiehang
b6e6a4f4b2
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
2019-07-25 14:37:20 +08:00
Jitin George
2d26163019
tcp_transport: Fix case sensitive header comparison
...
Closes https://github.com/espressif/esp-idf/issues/3106
2019-07-21 07:24:11 +00:00
Jitin George
ff2624f09c
esp_http_client: Fix header sent event bug
2019-07-21 07:24:11 +00:00
Angus Gratton
11d141e87d
Merge branch 'bugfix/app_update_tests_v3.3' into 'release/v3.3'
...
app_update: Add [timeout=90] for UTs (v3.3)
See merge request espressif/esp-idf!5564
2019-07-18 18:25:01 +08:00
Jiang Jiang Jian
91f29bef17
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.3' into 'release/v3.3'
...
fix the watchdog bug during WiFi scan and BLE scan(v3.3)
See merge request espressif/esp-idf!5506
2019-07-18 10:44:31 +08:00
KonstantinKondrashov
8ed62223cd
app_update: Add [timeout=90]
2019-07-17 18:52:39 +08:00
Ivan Grokhotkov
de7a50dca0
Merge branch 'bugfix/i2s_apll_clock_fix_v3.3' into 'release/v3.3'
...
driver/i2s: fix apll_clock_rate for different sample rates (v3.3)
See merge request espressif/esp-idf!5448
2019-07-17 14:33:59 +08:00
Angus Gratton
a9eac4a124
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue_v3.3' into 'release/v3.3'
...
spi_flash: fix stale read issue for memory mapped partition (v3.3)
See merge request espressif/esp-idf!5435
2019-07-17 14:26:33 +08:00
zhangyanjiao
2d7124e319
fix the watchdog bug during WiFi scan and BLE scan
2019-07-16 10:31:19 +08:00
chenjianqiang
232408981d
bugfix(flash): improve spi cs timing settings for flash
...
cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)
2019-07-15 14:45:35 +08:00
chenjianqiang
9821e533db
bugfix(flash): fix flash read error in DIO/26MHz mode
2019-07-15 14:26:53 +08:00
Angus Gratton
630ffde6bb
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.3' into 'release/v3.3'
...
bugfix(UART): fixed two UART issues for release/v3.3
See merge request espressif/esp-idf!5481
2019-07-11 14:56:14 +08:00
Mahavir Jain
6af30250a8
spi_flash: add test case for stale read issue on memory mapped partition
2019-07-11 04:23:51 +00:00
Mahavir Jain
30d2f13358
spi_flash: fix stale read issue for memory mapped partition
...
On flash program operation (either erase or write), if corresponding address has
cache mapping present then cache is explicitly flushed (for both pro and app cpu)
Closes https://github.com/espressif/esp-idf/issues/2146
2019-07-11 04:23:51 +00:00
Angus Gratton
dca5ed2263
Merge branch 'bugfix/supplicant_security_fixes_v3.3' into 'release/v3.3'
...
wpa_supplicant: Fix sprintf security bugs. (v3.3)
See merge request espressif/esp-idf!5464
2019-07-10 12:31:37 +08:00
kooho
40171d7307
bugfix(UART): fixed two UART issues:
...
1. uart_wait_tx_done works incorrect when sending a byte of data.
2. uart_set_rx_timeout sets an incorrect rx timeout value when ref_tick is enabled
2019-07-09 14:56:26 +08:00
Angus Gratton
a71fad46d4
Merge branch 'fix/update_curr_page_state_3.3' into 'release/v3.3'
...
nvs_util: Set previous page state to FULL before creating new page (v3.3)
See merge request espressif/esp-idf!5327
2019-07-08 15:19:56 +08:00
Angus Gratton
2c9acce0ff
Merge branch 'bugfix/prov_examples_strlcpy_backport_v3.3' into 'release/v3.3'
...
Various bugfixes in Protocomm / Unified Provisioning (backport v3.3)
See merge request espressif/esp-idf!5369
2019-07-08 14:04:49 +08:00
Sagar Bijwe
8e58b31a69
wpa_supplicant: Fix sprintf security bugs.
...
Revert back to using os_snprintf instead of sprintf.
Closes WIFI-624
2019-07-08 10:39:20 +05:30
Angus Gratton
bf152907a4
Merge branch 'fix/nvs_util_keylen_3.3' into 'release/v3.3'
...
nvs_util: Add check for keylen in input csv (v3.3)
See merge request espressif/esp-idf!5395
2019-07-08 12:59:05 +08:00
Jiang Jiang Jian
47ca5d53df
Merge branch 'feature/config_spi_pins_based_on_efuse_value_v3.3' into 'release/v3.3'
...
feat(psram): config SPI psram pins based on efuse value (backport v3.3)
See merge request espressif/esp-idf!5240
2019-07-08 11:52:24 +08:00
Jiang Jiang Jian
db38c37cf7
Merge branch 'mesh/bugfix_0628_v3.3' into 'release/v3.3'
...
mesh: bugfix (backport 3.3)
See merge request espressif/esp-idf!5438
2019-07-05 22:33:24 +08:00
Anurag Kar
71ce87c79e
protocomm_ble : Bugfix for unbound memcpy on prepare write buffer
...
Closes https://github.com/espressif/esp-idf/issues/3633
2019-07-05 13:20:40 +00:00
Anurag Kar
611c300a92
Protocomm : Minor fixes
...
List of changes:
* protocomm_httpd : Reset session_id static variable on start and stop
* security1 : Typo in checking failed dynamic allocation
2019-07-05 13:20:40 +00:00
Anurag Kar
933674301f
Wi-Fi Provisioning : Bugfix in copying SSID and Passphrase
...
These changes guarantee that the SSID and Passphrase received via protocomm are NULL terminated and size limited to their standard lengths.
List of changes:
* Corrected length of passphrase field in wifi_prov_config_set_data_t structure
* Performing length checks on SSID, passphrase and bssid, when populating wifi_prov_config_set_data_t structure with received credentials
2019-07-05 13:20:40 +00:00
Shivani Tipnis
881cd4310c
nvs_util: Add check for keylen in input csv
2019-07-05 10:52:17 +00:00
Ajita Chavan
13e6e9f592
i2s: test case for variation in apll clock rate
2019-07-04 18:27:12 +05:30
redchenjs
cfc73a6de7
i2s: fix a bug when calculating i2s apll parameters
...
Closes https://github.com/espressif/esp-idf/issues/2634
Closes https://github.com/espressif/esp-idf/issues/3380
Fixes https://github.com/espressif/esp-idf/issues/3407
2019-07-04 18:24:37 +05:30
zhiweijian
62e359a4e1
component/bt: fix rxwinsz assert in ble and wifi coex
2019-07-04 20:12:04 +08:00
Angus Gratton
ab4024c84e
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.3' into 'release/v3.3'
...
bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.3)
See merge request espressif/esp-idf!5289
2019-07-04 13:07:07 +08:00
qiyuexia
f4ee20165e
mesh: bugfix
...
1. resend eb which are pending in g_ic.tx_buf due to channel switch.
2. add lock for mgmg/xon/bcast to protect send from user flush.
3. softap: add check if secondary offset is correct when start softap.
4. softap: in inactive timer handler, add check if child bss is removed to avoid removing it again.
5. disable A-MPDU for non-root.
6. fix reusing a freed eb.
7. fix when node becomes root, it does not record assoc value to nvs.
8. discard unnecessary forwarded group packets.
9. fix toDS state is not updated in time.
10. fix s_sta_cnx_times is not cleared when deinit causes root sends ADD annoucement.
11. root: increase beacon timeout time from 6 seconds to 15 seconds to delay initiation of reconnection.
12. add esp_mesh_get_tsf_time to return TSF time.
13. send the whole routing table multi-times.
14. clear candidate settings if not receive candidate beacon within 8 seconds.
2019-07-03 14:35:57 +08:00
Mahavir Jain
e443467f37
Merge branch 'feature/prov_mgr_backport_v3.3' into 'release/v3.3'
...
Wi-Fi Provisioning Manager (backport v3.3)
See merge request idf/esp-idf!5371
2019-07-02 16:17:23 +08:00
chenjianqiang
a6f990ffb9
bugfix(flash): improve flash dio read timing
...
When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).
2019-07-02 14:25:27 +08:00
chenjianqiang
43561a40d2
bugfix(psram): make sure the psram_io struct is initialized and make unknown psram package version more obvious
2019-07-02 14:15:55 +08:00
chenjianqiang
55f5c2e08d
feat(psram): config SPI psram pins based on efuse value
2019-07-02 14:15:55 +08:00
Angus Gratton
e4418f4f92
Merge branch 'feature/upgrade_mbedtls_to_v2.16.1_v3.3' into 'release/v3.3'
...
mbedtls: upgrade to v2.16.2 release (v3.3)
See merge request idf/esp-idf!5377
2019-07-02 08:42:50 +08:00
Shivani Tipnis
2073a6e738
nvs_util: Set previous page state to FULL before creating new page
2019-06-30 10:55:08 +00:00
Anurag Kar
95b72a96f8
HTTP Server : Close new session immediately if open_fn fails
...
open_fn() was introduced in the context of HTTPS server, as a configurable callback function that is called by the HTTP server, on every newly created socket. It is responsible of allocating resources for per session transport security.
Earlier, if open_fn were to fail, the newly created socket would be closed by the server but the corresponding entry, for the now invalid socket, will remain in the internal socket database until that invalid socket is detected due to error when calling select(). Because of this delayed closing of sockets, the HTTPS server would quickly face shortage of available sessions when a lot of SSL handshake errors are happening (this typically occurs when a browser finds that the server certificate is self signed). This changes in this MR fix this issue by clearing up the socket from internal database, right after open_fn fails.
Closes https://github.com/espressif/esp-idf/issues/3479
2019-06-28 10:11:26 +00:00
Anurag Kar
2617dee69f
wifi_prov_mgr : Free memory allocated by cJSON_Print
2019-06-28 07:49:03 +00:00
Anurag Kar
f94db7bba7
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
...
List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint
List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
* get_version() : only returns the protocol version string
* has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present
Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan
2019-06-28 07:49:03 +00:00
Anurag Kar
536b2d8a65
wifi_provisioning : Wi-Fi Provisioning Manager added
2019-06-28 07:49:03 +00:00
Angus Gratton
8a5c712730
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.3' into 'release/v3.3'
...
mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.3)
See merge request idf/esp-idf!5354
2019-06-28 08:31:53 +08:00
Mahavir Jain
2287c28b41
mbedtls: upgrade to v2.16.2 release
...
For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.2
2019-06-27 16:56:00 +05:30
Angus Gratton
129ac11c31
Merge branch 'refactor/power_management_v3.3' into 'release/v3.3'
...
power_management: Using port*_CRITICAL_ISR to be consistent with FreeRTOS (backport v3.3)
See merge request idf/esp-idf!5079
2019-06-26 14:33:19 +08:00
Konstantin Kondrashov
166918e802
mbedtls: Add UTs for modexp
2019-06-26 14:19:40 +08:00
Konstantin Kondrashov
4b028cca86
mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()
...
Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.
Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
2019-06-26 14:19:40 +08:00
Chen Sheng
dc9c2f3b60
test: modify test cases for bluedroid (backport v3.3)
2019-06-25 23:18:34 +08:00
Sachin Parekh
ae1389afd9
unit-test-app: freertos_compliance config added
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
f73c972280
power_management: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
378a5b159a
intr_alloc: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
2ef218059b
crosscore_init: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
28a8349fb8
timer: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
4acc941c3d
rtc_module: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
4ae01f0c9d
rmt: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
2c4e0cf878
periph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance
...
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
Sachin Parekh
4b739249c2
freertos: port*_CRITICAL_SAFE API added
...
port*_CRITICAL_SAFE API calls port*_CRITICAL or port*_CRITICAL_ISR
depending on the context (Non-ISR or ISR respectively).
FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE Kconfig option added
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
2019-06-25 04:33:32 +00:00
zhiweijian
0e022b7db9
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 03:23:59 +00:00
Angus Gratton
9185c370dc
Merge branch 'bugfix/spi_concurrency_3.3' into 'release/v3.3'
...
spi: fix a possible concurrency issue (port to v3.3)
See merge request idf/esp-idf!5279
2019-06-21 13:21:44 +08:00
He Yin Ling
890a341db4
Merge branch 'test/fix_some_error_wifi_cases_v3.3' into 'release/v3.3'
...
test: fix some wifi case issues (backport v3.3)
See merge request idf/esp-idf!5255
2019-06-20 22:10:32 +08:00
Jiang Jiang Jian
f60acb2196
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.3' into 'release/v3.3'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.3)
See merge request idf/esp-idf!4825
2019-06-19 14:47:31 +08:00
Michael (XIAO Xufeng)
1d2a9efa55
spi: fix a possible concurrency issue
2019-06-19 12:44:24 +08:00
Angus Gratton
b63be2e08e
Merge branch 'bugfix/remove_secure_boot_test_mode_bp3.3' into 'release/v3.3'
...
remove secure boot test mode (Backport v3.3)
See merge request idf/esp-idf!5258
2019-06-17 10:34:12 +08:00
hemal.gujarathi
6cf4e14671
remove secure boot test mode
2019-06-14 14:37:02 +05:30
Angus Gratton
39f7d1ad0b
Merge branch 'bugfix/spiflash_kconfig_v3.3' into 'release/v3.3'
...
spi_flash: Fix Kconfig indentation (v3.3)
See merge request idf/esp-idf!5232
2019-06-14 16:44:31 +08:00
He Yin Ling
d3a29c2d08
test: fix some wifi case issues:
...
* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue
2019-06-14 14:57:55 +08:00
xueyunfei
b908d4325b
lwip:fix dns bug for 3.3
2019-06-13 19:36:55 +08:00
Roland Dobai
60b937b5ca
spi_flash: Fix Kconfig indentation
...
Closes https://github.com/espressif/esp-idf/issues/3598
2019-06-13 07:55:40 +02:00
baohongde
2ee0f98d05
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:49:28 +08:00
Jiang Jiang Jian
f83296e448
Merge branch 'bugfix/fix_some_wps_bugs_v3.3' into 'release/v3.3'
...
wps: add overlap event (backport v3.3)
See merge request idf/esp-idf!5112
2019-06-12 14:36:02 +08:00
Angus Gratton
fb6f343ce5
Merge branch 'protocomm_ble_128bit_uuid_v3.3' into 'release/v3.3'
...
protocomm_ble : Fix support for custom service UUIDs (backport v3.3)
See merge request idf/esp-idf!5017
2019-06-07 07:47:19 +08:00
Angus Gratton
a219e9f819
Merge branch 'bugfix/reset_log_uart_port_v3.3' into 'release/v3.3'
...
esp32: Add reset CONSOLE_UART port (v3.3)
See merge request idf/esp-idf!5120
2019-06-06 15:47:17 +08:00
xiehang
cf3647fe40
wps: add overlap event (backport v3.3)
...
modify some header files to be consistent with vnc
2019-06-06 13:33:03 +08:00
Konstantin Kondrashov
d54fadef41
freertos/test: Add unit tests for xTaskIncrementTick
2019-06-05 10:22:48 +00:00
Konstantin Kondrashov
3b4353da5d
freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1
...
xTaskIncrementTick have to unwind uxPendedTicks on CPU1 and CPU0.
Use case: If an erase operation was run on the CPU1 then it leads
to starving other tasks which waiting time. Waited tasks just skipped.
Closes: https://github.com/espressif/esp-idf/issues/1952
Closes: IDF-183
2019-06-05 10:22:48 +00:00
Konstantin Kondrashov
1db04ae574
esp32: Add reset uart
...
Fixed the case when the first part of log was missed
this was happened when:
* CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
* The selected CONSOLE_UART port is used also for the console component
* in code esp_restart() or abort() functions were called.
2019-06-04 20:15:35 +08:00
liu zhifu
6d4adb46f3
esp_wifi/lwip: support TCP window scale
...
Support enable/disable TCP Window scale feature via menuconfig
2019-06-04 14:03:37 +08:00
Angus Gratton
e681f449bc
Merge branch 'bugfix/httpd_log_purge_v3.3' into 'release/v3.3'
...
esp_http_server : Logging of purged data to monitor made configurable (backport v3.3)
See merge request idf/esp-idf!5015
2019-06-04 13:28:27 +08:00
Angus Gratton
f3725a7821
Merge branch 'bugfix/https_doc_api_v3.3' into 'release/v3.3'
...
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.3)
See merge request idf/esp-idf!5013
2019-06-04 06:54:22 +08:00
Jiang Jiang Jian
34f6773471
Merge branch 'bugfix/wpa2_ent_vulnerability_v3.3' into 'release/v3.3'
...
esp32: fix wpa2 enterprise vulnerability issues (backport v3.3)
See merge request idf/esp-idf!5107
2019-06-03 21:58:19 +08:00
Anurag Kar
d0e7fd4369
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
...
Closes https://github.com/espressif/esp-idf/issues/3374
2019-06-03 08:35:03 +00:00
Anurag Kar
bc83d470e3
protocomm_ble : Fixed custom service UUID support
...
List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names
2019-06-03 08:26:48 +00:00
Angus Gratton
a298d32d65
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.3' into 'release/v3.3'
...
bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.3)
See merge request idf/esp-idf!5031
2019-06-03 14:31:27 +08:00
Anurag Kar
172a216edb
esp_http_server : Logging of purged data to monitor made configurable
...
List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex
Closes https://github.com/espressif/esp-idf/issues/3359
2019-06-03 05:51:14 +00:00
liu zhifu
676a27c7cf
esp32: fix wpa2 enterprise vulnerability issues
...
Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
2019-05-30 21:23:01 +08:00
Konstantin Kondrashov
33121c3311
soc: Add some headers into gpio_periph.h
2019-05-29 13:37:22 +08:00
Konstantin Kondrashov
38509b2b95
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)
...
The RXD pin is assigned as input (fix for custom uart option).
Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
2019-05-28 12:44:41 +00:00
Renz Christian Bagaporo
8c363321db
cmake: fix custom bootloader issue
...
Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.
2019-05-27 17:00:23 +08:00
zhangyanjiao
7200b8bf77
wifi bugfixs:
...
1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc
2019-05-24 11:31:24 +08:00
Jiang Jiang Jian
fa1e983028
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.3' into 'release/v3.3'
...
esp32: fix some WiFi bugs 0508 (backport v3.3)
See merge request idf/esp-idf!4965
2019-05-23 17:55:12 +08:00
Angus Gratton
71e344da20
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.3' into 'release/v3.3'
...
add promiscuous mode control for Ethernet (v3.3)
See merge request idf/esp-idf!4975
2019-05-23 14:24:07 +08:00
liu zhifu
620bba3a66
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog
2019-05-22 22:22:21 +08:00
xiehang
5c42c831f5
wifi: fix softap crash when sta reset (backport v3.3)
2019-05-20 20:47:47 +08:00
Angus Gratton
0d5609ba92
Merge branch 'bugfix/esp_efuse_fields_unused_variable_v3.3' into 'release/v3.3'
...
efuse: Fix unused variable warning when NDEBUG (v3.3)
See merge request idf/esp-idf!4956
2019-05-20 12:24:19 +08:00
Angus Gratton
e209307297
Merge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'
...
newlib: Fix adjtime (v3.3)
See merge request idf/esp-idf!4870
2019-05-15 15:44:33 +08:00
Angus Gratton
4ac347b295
Merge branch 'bugfix/select_init_sem_v3.3' into 'release/v3.3'
...
VFS: Allocate socket select semaphore outside ISR
See merge request idf/esp-idf!4660
2019-05-13 12:31:00 +08:00
Angus Gratton
31c94b25c5
Merge branch 'feature/update_cjson_lib_to_1.7.11_v3.3' into 'release/v3.3'
...
cJSON: update to v1.7.11 (v3.3)
See merge request idf/esp-idf!4971
2019-05-10 22:02:31 +08:00
suda-morris
5b8d1c9da3
add promiscuous mode control in emac driver
...
1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver
2019-05-10 12:56:24 +08:00
Angus Gratton
532c8847c7
Merge branch 'bugifx/httpd_reuseaddr_backport_v3.3' into 'release/v3.3'
...
esp_http_server : Allow binding to same address and port upon restarting server without delay (backport v3.3)
See merge request idf/esp-idf!4939
2019-05-10 10:45:55 +08:00
suda-morris
6dc31101ce
cJSON: update to v1.7.11
...
Closes https://github.com/espressif/esp-idf/issues/3332
2019-05-10 10:26:04 +08:00
Ivan Grokhotkov
c763b8089c
pm: prevent interrupt nesting during esp_pm_impl_isr_hook
...
Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110 ,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.
Closes https://github.com/espressif/esp-idf/issues/3057
2019-05-10 10:21:21 +08:00