]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agonvs_util: Add check for keylen in input csv
Shivani Tipnis [Fri, 28 Jun 2019 06:29:18 +0000 (11:59 +0530)]
nvs_util: Add check for keylen in input csv

6 years agoMerge branch 'bugfix/improve_flash_dio_read_timing_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 4 Jul 2019 05:07:07 +0000 (13:07 +0800)]
Merge branch 'bugfix/improve_flash_dio_read_timing_v3.3' into 'release/v3.3'

bugfix(flash): fix flash dio read mode configuration error on SPI0 (backport v3.3)

See merge request espressif/esp-idf!5289

6 years agoMerge branch 'feature/prov_mgr_backport_v3.3' into 'release/v3.3'
Mahavir Jain [Tue, 2 Jul 2019 08:17:23 +0000 (16:17 +0800)]
Merge branch 'feature/prov_mgr_backport_v3.3' into 'release/v3.3'

Wi-Fi Provisioning Manager (backport v3.3)

See merge request idf/esp-idf!5371

6 years agobugfix(flash): improve flash dio read timing
chenjianqiang [Mon, 20 May 2019 07:26:52 +0000 (15:26 +0800)]
bugfix(flash): improve flash dio read timing

When flash work in DIO Mode, in order to ensure the fast read mode of flash
is a fixed value, we merged the mode bits into address part, and the fast
read mode value is 0 (the default value).

6 years agoMerge branch 'feature/upgrade_mbedtls_to_v2.16.1_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 2 Jul 2019 00:42:50 +0000 (08:42 +0800)]
Merge branch 'feature/upgrade_mbedtls_to_v2.16.1_v3.3' into 'release/v3.3'

mbedtls: upgrade to v2.16.2 release (v3.3)

See merge request idf/esp-idf!5377

6 years agoMerge branch 'bugfix/httpd_open_fn_backport_v3.3' into 'release/v3.3'
Mahavir Jain [Mon, 1 Jul 2019 07:11:50 +0000 (15:11 +0800)]
Merge branch 'bugfix/httpd_open_fn_backport_v3.3' into 'release/v3.3'

HTTP Server : Close new session immediately if open_fn fails (Backport v3.3)

See merge request idf/esp-idf!5370

6 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

6 years agowifi_prov_mgr : Free memory allocated by cJSON_Print
Anurag Kar [Fri, 28 Jun 2019 06:42:42 +0000 (12:12 +0530)]
wifi_prov_mgr : Free memory allocated by cJSON_Print

6 years agowifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
Anurag Kar [Tue, 23 Apr 2019 06:48:28 +0000 (12:18 +0530)]
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager

List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint

List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
  * get_version() : only returns the protocol version string
  * has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present

Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan

6 years agoesp_prov : Support new JSON format of version string while maintaining backward compa...
Anurag Kar [Tue, 23 Apr 2019 17:47:28 +0000 (23:17 +0530)]
esp_prov : Support new JSON format of version string while maintaining backward compatibility

Other changes:
* Version check only happens if command line argument is specified
* Minor bugfix in processing apply_config response

6 years agoProvisioning : Added Wi-Fi Provisioning Manager example and test script
Anurag Kar [Tue, 23 Apr 2019 17:45:51 +0000 (23:15 +0530)]
Provisioning : Added Wi-Fi Provisioning Manager example and test script

6 years agowifi_provisioning : Docs updated with information about new provisioning manager
Anurag Kar [Sun, 21 Apr 2019 14:53:31 +0000 (20:23 +0530)]
wifi_provisioning : Docs updated with information about new provisioning manager

6 years agowifi_provisioning : Wi-Fi Provisioning Manager added
Anurag Kar [Tue, 16 Apr 2019 11:44:10 +0000 (17:14 +0530)]
wifi_provisioning : Wi-Fi Provisioning Manager added

6 years agoMerge branch 'bugfix/error_on_unknown_component' into 'release/v3.3'
Angus Gratton [Fri, 28 Jun 2019 07:39:21 +0000 (15:39 +0800)]
Merge branch 'bugfix/error_on_unknown_component' into 'release/v3.3'

cmake: error out when component is not found (v3.3)

See merge request idf/esp-idf!5299

