]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agombedtls: add config option for setting debug level
Mahavir Jain [Thu, 6 Jun 2019 12:58:19 +0000 (18:28 +0530)]
mbedtls: add config option for setting debug level

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

5 years agoMerge branch 'feature/docs_get-started_ESP32-Ethernet-Kit' into 'master'
Krzysztof Budzynski [Thu, 6 Jun 2019 10:04:26 +0000 (18:04 +0800)]
Merge branch 'feature/docs_get-started_ESP32-Ethernet-Kit' into 'master'

Provide getting started guide for 'ESP32-Ethernet-Kit' board

See merge request idf/esp-idf!4981

5 years agoMerge branch 'feature/fixed_static_dram_size_pr3222' into 'master'
Angus Gratton [Thu, 6 Jun 2019 09:11:46 +0000 (17:11 +0800)]
Merge branch 'feature/fixed_static_dram_size_pr3222' into 'master'

esp32: Allow fixed static RAM size and DRAM heap size

Closes IDFGH-780

See merge request idf/esp-idf!5043

5 years agoesp32: Allow fixed static RAM size and DRAM heap size
Gautier Seidel [Mon, 25 Mar 2019 14:45:57 +0000 (15:45 +0100)]
esp32: Allow fixed static RAM size and DRAM heap size

Merges https://github.com/espressif/esp-idf/pull/3222

5 years agoadd translation for ESP32-Ethernet-Kit Getting Started Guide
liying [Tue, 4 Jun 2019 08:57:07 +0000 (16:57 +0800)]
add translation for ESP32-Ethernet-Kit Getting Started Guide

5 years agoProvide getting started guide for 'ESP32-Ethernet-Kit' board
Krzysztof [Sat, 11 May 2019 11:58:59 +0000 (19:58 +0800)]
Provide getting started guide for 'ESP32-Ethernet-Kit' board

5 years agoMerge branch 'feature/net_test_suite' into 'master'
Angus Gratton [Thu, 6 Jun 2019 07:25:03 +0000 (15:25 +0800)]
Merge branch 'feature/net_test_suite' into 'master'

execute net test suite for esp32 network stack in ci as weekend tests

Closes IDF-210

See merge request idf/esp-idf!3439

5 years agoMerge branch 'bugfix/idf_tools_noninteractive' into 'master'
Ivan Grokhotkov [Thu, 6 Jun 2019 06:58:58 +0000 (14:58 +0800)]
Merge branch 'bugfix/idf_tools_noninteractive' into 'master'

tools, ci: Use non-interactive mode for idf_tools in CI

See merge request idf/esp-idf!5129

5 years agoMerge branch 'bugfix/support_tcp_window_scale' into 'master'
Jiang Jiang Jian [Wed, 5 Jun 2019 12:08:18 +0000 (20:08 +0800)]
Merge branch 'bugfix/support_tcp_window_scale' into 'master'

esp_wifi/tcpip: support TCP window scale

See merge request idf/esp-idf!5102

5 years agoMerge branch 'bugfix/keep_sco_data_path_on_hci_reset' into 'master'
Jiang Jiang Jian [Wed, 5 Jun 2019 09:10:21 +0000 (17:10 +0800)]
Merge branch 'bugfix/keep_sco_data_path_on_hci_reset' into 'master'

Bugfix/keep_sco_data_path_on_hci_reset

See merge request idf/esp-idf!4949

5 years agotools, ci: Use non-interactive mode for idf_tools in CI
Anton Maklakov [Wed, 5 Jun 2019 07:16:19 +0000 (14:16 +0700)]
tools, ci: Use non-interactive mode for idf_tools in CI

5 years agoMerge branch 'feature/gcc_8' into 'master'
Angus Gratton [Wed, 5 Jun 2019 04:53:01 +0000 (12:53 +0800)]
Merge branch 'feature/gcc_8' into 'master'

Switch GCC to 8.2 (esp32-2019r1 toolchain release)

Closes IDF-103

See merge request idf/esp-idf!5068

5 years agoMerge branch 'feature/mqtt_support_event_loop' into 'master'
Angus Gratton [Wed, 5 Jun 2019 03:04:16 +0000 (11:04 +0800)]
Merge branch 'feature/mqtt_support_event_loop' into 'master'

MQTT: Support for esp event loop

See merge request idf/esp-idf!4815

