]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agonewlib: Fix UT - test time adjustment happens linearly
KonstantinKondrashov [Mon, 30 Sep 2019 19:05:03 +0000 (03:05 +0800)]
newlib: Fix UT - test time adjustment happens linearly

5 years agoMerge branch 'bugfix/read_binary_image_header_via_cache_in_cpu_start_v3.3' into ...
Angus Gratton [Mon, 14 Oct 2019 03:31:19 +0000 (11:31 +0800)]
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

5 years agoMerge branch 'bugfix/set_url_discards_username_password_v3.3' into 'release/v3.3'
Mahavir Jain [Sun, 13 Oct 2019 16:52:22 +0000 (00:52 +0800)]
Merge branch 'bugfix/set_url_discards_username_password_v3.3' into 'release/v3.3'

fixes : set_url discards username and password (v3.3)

See merge request espressif/esp-idf!6334

5 years agofixes : set_url discards username and password
ganeshlandge [Mon, 5 Aug 2019 08:57:48 +0000 (14:27 +0530)]
fixes : set_url discards username and password

5 years agoMerge branch 'bugfix/add_kconfig_help_for_eth_gpio0_output_mode' into 'release/v3.3'
Angus Gratton [Fri, 11 Oct 2019 04:57:54 +0000 (12:57 +0800)]
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

5 years agoMerge branch 'power_management/i2s+i2c-v3.3' into 'release/v3.3'
Mahavir Jain [Fri, 11 Oct 2019 03:30:39 +0000 (11:30 +0800)]
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

5 years agoMerge branch 'feature/add_chip_revision_to_image_header_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 10 Oct 2019 03:24:00 +0000 (11:24 +0800)]
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

5 years agoMerge branch 'bugfix/event_minor_leak_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 10 Oct 2019 03:05:41 +0000 (11:05 +0800)]
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

5 years agoMerge branch 'bugfix/malloc_warnings_event_loop_3.3' into 'release/v3.3'
Angus Gratton [Thu, 10 Oct 2019 03:04:00 +0000 (11:04 +0800)]
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

5 years agoMerge branch 'bugfix/gnu_make_windows_paths_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 9 Oct 2019 23:26:42 +0000 (07:26 +0800)]
Merge branch 'bugfix/gnu_make_windows_paths_v3.3' into 'release/v3.3'

build: In GNU Make, use "cygpath -m" to avoid backslashes (v3.3)

See merge request espressif/esp-idf!6158

5 years agoPM: I2S and I2C added in the Power Management docs
Sachin Parekh [Fri, 22 Feb 2019 14:18:59 +0000 (19:48 +0530)]
PM: I2S and I2C added in the Power Management docs

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agoI2S: Enable Power Management locks
Sachin Parekh [Fri, 22 Feb 2019 12:17:42 +0000 (17:47 +0530)]
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>
5 years agoI2C: Enable Power Management locks
Sachin Parekh [Fri, 22 Feb 2019 12:14:03 +0000 (17:44 +0530)]
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>
5 years agoMerge branch 'bugfix/fix_several_wifi_bugs_0930_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 9 Oct 2019 08:16:13 +0000 (16:16 +0800)]
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

5 years agoMerge branch 'bugfix/esp_tls_add_header_in_esp_tls_h_v3.3' into 'release/v3.3'
Mahavir Jain [Wed, 9 Oct 2019 06:29:26 +0000 (14:29 +0800)]
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

5 years agoesp32: cpu_start: read binary image header via cache
chenjianqiang [Wed, 11 Sep 2019 08:40:08 +0000 (16:40 +0800)]
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.

5 years agoMerge branch 'bugfix/check_for_new_cmakecache_vars_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 9 Oct 2019 05:54:29 +0000 (13:54 +0800)]
Merge branch 'bugfix/check_for_new_cmakecache_vars_v3.3' into 'release/v3.3'

idf.py: Add check for new cmake cache values (backport v3.3)

See merge request espressif/esp-idf!5931

5 years agoMerge branch 'bugfix/freertos_xTaskNotifyGive_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 9 Oct 2019 05:37:17 +0000 (13:37 +0800)]
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

5 years agoMerge branch 'feature/mqtt_improve_recv_3.3' into 'release/v3.3'
Angus Gratton [Tue, 8 Oct 2019 06:28:52 +0000 (14:28 +0800)]
Merge branch 'feature/mqtt_improve_recv_3.3' into 'release/v3.3'

MQTT improved receive (backport 3.3)

See merge request espressif/esp-idf!5075

