]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoMerge branch 'bugfix/btdm_osi_queue_gycfix_master' into 'master'
Jiang Jiang Jian [Mon, 14 Oct 2019 13:35:41 +0000 (21:35 +0800)]
Merge branch 'bugfix/btdm_osi_queue_gycfix_master' into 'master'

Component/bt : Added handling of osi memory calloc failure

See merge request espressif/esp-idf!6140

5 years agoesp_wifi: modify WiFi buffer number type from uint8_t to uint16_t
liu zhifu [Mon, 14 Oct 2019 07:37:00 +0000 (15:37 +0800)]
esp_wifi: modify WiFi buffer number type from uint8_t to uint16_t

Modify WiFi receiving buffer number type from uint8_t to uint16_t to support
configuring more than 255 buffers.

5 years agoMerge branch 'bugfix/fix_sta_wpa2_enterprise_issue' into 'master'
Jiang Jiang Jian [Mon, 14 Oct 2019 13:27:05 +0000 (21:27 +0800)]
Merge branch 'bugfix/fix_sta_wpa2_enterprise_issue' into 'master'

esp_wifi: fix a station wpa2 enterprise issue

Closes WIFI-1042

See merge request espressif/esp-idf!6287

5 years agoconsole: fix wrong param passed to esp_err_to_name
suda-morris [Mon, 14 Oct 2019 11:49:19 +0000 (19:49 +0800)]
console: fix wrong param passed to esp_err_to_name

5 years agoesp_flash: fix the quad issue for some GD flash chips
Michael (XIAO Xufeng) [Mon, 9 Sep 2019 16:56:46 +0000 (00:56 +0800)]
esp_flash: fix the quad issue for some GD flash chips

The GD flash with product ID 40H, is already used in Wrover-nosufix modules.

5 years agoesp_flash: add unit test for external flash and QE toggling
Michael (XIAO Xufeng) [Wed, 4 Sep 2019 13:09:30 +0000 (21:09 +0800)]
esp_flash: add unit test for external flash and QE toggling

Tests for external flash chips used to controlled by macros, one bin for
one chip. And tests are done manually. This commit refactored the test
so that all 3 chips can all run in single test.

5 years agoesp_flash: rename internal variables for better readability
Michael (XIAO Xufeng) [Thu, 5 Sep 2019 05:17:11 +0000 (13:17 +0800)]
esp_flash: rename internal variables for better readability

chip_drv in HAL are renamed as host

5 years agoesp_flash: fix set qe bit and write command issues
Michael (XIAO Xufeng) [Thu, 5 Sep 2019 05:11:36 +0000 (13:11 +0800)]
esp_flash: fix set qe bit and write command issues

There used to be dummy phase before out phase in common command
transactions. This corrupts the data.

The code before never actually operate (clear) the QE bit, once it finds
the QE bit is set. It's hard to check whether the QE set/disable
functions work well.

This commit:

1. Cancel the dummy phase

2. Set and clear the QE bit according to chip settings, allowing tests
   for QE bits. However for some chips (Winbond for example), it's not
   forced to clear the QE bit if not able to.

3. Also refactor to allow chip_generic and other chips to share the same
   code to read and write qe bit; let common command and read command share
   configure_host_io_mode.

4. Rename read mode to io mode since maybe we will write data with quad
   mode one day.

5 years agows_client: fix for not sending ping responses, updated to pass events also for PING...
David Cermak [Mon, 16 Sep 2019 13:22:29 +0000 (15:22 +0200)]
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data

closes https://github.com/espressif/esp-idf/issues/3982

5 years agoNew Clean Commit for AG.
weitianhua [Wed, 9 Oct 2019 09:24:30 +0000 (17:24 +0800)]
New Clean Commit for AG.

Only Support single AG control block.

5 years agoMerge branch 'bugfix/msys2_toolchain_path_note' into 'master'
Angus Gratton [Mon, 14 Oct 2019 07:31:49 +0000 (15:31 +0800)]
Merge branch 'bugfix/msys2_toolchain_path_note' into 'master'