6 years agoMerge branch 'bugfix/mbedtls_mpi_exp_mod_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 28 Jun 2019 00:31:53 +0000 (08:31 +0800)]
Merge branch 'bugfix/mbedtls_mpi_exp_mod_v3.3' into 'release/v3.3'

mbedtls: Fix mbedtls_mpi_exp_mod() set n and s values (v3.3)

See merge request idf/esp-idf!5354

6 years agombedtls: upgrade to v2.16.2 release
Mahavir Jain [Tue, 4 Jun 2019 13:00:35 +0000 (18:30 +0530)]
mbedtls: upgrade to v2.16.2 release

For detailed release notes please refer to:
https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.2

6 years agoMerge branch 'refactor/power_management_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 26 Jun 2019 06:33:19 +0000 (14:33 +0800)]
Merge branch 'refactor/power_management_v3.3' into 'release/v3.3'

power_management: Using port*_CRITICAL_ISR to be consistent with FreeRTOS (backport v3.3)

See merge request idf/esp-idf!5079

6 years agombedtls: Add UTs for modexp
Konstantin Kondrashov [Thu, 13 Jun 2019 14:09:50 +0000 (22:09 +0800)]
mbedtls: Add UTs for modexp

6 years agombedtls: Fix Z->s in mbedtls_mpi_exp_mod()
Konstantin Kondrashov [Wed, 12 Jun 2019 11:00:44 +0000 (19:00 +0800)]
mbedtls: Fix Z->s in mbedtls_mpi_exp_mod()

Z->s should never be zero, only 1 or -1.
Added additional checks for X, Y and M args to correctly set Z->s.

Closes: https://github.com/espressif/esp-idf/issues/1681
Closes: https://github.com/espressif/esp-idf/issues/3603
Closes: IDFGH-1313
6 years agoMerge branch 'feature/add_nimble_ssc_backport_for_3.3' into 'release/v3.3'
He Yin Ling [Tue, 25 Jun 2019 15:18:34 +0000 (23:18 +0800)]
Merge branch 'feature/add_nimble_ssc_backport_for_3.3' into 'release/v3.3'

test: modify test cases for bluedroid (backport v3.3)

See merge request idf/esp-idf!5212

6 years agotest: modify test cases for bluedroid (backport v3.3)
Chen Sheng [Tue, 25 Jun 2019 15:18:34 +0000 (23:18 +0800)]
test: modify test cases for bluedroid (backport v3.3)

6 years agounit-test-app: freertos_compliance config added
Sachin Parekh [Mon, 25 Mar 2019 10:45:02 +0000 (16:15 +0530)]
unit-test-app: freertos_compliance config added

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agoref_clock: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:44:09 +0000 (16:14 +0530)]
ref_clock: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agopower_management: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:41:56 +0000 (16:11 +0530)]
power_management: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agointr_alloc: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:39:55 +0000 (16:09 +0530)]
intr_alloc:  port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agocrosscore_init: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:39:21 +0000 (16:09 +0530)]
crosscore_init: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agotimer: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:38:28 +0000 (16:08 +0530)]
timer: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agortc_module: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:37:04 +0000 (16:07 +0530)]
rtc_module: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agormt: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:36:22 +0000 (16:06 +0530)]
rmt: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agoperiph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance
Sachin Parekh [Mon, 25 Mar 2019 10:32:15 +0000 (16:02 +0530)]
periph_ctrl: port*_CRITICAL vanilla FreeRTOS compliance

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agofreertos: port*_CRITICAL_SAFE API added
Sachin Parekh [Mon, 25 Mar 2019 10:25:57 +0000 (15:55 +0530)]
freertos: port*_CRITICAL_SAFE API added

port*_CRITICAL_SAFE API calls port*_CRITICAL or port*_CRITICAL_ISR
depending on the context (Non-ISR or ISR respectively).

FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE Kconfig option added

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
6 years agoMerge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_3_bis' into 'release...
Angus Gratton [Tue, 25 Jun 2019 03:08:04 +0000 (11:08 +0800)]
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_3_bis' into 'release/v3.3'

docs: Remove space from RTD project configuration filename to be recognized by the RTD build system (v3.3)

See merge request idf/esp-idf!5311