5 years agodocs/idf_monitor: remove the mention of addr2line bug
Ivan Grokhotkov [Tue, 4 Jun 2019 15:39:42 +0000 (23:39 +0800)]
docs/idf_monitor: remove the mention of addr2line bug

Related to https://github.com/espressif/esp-idf/issues/2149.
Since the new toolchain includes the updated version of binutils,
remove the mention of this bug.

5 years agoupdate toolchain to esp32-2019r1 release
Ivan Grokhotkov [Fri, 24 May 2019 06:05:21 +0000 (14:05 +0800)]
update toolchain to esp32-2019r1 release

Closes https://github.com/espressif/esp-idf/issues/1445 (std::to_string)
Closes https://github.com/espressif/esp-idf/issues/1876 (std::chrono_steady_clock)
Closes https://github.com/espressif/esp-idf/issues/1995 (std::timed_mutex)
Closes https://github.com/espressif/esp-idf/issues/2149 (addr2line)
Closes https://github.com/espressif/esp-idf/issues/2308 (lsiu/lsip)
Closes https://github.com/espressif/esp-idf/issues/2449 (c++17)
Closes https://github.com/espressif/esp-idf/issues/3258 (objdump)

5 years agoci: use the toolchain from tools.json
Ivan Grokhotkov [Fri, 24 May 2019 04:35:43 +0000 (12:35 +0800)]
ci: use the toolchain from tools.json

5 years agocomponent/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller
baohongde [Tue, 4 Jun 2019 08:31:21 +0000 (16:31 +0800)]
component/bt: Allow configuration of default SCO_DATA_PATH in bluetooth controller

5 years agoMerge branch 'bugfix/btdm_a2dp_src_pkt_overflow' into 'master'
Jiang Jiang Jian [Tue, 4 Jun 2019 08:07:31 +0000 (16:07 +0800)]
Merge branch 'bugfix/btdm_a2dp_src_pkt_overflow' into 'master'

component/bt: fix some performance issues in A2DP source data flow control

See merge request idf/esp-idf!4932

5 years agoci: added standard set of network suite for lwip as a part of weekend test
David Cermak [Tue, 28 Aug 2018 16:06:14 +0000 (18:06 +0200)]
ci: added standard set of network suite for lwip as a part of weekend test

5 years agoesp_wifi/lwip: support TCP window scale
liu zhifu [Thu, 30 May 2019 01:41:05 +0000 (09:41 +0800)]
esp_wifi/lwip: support TCP window scale

Support enable/disable TCP Window scale feature via menuconfig

5 years agomqtt: added support for esp event loop, updating examples to register and use event...
David Cermak [Wed, 17 Apr 2019 13:56:59 +0000 (15:56 +0200)]
mqtt: added support for esp event loop, updating examples to register and use event loop handler

5 years agoMerge branch 'bugfix/httpd_open_fn' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:29:14 +0000 (13:29 +0800)]
Merge branch 'bugfix/httpd_open_fn' into 'master'

HTTP Server : Close new session immediately if `open_fn` fails

Closes IDFGH-1165

See merge request idf/esp-idf!5019

5 years agoMerge branch 'feature/add_xxx_periph_h' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:24:14 +0000 (13:24 +0800)]
Merge branch 'feature/add_xxx_periph_h' into 'master'

soc: Add xxx_periph.h for all modules

Closes IDF-192

See merge request idf/esp-idf!4952

5 years agoMerge branch 'bugfix/cmake_wifi_ut_md5' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:23:06 +0000 (13:23 +0800)]
Merge branch 'bugfix/cmake_wifi_ut_md5' into 'master'

esp_wifi: fix MD5 unit tests with CMake

See merge request idf/esp-idf!5090

5 years agoMerge branch 'bugfix/set_default_eth_handler' into 'master'
Angus Gratton [Tue, 4 Jun 2019 05:06:55 +0000 (13:06 +0800)]
Merge branch 'bugfix/set_default_eth_handler' into 'master'

esp_event: fix bug in set_default_eth_handler

See merge request idf/esp-idf!5103

5 years agoMerge branch 'bugfix/libgcc_fpu_functions' into 'master'
Angus Gratton [Tue, 4 Jun 2019 00:41:58 +0000 (08:41 +0800)]
Merge branch 'bugfix/libgcc_fpu_functions' into 'master'

esp32: Use FPU for floating point divide, power, complex multiplications