docs: update windows msys2 installer notes to unzip all-in-one toolchain to path without spaces

See merge request espressif/esp-idf!6181

5 years agoMerge branch 'bugfix/ci_weekend_test_update' into 'master'
Angus Gratton [Mon, 14 Oct 2019 07:30:33 +0000 (15:30 +0800)]
Merge branch 'bugfix/ci_weekend_test_update' into 'master'

CI: weekend test fixes

See merge request espressif/esp-idf!6235

5 years agoMerge branch 'bugfix/ws_client_fix_event_blocking' into 'master'
Angus Gratton [Mon, 14 Oct 2019 07:17:34 +0000 (15:17 +0800)]
Merge branch 'bugfix/ws_client_fix_event_blocking' into 'master'

ws_client: fixed posting to event loop with websocket timeout

See merge request espressif/esp-idf!5901

5 years agoMerge branch 'bugfix/ws_client_fixed_path_query_uri' into 'master'
Angus Gratton [Mon, 14 Oct 2019 07:01:59 +0000 (15:01 +0800)]
Merge branch 'bugfix/ws_client_fixed_path_query_uri' into 'master'

websocket_client: fix URI parsing to include also query part in websocket connection path

See merge request espressif/esp-idf!6201

5 years agoMerge branch 'bugfix/mdns_answer_ip6_size' into 'master'
Angus Gratton [Mon, 14 Oct 2019 06:59:16 +0000 (14:59 +0800)]
Merge branch 'bugfix/mdns_answer_ip6_size' into 'master'

mdns: use constant size of AAAA answer instead of lw_IP struct size

Closes WIFI-771

See merge request espressif/esp-idf!6188

5 years agocomponents/bt: Fix LMP sniff req timeout
baohongde [Mon, 14 Oct 2019 06:56:07 +0000 (14:56 +0800)]
components/bt: Fix LMP sniff req timeout

5 years agotcp_transport: fix possible buffer overflow in ws transport connect
David Cermak [Fri, 23 Aug 2019 14:36:42 +0000 (16:36 +0200)]
tcp_transport: fix possible buffer overflow in ws transport connect

closes IDF-692

5 years agoadd netbios support in restful server example
suda-morris [Mon, 14 Oct 2019 05:41:46 +0000 (13:41 +0800)]
add netbios support in restful server example

5 years agomqtt: updated to latest version to include latest fixes, support for global CA store...
David Cermak [Wed, 9 Oct 2019 09:03:26 +0000 (11:03 +0200)]
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct

https://github.com/espressif/esp-mqtt/issues/135

5 years agoidf_monitor: Autodetect port
Roland Dobai [Mon, 14 Oct 2019 06:06:43 +0000 (08:06 +0200)]
idf_monitor: Autodetect port

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

5 years agoMerge branch 'doc/esp_ringbuf_acquire_complete' into 'master'
Angus Gratton [Mon, 14 Oct 2019 03:34:12 +0000 (11:34 +0800)]
Merge branch 'doc/esp_ringbuf_acquire_complete' into 'master'

esp_ringbuf: add documents for SendAcquire and SendComplete

See merge request espressif/esp-idf!6165

5 years agoMerge branch 'docs/update_bootloader_chip_revision_print' into 'master'
Ivan Grokhotkov [Mon, 14 Oct 2019 03:29:49 +0000 (11:29 +0800)]
Merge branch 'docs/update_bootloader_chip_revision_print' into 'master'

bootloader_support: fix logging prints around chip revision

See merge request espressif/esp-idf!6324

5 years agoethernet: support OpenCores ethernet MAC
Ivan Grokhotkov [Tue, 1 Oct 2019 16:50:34 +0000 (18:50 +0200)]
ethernet: support OpenCores ethernet MAC

OpenCores Ethernet MAC has a relatively simple interface, and is
already supported in QEMU. This makes it a good candidate for enabling
network support when running IDF apps in QEMU, compared to the
relatively more complex task of writing a QEMU model of ESP32 EMAC.