6 years agoMerge branch 'bugfix/spi_concurrency_3.3' into 'release/v3.3'
Angus Gratton [Fri, 21 Jun 2019 05:21:44 +0000 (13:21 +0800)]
Merge branch 'bugfix/spi_concurrency_3.3' into 'release/v3.3'

spi: fix a possible concurrency issue (port to v3.3)

See merge request idf/esp-idf!5279

6 years agodocs: Remove space from RTD project configuration filename to be recognized by the...
Krzysztof [Fri, 21 Jun 2019 05:15:42 +0000 (13:15 +0800)]
docs: Remove space from RTD project configuration filename to be recognized by the RTD build system

6 years agoMerge branch 'test/fix_some_error_wifi_cases_v3.3' into 'release/v3.3'
He Yin Ling [Thu, 20 Jun 2019 14:10:32 +0000 (22:10 +0800)]
Merge branch 'test/fix_some_error_wifi_cases_v3.3' into 'release/v3.3'

test: fix some wifi case issues (backport v3.3)

See merge request idf/esp-idf!5255

6 years agoMerge branch 'bugfix/pyparsing_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 20 Jun 2019 07:02:49 +0000 (15:02 +0800)]
Merge branch 'bugfix/pyparsing_v3.3' into 'release/v3.3'

Temporarily fix incompatibility with pyparsing 2.4.0 (v3.3)

See merge request idf/esp-idf!5197

6 years agocmake: error out when component is not found
Renz Christian Bagaporo [Thu, 20 Jun 2019 04:10:41 +0000 (12:10 +0800)]
cmake: error out when component is not found

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

6 years agoMerge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_3' into 'release/v3.3'
Angus Gratton [Thu, 20 Jun 2019 00:07:31 +0000 (08:07 +0800)]
Merge branch 'bugfix/docs_rtd_failure_on_missing_submodule_v3_3' into 'release/v3.3'

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

See merge request idf/esp-idf!5285

6 years agodocs: Add mqtt submodule to RTD build configuration. Now any submodule included in...
Krzysztof [Wed, 19 Jun 2019 07:58:13 +0000 (15:58 +0800)]
docs: Add mqtt submodule to RTD build configuration. Now any submodule included in documentation build by Doxygen should be included in this file

6 years agoMerge branch 'feature/btdm_add_ble_link_timeout_config_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 19 Jun 2019 06:47:31 +0000 (14:47 +0800)]
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.3' into 'release/v3.3'

Component/bt: add ble link timeout config in menuconfig(backport v3.3)

See merge request idf/esp-idf!4825

6 years agospi: fix a possible concurrency issue
Michael (XIAO Xufeng) [Fri, 31 May 2019 07:23:10 +0000 (15:23 +0800)]
spi: fix a possible concurrency issue

6 years agoTemporarily fix incompatibility with pyparsing 2.4.0
Roland Dobai [Wed, 17 Apr 2019 07:57:42 +0000 (09:57 +0200)]
Temporarily fix incompatibility with pyparsing 2.4.0

6 years agoMerge branch 'bugfix/remove_secure_boot_test_mode_bp3.3' into 'release/v3.3'
Angus Gratton [Mon, 17 Jun 2019 02:34:12 +0000 (10:34 +0800)]
Merge branch 'bugfix/remove_secure_boot_test_mode_bp3.3' into 'release/v3.3'

remove secure boot test mode (Backport v3.3)

See merge request idf/esp-idf!5258

6 years agoremove secure boot test mode
hemal.gujarathi [Thu, 23 May 2019 08:43:08 +0000 (14:13 +0530)]
remove secure boot test mode

6 years agoMerge branch 'bugfix/spiflash_kconfig_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 14 Jun 2019 08:44:31 +0000 (16:44 +0800)]
Merge branch 'bugfix/spiflash_kconfig_v3.3' into 'release/v3.3'

spi_flash: Fix Kconfig indentation (v3.3)

See merge request idf/esp-idf!5232

6 years agotest: fix some wifi case issues:
He Yin Ling [Thu, 13 Jun 2019 03:14:39 +0000 (11:14 +0800)]
test: fix some wifi case issues:

* remove heap size check cases as we have bg tasks allocate memory
* fix wifi connect to open ap issue

6 years agoMerge branch 'bugfix/dns_bug_3.3' into 'release/v3.3'
Jiang Jiang Jian [Fri, 14 Jun 2019 03:35:37 +0000 (11:35 +0800)]
Merge branch 'bugfix/dns_bug_3.3' into 'release/v3.3'