See merge request idf/esp-idf!5005

5 years agoMerge branch 'bugfix/cmake_menuconfig' into 'master'
Angus Gratton [Mon, 3 Jun 2019 23:06:40 +0000 (07:06 +0800)]
Merge branch 'bugfix/cmake_menuconfig' into 'master'

Tools: Fix CMake menuconfig used with combination of MSYS and CMD

Closes IDFGH-1248

See merge request idf/esp-idf!5089

5 years agoMerge branch 'bugfix/event_minor_leak' into 'master'
Ivan Grokhotkov [Mon, 3 Jun 2019 14:37:06 +0000 (22:37 +0800)]
Merge branch 'bugfix/event_minor_leak' into 'master'

esp_event: fix minor memory leak when overwriting already registered handler

See merge request idf/esp-idf!5108

5 years agoMerge branch 'bugfix/wpa2_ent_vulnerability' into 'master'
Jiang Jiang Jian [Mon, 3 Jun 2019 13:57:59 +0000 (21:57 +0800)]
Merge branch 'bugfix/wpa2_ent_vulnerability' into 'master'

esp_wifi: wpa2 enterprise vulnerability

See merge request idf/esp-idf!4992

5 years agoMerge branch 'bugfix/set_ccount_overflow' into 'master'
Ivan Grokhotkov [Mon, 3 Jun 2019 11:50:04 +0000 (19:50 +0800)]
Merge branch 'bugfix/set_ccount_overflow' into 'master'

clk: Fix the overflow when setting ccount

See merge request idf/esp-idf!4309

5 years agoclk: Fix the overflow when setting ccount
Wu Jian Gang [Wed, 20 Feb 2019 09:12:15 +0000 (17:12 +0800)]
clk: Fix the overflow when setting ccount

The multiplication will be overflow when using 160 or 240 MHz, this can lead the inaccuracy of log time stamp in startup.

5 years agoMerge branch 'feature/multiple_github_prs' into 'master'
Ivan Grokhotkov [Mon, 3 Jun 2019 10:50:46 +0000 (18:50 +0800)]
Merge branch 'feature/multiple_github_prs' into 'master'

Fixes from github PRs

See merge request idf/esp-idf!5040

5 years agoall: Using xxx_periph.h
Konstantin Kondrashov [Mon, 13 May 2019 10:02:45 +0000 (18:02 +0800)]
all: Using xxx_periph.h

Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .

Cleaned up header files from unnecessary headers (releated to soc/... headers).

5 years agosoc: Add xxx_periph.h for all modules
Konstantin Kondrashov [Mon, 13 May 2019 10:00:53 +0000 (18:00 +0800)]
soc: Add xxx_periph.h for all modules

The "xxx_periph" header file includes all SOC-level definitions for that peripheral.

Closes: IDF-192
5 years agoMerge branch 'bugfix/pc_ble_example_uuid' into 'master'
Angus Gratton [Mon, 3 Jun 2019 05:23:46 +0000 (13:23 +0800)]
Merge branch 'bugfix/pc_ble_example_uuid' into 'master'

protocomm_ble : Example updated to use custom 128bit service UUID

See merge request idf/esp-idf!5100

5 years agoMerge branch 'bugfix/protocomm_sec_mult_inst' into 'master'
Angus Gratton [Mon, 3 Jun 2019 03:46:24 +0000 (11:46 +0800)]
Merge branch 'bugfix/protocomm_sec_mult_inst' into 'master'

Protocomm : Session security now supports multiple instances of the same type

See merge request idf/esp-idf!4756

5 years agoMerge branch 'bugfix/protocomm_minor' into 'master'
Angus Gratton [Mon, 3 Jun 2019 01:48:03 +0000 (09:48 +0800)]
Merge branch 'bugfix/protocomm_minor' into 'master'

Protocomm : Minor fixes

See merge request idf/esp-idf!5094

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 'feature/btdm_modem_sleep_with_32K_XTAL_under_light_sleep' into 'master'
Jiang Jiang Jian [Fri, 31 May 2019 10:51:10 +0000 (18:51 +0800)]
Merge branch 'feature/btdm_modem_sleep_with_32K_XTAL_under_light_sleep' into 'master'

Feature/btdm modem sleep with 32 k xtal under light sleep

See merge request idf/esp-idf!4744