This driver is written with QEMU in mind: it does not implement or
handle things that aren't implemented or handled in the QEMU model:
error flags, error interrupts. The transmit part of the driver also
assumes that the TX operation is done immediately when the TX
descriptor is written (which is the case with QEMU), hence waiting for
the TX operation to complete is not necessary.

For simplicity, the driver assumes that the peripheral register
occupy the same memory range as the ESP32 EMAC registers, and the
same interrupt source number is used.

5 years agoci: add test build with -O2 -NDEBUG, cleanup
Ivan Grokhotkov [Sun, 13 Oct 2019 13:37:07 +0000 (15:37 +0200)]
ci: add test build with -O2 -NDEBUG, cleanup

5 years agodrivers/can: fix skipped function calls when assertions disabled
Ivan Grokhotkov [Thu, 10 Oct 2019 12:20:20 +0000 (14:20 +0200)]
drivers/can: fix skipped function calls when assertions disabled

When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.

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

5 years agospiffs: fix warning when building at release optimization level
Ivan Grokhotkov [Thu, 10 Oct 2019 12:05:46 +0000 (14:05 +0200)]
spiffs: fix warning when building at release optimization level

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

5 years agoC++: add provisions for optional RTTI support
Ivan Grokhotkov [Thu, 6 Jun 2019 08:53:26 +0000 (16:53 +0800)]
C++: add provisions for optional RTTI support

Ref. https://github.com/espressif/esp-idf/issues/1684

This change allows RTTI to be enabled in menuconfig. For full RTTI
support, libstdc++.a in the toolchain should be built without
-fno-rtti, as it is done now.

Generally if libstdc++.a is built with RTTI, applications which do not
use RTTI (and build with -fno-rtti) could still include typeinfo
structures referenced from STL classes’ vtables. This change works
around this, by moving all typeinfo structures from libstdc++.a into
a non-loadable section, placed into a non-existent memory region
starting at address 0. This can be done because when the application
is compiled with -fno-rtti, typeinfo structures are not used at run
time. This way, typeinfo structures do not contribute to the
application binary size.

If the application is build with RTTI support, typeinfo structures are
linked into the application .rodata section as usual.

Note that this commit does not actually enable RTTI support.
The respective Kconfig option is hidden, and will be made visible when
the toolchain is updated.

5 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

5 years agoesp_ringbuf: add documents for SendAcquire and SendComplete
michael [Thu, 19 Sep 2019 10:35:24 +0000 (18:35 +0800)]
esp_ringbuf: add documents for SendAcquire and SendComplete

5 years agoMerge branch 'feature/handle_icy_uris' into 'master'
Angus Gratton [Fri, 11 Oct 2019 06:06:16 +0000 (14:06 +0800)]
Merge branch 'feature/handle_icy_uris' into 'master'

Modified http_parser to handle ICY uris.

See merge request espressif/esp-idf!6207

5 years agoMerge branch 'refactor/ethernet_remove_blocking_in_timer_callback' into 'master'
Angus Gratton [Fri, 11 Oct 2019 05:07:38 +0000 (13:07 +0800)]
Merge branch 'refactor/ethernet_remove_blocking_in_timer_callback' into 'master'

Ethernet: optimize and bugfix

Closes IDF-1051

See merge request espressif/esp-idf!6213

5 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>
5 years agoMerge branch 'test/add_wifi_init_unit_test_case' into 'master'
Angus Gratton [Fri, 11 Oct 2019 05:00:59 +0000 (13:00 +0800)]
Merge branch 'test/add_wifi_init_unit_test_case' into 'master'

add wifi init unit test cases

Closes IDF-77

See merge request espressif/esp-idf!4200

5 years agoadd wifi init unit test cases
Hu Chao Ru [Fri, 11 Oct 2019 05:00:57 +0000 (13:00 +0800)]
add wifi init unit test cases

