]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoicmp: add example and unitest
suda-morris [Sun, 13 Oct 2019 11:01:33 +0000 (19:01 +0800)]
icmp: add example and unitest

5 years agoping: refactor with new esp_ping_xxx APIs
suda-morris [Thu, 17 Oct 2019 06:26:05 +0000 (14:26 +0800)]
ping: refactor with new esp_ping_xxx APIs

This refactor is only for backwards compatible.

5 years agolwip: add icmp echo example
Andro Nooh [Thu, 19 Sep 2019 05:13:02 +0000 (22:13 -0700)]
lwip: add icmp echo example

It piggybacks on the console example to add ping support and CLI.

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

5 years agoMerge branch 'bugfix/fix_args_to_spiffsgen_in_make_buildsystem' into 'master'
Ivan Grokhotkov [Tue, 22 Oct 2019 04:36:49 +0000 (12:36 +0800)]
Merge branch 'bugfix/fix_args_to_spiffsgen_in_make_buildsystem' into 'master'

spiffs: fix issue with args to spiffsgen in make

See merge request espressif/esp-idf!6434

5 years agospiffs: fix issue with args to spiffsgen in make
Renz Christian Bagaporo [Mon, 21 Oct 2019 09:50:27 +0000 (17:50 +0800)]
spiffs: fix issue with args to spiffsgen in make

5 years agoMerge branch 'bugfix/btdm_fix_lmp_sniff_req_timeout' into 'master'
Jiang Jiang Jian [Tue, 22 Oct 2019 03:20:14 +0000 (11:20 +0800)]
Merge branch 'bugfix/btdm_fix_lmp_sniff_req_timeout' into 'master'

components/bt: Fix LMP sniff req timeout

See merge request espressif/esp-idf!6351

5 years agoMerge branch 'feature/nimble_host_esp_ble_mesh' into 'master'
Jiang Jiang Jian [Mon, 21 Oct 2019 12:18:25 +0000 (20:18 +0800)]
Merge branch 'feature/nimble_host_esp_ble_mesh' into 'master'

components/bt: Add support of NimBLE host in ESP BLE Mesh

See merge request espressif/esp-idf!6358

5 years agocomponents/bt: Add support of NimBLE host in ESP BLE Mesh
Hrishikesh Dhayagude [Mon, 21 Oct 2019 12:18:21 +0000 (20:18 +0800)]
components/bt: Add support of NimBLE host in ESP BLE Mesh

5 years agoMerge branch 'bugfix/not_restoring_ble_mesh_cfg_val' into 'master'
Jiang Jiang Jian [Mon, 21 Oct 2019 12:16:45 +0000 (20:16 +0800)]
Merge branch 'bugfix/not_restoring_ble_mesh_cfg_val' into 'master'

ble_mesh: fix not restoring ble mesh cfg value

See merge request espressif/esp-idf!6275

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

Remove check for would_block in mbedtls

See merge request espressif/esp-idf!6384

5 years agoMerge branch 'support/heap_caps_total_size_api' into 'master'
Angus Gratton [Mon, 21 Oct 2019 06:55:58 +0000 (14:55 +0800)]
Merge branch 'support/heap_caps_total_size_api' into 'master'

Add api to get total heap size in bytes for given capability

See merge request espressif/esp-idf!6362

5 years agoAdd api to get total heap size in bytes for given capability
Kewal [Mon, 21 Oct 2019 06:55:58 +0000 (14:55 +0800)]
Add api to get total heap size in bytes for given capability

5 years agoMerge branch 'bugfix/vfs_fat_sdmmc_mount' into 'master'
Jiang Jiang Jian [Mon, 21 Oct 2019 02:33:37 +0000 (10:33 +0800)]
Merge branch 'bugfix/vfs_fat_sdmmc_mount' into 'master'

Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()

Closes IDFGH-1969

See merge request espressif/esp-idf!6282

5 years agoMerge branch 'fix/esp_flash_no_qe' into 'master'
Ivan Grokhotkov [Sun, 20 Oct 2019 05:59:30 +0000 (13:59 +0800)]
Merge branch 'fix/esp_flash_no_qe' into 'master'

esp_flash: fix the QE write issue in high freq, and support UT for external chips

Closes IDF-888