5 years agoMerge branch 'bugfix/docs_rtd_failure_on_missing_submodule' into 'master'
Angus Gratton [Fri, 31 May 2019 08:26:45 +0000 (16:26 +0800)]
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule' into 'master'

docs: Add mqtt submodule to RTD build configuration. Now any submodule included in...

See merge request idf/esp-idf!5096

5 years agoMerge branch 'feature/config_spi_pins_based_on_efuse_value' into 'master'
Angus Gratton [Fri, 31 May 2019 08:15:56 +0000 (16:15 +0800)]
Merge branch 'feature/config_spi_pins_based_on_efuse_value' into 'master'

feat(psram): config SPI psram pins based on efuse value

See merge request idf/esp-idf!4950

5 years agoesp_event: fix bug in set_default_eth_handler
suda-morris [Thu, 30 May 2019 04:55:09 +0000 (12:55 +0800)]
esp_event: fix bug in set_default_eth_handler

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 agoesp_wifi: fix wpa2 enterprise vulnerability issues
liu zhifu [Thu, 30 May 2019 13:16:15 +0000 (21:16 +0800)]
esp_wifi: fix wpa2 enterprise vulnerability issues

Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup

5 years agoesp_wifi: fix MD5 unit tests with CMake
Ivan Grokhotkov [Tue, 28 May 2019 03:48:10 +0000 (11:48 +0800)]
esp_wifi: fix MD5 unit tests with CMake

5 years agoMerge branch 'feature/kconfig_format_docs' into 'master'
Krzysztof Budzynski [Thu, 30 May 2019 02:11:56 +0000 (10:11 +0800)]
Merge branch 'feature/kconfig_format_docs' into 'master'

docs: Kconfig formatting rules and backward compatibility of options

See merge request idf/esp-idf!5052

5 years agoAdd floating point performance test
Angus Gratton [Thu, 16 May 2019 03:19:32 +0000 (11:19 +0800)]
Add floating point performance test

5 years agodocs: Kconfig formatting rules and backward compatibility of options
Roland Dobai [Wed, 22 May 2019 11:01:19 +0000 (13:01 +0200)]
docs: Kconfig formatting rules and backward compatibility of options

5 years agoTools: Fix CMake menuconfig used with combination of MSYS and CMD
Roland Dobai [Mon, 27 May 2019 15:50:31 +0000 (17:50 +0200)]
Tools: Fix CMake menuconfig used with combination of MSYS and CMD

5 years agoDelete unneeded code fragments from GPIO-example
Christian [Tue, 11 Dec 2018 10:06:41 +0000 (11:06 +0100)]
Delete unneeded code fragments from GPIO-example

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

5 years agoUpdate i2c.rst
technosf [Fri, 10 May 2019 06:51:38 +0000 (23:51 -0700)]
Update i2c.rst

I2C mode is set during configuration, not the 'op(eration) mode'

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

5 years agoImprove Linux cmake getting started documentation
Roosted7 [Mon, 22 Apr 2019 21:11:53 +0000 (23:11 +0200)]
Improve Linux cmake getting started documentation

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

5 years agoMinor fix on Scheduler Suspension subtitle
Ozan Müyesseroğlu [Mon, 22 Apr 2019 12:31:47 +0000 (15:31 +0300)]
Minor fix on Scheduler Suspension subtitle

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

5 years agoCorrect seconds calculation from TLM data field
Alois Mbutura [Fri, 12 Apr 2019 10:18:44 +0000 (13:18 +0300)]
Correct seconds calculation from TLM data field

The SEC_CNT field in the eddystone TLM frame represents the number of centiseconds
elapsed since reboot. A divisor of 10 has been placed within the code to derive seconds from SEC_CNT.

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

5 years agoUpdate esp_eddystone_api.h
Alois Mbutura [Fri, 12 Apr 2019 10:13:21 +0000 (13:13 +0300)]
Update esp_eddystone_api.h

Change incorrect bitshifts in big_endian_read_32() function.
This was giving wrong values of of the 4 byte fieldswithin the eddystone TLM message, namely 'ADV_CNT' and 'SEC_CNT'

5 years agoFixed inconcsistent file name
Mark Stevens [Sun, 7 Apr 2019 09:25:57 +0000 (10:25 +0100)]
Fixed inconcsistent file name

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