DNS: fix the crash  under static IP address(backport3.3)

See merge request idf/esp-idf!5210

6 years agolwip:fix dns bug for 3.3
xueyunfei [Thu, 13 Jun 2019 08:42:35 +0000 (16:42 +0800)]
lwip:fix dns bug for 3.3

6 years agoMerge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Thu, 13 Jun 2019 05:59:02 +0000 (13:59 +0800)]
Merge branch 'bugfix/btdm_coex_assert_in_lc_lmppdu_v3.3' into 'release/v3.3'

components/bt: Fix assert due to alloc LMP TX buffer failed

See merge request idf/esp-idf!5216

6 years agospi_flash: Fix Kconfig indentation
Roland Dobai [Tue, 11 Jun 2019 08:32:59 +0000 (10:32 +0200)]
spi_flash: Fix Kconfig indentation

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

6 years agoMerge branch 'bugfix/idf_py_windows_relpath_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 13 Jun 2019 05:53:07 +0000 (13:53 +0800)]
Merge branch 'bugfix/idf_py_windows_relpath_v3.3' into 'release/v3.3'

idf.py: Fix Windows issue if project and IDF are on different drives (v3.3)

See merge request idf/esp-idf!4731

6 years agocomponents/bt: Fix assert due to alloc LMP TX buffer failed
baohongde [Wed, 12 Jun 2019 11:49:28 +0000 (19:49 +0800)]
components/bt: Fix assert due to alloc LMP TX buffer failed

6 years agoMerge branch 'bugfix/fix_some_wps_bugs_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 12 Jun 2019 06:36:02 +0000 (14:36 +0800)]
Merge branch 'bugfix/fix_some_wps_bugs_v3.3' into 'release/v3.3'

wps: add overlap event (backport v3.3)

See merge request idf/esp-idf!5112

6 years agoMerge branch 'fix/mfg_util_3.3' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 02:25:38 +0000 (10:25 +0800)]
Merge branch 'fix/mfg_util_3.3' into 'release/v3.3'

mfg_util: Fix unnecessary csv files creation for values with REPEAT tags (backport 3.3)

See merge request idf/esp-idf!5045

6 years agoMerge branch 'bugfix/fix_build_cmake_example_failing_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 01:05:42 +0000 (09:05 +0800)]
Merge branch 'bugfix/fix_build_cmake_example_failing_v3.3' into 'release/v3.3'

Fix false positive errors with CMake example builds (backport v3.3)

See merge request idf/esp-idf!4984

6 years agoMerge branch 'bugfix/restore_ccache_use' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 01:03:54 +0000 (09:03 +0800)]
Merge branch 'bugfix/restore_ccache_use' into 'release/v3.3'

CMake : Restore ccache use (backport v3.3)

See merge request idf/esp-idf!4985

6 years agoMerge branch 'bugfix/win_fullclean_symlink_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 11 Jun 2019 00:26:36 +0000 (08:26 +0800)]
Merge branch 'bugfix/win_fullclean_symlink_v3.3' into 'release/v3.3'

idf.py: Detect symlinks on Windows during fullclean (v3.3)

See merge request idf/esp-idf!4924

6 years agoMerge branch 'protocomm_ble_128bit_uuid_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 6 Jun 2019 23:47:19 +0000 (07:47 +0800)]
Merge branch 'protocomm_ble_128bit_uuid_v3.3' into 'release/v3.3'

protocomm_ble : Fix support for custom service UUIDs (backport v3.3)

See merge request idf/esp-idf!5017

6 years agoMerge branch 'feature/confserver_v2_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 6 Jun 2019 22:31:41 +0000 (06:31 +0800)]
Merge branch 'feature/confserver_v2_v3.3' into 'release/v3.3'

confserver: Add v2 confserver protocol with separate visibility info  (backport v3.3)

See merge request idf/esp-idf!4513

6 years agoMerge branch 'bugfix/reset_log_uart_port_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 6 Jun 2019 07:47:17 +0000 (15:47 +0800)]
Merge branch 'bugfix/reset_log_uart_port_v3.3' into 'release/v3.3'

esp32: Add reset CONSOLE_UART port (v3.3)

