]> granicus.if.org Git - esp-idf/log
esp-idf
4 years agoMerge branch 'bugfix/reset_periph_modules_v3.3' into 'release/v3.3' release/v3.3
Angus Gratton [Fri, 18 Oct 2019 05:35:09 +0000 (13:35 +0800)]
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

4 years agoMerge branch 'feature/nimble_backport_idf-v3.3' into 'release/v3.3'
Angus Gratton [Fri, 18 Oct 2019 05:23:25 +0000 (13:23 +0800)]
Merge branch 'feature/nimble_backport_idf-v3.3' into 'release/v3.3'

NimBLE: Port NimBLE stack to IDF Release v3.3 (Backport v3.3)

See merge request espressif/esp-idf!6179

4 years agoNimBLE: Port NimBLE stack to IDF Release v3.3 (Backport v3.3)
Prasad Alatkar [Fri, 18 Oct 2019 05:23:24 +0000 (13:23 +0800)]
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.

4 years agoMerge branch 'feature/handle_icy_uris_v33' into 'release/v3.3'
Angus Gratton [Thu, 17 Oct 2019 05:58:05 +0000 (13:58 +0800)]
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

4 years agoMerge branch 'bugfix/ut_adjtime_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 16 Oct 2019 12:54:06 +0000 (20:54 +0800)]
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

4 years agoMerge branch 'docs/update_bootloader_chip_revision_print_v3.3' into 'release/v3.3'
Ivan Grokhotkov [Wed, 16 Oct 2019 08:07:35 +0000 (16:07 +0800)]
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

4 years agoMerge branch 'feature/sntp_cb_function_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 15 Oct 2019 06:11:43 +0000 (14:11 +0800)]
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

4 years agoMerge branch 'bugfix/alt_exit_idf_monitor_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 14 Oct 2019 13:50:31 +0000 (21:50 +0800)]
Merge branch 'bugfix/alt_exit_idf_monitor_v3.3' into 'release/v3.3'

idf_monitor: Exit with CTRL+X in menu (v3.3)

See merge request espressif/esp-idf!6291

4 years agoMerge branch 'feature/add_psram_workaround_option_3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 14 Oct 2019 13:45:07 +0000 (21:45 +0800)]
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

4 years agolwip/sntp: Added extern "C"
Kerry Jones [Fri, 28 Jun 2019 06:19:11 +0000 (08:19 +0200)]
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

4 years agosntp/lwip: Add SNTP_UPDATE_DELAY option in Kconfig
Konstantin Kondrashov [Mon, 17 Jun 2019 07:44:25 +0000 (15:44 +0800)]
sntp/lwip: Add SNTP_UPDATE_DELAY option in Kconfig

Closes: https://github.com/espressif/esp-idf/issues/2277
Closes: IDFGH-337
4 years agosntp/lwip: Add some modes for time synchronization
Konstantin Kondrashov [Fri, 1 Mar 2019 18:12:11 +0000 (02:12 +0800)]
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
4 years agoMerge branch 'bugfix/kconfig_autoconf_generate_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 14 Oct 2019 06:58:14 +0000 (14:58 +0800)]
Merge branch 'bugfix/kconfig_autoconf_generate_v3.3' into 'release/v3.3'

Kconfig: Load properly auto.conf before writing the results to build/include

See merge request espressif/esp-idf!6315

4 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

4 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

4 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

4 years agobootloader_support: fix logging prints around chip revision
Mahavir Jain [Fri, 11 Oct 2019 09:05:22 +0000 (14:35 +0530)]
bootloader_support: fix logging prints around chip revision

4 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

4 years agormt/driver: Add module reset before enabling
Konstantin Kondrashov [Tue, 14 May 2019 12:02:01 +0000 (20:02 +0800)]
rmt/driver: Add module reset before enabling

4 years agopcnt/driver: Add module reset before enabling
Konstantin Kondrashov [Tue, 14 May 2019 12:01:35 +0000 (20:01 +0800)]
pcnt/driver: Add module reset before enabling

4 years agosdmmc_host/driver: Add module reset before enabling
Konstantin Kondrashov [Mon, 13 May 2019 12:39:16 +0000 (20:39 +0800)]
sdmmc_host/driver: Add module reset before enabling

4 years agoi2s/driver: Add module reset before enabling
Konstantin Kondrashov [Mon, 13 May 2019 11:56:41 +0000 (19:56 +0800)]
i2s/driver: Add module reset before enabling

4 years agocan/driver: Add module reset before enabling
Konstantin Kondrashov [Mon, 13 May 2019 11:45:18 +0000 (19:45 +0800)]
can/driver: Add module reset before enabling

4 years agouart/driver: Add module reset before enabling
Konstantin Kondrashov [Mon, 22 Apr 2019 06:09:24 +0000 (14:09 +0800)]
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
4 years agoModified http_parser to handle ICY uris.
Vikram Dattu [Thu, 26 Sep 2019 05:54:13 +0000 (11:24 +0530)]
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>
4 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

4 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

4 years agoKconfig: Load properly auto.conf before writing the results to build/include
Roland Dobai [Thu, 10 Oct 2019 13:24:45 +0000 (15:24 +0200)]
Kconfig: Load properly auto.conf before writing the results to build/include

Partial revertion of 6cd6423092d1f6197fb2a438e2b6079365085401. The split
directory structure is still removed but auto.conf is properly loaded.

4 years agomake psram workaround depend on chip revison
suda-morris [Thu, 10 Oct 2019 03:38:14 +0000 (11:38 +0800)]
make psram workaround depend on chip revison

Since ESP32 revision 3, the PSRAM workaround is not needed.

4 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

4 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

4 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

4 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

4 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>
4 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>
4 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>
4 years agoidf_monitor: Exit with CTRL+X in menu
Per-Olov Jernberg [Sun, 6 Oct 2019 13:03:23 +0000 (15:03 +0200)]
idf_monitor: Exit with CTRL+X in menu

Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.

This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.

Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129

4 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

4 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

4 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.

4 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

4 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

4 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

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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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.

4 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.

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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.

4 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.

4 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.

4 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

4 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.

4 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

4 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.

4 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

4 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

4 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
4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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.

4 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.

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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