5 years agofreertos: remove semicolon in xTaskNotifyGive
suda-morris [Thu, 26 Sep 2019 07:27:48 +0000 (15:27 +0800)]
freertos: remove semicolon in xTaskNotifyGive

5 years agoethernet: add kconfig help for GPIO0 output mode
suda-morris [Tue, 17 Sep 2019 03:45:13 +0000 (11:45 +0800)]
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

5 years agoesp_event: fix possible malloc free issues found by static analyzer
David Cermak [Fri, 31 May 2019 09:23:02 +0000 (11:23 +0200)]
esp_event: fix possible malloc free issues found by static analyzer
(v3.3)

Backport of bd537083d92fc8881d62a48eeacb178bdfb4bdc7

5 years agoesp_event: fix minor memory leak when overwriting alredy registered handler
David Cermak [Thu, 30 May 2019 14:59:24 +0000 (16:59 +0200)]
esp_event: fix minor memory leak when overwriting alredy registered handler

5 years agoesp_event: extend register/unregister test case to cover overwriting existing handler...
David Cermak [Fri, 31 May 2019 06:29:55 +0000 (08:29 +0200)]
esp_event: extend register/unregister test case to cover overwriting existing handler works as expected

5 years agotcp_transport: modified ws_read to read payload directly to the read buffer and separ...
David Cermak [Tue, 30 Apr 2019 09:41:39 +0000 (11:41 +0200)]
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 db121a56e13b4b93b6bcc9217f7890bc4783cabd

5 years agoESP32/esp-tls: include esp_err.h in esp_tls.h
Aditya Patwardhan [Fri, 4 Oct 2019 11:48:08 +0000 (17:18 +0530)]
ESP32/esp-tls: include esp_err.h in esp_tls.h
Closes https://github.com/espressif/esp-idf/issues/4100

5 years agomodify WIFI_CONN_0101 case for wrong authmode of AP
zhangyanjiao [Mon, 19 Aug 2019 08:40:51 +0000 (16:40 +0800)]
modify WIFI_CONN_0101 case for wrong authmode of AP