5 years agoMerge branch 'fix/cmake_req_private_comp' into 'master'
Angus Gratton [Fri, 11 Oct 2019 04:58:45 +0000 (12:58 +0800)]
Merge branch 'fix/cmake_req_private_comp' into 'master'

cmake: Fix cmakelists to add required private components

See merge request espressif/esp-idf!5428

5 years agoEthernet: optimize and bugfix
suda-morris [Thu, 19 Sep 2019 03:27:42 +0000 (11:27 +0800)]
Ethernet: optimize and bugfix

1. simplify deallocate in esp_eth_mac_new_esp32, esp_eth_mac_new_dm9051
2. remove blocking operation in os timer callback
3. check buffer size in ethernet receive function

5 years agodoc: add LWIP socket error usage
ronghulin [Wed, 21 Aug 2019 10:01:26 +0000 (18:01 +0800)]
doc: add LWIP socket error usage

5 years agoethernet: fix crash in unit test
suda-morris [Tue, 8 Oct 2019 13:30:56 +0000 (21:30 +0800)]
ethernet: fix crash in unit test

5 years agoble_mesh: fix not callback net_key when device is provisioned
lly [Fri, 11 Oct 2019 01:51:02 +0000 (09:51 +0800)]
ble_mesh: fix not callback net_key when device is provisioned

5 years agoesp_wifi: fix the bug that wpa2 enterprise sta can connect open AP
liu zhifu [Fri, 11 Oct 2019 01:39:35 +0000 (09:39 +0800)]
esp_wifi: fix the bug that wpa2 enterprise sta can connect open AP

5 years agoFix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
Roland Dobai [Tue, 8 Oct 2019 11:17:34 +0000 (13:17 +0200)]
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()

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

5 years agoMerge branch 'bugfix/wifi_lib_ci' into 'master'
Jiang Jiang Jian [Thu, 10 Oct 2019 14:25:36 +0000 (22:25 +0800)]
Merge branch 'bugfix/wifi_lib_ci' into 'master'

ci: fix ci issues of wifi lib

See merge request espressif/esp-idf!6288

5 years agoMerge branch 'NimBLE/fix_esp_nimble_hci_delay' into 'master'
Mahavir Jain [Thu, 10 Oct 2019 09:20:15 +0000 (17:20 +0800)]
Merge branch 'NimBLE/fix_esp_nimble_hci_delay' into 'master'

NimBLE: Misc changes in NimBLE porting layer and menuconfig option

See merge request espressif/esp-idf!6243

5 years agoNimBLE: Misc changes in NimBLE porting layer and menuconfig option
Prasad Alatkar [Thu, 10 Oct 2019 09:20:15 +0000 (17:20 +0800)]
NimBLE: Misc changes in NimBLE porting layer and menuconfig option

- Minor fix to remove while loop & delay while transmitting data from
  host to controller.
- Add menuconfig option to enable predefined public-private keypair for
  debugging (Vol. 3, Part H, 2.3.5.6.1)

5 years agoMerge branch 'docs/Update_CN_Getting_Started_With_Changes_in_EN' into 'master'
Krzysztof Budzynski [Thu, 10 Oct 2019 08:52:07 +0000 (16:52 +0800)]
Merge branch 'docs/Update_CN_Getting_Started_With_Changes_in_EN' into 'master'

Add translation for getting started guide - batch 1

See merge request espressif/esp-idf!6147

5 years agoAdd translation for getting started guide - batch 1
Natasha [Thu, 10 Oct 2019 08:52:07 +0000 (16:52 +0800)]
Add translation for getting started guide - batch 1

5 years agoMerge branch 'bugfix/ut_adjtime' into 'master'
Angus Gratton [Thu, 10 Oct 2019 03:08:46 +0000 (11:08 +0800)]
Merge branch 'bugfix/ut_adjtime' into 'master'

newlib: Fix UT - test time adjustment happens linearly

See merge request espressif/esp-idf!6245