5 years agoUpdate i2c documentation
lenhart [Sat, 6 Apr 2019 19:30:10 +0000 (21:30 +0200)]
Update i2c documentation

Description for i2c_slave_read_buffer had leftover from copying from write fct. data
pointer description described the wrong way (writing into internal buffer)

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

5 years agoChange SPI_USE_RXDATA->SPI_TRANS_USE_RXDATA and SPI_USE_TXDATA->SPI_TRANS_USE_TXDATA...
Oleg Antonyan [Fri, 7 Dec 2018 07:34:15 +0000 (09:34 +0200)]
Change SPI_USE_RXDATA->SPI_TRANS_USE_RXDATA and SPI_USE_TXDATA->SPI_TRANS_USE_TXDATA on documentation

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

5 years agoAdd option to disable server side SSL session tickets as well as client
Stephen Bird [Tue, 16 Oct 2018 00:28:29 +0000 (17:28 -0700)]
Add option to disable server side SSL session tickets as well as client

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

5 years agoMerge branch 'docs/update_idf_monitor' into 'master'
Krzysztof Budzynski [Wed, 29 May 2019 10:11:41 +0000 (18:11 +0800)]
Merge branch 'docs/update_idf_monitor' into 'master'

Docs/update idf monitor

See merge request idf/esp-idf!5084

5 years agoDocs/update idf monitor
Natasha [Wed, 29 May 2019 10:11:40 +0000 (18:11 +0800)]
Docs/update idf monitor

5 years agoprotocomm_ble : Example updated to use custom 128bit service UUID
Anurag Kar [Wed, 29 May 2019 08:12:40 +0000 (13:42 +0530)]
protocomm_ble : Example updated to use custom 128bit service UUID

Also removed old hardcoded UUIDs from README of esp_prov

5 years agoMerge branch 'feature/do_not_use_link_groups' into 'master'
Angus Gratton [Wed, 29 May 2019 07:18:31 +0000 (15:18 +0800)]
Merge branch 'feature/do_not_use_link_groups' into 'master'

Do not use link groups

See merge request idf/esp-idf!4897

5 years agoMerge branch 'feature/btdm_msbc_codec' into 'master'
Jiang Jiang Jian [Wed, 29 May 2019 06:39:21 +0000 (14:39 +0800)]
Merge branch 'feature/btdm_msbc_codec' into 'master'

Wide Band Speech for HFP

See merge request idf/esp-idf!4854

5 years agoMerge branch 'bugfix/reset_log_uart_port' into 'master'
Angus Gratton [Wed, 29 May 2019 06:28:37 +0000 (14:28 +0800)]
Merge branch 'bugfix/reset_log_uart_port' into 'master'

esp32: Add reset CONSOLE_UART port

See merge request idf/esp-idf!5011

5 years agoMerge branch 'doc/review_pwr_management' into 'master'
Krzysztof Budzynski [Wed, 29 May 2019 04:59:53 +0000 (12:59 +0800)]
Merge branch 'doc/review_pwr_management' into 'master'

Doc/review power management

See merge request idf/esp-idf!4674

5 years agoDoc/review power management
Kirill Chalov [Wed, 29 May 2019 04:59:52 +0000 (12:59 +0800)]
Doc/review power management

5 years agoFix bug in the floating point unit test code
Angus Gratton [Thu, 16 May 2019 02:43:25 +0000 (10:43 +0800)]
Fix bug in the floating point unit test code

5 years agoesp32: Use FPU for floating point divide, power, complex multiplications
Angus Gratton [Thu, 16 May 2019 02:36:48 +0000 (10:36 +0800)]
esp32: Use FPU for floating point divide, power, complex multiplications

* Linker was choosing ROM symbols for these, which use integer soft-float
  operations and are much slower.
* _divsf3() moved to IRAM to avoid regressions with any code that does
  integer float division in IRAM interrupt handlers (+88 bytes IRAM)
* Thanks to michal for reporting:
  https://esp32.com/viewtopic.php?f=14&t=10540&p=43367

5 years agoMerge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
Angus Gratton [Wed, 29 May 2019 00:14:00 +0000 (08:14 +0800)]
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'

nvs: Append _t to nvs_handle & nvs_open_mode types

Closes IDFGH-891

See merge request idf/esp-idf!4783

5 years agoMerge branch 'bugfix/kconfig_checker_message' into 'master'
Angus Gratton [Wed, 29 May 2019 00:10:31 +0000 (08:10 +0800)]
Merge branch 'bugfix/kconfig_checker_message' into 'master'