5 years agowifi:
zhangyanjiao [Mon, 30 Sep 2019 04:02:46 +0000 (12:02 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_backports_v3.3_0903' into 'release/v3.3'
Jiang Jiang Jian [Sun, 29 Sep 2019 08:19:22 +0000 (16:19 +0800)]
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

5 years agoMerge branch 'feature/bluedroid_min_encr_key_size_backport_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 29 Sep 2019 08:06:28 +0000 (16:06 +0800)]
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v3.3' into 'release/v3.3'

BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.3)

See merge request espressif/esp-idf!6189

5 years agoBT/Bluedroid : Add support to set min encryption key requirement (Backport v3.3)
Prasad Alatkar [Sun, 29 Sep 2019 08:06:27 +0000 (16:06 +0800)]
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.

5 years agobootloader: shrink bin size
suda-morris [Fri, 27 Sep 2019 02:58:30 +0000 (10:58 +0800)]
bootloader: shrink bin size

1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.

5 years agoAdd chip revision into image header
suda-morris [Mon, 16 Sep 2019 03:47:23 +0000 (11:47 +0800)]
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

5 years agoMerge branch 'bugfix/backport_some_wifi_bugs_201907_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 25 Sep 2019 11:21:17 +0000 (19:21 +0800)]
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

5 years agoMerge branch 'fix/add_parentheses_to_spi_swap_data_tx_3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 25 Sep 2019 08:21:37 +0000 (16:21 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_a2dp_src_pkt_overflow_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 25 Sep 2019 03:14:25 +0000 (11:14 +0800)]
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

5 years agoMerge branch 'test/fix_mesh_test_case_3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 23 Sep 2019 13:41:22 +0000 (21:41 +0800)]
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

5 years agoMerge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.3' into ...
Jiang Jiang Jian [Mon, 23 Sep 2019 13:40:42 +0000 (21:40 +0800)]
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

5 years agocomponents:bt: backports release/v3.3 0903
baohongde [Mon, 23 Sep 2019 10:02:28 +0000 (18:02 +0800)]
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

5 years agocomponent/bt: fix some performance issues in A2DP source data flow control
wangmengyang [Sun, 5 May 2019 03:42:27 +0000 (11:42 +0800)]
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

5 years agoMerge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.3'...
Angus Gratton [Fri, 20 Sep 2019 11:22:45 +0000 (19:22 +0800)]
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

5 years agotest: move wifi library check to esp32-wifi-lib ci
chenyudong [Tue, 9 Jul 2019 07:55:05 +0000 (15:55 +0800)]
test: move wifi library check to esp32-wifi-lib ci

5 years agoWiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF.
xiehang [Mon, 8 Jul 2019 03:26:18 +0000 (11:26 +0800)]
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

5 years agomesh: fix the bug that esp_mesh_stop() doesn't return
liu zhifu [Sun, 21 Jul 2019 03:01:44 +0000 (11:01 +0800)]
mesh: fix the bug that esp_mesh_stop() doesn't return

5 years agoesp32: fix wifi stop bug
liu zhifu [Sun, 21 Jul 2019 02:59:26 +0000 (10:59 +0800)]
esp32: fix wifi stop bug

Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.

5 years agoesp32: fix WPS/WPA2-Enterprise memory leak
liu zhifu [Sun, 21 Jul 2019 02:55:10 +0000 (10:55 +0800)]
esp32: fix WPS/WPA2-Enterprise memory leak

Fix WPS and WPA2-Enterprise memory leak bug.

5 years agoesp32: fix smartconfig crash when no AP is found
liu zhifu [Sun, 21 Jul 2019 02:52:00 +0000 (10:52 +0800)]
esp32: fix smartconfig crash when no AP is found

Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.

5 years agoMerge branch 'bugfix/newlib_time_test_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 19 Sep 2019 23:49:27 +0000 (07:49 +0800)]
Merge branch 'bugfix/newlib_time_test_v3.3' into 'release/v3.3'

newlib: Fix UT - test time adjustment happens linearly (v3.3)

See merge request espressif/esp-idf!6117

5 years agobuild: In GNU Make, use "cygpath -m" to avoid backslashes
Angus Gratton [Tue, 17 Sep 2019 03:47:05 +0000 (13:47 +1000)]
build: In GNU Make, use "cygpath -m" to avoid backslashes

Fixes issues where backslashes in KCONFIG paths are later expanded as shell escape sequences.

5 years agoMerge branch 'bugfix/cmake_config_variables_scope' into 'release/v3.3'
Mahavir Jain [Thu, 19 Sep 2019 05:44:16 +0000 (13:44 +0800)]
Merge branch 'bugfix/cmake_config_variables_scope' into 'release/v3.3'

CMake: Fix variable scope issue

See merge request espressif/esp-idf!4967

5 years agonewlib: Fix UT - test time adjustment happens linearly
KonstantinKondrashov [Wed, 7 Aug 2019 10:51:35 +0000 (18:51 +0800)]
newlib: Fix UT - test time adjustment happens linearly

Obtaining accurate and adjustable time occurs closer to each other.

5 years agospi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses
Martin Thierer [Sun, 1 Sep 2019 19:41:34 +0000 (21:41 +0200)]
spi: Put argument of macro SPI_SWAP_DATA_TX/RX in parentheses

Close https://github.com/espressif/esp-idf/pull/3996

5 years agoapp_update: Fix UTs for FACTORY_RESET and APP_TEST
KonstantinKondrashov [Wed, 31 Jul 2019 14:35:23 +0000 (22:35 +0800)]
app_update: Fix UTs for FACTORY_RESET and APP_TEST

5 years agobootloader: Factory reset not for deep sleep
KonstantinKondrashov [Wed, 31 Jul 2019 14:31:58 +0000 (22:31 +0800)]
bootloader: Factory reset not for deep sleep

Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
5 years agoMerge branch 'bugfix/idf_py_fixes_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 13 Sep 2019 06:52:50 +0000 (14:52 +0800)]
Merge branch 'bugfix/idf_py_fixes_v3.3' into 'release/v3.3'

idf.py fixes from GitHub (v3.3)

See merge request espressif/esp-idf!6001

5 years agoMerge branch 'bugfix/use_local_kconfiglib_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 13 Sep 2019 06:47:47 +0000 (14:47 +0800)]
Merge branch 'bugfix/use_local_kconfiglib_v3.3' into 'release/v3.3'

Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.3)

See merge request espressif/esp-idf!6080

5 years agocmake: fix variable scope issues
Renz Christian Bagaporo [Thu, 9 May 2019 09:39:11 +0000 (17:39 +0800)]
cmake: fix variable scope issues

5 years agoMerge branch 'bugfix/http_header_parser_resolution_v3.3' into 'release/v3.3'
Mahavir Jain [Thu, 12 Sep 2019 10:46:22 +0000 (18:46 +0800)]
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

5 years agotest: fix test case MESH_EST_2403
chenyudong [Tue, 13 Aug 2019 07:58:43 +0000 (15:58 +0800)]
test: fix test case MESH_EST_2403