See merge request espressif/esp-idf!5736

5 years agoMerge branch 'bugfix/mdns_BCT_fix' into 'master'
Ivan Grokhotkov [Sat, 19 Oct 2019 09:10:02 +0000 (17:10 +0800)]
Merge branch 'bugfix/mdns_BCT_fix' into 'master'

mdns: fixes to have the BCT passing with latest IDF/lw-IP

See merge request espressif/esp-idf!6286

5 years agoMerge branch 'bugfix/spi_flash_read_changes_for_less_than_16_bytes' into 'master'
Mahavir Jain [Sat, 19 Oct 2019 06:56:43 +0000 (14:56 +0800)]
Merge branch 'bugfix/spi_flash_read_changes_for_less_than_16_bytes' into 'master'

Bugfix/spi flash read changes for less than 16 bytes

Closes IDFGH-1798

See merge request espressif/esp-idf!6126

5 years agoflash_ops: fix spi_flash_read with source buffer not from internal memory and size...
Ajita Chavan [Sat, 19 Oct 2019 06:56:43 +0000 (14:56 +0800)]
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16

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

5 years agoMerge branch 'feature/follow_symlinks_in_spiffsgen' into 'master'
Ivan Grokhotkov [Fri, 18 Oct 2019 10:49:35 +0000 (18:49 +0800)]
Merge branch 'feature/follow_symlinks_in_spiffsgen' into 'master'

spiffs: follow symlinks in spiffsgen

See merge request espressif/esp-idf!6280

5 years agoMerge branch 'bugfix/ci_test_idf_monitor' into 'master'
Ivan Grokhotkov [Fri, 18 Oct 2019 10:01:11 +0000 (18:01 +0800)]
Merge branch 'bugfix/ci_test_idf_monitor' into 'master'

CI: Adjust the test parameters of IDF Monitor tests

See merge request espressif/esp-idf!6377

5 years agoMerge branch 'bugfix/modify_buffer_number_type_from_u8_to_u16' into 'master'
Jiang Jiang Jian [Fri, 18 Oct 2019 06:24:20 +0000 (14:24 +0800)]
Merge branch 'bugfix/modify_buffer_number_type_from_u8_to_u16' into 'master'

esp_wifi: modify WiFi buffer number type from uint8_t to uint16_t

See merge request espressif/esp-idf!6355

5 years agoRemove check for would_block in mbedtls
Kedar Sovani [Mon, 6 Aug 2018 06:06:40 +0000 (11:36 +0530)]
Remove check for would_block in mbedtls

Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.

Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.

5 years agoMerge branch 'doc/review_api-ref_periph-spi_slave' into 'master'
Krzysztof Budzynski [Thu, 17 Oct 2019 10:13:09 +0000 (18:13 +0800)]
Merge branch 'doc/review_api-ref_periph-spi_slave' into 'master'

Doc/review api ref periph spi slave

See merge request espressif/esp-idf!5625

5 years agoMerge branch 'bugfix/mqtt_reference_latest_version' into 'master'
Angus Gratton [Thu, 17 Oct 2019 10:01:58 +0000 (18:01 +0800)]
Merge branch 'bugfix/mqtt_reference_latest_version' into 'master'

mqtt: updated to latest version to include latest fixes and features

See merge request espressif/esp-idf!6294

5 years agoMerge branch 'feature/cxx_rtti_preparation_v2' into 'master'
Ivan Grokhotkov [Thu, 17 Oct 2019 08:22:06 +0000 (16:22 +0800)]
Merge branch 'feature/cxx_rtti_preparation_v2' into 'master'

C++: add provisions for optional RTTI support (v2)

See merge request espressif/esp-idf!6341

5 years agoMerge branch 'bugfix/mqtt_example_url_update' into 'master'
Ivan Grokhotkov [Thu, 17 Oct 2019 08:12:29 +0000 (16:12 +0800)]
Merge branch 'bugfix/mqtt_example_url_update' into 'master'

MQTT: update default broker URL for examples

Closes IDF-1052

See merge request espressif/esp-idf!6214

5 years agoMerge branch 'bugfix/o2_build_warnings' into 'master'
Angus Gratton [Thu, 17 Oct 2019 05:09:28 +0000 (13:09 +0800)]
Merge branch 'bugfix/o2_build_warnings' into 'master'