5 years agoMerge branch 'bugfix/fixes_from_kconfiglib_update' into 'master'
Angus Gratton [Thu, 10 Oct 2019 03:06:29 +0000 (11:06 +0800)]
Merge branch 'bugfix/fixes_from_kconfiglib_update' into 'master'

Fix of menuconfig bug for MSYS2 and a couple of cosmetic changes

See merge request espressif/esp-idf!6255

5 years agoMerge branch 'bugfix/treat_unreg_components_as_unresolved' into 'master'
Ivan Grokhotkov [Wed, 9 Oct 2019 15:53:57 +0000 (23:53 +0800)]
Merge branch 'bugfix/treat_unreg_components_as_unresolved' into 'master'

CMake: Treat unregistered components as unresolved

See merge request espressif/esp-idf!5700

5 years agoMerge branch 'feature/cxx_coding_style' into 'master'
Ivan Grokhotkov [Wed, 9 Oct 2019 15:52:18 +0000 (23:52 +0800)]
Merge branch 'feature/cxx_coding_style' into 'master'

doc: Added basic C++ style guide

See merge request espressif/esp-idf!6216

5 years agoMerge branch 'feature/add_psram_workaround_option' into 'master'
Ivan Grokhotkov [Wed, 9 Oct 2019 15:41:09 +0000 (23:41 +0800)]
Merge branch 'feature/add_psram_workaround_option' into 'master'

make psram workaround depend on chip revison

Closes IDF-1004

See merge request espressif/esp-idf!6113

5 years agoRevised tcp_server example.
MartinValik [Wed, 12 Jun 2019 08:33:57 +0000 (10:33 +0200)]
Revised tcp_server example.
Fixed error caused by unnecessary reopening of listening socket.
Extracted packet retransmit logic to separate function.
Added robust implementation for sending data

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

5 years agoMerge branch 'bugfix/coap_mbedtls_add_define_check_for_apln' into 'master'
Mahavir Jain [Wed, 9 Oct 2019 08:46:46 +0000 (16:46 +0800)]
Merge branch 'bugfix/coap_mbedtls_add_define_check_for_apln' into 'master'

ESP32/coap_mbedtls:add macro checks

See merge request espressif/esp-idf!6262

5 years agoESP32/coap_mbedtls:add macro checks
Aditya Patwardhan [Wed, 9 Oct 2019 08:46:46 +0000 (16:46 +0800)]
ESP32/coap_mbedtls:add macro checks
Closes https://github.com/espressif/esp-idf/issues/4156

5 years agoci: fix ci issues of wifi lib
chenyudong [Wed, 9 Oct 2019 07:07:19 +0000 (15:07 +0800)]
ci: fix ci issues of wifi lib

sync esp_wifi.h to wifi lib

5 years agoMerge branch 'doc/zh_CN_repo_README' into 'master'
Krzysztof Budzynski [Wed, 9 Oct 2019 05:48:35 +0000 (13:48 +0800)]
Merge branch 'doc/zh_CN_repo_README' into 'master'

add zh_CN translation of README in esp-idf repo

Closes IDF-957

See merge request espressif/esp-idf!6217

5 years agoAdded basic C++ style guide
Jakob Hasse [Wed, 25 Sep 2019 03:08:21 +0000 (11:08 +0800)]
Added basic C++ style guide

* C++ style guide
* Changed headings to "Title Case"

5 years agoadd zh_CN translation of README in esp-idf repo
suda-morris [Thu, 19 Sep 2019 11:08:59 +0000 (19:08 +0800)]
add zh_CN translation of README in esp-idf repo

5 years agoMerge branch 'bugfix/alt_exit_idf_monitor' into 'master'
Angus Gratton [Wed, 9 Oct 2019 01:39:51 +0000 (09:39 +0800)]
Merge branch 'bugfix/alt_exit_idf_monitor' into 'master'

idf_monitor: Exit with CTRL+X in menu

Closes IDFGH-1971 and IDFGH-1930

See merge request espressif/esp-idf!6260