5 years agoMerge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Thu, 12 Sep 2019 02:39:14 +0000 (10:39 +0800)]
Merge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.3' into 'release/v3.3'

l: Try to allocate some L memories in SPIRAM first. If failed, try to allocate in internal RAM then.(Backport v3.3)

See merge request espressif/esp-idf!5671

5 years agoUse kconfiglib from $IDF_PATH/tools/kconfig_new
Roland Dobai [Wed, 11 Sep 2019 09:18:18 +0000 (11:18 +0200)]
Use kconfiglib from $IDF_PATH/tools/kconfig_new

5 years agofix the bug that ESP32 sends broadcast to phone after smartconfig is done
zhangyanjiao [Wed, 11 Sep 2019 03:45:08 +0000 (11:45 +0800)]
fix the bug that ESP32 sends broadcast to phone after smartconfig is done

5 years agoMerge branch 'bugfix/kconfig_no_split_headers_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 10 Sep 2019 23:54:09 +0000 (07:54 +0800)]
Merge branch 'bugfix/kconfig_no_split_headers_v3.3' into 'release/v3.3'

kconfig: Don't create "split" directory structures under build/include/config (v3.3)

See merge request espressif/esp-idf!6000

5 years agolwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate...
Xia Xiaotian [Wed, 31 Jul 2019 13:06:22 +0000 (21:06 +0800)]
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.

5 years agokconfig: Don't create "split" directory structures under build/include/config
Angus Gratton [Mon, 15 Apr 2019 04:30:33 +0000 (14:30 +1000)]
kconfig: Don't create "split" directory structures under build/include/config

Reported in https://github.com/espressif/esp-idf/issues/3299

If a config item contains a reserved filename in Windows like _CON_ then an invalid
directory is created.

We don't rely on this feature all, so disable it.

5 years agoesp_http_server : Bugfix in parsing of empty header values
Chinmay [Mon, 9 Sep 2019 06:35:40 +0000 (12:05 +0530)]
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

5 years agoMerge branch 'bugfix_kconfig_deps_missing_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:17:29 +0000 (23:17 +0800)]
Merge branch 'bugfix_kconfig_deps_missing_v3.3' into 'release/v3.3'

kconfig: Add -MP option so .d files include empty targets (v3.3)

See merge request espressif/esp-idf!5847

5 years agoMerge branch 'update/cjson_v1_7_12_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:16:25 +0000 (23:16 +0800)]
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

5 years agoMerge branch 'test/use_correct_config_for_nvs_compatible_case_v3.3' into 'release...
Jiang Jiang Jian [Sun, 8 Sep 2019 15:14:29 +0000 (23:14 +0800)]
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

5 years agoMerge branch 'fix/sdio_slave_reset_infloop_leak_3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:13:41 +0000 (23:13 +0800)]
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

5 years agoMerge branch 'feature/move_gettimeofday_in_clock_gettime_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:13:13 +0000 (23:13 +0800)]
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

5 years agoMerge branch 'bugfix/fix_wifi_stack_can_freeze_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:11:57 +0000 (23:11 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.3' into...
Jiang Jiang Jian [Sun, 8 Sep 2019 15:11:18 +0000 (23:11 +0800)]
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

5 years agoMerge branch 'bugfix/pm_isr_exit_lock_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:10:02 +0000 (23:10 +0800)]
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

5 years agoMerge branch 'test/detect_exception_in_idf_dut_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:09:48 +0000 (23:09 +0800)]
Merge branch 'test/detect_exception_in_idf_dut_v3.3' into 'release/v3.3'

tiny-test-fw: support detect exception in IDFDUT (backport v3.3)

See merge request espressif/esp-idf!4542

5 years agoMerge branch 'bugfix/btdm_mem_leak_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:09:24 +0000 (23:09 +0800)]
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

5 years agoidf.py: Fix encoding issue with serial port names on Windows
Angus Gratton [Fri, 17 May 2019 06:25:53 +0000 (14:25 +0800)]
idf.py: Fix encoding issue with serial port names on Windows

Closes https://github.com/espressif/esp-idf/issues/3334

5 years agoidf.py: Use mingw32-make for version check
Angus Gratton [Thu, 16 May 2019 13:20:10 +0000 (21:20 +0800)]
idf.py: Use mingw32-make for version check

Closes https://github.com/espressif/esp-idf/issues/3333

5 years agoMerge branch 'bugfix/flash_encryption_disable_plaintext_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 5 Sep 2019 00:00:39 +0000 (08:00 +0800)]
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

5 years agoMerge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 3 Sep 2019 05:36:54 +0000 (13:36 +0800)]
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