Fix -O2 build warnings

Closes IDFGH-1945 and IDFGH-1946

See merge request espressif/esp-idf!6311

5 years agoMerge branch 'feature/openeth_driver' into 'master'
Angus Gratton [Thu, 17 Oct 2019 05:05:27 +0000 (13:05 +0800)]
Merge branch 'feature/openeth_driver' into 'master'

ethernet: support OpenCores ethernet MAC

Closes IDF-891

See merge request espressif/esp-idf!6252

5 years agoMerge branch 'nimble/update_no_of_conn' into 'master'
Mahavir Jain [Thu, 17 Oct 2019 04:54:37 +0000 (12:54 +0800)]
Merge branch 'nimble/update_no_of_conn' into 'master'

NimBLE: Set the default number of max connections to the controller's value

See merge request espressif/esp-idf!6353

5 years agoNimBLE: Set the default number of max connections to the controller's value
Hrishikesh Dhayagude [Thu, 17 Oct 2019 04:54:34 +0000 (12:54 +0800)]
NimBLE: Set the default number of max connections to the controller's value

Also, update the NimBLE submodule to remove unwanted logging stuff

5 years agoMerge branch 'feature/example_netbios' into 'master'
Angus Gratton [Thu, 17 Oct 2019 04:54:01 +0000 (12:54 +0800)]
Merge branch 'feature/example_netbios' into 'master'

add netbios support in restful server example

Closes IDF-1070

See merge request espressif/esp-idf!6346

5 years agoMerge branch 'bugfix/ws_opcodes_fix' into 'master'
Angus Gratton [Thu, 17 Oct 2019 04:36:08 +0000 (12:36 +0800)]
Merge branch 'bugfix/ws_opcodes_fix' into 'master'

ws_client: fix for not sending ping responses, updated to pass events also for...

See merge request espressif/esp-idf!6111

5 years agoMerge branch 'feature/can_support_low_bit_rates' into 'master'
Angus Gratton [Thu, 17 Oct 2019 04:33:18 +0000 (12:33 +0800)]
Merge branch 'feature/can_support_low_bit_rates' into 'master'

can:  Support for lower bit rates for ESP32 ECO2 and ECO3

Closes IDF-1045

See merge request espressif/esp-idf!6363

5 years agocan: Add support for lower bit rates
Darian [Thu, 17 Oct 2019 04:33:17 +0000 (12:33 +0800)]
can: Add support for lower bit rates

This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.

5 years agoMerge branch 'doc/add_doc_for_socket_error_usage' into 'master'
Angus Gratton [Wed, 16 Oct 2019 22:17:34 +0000 (06:17 +0800)]
Merge branch 'doc/add_doc_for_socket_error_usage' into 'master'

doc: add LW-IP socket error usage

See merge request espressif/esp-idf!5856

5 years agoCI: Adjust the test parameters of IDF Monitor
Roland Dobai [Wed, 16 Oct 2019 10:37:45 +0000 (12:37 +0200)]
CI: Adjust the test parameters of IDF Monitor

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

log: Add menuconfig option to log system time rather than RTOS time

See merge request espressif/esp-idf!6103

5 years agoMerge branch 'bugfix/ethernet_unitest_crash' into 'master'
Angus Gratton [Wed, 16 Oct 2019 05:05:16 +0000 (13:05 +0800)]
Merge branch 'bugfix/ethernet_unitest_crash' into 'master'

ethernet: fix crash in unit test

See merge request espressif/esp-idf!6284

5 years agoMerge branch 'bugfix/ws_buffer_overflow_fix' into 'master'
Angus Gratton [Wed, 16 Oct 2019 05:04:39 +0000 (13:04 +0800)]
Merge branch 'bugfix/ws_buffer_overflow_fix' into 'master'

tcp_transport: fix possible buffer overflow in ws transport connect

Closes IDF-692

See merge request espressif/esp-idf!5887

5 years agoMerge branch 'fix/tcp_server_example' into 'master'
Ivan Grokhotkov [Tue, 15 Oct 2019 15:04:47 +0000 (23:04 +0800)]
Merge branch 'fix/tcp_server_example' into 'master'