See merge request idf/esp-idf!5120

6 years agoidf.py: Fix Windows issue if project and IDF are on different drives
Angus Gratton [Fri, 1 Mar 2019 05:12:03 +0000 (16:12 +1100)]
idf.py: Fix Windows issue if project and IDF are on different drives

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

6 years agowps: add overlap event (backport v3.3)
xiehang [Fri, 31 May 2019 11:09:29 +0000 (19:09 +0800)]
wps: add overlap event (backport v3.3)
     modify some header files to be consistent with vnc

6 years agoMerge branch 'bugfix/support_tcp_window_scale_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 5 Jun 2019 12:08:58 +0000 (20:08 +0800)]
Merge branch 'bugfix/support_tcp_window_scale_v3.3' into 'release/v3.3'

esp_wifi/lsupport TCP window scale (backport v3.3)

See merge request idf/esp-idf!5113

6 years agoci: check that build uses ccache when present
Renz Christian Bagaporo [Mon, 6 May 2019 11:58:06 +0000 (19:58 +0800)]
ci: check that build uses ccache when present

6 years agocmake: restore ccache use when present
Renz Christian Bagaporo [Mon, 6 May 2019 11:57:45 +0000 (19:57 +0800)]
cmake: restore ccache use when present

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

6 years agoesp32: Add reset uart
Konstantin Kondrashov [Fri, 17 May 2019 04:33:45 +0000 (12:33 +0800)]
esp32: Add reset uart

Fixed the case when the first part of log was missed
this was happened when:
 * CONFIG_CONSOLE_UART_CUSTOM option is selected (UART1)
 * The selected CONSOLE_UART port is used also for the console component
 * in code esp_restart() or abort() functions were called.

6 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

6 years agoMerge branch 'bugfix/httpd_log_purge_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 4 Jun 2019 05:28:27 +0000 (13:28 +0800)]
Merge branch 'bugfix/httpd_log_purge_v3.3' into 'release/v3.3'

esp_http_server : Logging of purged data to monitor made configurable (backport v3.3)

See merge request idf/esp-idf!5015

6 years agoMerge branch 'bugfix/https_doc_api_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 3 Jun 2019 22:54:22 +0000 (06:54 +0800)]
Merge branch 'bugfix/https_doc_api_v3.3' into 'release/v3.3'

esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation (backport v3.3)

See merge request idf/esp-idf!5013

6 years agoMerge branch 'bugfix/wpa2_ent_vulnerability_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Mon, 3 Jun 2019 13:58:19 +0000 (21:58 +0800)]
Merge branch 'bugfix/wpa2_ent_vulnerability_v3.3' into 'release/v3.3'

esp32: fix wpa2 enterprise vulnerability issues (backport v3.3)

See merge request idf/esp-idf!5107

6 years agoesp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation
Anurag Kar [Mon, 6 May 2019 09:02:24 +0000 (14:32 +0530)]
esp_http_server : Minor clarification in httpd_req_get_url_query_str() API documentation

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

6 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

6 years agoesp_prov : Runtime discovery of Service UUID and endpoint name mapping
Anurag Kar [Thu, 9 May 2019 21:36:56 +0000 (03:06 +0530)]
esp_prov : Runtime discovery of Service UUID and endpoint name mapping

List of changes:
* Retrieve UUID property from Bluez device object before connecting to retrieve UUID contained in advertisement
* Read Characteristic User Descriptions attribute of each UUID for mapping endpoint names
* To support older implementations with hardcoded Name-UUID map, revert to fallback mode in order if advertisement data has no UUID field

6 years agoprotocomm_ble : Fixed custom service UUID support
Anurag Kar [Thu, 9 May 2019 21:30:13 +0000 (03:00 +0530)]
protocomm_ble : Fixed custom service UUID support

List of changes:
* Use 128 bit characteristic UUIDs when creating GATT table entries
* Change primary service attribute value to 128 bit custom service UUID
* Use raw advertisement data to convey flags and 128 bit primary service UUID
* Use raw scan response to send device name as complete local name
* Increase maximum device name length in relation to maximum scan response length
* Set Characteristic User Description attributes for each characteristic to convey protocomm endpoint names

