Shubham Kulkarni
afb8064a29
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 18:00:19 +05:30
Jiang Jiang Jian
1a657c255c
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.3' into 'release/v3.3'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6726
2019-12-22 21:37:00 +08:00
Jiang Jiang Jian
c5d79efcc5
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v3.3' into 'release/v3.3'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.3)
See merge request espressif/esp-idf!5988
2019-12-22 19:21:18 +08:00
baohongde
83184631a4
components/bt: Disable some unsupported security mask
2019-12-22 08:56:18 +00:00
Angus Gratton
c3571e97cb
Merge branch 'bugfix/config_assert_thread_safety_backport_v3.3' into 'release/v3.3'
...
freertos: Fix configASSERT thread safety (backport v3.3)
See merge request espressif/esp-idf!6660
2019-12-20 13:26:30 +08:00
Jiang Jiang Jian
54c1882b99
Merge branch 'bugfix/put_more_rx_code_to_iram_v3.3' into 'release/v3.3'
...
wifi: Put some rx code to iram (backportv3.3)
See merge request espressif/esp-idf!6647
2019-12-18 16:39:48 +08:00
Mahavir Jain
1d70441bdc
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-12-18 06:49:59 +00:00
Darian Leung
2c96976b13
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-12-18 06:49:59 +00:00
Geng Yu Chao
db8bcc60f9
Bugfix/btdm fix doc and host bug backport v3.3
2019-12-18 14:19:13 +08:00
xiehang
b764454e52
esp_wifi:Put some rx code to iram
2019-12-17 12:55:47 +00:00
Jiang Jiang Jian
de9fd03b3e
Merge branch 'bufgix/esp_timer_set_alarm_v3.3' into 'release/v3.3'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v3.3)
See merge request espressif/esp-idf!6997
2019-12-16 19:40:52 +08:00
Jiang Jiang Jian
97dba89daf
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.3' into 'release/v3.3'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6884
2019-12-16 14:07:20 +08:00
Angus Gratton
88cf7ed87e
Merge branch 'bugfix/wifi_internal_memory_v3.3' into 'release/v3.3'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v3.3)
See merge request espressif/esp-idf!6628
2019-12-16 13:39:43 +08:00
Jiang Jiang Jian
82f1be5e5a
Merge branch 'bugfix/hfp_client_indication_v3.3' into 'release/v3.3'
...
component/bt: Fix bugs in HFP feature v3.3
See merge request espressif/esp-idf!6852
2019-12-16 11:32:10 +08:00
Jiang Jiang Jian
ce9ec29737
Merge branch 'bugfix/http_client_buffer_overflow_v3.3' into 'release/v3.3'
...
Fix HTTP client buffer overflow (v3.3)
See merge request espressif/esp-idf!6667
2019-12-16 11:31:55 +08:00
Jiang Jiang Jian
7b73cf613c
Merge branch 'component_bt/osi_fixed_queue_v3.3' into 'release/v3.3'
...
component_bt/: Fix_pointer_type_fixed_queue v3.3
See merge request espressif/esp-idf!6847
2019-12-16 11:31:24 +08:00
Angus Gratton
762a9fe83f
Merge branch 'bugfix/hide_unsupported_cmake_features_v3.3' into 'release/v3.3'
...
security: Hide Secure Boot & Flash Encryption config items when using CMake
See merge request espressif/esp-idf!6899
2019-12-16 11:17:49 +08:00
KonstantinKondrashov
d071cd11c8
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:38:30 +08:00
Angus Gratton
876ac4e963
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
Angus Gratton
6231961683
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
KonstantinKondrashov
32ec2750e0
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2019-12-12 14:43:44 +08:00
Roland Dobai
bcbc4a9599
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:21:29 +01:00
Xia Xiaotian
19913cec43
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-04 04:19:58 +00:00
Jiang Jiang Jian
bf80d8211e
Merge branch 'bugfix/phy_critical_v3.3' into 'release/v3.3'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6866
2019-12-04 11:27:28 +08:00
Angus Gratton
46a7409965
security: Hide Secure Boot & Flash Encryption config items when using CMake
...
These features are not supported in the CMake build system preview, but previously
had to read the notice in the CMake Getting Started guide to know this.
Related to https://github.com/espressif/esp-idf/issues/4419
2019-12-04 11:00:06 +11:00
Prasad Alatkar
86c4d8737e
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (v3.3)
2019-12-03 02:17:34 +08:00
weitianhua
3ceae811be
adaptation for nano-format
2019-11-29 17:55:22 +08:00
weitianhua
8977e92b4c
component_bt/:bugfix_hfp_client_indication_define_and_cnum_error
2019-11-29 16:22:34 +08:00
baohongde
42b2524776
components/bt: Fix AVRC metadata length error
2019-11-29 15:56:51 +08:00
Tian Hao
8ffe0ff357
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing critical sections, such like
operating on I2C, but it may not effect when both the CPU core call it. It may cause accessing
I2C blocking and cannot recover by esp_restart(), until do HW reboot.
2019-11-28 17:12:07 +08:00
Jiang Jiang Jian
faf96bd108
Merge branch 'bugfix/btdm_run_out_of_frame_element_v3.3' into 'release/v3.3'
...
components/bt: Fix assert due to no free element form
See merge request espressif/esp-idf!6701
2019-11-27 22:22:33 +08:00
weitianhua
97b43b4054
component_bt/: Fix pointer type in fixed_queue
2019-11-27 16:09:44 +08:00
Angus Gratton
8225cc75df
Merge branch 'bugfix/i2s-bootloader-random-disable_v3.3' into 'release/v3.3'
...
bugfix(bootloader): fix bug about i2s bootloader_random_disable for release/v3.3
See merge request espressif/esp-idf!6601
2019-11-26 14:37:53 +08:00
Jiang Jiang Jian
0d6cae963b
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.3' into 'release/v3.3'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.3)
See merge request espressif/esp-idf!6768
2019-11-25 11:05:38 +08:00
Angus Gratton
3a94beeb5b
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.3' into 'release/v3.3'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.3)
See merge request espressif/esp-idf!6604
2019-11-21 19:58:24 +08:00
KonstantinKondrashov
51d2d9041c
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-20 15:49:13 +08:00
Jack
5a6ac7f32f
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-20 04:17:41 +00:00
David Cermak
40d5f61c4d
http_client: added comments to http header generation function
2019-11-19 14:07:38 +00:00
David Cermak
b7a9f5e115
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-19 14:07:38 +00:00
Shubham Kulkarni
0f3f7d984a
Fixed warnings for components driver, esp32 and mbedtls
2019-11-19 15:04:01 +05:30
Angus Gratton
efdddbb253
Merge branch 'fix/ci_ut_psram_wroverb_v3.3' into 'release/v3.3'
...
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM (backport v3.3)
See merge request espressif/esp-idf!6594
2019-11-19 12:07:23 +08:00
Jiang Jiang Jian
51a49a861a
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v3.3' into 'release/v3.3'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6535
2019-11-14 20:12:31 +08:00
Michael (XIAO Xufeng)
9b34085053
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-14 08:35:05 +00:00
baohongde
0f7dc2ec02
components/bt: Fix assert due to no free element form
2019-11-14 15:51:39 +08:00
ronghulin
92c8fd24bb
lwip: fix DHCP timeout truncation bug
2019-11-12 13:06:55 +08:00
Angus Gratton
2aa255c875
Merge branch 'bugfix/can_critical_section_compliance_backport_v3.3' into 'release/v3.3'
...
CAN: Fix critical section compliance (backport v3.3)
See merge request espressif/esp-idf!6567
2019-11-08 16:52:33 +08:00
Chen Zheng Wei
bc1d87a846
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v3.3
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 16:58:56 +08:00
Nachiket Kukade
d65086d8ab
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.3)
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-11-04 07:05:36 +00:00
Darian Leung
0caa96584c
CAN: Fix critical section compliance
...
This commit makes the CAN driver ISR use the ISR version
of critical section.
2019-11-01 12:05:12 +08:00
Jiang Jiang Jian
0d1c490a7c
Merge branch 'bugfix/coex_fix_some_bugs_v3.3' into 'release/v3.3'
...
Coexist: fix some coexist bugs (backportv3.3)
See merge request espressif/esp-idf!6435
2019-10-30 16:39:20 +08:00
Jiang Jiang Jian
dbd2cd2f7a
Merge branch 'bugfix/jump_time_54_sec_v3.3' into 'release/v3.3'
...
esp_timer: Fix time jumps back ~ 54sec (v3.3)
See merge request espressif/esp-idf!6468
2019-10-30 16:25:35 +08:00
Angus Gratton
34b14ddf5b
Merge branch 'bugfix/remove_mbedtls_would_block_v33' into 'release/v3.3'
...
Remove check for would_block in mbedtls (Backport v3.3)
See merge request espressif/esp-idf!6398
2019-10-30 11:58:09 +08:00
Xia Xiaotian
9592346090
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to make
MDNS test pass.
2. Improve stability of WiFi performance with a little
sacrifice of throughput.
3. Improve BLE advertising and connection performance with dynamic
priority. It sacrifices a little WiFi throughput, but achieves balance
between WiFi and Bluetooth.
4. fix bug bb reset lock flag to avoid bb reset lock unhandle
5. fix bug wifi reset mac cause task watch dog timeout
6. fix bug wifi reset mac position
2019-10-29 17:18:12 +00:00
KonstantinKondrashov
696d6867b4
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-29 17:17:26 +00:00
KonstantinKondrashov
f52b877199
esp32: Add UTs to check the System time does not jump back
2019-10-29 17:17:26 +00:00
Ivan Grokhotkov
a179125fd3
esp_timer: handle esp_timer_delete in timer task
...
Closes https://github.com/espressif/esp-idf/issues/3458
2019-10-29 17:17:26 +00:00
Jiang Jiang Jian
1dd8411e04
Merge branch 'bugfix/coex_semaphore_take_in_isr_lock_v3.3' into 'release/v3.3'
...
fix bug that semaphore may schedule out in ISR locking (v3.3)
See merge request espressif/esp-idf!6427
2019-10-30 00:49:42 +08:00
Jiang Jiang Jian
e6a71fe29c
Merge branch 'bugfix/btdm_disable_bt_gatt_v3.3' into 'release/v3.3'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6506
2019-10-30 00:48:14 +08:00
Jiang Jiang Jian
efe8490623
Merge branch 'bugfix/mdns_invalid_hostname_queries_v3.3' into 'release/v3.3'
...
mdns: fix crash for hostname queries (bacport v3.3)
See merge request espressif/esp-idf!6502
2019-10-30 00:27:19 +08:00
baohongde
c570e253fe
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 20:04:15 +08:00
Marius Vikhammer
7b7f597cb4
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-10-29 10:49:45 +00:00
wangmengyang
3a5249aea9
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-10-29 10:14:19 +00:00
baohongde
28c19e623f
components/bt: Disable BR/EDR GATT
2019-10-29 10:10:52 +00:00
Tian Hao
cabe66195c
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-29 14:43:00 +08:00
Jiang Jiang Jian
f0855c85ad
Merge branch 'bugfix/can_reset_mode_entry_backport_v3.3' into 'release/v3.3'
...
Bugfix/can reset mode entry backport v3.3
See merge request espressif/esp-idf!6513
2019-10-29 14:41:52 +08:00
Angus Gratton
569334267f
Merge branch 'feature/can_support_low_bit_rates_backport_v3.3' into 'release/v3.3'
...
can: Add support for lower bit rates (backport v3.3.1)
See merge request espressif/esp-idf!6391
2019-10-29 14:36:19 +08:00
Jiang Jiang Jian
b90f32bffb
Merge branch 'bugfix/multi_heap_printf_backport_v3.3' into 'release/v3.3'
...
heap: Fix printf usage in heap poisoning (backport v3.3)
See merge request espressif/esp-idf!6091
2019-10-29 12:07:30 +08:00
Darian Leung
bf877941c4
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-28 14:47:32 +08:00
Darian Leung
f9a51fc784
can: Add support for lower bit rates
...
This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.
2019-10-28 13:10:00 +08:00
Jiang Jiang Jian
365c336a98
Merge branch 'feature/esptool_v2.8_v3.3' into 'release/v3.3'
...
esptool: Bump to v2.8 release (v3.3)
See merge request espressif/esp-idf!6461
2019-10-25 11:37:08 +08:00
Angus Gratton
95c768165f
Merge branch 'bugfix/select_with_sdmmc_mount_v3.3' into 'release/v3.3'
...
VFS: Fix bug which occurs when driver is installed during a select() call (v3.3)
See merge request espressif/esp-idf!6430
2019-10-24 11:28:14 +08:00
Angus Gratton
12f2ae47c6
Merge branch 'bugfix/mqtt_disconnect_crash_3.3' into 'release/v3.3'
...
mqtt: referenced esp-mqtt master to close disconnection issues (Backport 3.3)
See merge request espressif/esp-idf!5883
2019-10-24 10:47:27 +08:00
Angus Gratton
fc6b44f500
esptool: Bump to v2.8 release
2019-10-23 09:08:34 +11:00
Darian Leung
adcf95dc9f
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-10-22 12:01:24 +00:00
Roland Dobai
e5ee10e89f
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-22 10:15:21 +02:00
Angus Gratton
c9f1cb2f4c
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.3' into 'release/v3.3'
...
driver: Fix ticks_to_wait for uart and i2c (v3.3)
See merge request espressif/esp-idf!5247
2019-10-22 13:18:24 +08:00
David Cermak
9e62340897
mqtt: referenced esp-mqtt master to fix disconnect issues
...
and updates doxygen macros to have mqtt docs correctly documented
Backport of 6289a26596
2019-10-21 12:56:18 +00:00
Jiang Jiang Jian
f451efd1d0
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.3' into 'release/v3.3'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.3)
See merge request espressif/esp-idf!6394
2019-10-21 20:15:52 +08:00
Jiang Jiang Jian
f490eda68c
Merge branch 'bugfix/can_driver_assertions_v3.3' into 'release/v3.3'
...
drivers/can: fix skipped function calls when assertions disabled (backport v3.3)
See merge request espressif/esp-idf!6406
2019-10-21 20:12:54 +08:00
Konstantin Kondrashov
f2dfb0cf70
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-10-21 07:32:25 +00:00
Konstantin Kondrashov
03aef3c087
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-10-21 07:32:25 +00:00
Angus Gratton
9a6526554d
Merge branch 'bugfix/ut_pre_read_DPORT_and_hi_interrupt' into 'release/v3.3'
...
esp32: Fix UT - Check pre-read workaround DPORT and Hi-interrupt
See merge request espressif/esp-idf!6240
2019-10-21 15:10:14 +08:00
Roland Dobai
8d4e1c0616
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-21 08:22:12 +02:00
Jiang Jiang Jian
4e27cbb89f
Merge branch 'feature/esp_https_ota_improvements' into 'release/v3.3'
...
esp_https_ota: component refactoring, bugfixes and feature additions (backport v3.3)
See merge request espressif/esp-idf!6047
2019-10-21 10:40:37 +08:00
Jiang Jiang Jian
b51f89d827
Merge branch 'bugfix/freemodbus_fix_read_coils_event_v3_3' into 'release/v3.3'
...
freemodbus: fix incorrectly set coils read event backport v3.3
See merge request espressif/esp-idf!4793
2019-10-21 10:38:39 +08:00
Ajita Chavan
622842a983
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 15:01:46 +08:00
Jiang Jiang Jian
2bcb02795e
Merge branch 'Bugfix/IPV6_multicast_adress_error' into 'release/v3.3'
...
fix ipv6 bug that input the wrong broadcast address to return OK
See merge request espressif/esp-idf!6205
2019-10-18 18:37:25 +08:00
Ivan Grokhotkov
fd22441494
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-18 11:27:27 +02:00
Kedar Sovani
8f048ffddc
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-10-18 14:21:35 +05:30
Jiang Jiang Jian
3e3ce3da81
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.3' into 'release/v3.3'
...
esp32: fix some WiFi bugs 1009 (backport v3.3)
See merge request espressif/esp-idf!6298
2019-10-18 14:25:13 +08:00
Angus Gratton
0a0f2caa1d
Merge branch 'bugfix/reset_periph_modules_v3.3' into 'release/v3.3'
...
driver: Add a reset before enabling if a module is off (v3.3)
See merge request espressif/esp-idf!6016
2019-10-18 13:35:09 +08:00
Prasad Alatkar
3545b58986
NimBLE: Port NimBLE stack to IDF Release v3.3 (Backport v3.3)
...
Includes all the latest NimBLE stack changes from idf-v4.0 with few idf-v3.3
specific modifications.
- Addition of nimble component as submodule (`nimble-1.1.0-idf-v3.3`), contains
IDF v3.3 specific minor changes.
- Example applications are identical to idf-v4.0
- Modification in `bt/Kconfig` to accommodate NimBLE as a BT host.
2019-10-18 13:23:24 +08:00
Angus Gratton
9f10f684d3
Merge branch 'feature/handle_icy_uris_v33' into 'release/v3.3'
...
Modified http_parser to handle ICY uris (Backport v3.3)
See merge request espressif/esp-idf!6325
2019-10-17 13:58:05 +08:00
Angus Gratton
5d750fb8ce
Merge branch 'bugfix/ut_adjtime_v3.3' into 'release/v3.3'
...
newlib: Fix UT - test time adjustment happens linearly (v3.3)
See merge request espressif/esp-idf!6349
2019-10-16 20:54:06 +08:00
Ivan Grokhotkov
6f8f39a2e5
Merge branch 'docs/update_bootloader_chip_revision_print_v3.3' into 'release/v3.3'
...
bootloader_support: fix logging prints around chip revision (v3.3)
See merge request espressif/esp-idf!6337
2019-10-16 16:07:35 +08:00
xueyunfei
6c60d3ef29
fix ipv6 bug that input the wrong broadcast address to return OK
2019-10-15 09:40:57 +00:00
Angus Gratton
ecaf8a7a61
Merge branch 'feature/sntp_cb_function_v3.3' into 'release/v3.3'
...
sntp: Add some modes for time synchronization (backport v3.3)
See merge request espressif/esp-idf!6190
2019-10-15 14:11:43 +08:00
Jiang Jiang Jian
e524b4b1fd
Merge branch 'feature/add_psram_workaround_option_3.3' into 'release/v3.3'
...
make psram workaround depend on chip revison (v3.3)
See merge request espressif/esp-idf!6303
2019-10-14 21:45:07 +08:00
Kerry Jones
40cce58a52
lwip/sntp: Added extern "C"
...
so that sntp_set_time_sync_notification_cb can be used from c++
Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3700
2019-10-14 07:09:28 +00:00
Konstantin Kondrashov
c50d44e66e
sntp/lwip: Add SNTP_UPDATE_DELAY option in Kconfig
...
Closes: https://github.com/espressif/esp-idf/issues/2277
Closes: IDFGH-337
2019-10-14 07:09:28 +00:00
Konstantin Kondrashov
07a3eca372
sntp/lwip: Add some modes for time synchronization
...
Closes: IDF-236
Closes: https://github.com/espressif/esp-idf/pull/1668
Closes: https://github.com/espressif/esp-idf/pull/4103
2019-10-14 07:09:28 +00:00
KonstantinKondrashov
5ba3b8c587
newlib: Fix UT - test time adjustment happens linearly
2019-10-14 14:52:24 +08:00
Angus Gratton
c286416762
Merge branch 'bugfix/read_binary_image_header_via_cache_in_cpu_start_v3.3' into 'release/v3.3'
...
esp32: cpu_start: read binary image header via cache (backport v3.3)
See merge request espressif/esp-idf!6076
2019-10-14 11:31:19 +08:00
Mahavir Jain
b5aa65c136
bootloader_support: fix logging prints around chip revision
2019-10-13 11:58:29 +05:30
ganeshlandge
61486620c7
fixes : set_url discards username and password
2019-10-12 10:50:27 +05:30
liu zhifu
396f477972
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug that wpa2 enterprise sta can connect open AP
2. Fix TKIP/CCMP PN replay attack detection bug
3. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
4. Avoid recalculating PMK if esp_wifi_set_config() is not called
5. Fix the bug that scan done leads to crash because of uint8 overflow
6. Fix 5.5M signal test bug
2019-10-12 10:38:44 +08:00
Konstantin Kondrashov
2165154c04
rmt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
46e918cfa1
pcnt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
051d2fbdd5
sdmmc_host/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
41f91d3ef6
i2s/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
ffce53449b
can/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
7314f44b13
uart/driver: Add module reset before enabling
...
This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.
Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
2019-10-11 19:13:44 +08:00
Vikram Dattu
4936110591
Modified http_parser to handle ICY uris.
...
ICY URIs e.g `http://uk1.internet-radio.com/proxy/vombat?mp=/ ;` need to
be handled differently.
For basic use case, these URIs are similar to HTTP with exception that they reply with `ICY 200` etc in place of `HTTP/1.1 200`.
In http_parser, we now also parse ICY URIs to be able to handle these similar to HTTP.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-10-11 16:26:42 +05:30
Angus Gratton
af9472bb7a
Merge branch 'bugfix/add_kconfig_help_for_eth_gpio0_output_mode' into 'release/v3.3'
...
ethernet: add kconfig help for GPIO0 output mode
See merge request espressif/esp-idf!6114
2019-10-11 12:57:54 +08:00
Mahavir Jain
d190c53ec8
Merge branch 'power_management/i2s+i2c-v3.3' into 'release/v3.3'
...
Power management/i2s+i2 (Backport v3.3)
See merge request espressif/esp-idf!6002
2019-10-11 11:30:39 +08:00
suda-morris
b3720f80c7
make psram workaround depend on chip revison
...
Since ESP32 revision 3, the PSRAM workaround is not needed.
2019-10-10 11:38:14 +08:00
Angus Gratton
8147d48ec8
Merge branch 'feature/add_chip_revision_to_image_header_v3.3' into 'release/v3.3'
...
Add chip revision into image header (v3.3)
See merge request espressif/esp-idf!6128
2019-10-10 11:24:00 +08:00
Angus Gratton
8466b8d6d3
Merge branch 'bugfix/event_minor_leak_v3.3' into 'release/v3.3'
...
esp_event: fix minor memory leak when overwriting already registered handler (v3.3)
See merge request espressif/esp-idf!5132
2019-10-10 11:05:41 +08:00
Angus Gratton
6e47143dc5
Merge branch 'bugfix/malloc_warnings_event_loop_3.3' into 'release/v3.3'
...
esp_event: fix possible malloc free issues found by static analyzer (Backport 3.3)
See merge request espressif/esp-idf!5884
2019-10-10 11:04:00 +08:00
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