Tools: Produce a clearer message for Kconfig prefix errors

See merge request idf/esp-idf!5054

5 years agoMerge branch 'bugfix/mqtt_improved_receive' into 'master'
Angus Gratton [Wed, 29 May 2019 00:07:17 +0000 (08:07 +0800)]
Merge branch 'bugfix/mqtt_improved_receive' into 'master'

MQTT improved receive and minor updates to weekend tests

See merge request idf/esp-idf!4947

5 years agofeat(psram): config SPI psram pins based on efuse value
chenjianqiang [Tue, 7 May 2019 08:36:37 +0000 (16:36 +0800)]
feat(psram): config SPI psram pins based on efuse value

5 years agodocs: Add mqtt submodule to RTD build configuration. Now any submodule included in...
Krzysztof [Tue, 28 May 2019 12:09:08 +0000 (20:09 +0800)]
docs: Add mqtt submodule to RTD build configuration. Now any submodule included in documentation build by Doxygen should be included in this file

5 years agoreduce the minimum delay uncertainty of esp_timer for Bluetooth modem sleep from...
wangmengyang [Tue, 9 Apr 2019 09:06:16 +0000 (17:06 +0800)]
reduce the minimum delay uncertainty of esp_timer for Bluetooth modem sleep from 1.8ms to 0.5ms for lower power consumption

5 years agocomponent/bt: Add option to configure BLE SCA through menuconfig and use a fixed...
wangmengyang [Tue, 9 Apr 2019 12:56:38 +0000 (20:56 +0800)]
component/bt: Add option to configure BLE SCA through menuconfig and use a fixed value of clock cycle to estimate sleep duration for external 32kHz oscillator

5 years agoProtocomm : Minor fixes
Anurag Kar [Tue, 28 May 2019 09:11:49 +0000 (14:41 +0530)]
Protocomm : Minor fixes

List of changes:
* protocomm_httpd : Reset session_id static variable on start and stop
* security1 : Typo in checking failed dynamic allocation

5 years agoHTTP Server : Close new session immediately if open_fn fails
Anurag Kar [Fri, 17 May 2019 11:31:29 +0000 (17:01 +0530)]
HTTP Server : Close new session immediately if open_fn fails

open_fn() was introduced in the context of HTTPS server, as a configurable callback function that is called by the HTTP server, on every newly created socket. It is responsible of allocating resources for per session transport security.

Earlier, if open_fn were to fail, the newly created socket would be closed by the server but the corresponding entry, for the now invalid socket, will remain in the internal socket database until that invalid socket is detected due to error when calling select(). Because of this delayed closing of sockets, the HTTPS server would quickly face shortage of available sessions when a lot of SSL handshake errors are happening (this typically occurs when a browser finds that the server certificate is self signed). This changes in this MR fix this issue by clearing up the socket from internal database, right after open_fn fails.

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

5 years agoMerge branch 'feature/idf_tools_dir_2' into 'master'
Angus Gratton [Tue, 28 May 2019 05:39:47 +0000 (13:39 +0800)]
Merge branch 'feature/idf_tools_dir_2' into 'master'

IDF tools metadata file and IDF_TOOLS_PATH support

See merge request idf/esp-idf!4411

5 years agodocs: remove reference of using link groups
Renz Christian Bagaporo [Tue, 28 May 2019 05:01:09 +0000 (13:01 +0800)]
docs: remove reference of using link groups

5 years agocmake: For gcc8 use linker to find paths to libc, libm, libstdc++, etc
Angus Gratton [Mon, 15 Apr 2019 03:45:08 +0000 (13:45 +1000)]
cmake: For gcc8 use linker to find paths to libc, libm, libstdc++, etc

Removes the need to know/guess the paths to these libraries. Once we are gcc 8 only, we
can remove -nostdlib and no additional arguments are needed for system libraries.

The catch is: any time IDF overrides a symbol in the toolchain sysroot, we need
an undefined linker marker to make sure this symbol is seen by linker.

5 years agocomponents: correct dependency information for linking without link groups
Renz Christian Bagaporo [Sun, 28 Apr 2019 03:27:30 +0000 (11:27 +0800)]
components: correct dependency information for linking without link groups