5 years agoMerge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.3' into 'release...
Angus Gratton [Tue, 3 Sep 2019 05:34:54 +0000 (13:34 +0800)]
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

5 years agoadd missing source files to CMakeLists for HFP
wangmengyang [Tue, 7 May 2019 04:00:36 +0000 (12:00 +0800)]
add missing source files to CMakeLists for HFP

5 years agoMerge branch 'bugfix/httpd_sess_close_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 3 Sep 2019 01:57:37 +0000 (09:57 +0800)]
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

5 years agoMerge branch 'bugfix/add_flash_config_in_app_startup_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 2 Sep 2019 00:50:38 +0000 (08:50 +0800)]
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

5 years agoMerge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.3' into... v3.3
Jiang Jiang Jian [Fri, 30 Aug 2019 11:09:02 +0000 (19:09 +0800)]
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

5 years agoMerge branch 'bugfix/test_esp_efuse_table_on_host_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 30 Aug 2019 08:28:07 +0000 (16:28 +0800)]
Merge branch 'bugfix/test_esp_efuse_table_on_host_v3.3' into 'release/v3.3'

CI: Fix path in the Efuse table test (v3.3)

See merge request espressif/esp-idf!5954

5 years agoMerge branch 'bugfix/pr_3250_v3.3' into 'release/v3.3'
Mahavir Jain [Thu, 29 Aug 2019 10:40:15 +0000 (18:40 +0800)]
Merge branch 'bugfix/pr_3250_v3.3' into 'release/v3.3'

(backport v3.3) Fix: Lost username when setting new URL with a path.

See merge request espressif/esp-idf!5665

5 years agoFix path in the Efuse table test
Roland Dobai [Tue, 27 Aug 2019 09:58:45 +0000 (11:58 +0200)]
Fix path in the Efuse table test

5 years agoBugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.
redchenjs [Mon, 1 Jul 2019 11:48:47 +0000 (19:48 +0800)]
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.

5 years agoesp_http_client: fix CI issues & return value
Roland Dobai [Wed, 28 Aug 2019 10:47:28 +0000 (16:17 +0530)]
esp_http_client: fix CI issues & return value

5 years agoFix: Lost username when setting new URL with a path.
Nguyễn Hồng Quân [Mon, 8 Apr 2019 16:15:04 +0000 (23:15 +0700)]
Fix: Lost username when setting new URL with a path.

Closes https://github.com/espressif/esp-idf/pull/3250

5 years agohttpd_sess_close: Check for session validity before closing
Piyush Shah [Tue, 6 Aug 2019 14:00:58 +0000 (19:30 +0530)]
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.

5 years agocomponents/bt: set the minimum encryption key size to be 7 octects for BR/EDR link...
wangmengyang [Fri, 23 Aug 2019 00:28:41 +0000 (08:28 +0800)]
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.

5 years agoidf.py: Add check for new cmake cache values
Sergei Silnov [Mon, 3 Jun 2019 10:37:52 +0000 (12:37 +0200)]
idf.py: Add check for new cmake cache values

5 years agobugfix(flash): add flash config in app startup
chenjianqiang [Fri, 5 Jul 2019 12:21:36 +0000 (20:21 +0800)]
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

5 years agotest: fix nvs compatible case error:
He Yin Ling [Sun, 25 Aug 2019 06:09:17 +0000 (14:09 +0800)]
test: fix nvs compatible case error:

nvs compatible test case uses new test env and app. update test config
file.

5 years agoMerge branch 'bugfix/reduce_ci_config_file_size_v3.3' into 'release/v3.3'
He Yin Ling [Tue, 27 Aug 2019 02:47:42 +0000 (10:47 +0800)]
Merge branch 'bugfix/reduce_ci_config_file_size_v3.3' into 'release/v3.3'

CI: use parallel attribute in CI config file

See merge request espressif/esp-idf!5895

5 years agoApply suggestion to tools/ci/build_examples_cmake.sh
He Yin Ling [Mon, 26 Aug 2019 03:00:46 +0000 (11:00 +0800)]
Apply suggestion to tools/ci/build_examples_cmake.sh

5 years agoApply suggestion to tools/ci/build_examples.sh
He Yin Ling [Mon, 26 Aug 2019 03:00:33 +0000 (11:00 +0800)]
Apply suggestion to tools/ci/build_examples.sh

5 years agoCI: use parallel attribute in CI config file
He Yin Ling [Sun, 28 Apr 2019 07:29:05 +0000 (15:29 +0800)]
CI: use parallel attribute in CI config file