5 years agospiffs: follow symlinks in host test
Renz Christian Bagaporo [Tue, 8 Oct 2019 09:55:12 +0000 (17:55 +0800)]
spiffs: follow symlinks in host test

5 years agospiffs: follow symlinks feature during partition in spiffsgen
Marcin Borowicz [Sun, 14 Jul 2019 14:45:35 +0000 (16:45 +0200)]
spiffs: follow symlinks feature during partition in spiffsgen

5 years agoble_mesh: fix not restoring ble mesh cfg value
lly [Tue, 8 Oct 2019 08:34:05 +0000 (16:34 +0800)]
ble_mesh: fix not restoring ble mesh cfg value

5 years agoMerge branch 'bugfix/missing_build_targets_cmake' into 'master'
Ivan Grokhotkov [Tue, 8 Oct 2019 08:24:40 +0000 (16:24 +0800)]
Merge branch 'bugfix/missing_build_targets_cmake' into 'master'

esptool_py: add missing phony build targets for CMake

Closes IDFGH-370

See merge request espressif/esp-idf!5838

5 years agoMerge branch 'feat/spi_internal_header' into 'master'
Ivan Grokhotkov [Tue, 8 Oct 2019 08:19:46 +0000 (16:19 +0800)]
Merge branch 'feat/spi_internal_header' into 'master'

spi: move deprecated functions into internal header

See merge request espressif/esp-idf!5985

5 years agoMerge branch 'bugfix/examples_disconnect_before_restart' into 'master'
Ivan Grokhotkov [Tue, 8 Oct 2019 08:16:25 +0000 (16:16 +0800)]
Merge branch 'bugfix/examples_disconnect_before_restart' into 'master'