6 years agoMerge branch 'bugfix/custom_log_uart_rx_pin_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 3 Jun 2019 06:31:27 +0000 (14:31 +0800)]
Merge branch 'bugfix/custom_log_uart_rx_pin_v3.3' into 'release/v3.3'

bootloader_support: Fix UART RXD pin for console output (CUSTOM option) (v3.3)

See merge request idf/esp-idf!5031

6 years agoesp_http_server : Logging of purged data to monitor made configurable
Anurag Kar [Mon, 6 May 2019 07:36:40 +0000 (13:06 +0530)]
esp_http_server : Logging of purged data to monitor made configurable

List of changes:
* Kconfig option HTTPD_LOG_PURGE_DATA enables logging of purged data
* Kconfig option HTTPD_PURGE_BUF_LEN sets purge buffer length
* Purged data is logged in hex

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

6 years agoMerge branch 'bugfix/custom_bootloader_subproject_build_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 3 Jun 2019 01:55:49 +0000 (09:55 +0800)]
Merge branch 'bugfix/custom_bootloader_subproject_build_v3.3' into 'release/v3.3'

CMake: Fix custom bootloader does not override original (v3.3)

See merge request idf/esp-idf!5081

6 years agomfg_util: Fix unnecessary csv files creation for values with REPEAT tags
Shivani Tipnis [Wed, 22 May 2019 05:47:56 +0000 (11:17 +0530)]
mfg_util: Fix unnecessary csv files creation for values with REPEAT tags

(cherry picked from commit 8b96668c9123fbbf8c78b347479215f471b102ed)

6 years agoesp32: fix wpa2 enterprise vulnerability issues
liu zhifu [Thu, 30 May 2019 13:23:01 +0000 (21:23 +0800)]
esp32: fix wpa2 enterprise vulnerability issues

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

6 years agosoc: Add some headers into gpio_periph.h
Konstantin Kondrashov [Wed, 29 May 2019 05:37:22 +0000 (13:37 +0800)]
soc: Add some headers into gpio_periph.h

6 years agobootloader_support: Fix UART RXD pin for console output (CUSTOM option)
Konstantin Kondrashov [Thu, 16 May 2019 10:46:00 +0000 (18:46 +0800)]
bootloader_support: Fix UART RXD pin for console output (CUSTOM option)

The RXD pin is assigned as input (fix for custom uart option).

Closes: https://github.com/espressif/esp-idf/issues/2843
Closes: IDFGH-505
6 years agoci: check that custom bootloader overrides original
Renz Christian Bagaporo [Wed, 15 May 2019 06:49:51 +0000 (14:49 +0800)]
ci: check that custom bootloader overrides original

6 years agocmake: fix custom bootloader issue
Renz Christian Bagaporo [Wed, 15 May 2019 03:40:57 +0000 (11:40 +0800)]
cmake: fix custom bootloader issue

Issue is that when users creates a custom bootloader from
$IDF_PATH/components/bootloader. Parent project build uses the copy but
bootloader subproject build uses the original still. The issue is solved
by passing the custom bootloader as extra component directory so
bootloader build knows to use the new copy (itself) in the build.

6 years agoMerge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3...
Jiang Jiang Jian [Fri, 24 May 2019 11:57:00 +0000 (19:57 +0800)]
Merge branch 'bugfix/fix_no_disconnect_event_when_rx_disassoc_after_send_auth_v3.3' into 'release/v3.3'

wifi: fix the bug no disconnect event when STA recv disassoc after sending auth (backport v3.3)

See merge request idf/esp-idf!5066

6 years agowifi bugfixs:
zhangyanjiao [Fri, 24 May 2019 03:31:24 +0000 (11:31 +0800)]
wifi bugfixs:

1. fix the bug no disconnect event when STA recv disassoc after sending auth
2. fix the bug full scan send multi events when recv deauth/disassoc

6 years agoMerge branch 'bugfix/docs_build_failure_on_rtd' into 'release/v3.3'
Angus Gratton [Fri, 24 May 2019 02:19:50 +0000 (10:19 +0800)]
Merge branch 'bugfix/docs_build_failure_on_rtd' into 'release/v3.3'

Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...