5 years agocmake: do not use link groups
Renz Christian Bagaporo [Sun, 28 Apr 2019 02:54:23 +0000 (10:54 +0800)]
cmake: do not use link groups

5 years agomqtt_tests: add weekend test for sending and receiving empty payload messages, update...
David Cermak [Mon, 6 May 2019 14:14:48 +0000 (16:14 +0200)]
mqtt_tests: add weekend test for sending and receiving empty payload messages, update config options per new naming convetions

5 years agomdns tests: adapt mdns fuzzer test to compile with event loop library
David Cermak [Tue, 30 Apr 2019 11:54:08 +0000 (13:54 +0200)]
mdns tests: adapt mdns fuzzer test to compile with event loop library

5 years agolwip tests: adapt fuzzer test mocks to comply with 4.0 refactoring
David Cermak [Tue, 30 Apr 2019 11:52:01 +0000 (13:52 +0200)]
lwip tests: adapt fuzzer test mocks to comply with 4.0 refactoring

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

5 years agocomponent/bt: remove the pm_lock that prevents light sleep in case that external...
wangmengyang [Tue, 9 Apr 2019 11:48:13 +0000 (19:48 +0800)]
component/bt: remove the pm_lock that prevents light sleep in case that external 32kHz crystal is used as Bluetooth low power clock

5 years agoMerge branch 'bugfix/more_cmake_fixes' into 'master'
Angus Gratton [Mon, 27 May 2019 07:48:25 +0000 (15:48 +0800)]
Merge branch 'bugfix/more_cmake_fixes' into 'master'

More CMake fixes

See merge request idf/esp-idf!5060

5 years agoci: Add IDF_DEPRECATED macro for things we only deprecate in our CI passes
Angus Gratton [Wed, 17 Apr 2019 06:31:07 +0000 (16:31 +1000)]
ci: Add IDF_DEPRECATED macro for things we only deprecate in our CI passes

5 years agoMerge branch 'feature/use_cmake_function_call_for_embedding_ulp' into 'master'
Angus Gratton [Mon, 27 May 2019 05:14:09 +0000 (13:14 +0800)]
Merge branch 'feature/use_cmake_function_call_for_embedding_ulp' into 'master'

Use function call for embedding ULP binaries

See merge request idf/esp-idf!4242

5 years agoMerge branch 'docs/translate-getting-started-guides-wrover' into 'master'
Krzysztof Budzynski [Sun, 26 May 2019 23:53:20 +0000 (07:53 +0800)]
Merge branch 'docs/translate-getting-started-guides-wrover' into 'master'

Add translation for ESP32-WROVER-KIT Getting Started Guides

See merge request idf/esp-idf!4672

5 years agoAdd translation for ESP32-WROVER-KIT Getting Started Guides
Natasha [Sun, 26 May 2019 23:53:20 +0000 (07:53 +0800)]
Add translation for ESP32-WROVER-KIT Getting Started Guides

5 years agoMerge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth' into...
Jiang Jiang Jian [Fri, 24 May 2019 11:56:50 +0000 (19:56 +0800)]
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth' into 'master'

wifi: fix the bug no disconnect event when STA recv disassoc after sending auth

Closes WIFI-431, WIFI-507, and IDFGH-1160

See merge request idf/esp-idf!4833

5 years agocomponents/bt: Support EV3 packet type
baohongde [Wed, 15 May 2019 13:35:31 +0000 (21:35 +0800)]
components/bt: Support EV3 packet type

5 years agocomponents/bt: Enable mSBC and add decoder and encoder
baohongde [Tue, 14 May 2019 07:19:07 +0000 (15:19 +0800)]
components/bt: Enable mSBC and add decoder and encoder

5 years agocomponents/bt: Add packet loss concealment (PLC) for HFP
baohongde [Mon, 15 Apr 2019 07:32:19 +0000 (15:32 +0800)]
components/bt: Add packet loss concealment (PLC) for HFP

5 years agocomponent/bt: modify the SBC decoder to support mSBC mode
baohongde [Mon, 15 Apr 2019 06:54:29 +0000 (14:54 +0800)]
component/bt: modify the SBC decoder to support mSBC mode

5 years agocomponent/bt: modify the SBC encoder to support mSBC mode
wangmengyang [Fri, 25 May 2018 06:23:38 +0000 (14:23 +0800)]
component/bt: modify the SBC encoder to support mSBC mode