examples: disconnect from Wi-Fi before restart (and don't try to reconnect!)

See merge request espressif/esp-idf!6267

5 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

5 years agoMerge branch 'bugfix/restful_server_make_flash' into 'master'
Ivan Grokhotkov [Tue, 8 Oct 2019 08:14:40 +0000 (16:14 +0800)]
Merge branch 'bugfix/restful_server_make_flash' into 'master'

examples/restful_server: fix Makefile syntax for flashing SPIFFS

Closes IDFGH-1841

See merge request espressif/esp-idf!6263

5 years agoFix cmake typo
Roland Dobai [Fri, 4 Oct 2019 10:25:51 +0000 (12:25 +0200)]
Fix cmake typo

5 years agotools: Fix idf.py menuconfig characters in MSYS2
Roland Dobai [Fri, 4 Oct 2019 10:15:19 +0000 (12:15 +0200)]
tools: Fix idf.py menuconfig characters in MSYS2

5 years agoCosmetic Kconfig fixes
Roland Dobai [Fri, 4 Oct 2019 10:14:05 +0000 (12:14 +0200)]
Cosmetic Kconfig fixes

5 years agocomponent/bt: Fix bugs in HFP feature
weitianhua [Mon, 23 Sep 2019 05:15:27 +0000 (13:15 +0800)]
component/bt: Fix bugs in HFP feature

5 years agoMerge branch 'bugfix/freertos_xTaskNotifyGive' into 'master'
Angus Gratton [Tue, 8 Oct 2019 04:21:40 +0000 (12:21 +0800)]
Merge branch 'bugfix/freertos_xTaskNotifyGive' into 'master'

freertos: remove semicolon in xTaskNotifyGive

See merge request espressif/esp-idf!6208

5 years agospi: move deprecated functions into internal header
Michael (XIAO Xufeng) [Tue, 3 Sep 2019 06:06:26 +0000 (14:06 +0800)]
spi: move deprecated functions into internal header

Resolves https://github.com/espressif/esp-idf/issues/4132

5 years agolog: Add menuconfig option to log system time rather than RTOS time
GOPTIONS\pfrost [Thu, 22 Aug 2019 16:44:09 +0000 (17:44 +0100)]
log: Add menuconfig option to log system time rather than RTOS time

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

5 years agoesp_wifi: fix typo in comments (ESP_ERR_WIFI_NOT_STARTED)
Ivan Grokhotkov [Mon, 7 Oct 2019 14:48:32 +0000 (16:48 +0200)]
esp_wifi: fix typo in comments (ESP_ERR_WIFI_NOT_STARTED)

5 years agoexamples: gracefully shut down Wi-Fi before restart
Ivan Grokhotkov [Mon, 7 Oct 2019 14:46:25 +0000 (16:46 +0200)]
examples: gracefully shut down Wi-Fi before restart

This fixes the issue that if Wi-Fi is stopped from a shutdown handler,
the code in connect.c tries to reconnect, and fails because Wi-Fi is
already stopped.
Also make the error check in connect.c less strict.

5 years agowebsocket_client: fix URI parsing to include also query part in websocket connection...
David Cermak [Wed, 25 Sep 2019 13:30:01 +0000 (15:30 +0200)]
websocket_client: fix URI parsing to include also query part in websocket connection path

closes https://github.com/espressif/esp-idf/issues/4090

5 years agosystem_api: call shutdown handlers in reverse order
Ivan Grokhotkov [Mon, 7 Oct 2019 14:36:18 +0000 (16:36 +0200)]
system_api: call shutdown handlers in reverse order

Similar to how destructors should be called in reverse order to the
constructors.

5 years agows_client: fixed posting to event loop with websocket timeout
David Cermak [Mon, 26 Aug 2019 06:30:09 +0000 (08:30 +0200)]
ws_client: fixed posting to event loop with websocket timeout

Executing event loop `esp_event_loop_run()` with timeout causes delays in receiving events from user code. Fixed by removing the timeout to post synchronously.

closes https://github.com/espressif/esp-idf/issues/3957

5 years agoMerge branch 'bugfix/ws_client_fixes' into 'master'
Ivan Grokhotkov [Mon, 7 Oct 2019 12:05:41 +0000 (20:05 +0800)]
Merge branch 'bugfix/ws_client_fixes' into 'master'

ws_client: various fixes

See merge request espressif/esp-idf!5879

5 years agoMerge branch 'bugfix/esp_tls_add_header_in_esp_tls_h' into 'master'
Mahavir Jain [Mon, 7 Oct 2019 11:47:33 +0000 (19:47 +0800)]
Merge branch 'bugfix/esp_tls_add_header_in_esp_tls_h' into 'master'

ESP32/esp_tls: include esp_err.h in esp_tls.h

See merge request espressif/esp-idf!6256

5 years agoESP32/esp-tls: include esp_err.h in esp_tls.h
Aditya Patwardhan [Mon, 7 Oct 2019 11:47:32 +0000 (19:47 +0800)]
ESP32/esp-tls: include esp_err.h in esp_tls.h
Closes https://github.com/espressif/esp-idf/issues/4100

5 years agoexamples/restful_server: fix Makefile syntax for flashing SPIFFS
Ivan Grokhotkov [Mon, 7 Oct 2019 11:28:38 +0000 (13:28 +0200)]
examples/restful_server: fix Makefile syntax for flashing SPIFFS

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

5 years agoesp32: Using periph_module_enable instead of the shared regs.
KonstantinKondrashov [Wed, 25 Sep 2019 07:29:30 +0000 (15:29 +0800)]
esp32: Using periph_module_enable instead of the shared regs.

5 years agobootloader_support: Fix using shared CLK_EN and RST_EN regs for random
KonstantinKondrashov [Wed, 25 Sep 2019 07:00:33 +0000 (15:00 +0800)]
bootloader_support: Fix using shared CLK_EN and RST_EN regs for random

bootloader_random_enable() and bootloader_random_disable() functions
can be used in app.
This MR added the protection for shared CLK_EN and RST_EN registers.

5 years agoMerge branch 'bugfix/set_url_discards_username_password' into 'master'
Mahavir Jain [Fri, 4 Oct 2019 05:48:55 +0000 (13:48 +0800)]
Merge branch 'bugfix/set_url_discards_username_password' into 'master'

fixes : set_url discards username and password

Closes IDFGH-1586

See merge request espressif/esp-idf!5694

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 agows_client: added subprotocol configuration option to websocket client
David Cermak [Thu, 22 Aug 2019 20:00:41 +0000 (22:00 +0200)]
ws_client: added subprotocol configuration option to websocket client

closes https://github.com/espressif/esp-idf/issues/3893

5 years agows_client: fixed path config issue when ws server configured using host and path...
David Cermak [Thu, 22 Aug 2019 19:25:20 +0000 (21:25 +0200)]
ws_client: fixed path config issue when ws server configured using host and path instead of uri

closes https://github.com/espressif/esp-idf/issues/3892

5 years agows_client: fixed transport config option when server address configured as host,...
David Cermak [Thu, 22 Aug 2019 19:01:08 +0000 (21:01 +0200)]
ws_client: fixed transport config option when server address configured as host, port, transport rather then uri

closes https://github.com/espressif/esp-idf/issues/3891

5 years agows_client: fix ping-pong mechanism to use mask, support reception of zero-payload...
David Cermak [Thu, 22 Aug 2019 15:39:20 +0000 (17:39 +0200)]
ws_client: fix ping-pong mechanism to use mask, support reception of zero-payload PONG and sending non-zero-payload PING

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

5 years agoMerge branch 'feature/uart_isr_iram' into 'master'
Ivan Grokhotkov [Wed, 2 Oct 2019 17:21:56 +0000 (01:21 +0800)]
Merge branch 'feature/uart_isr_iram' into 'master'

uart: add option to put ISR in IRAM

Closes IDF-893

See merge request espressif/esp-idf!5905

5 years agoMerge branch 'bugfix/deprecated_sdkconfig_defaults' into 'master'
Ivan Grokhotkov [Wed, 2 Oct 2019 17:12:01 +0000 (01:12 +0800)]
Merge branch 'bugfix/deprecated_sdkconfig_defaults' into 'master'

Handle deprecated values in sdkconfig.defaults

Closes IDF-1005

See merge request espressif/esp-idf!6203

5 years agouart: add option to put ISR in IRAM
suda-morris [Mon, 26 Aug 2019 09:14:15 +0000 (17:14 +0800)]
uart: add option to put ISR in IRAM

5 years agoHandle deprecated values in sdkconfig.defaults
Roland Dobai [Wed, 25 Sep 2019 13:58:02 +0000 (15:58 +0200)]
Handle deprecated values in sdkconfig.defaults

The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092

5 years agoupdate mqtt weekend test to use mbedtls asymetric buffer
David Cermak [Wed, 2 Oct 2019 14:22:50 +0000 (16:22 +0200)]
update mqtt weekend test to use mbedtls asymetric buffer

5 years agoMerge branch 'bugfix/ext_flash_load_partitions' into 'master'
Ivan Grokhotkov [Wed, 2 Oct 2019 10:50:54 +0000 (18:50 +0800)]
Merge branch 'bugfix/ext_flash_load_partitions' into 'master'

spi_flash: ensure partition table loaded when esp_partition_register_external is called

Closes IDFGH-1916

See merge request espressif/esp-idf!6244

5 years agoMerge branch 'bugfix/changes_in_idf_to_make_compatible_with_wolfssl' into 'master'
Mahavir Jain [Wed, 2 Oct 2019 06:05:10 +0000 (14:05 +0800)]
Merge branch 'bugfix/changes_in_idf_to_make_compatible_with_wolfssl' into 'master'

Bugfix/changes in idf to make compatible with wolfssl

See merge request espressif/esp-idf!6149

5 years agonghttp: move config.h to private_include dirs
Mahavir Jain [Wed, 11 Sep 2019 10:42:53 +0000 (16:12 +0530)]
nghttp: move config.h to private_include dirs

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