Bugfix of tcp_server example.

Closes IDFGH-1306

See merge request espressif/esp-idf!5211

5 years agoReview the file api-reference/peripherals/spi_slave.rst
Kirill Chalov [Mon, 22 Jul 2019 04:48:52 +0000 (12:48 +0800)]
Review the file api-reference/peripherals/spi_slave.rst

5 years agoMQTT: update default broker URL for examples
Marius Vikhammer [Fri, 27 Sep 2019 01:35:26 +0000 (09:35 +0800)]
MQTT: update default broker URL for examples

The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2

5 years agoMerge branch 'docs/Update_CN_hW_Reference_With_Changes_in_EN' into 'master'
Krzysztof Budzynski [Tue, 15 Oct 2019 09:15:17 +0000 (17:15 +0800)]
Merge branch 'docs/Update_CN_hW_Reference_With_Changes_in_EN' into 'master'

Update board getting started guides to make cmake default

See merge request espressif/esp-idf!6295

5 years agoUpdate board getting started guides to make cmake default
Natasha [Tue, 15 Oct 2019 09:15:15 +0000 (17:15 +0800)]
Update board getting started guides to make cmake default

5 years agolwip: autoip: used Kconfig parameters instead of constants to be in line with previou...
David Cermak [Tue, 8 Oct 2019 17:56:11 +0000 (19:56 +0200)]
lwip: autoip: used Kconfig parameters instead of constants to be in line with previous esp-lwip port and to have the BCT passed

5 years agomdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECT...
David Cermak [Tue, 8 Oct 2019 17:53:56 +0000 (19:53 +0200)]
mdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECTED event.

tcpip_adapter_dhcpc_get_status() returns the actual internal value of dhcp client without any locking or TCP/IP stack context call, so when CONNECTED event fired with default settings it started DHCP client in TCP/IP stack context and at the same time mdns event handler checking actual DHCP state, which could still be INIT (not STARTED). Purpose of this check is to enable PCB if DHCP was stopped before setting network interface up (typically static IP settings), so the solutin is to check against TCPIP_ADAPTER_DHCP_STOPPED state

5 years agoMerge branch 'bugfix/debug_logs_cleanup' into 'master'
Ivan Grokhotkov [Mon, 14 Oct 2019 15:37:51 +0000 (23:37 +0800)]
Merge branch 'bugfix/debug_logs_cleanup' into 'master'

Bugfix/debug logs cleanup

See merge request espressif/esp-idf!6209

5 years agowpa_supplicant: Make hexdump logs more compact
Hrudaynath Dhabe [Mon, 14 Oct 2019 15:37:51 +0000 (23:37 +0800)]
wpa_supplicant: Make hexdump logs more compact

When running with wpa debug prints enabled data/key hexdumps are
printed to the log in a really verbose format (one byte per line).

Make these printouts more compact. 16 bytes per line.

5 years agoMerge branch 'bugfix/console_command_exit_error_check' into 'master'
Ivan Grokhotkov [Mon, 14 Oct 2019 15:10:01 +0000 (23:10 +0800)]
Merge branch 'bugfix/console_command_exit_error_check' into 'master'

console: fix wrong param passed to esp_err_to_name

See merge request espressif/esp-idf!6360

5 years agoMerge branch 'feature/idf_monitor_detect_port' into 'master'
Jiang Jiang Jian [Mon, 14 Oct 2019 14:19:56 +0000 (22:19 +0800)]
Merge branch 'feature/idf_monitor_detect_port' into 'master'

idf_monitor: Autodetect port

Closes IDFGH-1995

See merge request espressif/esp-idf!6345

5 years agoMerge branch 'hfp_bugfix' into 'master'
Jiang Jiang Jian [Mon, 14 Oct 2019 13:47:56 +0000 (21:47 +0800)]
Merge branch 'hfp_bugfix' into 'master'

component/bt: Fix bugs in HFP feature

Closes BT-427

See merge request espressif/esp-idf!6197

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

ESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately

See merge request espressif/esp-idf!6322

5 years agoESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately
Hrishikesh Dhayagude [Mon, 14 Oct 2019 13:42:35 +0000 (21:42 +0800)]
ESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately

The new value should be printed in the set function and not the previous
one.

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