See merge request idf/esp-idf!5041

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0508_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Thu, 23 May 2019 09:55:12 +0000 (17:55 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0508_v3.3' into 'release/v3.3'

esp32: fix some WiFi bugs 0508 (backport v3.3)

See merge request idf/esp-idf!4965

6 years agoMerge branch 'feature/add_promiscuous_control_for_ethernet_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 23 May 2019 06:24:07 +0000 (14:24 +0800)]
Merge branch 'feature/add_promiscuous_control_for_ethernet_v3.3' into 'release/v3.3'

add promiscuous mode control for Ethernet (v3.3)

See merge request idf/esp-idf!4975

6 years agoesp32: fix some WiFi bugs
liu zhifu [Thu, 9 May 2019 09:24:13 +0000 (17:24 +0800)]
esp32: fix some WiFi bugs

Fix following WiFi bugs:
1. Make smartconfig thread-safe
2. Fix WiFi stop/deinit memory leak
3. Refactor for WiFi init/deinit/ioctl etc
4. Add declaration for esp_wifi_internal_ioctl()
5. Fix the bug that WiFi stop leads to task watchdog

6 years agoMerge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Wed, 22 May 2019 13:00:49 +0000 (21:00 +0800)]
Merge branch 'bugfix/fix_softap_crash_when_sta_reset_v3.3' into 'release/v3.3'

wifi: fix softap crash when sta reset (backport v3.3)

See merge request idf/esp-idf!5039

6 years agoFix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD...
Krzysztof [Tue, 21 May 2019 11:53:38 +0000 (19:53 +0800)]
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific to esp-idf release. (backport v3.3)

6 years agowifi: fix softap crash when sta reset (backport v3.3)
xiehang [Mon, 20 May 2019 12:47:47 +0000 (20:47 +0800)]
wifi: fix softap crash when sta reset (backport v3.3)

6 years agoMerge branch 'feature/allow_multiple_fragment_definitions_for_library' into 'release...
Angus Gratton [Mon, 20 May 2019 05:58:25 +0000 (13:58 +0800)]
Merge branch 'feature/allow_multiple_fragment_definitions_for_library' into 'release/v3.3'

Combine definitions of multiple mapping fragments referring to the same library

See merge request idf/esp-idf!4243

6 years agoMerge branch 'bugfix/esp_efuse_fields_unused_variable_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 20 May 2019 04:24:19 +0000 (12:24 +0800)]
Merge branch 'bugfix/esp_efuse_fields_unused_variable_v3.3' into 'release/v3.3'

efuse: Fix unused variable warning when NDEBUG (v3.3)

See merge request idf/esp-idf!4956

6 years agoMerge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 15 May 2019 07:44:33 +0000 (15:44 +0800)]
Merge branch 'bugfix/adjtime_ut_v3.3' into 'release/v3.3'

newlib: Fix adjtime (v3.3)

See merge request idf/esp-idf!4870

6 years agoMerge branch 'bugfix/select_init_sem_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 13 May 2019 04:31:00 +0000 (12:31 +0800)]
Merge branch 'bugfix/select_init_sem_v3.3' into 'release/v3.3'

VFS: Allocate socket select semaphore outside ISR

See merge request idf/esp-idf!4660

6 years agoci: fix cmake example build fail
Renz Christian Bagaporo [Sun, 24 Mar 2019 08:45:08 +0000 (16:45 +0800)]
ci: fix cmake example build fail

6 years agoMerge branch 'feature/update_cjson_lib_to_1.7.11_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 10 May 2019 14:02:31 +0000 (22:02 +0800)]
Merge branch 'feature/update_cjson_lib_to_1.7.11_v3.3' into 'release/v3.3'

cJSON: update to v1.7.11 (v3.3)

See merge request idf/esp-idf!4971

6 years agoadd promiscuous mode control in emac driver
suda-morris [Tue, 7 May 2019 10:30:10 +0000 (18:30 +0800)]
add promiscuous mode control in emac driver

1. add promiscuous mode control in emac driver
2. fix minor bugs in IP101 driver

6 years agoMerge branch 'bugfix/http_file_server_backport_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 10 May 2019 03:03:32 +0000 (11:03 +0800)]
Merge branch 'bugfix/http_file_server_backport_v3.3' into 'release/v3.3'

File Server Example : Check longer than allowed filenames when converting from URIs to filepaths (backport v3.3)

See merge request idf/esp-idf!4938