]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoupdate translation of establish-serial-connection
suda-morris [Mon, 21 Jan 2019 15:45:31 +0000 (23:45 +0800)]
update translation of establish-serial-connection

5 years agoSmall updates of wording
krzychb [Mon, 21 Jan 2019 05:25:05 +0000 (06:25 +0100)]
Small updates of wording

5 years agodocs(en): dialout-linux added specific command for Arch linux the correct group is...
ShellAddicted [Fri, 11 Jan 2019 17:03:17 +0000 (18:03 +0100)]
docs(en): dialout-linux added specific command for Arch linux the correct group is 'uucp'

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

5 years agoMerge branch 'feature/merge_multiple_github_prs' into 'master'
Ivan Grokhotkov [Thu, 24 Jan 2019 07:14:47 +0000 (15:14 +0800)]
Merge branch 'feature/merge_multiple_github_prs' into 'master'

Multiple Github PRs

See merge request idf/esp-idf!4146

5 years agoMerge branch 'doc/add_esp_ble_test_case' into 'master'
Angus Gratton [Thu, 24 Jan 2019 06:29:31 +0000 (14:29 +0800)]
Merge branch 'doc/add_esp_ble_test_case' into 'master'

add esp ble compatibility test case

See merge request idf/esp-idf!3989

5 years agoadd esp ble compatibility test case
Wang Fang [Thu, 24 Jan 2019 06:29:31 +0000 (14:29 +0800)]
add esp ble compatibility test case

5 years agoMerge branch 'bugfix/reduce_nvs_init_time' into 'master'
Angus Gratton [Thu, 24 Jan 2019 06:17:57 +0000 (14:17 +0800)]
Merge branch 'bugfix/reduce_nvs_init_time' into 'master'

nvs_flash: Improve nvs_flash_init_partition() speed

See merge request idf/esp-idf!4097

5 years agoMerge branch 'bugfix/sha_ownership' into 'master'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:07:23 +0000 (14:07 +0800)]
Merge branch 'bugfix/sha_ownership' into 'master'

hwcrypto sha: Allow SHA contexts to be shared between tasks

See merge request idf/esp-idf!4010

5 years agoMerge branch 'feature/efuse_add_voltage_level' into 'master'
Ivan Grokhotkov [Thu, 24 Jan 2019 05:03:25 +0000 (13:03 +0800)]
Merge branch 'feature/efuse_add_voltage_level' into 'master'

feature(efuse): add support for setting core voltage in high performance cases

See merge request idf/esp-idf!4124

5 years agoMerge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'
Angus Gratton [Thu, 24 Jan 2019 03:56:52 +0000 (11:56 +0800)]
Merge branch 'bugfix/regenerate_sdkconfig_fails' into 'master'

Fix issues with regenerating sdkconfig on modification

Closes #58

See merge request idf/esp-idf!4115

5 years agoInitialized some uninitialized variables in rtc_clk.c and ringbuf.c.
Pieter du Preez [Mon, 24 Dec 2018 11:37:09 +0000 (11:37 +0000)]
Initialized some uninitialized variables in rtc_clk.c and ringbuf.c.

The following 2 compiler warnings are only reproducible when setting:
   OPTIMIZATION_FLAGS = -Ofast

esp-idf/components/soc/esp32/rtc_clk.c:
In function 'rtc_clk_cpu_freq_get':
esp-idf/components/soc/esp32/rtc_clk.c:506:12:
error: 'freq' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
return freq;

esp-idf/components/esp_ringbuf/ringbuf.c:
In function 'xRingbufferReceiveSplitFromISR':
esp-idf/components/esp_ringbuf/ringbuf.c:934:26:
error: 'pvTempTailItem' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
*ppvTailItem = pvTempTailItem;

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

5 years agoHandle esp_tls_conn_read disconnection in ssl_read. Fixes #2805
rustyx [Sat, 19 Jan 2019 10:13:22 +0000 (11:13 +0100)]
Handle esp_tls_conn_read disconnection in ssl_read. Fixes #2805

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

5 years agofix esp_http_client_open
Damian Reboredo [Sun, 6 Jan 2019 10:01:00 +0000 (07:01 -0300)]
fix esp_http_client_open

client->post_len was not bein set therefore content-length was 0

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

5 years agoFix typo in error message in esp_bluedroid_init
Michael Reutman [Fri, 14 Dec 2018 01:23:27 +0000 (17:23 -0800)]
Fix typo in error message in esp_bluedroid_init

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

5 years agoAdd static qualifier to s_light_sleep_wakeup variable to prevent it from being global.
Michael Reutman [Wed, 5 Dec 2018 04:22:55 +0000 (20:22 -0800)]
Add static qualifier to s_light_sleep_wakeup variable to prevent it from being global.

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

5 years agoesp_http_client: Add support for mutual authentication
Anders Kalør [Sat, 10 Nov 2018 22:51:05 +0000 (23:51 +0100)]
esp_http_client: Add support for mutual authentication

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

5 years agoMerge branch 'bugfix/bootloader_map_size' into 'master'
Ivan Grokhotkov [Wed, 23 Jan 2019 08:56:58 +0000 (16:56 +0800)]
Merge branch 'bugfix/bootloader_map_size' into 'master'

bootloader: fix incorrect mapping size

See merge request idf/esp-idf!3175

5 years agoMerge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'
Jiang Jiang Jian [Wed, 23 Jan 2019 06:58:49 +0000 (14:58 +0800)]
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index' into 'master'

esp32: fix invalid channel state information(CSI) data index

See merge request idf/esp-idf!4048

5 years agoMerge branch 'feature/support_global_der_ca_store' into 'master'
Ivan Grokhotkov [Wed, 23 Jan 2019 05:30:49 +0000 (13:30 +0800)]
Merge branch 'feature/support_global_der_ca_store' into 'master'

Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store

See merge request idf/esp-idf!3795

5 years agohwcrypto sha: Use spinlocks instead of semaphores for small state changes
Angus Gratton [Fri, 21 Dec 2018 05:16:16 +0000 (16:16 +1100)]
hwcrypto sha: Use spinlocks instead of semaphores for small state changes

Significant performance improvement and smaller RAM footprint.

5 years agohwcrypto sha: Allow SHA contexts to be shared between tasks
Angus Gratton [Fri, 21 Dec 2018 04:37:57 +0000 (15:37 +1100)]
hwcrypto sha: Allow SHA contexts to be shared between tasks

Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.

Replace with binary semaphore which can be shared between tasks.

Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).

5 years agonvs_flash: Improve nvs_flash_init_partition() speed
Gautier Seidel [Tue, 18 Dec 2018 16:12:35 +0000 (17:12 +0100)]
nvs_flash: Improve nvs_flash_init_partition() speed

Signed-off-by: Sagar Bijwe <sagar@espressif.com>
5 years agoMerge branch 'bugfix/examples_http_file_server_readme' into 'master'
Angus Gratton [Wed, 23 Jan 2019 01:06:46 +0000 (09:06 +0800)]
Merge branch 'bugfix/examples_http_file_server_readme' into 'master'

HTTP File Server : Fix README of example

See merge request idf/esp-idf!4112

5 years agoesp32: fix invalid channel state information(CSI) data index
XiaXiaotian [Thu, 27 Dec 2018 13:06:58 +0000 (21:06 +0800)]
esp32: fix invalid channel state information(CSI) data index

    Due to a hardware limitation in ESP32, the first four bytes of some
    CSI data is invalid, not the last four bytes.

    Correct a mistake of CSI sub-carrier index in documentation.

5 years agotinyfw: update to support new esptool argument
Ivan Grokhotkov [Tue, 22 Jan 2019 10:40:25 +0000 (18:40 +0800)]
tinyfw: update to support new esptool argument

5 years agofeature: add support for setting core voltage in high performance cases.
Wangjialin [Mon, 21 Jan 2019 10:14:49 +0000 (18:14 +0800)]
feature: add support for setting core voltage in high performance cases.

1. add definitions of EFUSE_RD_VOL_LEVEL_HP_INV in efuse_reg.h
2. modify the core voltage according to the record in efuse in high performance cases.

5 years agoMerge branch 'bugfix/http_server_uri_template' into 'master'
Ivan Grokhotkov [Tue, 22 Jan 2019 03:45:45 +0000 (11:45 +0800)]
Merge branch 'bugfix/http_server_uri_template' into 'master'

esp_http_server : Remove casual use of 'template' keyword

See merge request idf/esp-idf!4123

5 years agoMerge branch 'bugfix/cmake_env_var_for_kconfig' into 'master'
Angus Gratton [Tue, 22 Jan 2019 03:11:18 +0000 (11:11 +0800)]
Merge branch 'bugfix/cmake_env_var_for_kconfig' into 'master'

CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.

See merge request idf/esp-idf!4100

5 years agoCMake: Make IDF_PATH available to Kconfiglib when not explicitly set.
Sagar Bijwe [Fri, 11 Jan 2019 06:29:59 +0000 (11:59 +0530)]
CMake: Make IDF_PATH available to Kconfiglib when not explicitly set.

When IDF_PATH is not set by the user, cmake infers the same through
other means and sets it as an environment variable. However, some
sub-invocation of cmake may not see this variable as it is not set
in the parent. This change adds a custom command for exporting IDF_PATH
just before invoking ldgen so that IDF_PATH can be used in Kconfig
without any errors.

5 years agoMerge branch 'bugfix/esp-http-client-incorrect-path' into 'master'
Ivan Grokhotkov [Mon, 21 Jan 2019 11:08:24 +0000 (19:08 +0800)]
Merge branch 'bugfix/esp-http-client-incorrect-path' into 'master'

esp_http_client: Fix config member path's incorrect setting issue

See merge request idf/esp-idf!4078

5 years agoesp_http_client: Fix config member path's incorrect setting issue
Jitin George [Mon, 21 Jan 2019 11:08:24 +0000 (19:08 +0800)]
esp_http_client: Fix config member path's incorrect setting issue

5 years agoesp_http_server : Remove casual use of 'template' keyword
Anurag Kar [Mon, 21 Jan 2019 10:38:03 +0000 (16:08 +0530)]
esp_http_server : Remove casual use of 'template' keyword

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

5 years agoUpdate esptool.py to v2.6
Angus Gratton [Wed, 9 Jan 2019 07:11:41 +0000 (23:11 -0800)]
Update esptool.py to v2.6

5 years agobootloader: account for load address when mapping cache pages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:15:20 +0000 (18:15 +0800)]
bootloader: account for load address when mapping cache pages

Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.

Reported in https://esp32.com/viewtopic.php?f=13&t=6952.

5 years agobootloader: fix IROM and DROM swapped in log messages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:10:46 +0000 (18:10 +0800)]
bootloader: fix IROM and DROM swapped in log messages

5 years agoMerge branch 'bugfix/phy_rtc_cache_disabled' into 'master'
Jiang Jiang Jian [Fri, 18 Jan 2019 02:53:52 +0000 (10:53 +0800)]
Merge branch 'bugfix/phy_rtc_cache_disabled' into 'master'

Fix PHY/RTC functions called in ISR, but stored in flash

See merge request idf/esp-idf!4108

5 years agoFix some bugs in phy
Tian Hao [Sun, 13 Jan 2019 08:05:12 +0000 (16:05 +0800)]
Fix some bugs in phy

1. fix bug PHY/RTC functions called in ISR (update phy to v4007)
2. add UnitTest to test it
3. disable/enable agc to mac deinit/init

5 years agoMerge branch 'mesh/cs_root_conflict' into 'master'
Jiang Jiang Jian [Wed, 16 Jan 2019 13:16:56 +0000 (21:16 +0800)]
Merge branch 'mesh/cs_root_conflict' into 'master'

detect and fix root conflicts when router BSSID is not set

See merge request idf/esp-idf!3869

5 years agotool: Add unit test for Kconfig gen
KonstantinKondrashov [Mon, 14 Jan 2019 11:41:29 +0000 (19:41 +0800)]
tool: Add unit test for Kconfig gen

5 years agodocs: remove invalid arg in confgen invocation on docs generation
Renz Christian Bagaporo [Tue, 15 Jan 2019 15:37:48 +0000 (23:37 +0800)]
docs: remove invalid arg in confgen invocation on docs generation

5 years agocmake: only generate sdkconfig on top level project
Renz Christian Bagaporo [Tue, 15 Jan 2019 15:07:17 +0000 (23:07 +0800)]
cmake: only generate sdkconfig on top level project

5 years agoconfgen: base config creation on output type args
Renz Christian Bagaporo [Tue, 15 Jan 2019 15:06:50 +0000 (23:06 +0800)]
confgen: base config creation on output type args

5 years agotest: modify the reason code from 204 to 15 in WIFI_CONN_0904
qiyueixa [Tue, 15 Jan 2019 08:34:26 +0000 (16:34 +0800)]
test: modify the reason code from 204 to 15 in WIFI_CONN_0904

1. remove the step of testing station connect using a wrong password.

5 years agoMerge branch 'bugfix/fix_psram_eid' into 'master'
Wang Jia Lin [Tue, 15 Jan 2019 09:44:51 +0000 (17:44 +0800)]
Merge branch 'bugfix/fix_psram_eid' into 'master'

bugfix(psram): fix psram size acquisition method, support esp32-pico chips

See merge request idf/esp-idf!3750

5 years agohttp file_server : Fix README of example
Anurag Kar [Tue, 15 Jan 2019 07:15:48 +0000 (12:45 +0530)]
http file_server : Fix README of example

5 years agomesh: update libs
qiyuexia [Tue, 8 Jan 2019 14:14:36 +0000 (22:14 +0800)]
mesh: update libs

1. detect and fix root conflicts when router BSSID is not set.
2. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.

5 years agoMerge branch 'bugfix/examples_http_file_server_kconfig' into 'master'
Angus Gratton [Tue, 15 Jan 2019 03:59:35 +0000 (11:59 +0800)]
Merge branch 'bugfix/examples_http_file_server_kconfig' into 'master'

HTTP File Server : Fix kconfig of example

See merge request idf/esp-idf!4110

5 years agohttp_file_server : fix kconfig of example
Anurag Kar [Tue, 15 Jan 2019 01:57:22 +0000 (07:27 +0530)]
http_file_server : fix kconfig of example

5 years agoMerge branch 'feature/http_server_wildcard_uri' into 'master'
Ivan Grokhotkov [Mon, 14 Jan 2019 11:44:54 +0000 (19:44 +0800)]
Merge branch 'feature/http_server_wildcard_uri' into 'master'

Wildcard URI matching for http_server

See merge request idf/esp-idf!3973

5 years agoMerge branch 'bugfix/mqtt_tests_local_broker' into 'master'
Ivan Grokhotkov [Mon, 14 Jan 2019 08:29:43 +0000 (16:29 +0800)]
Merge branch 'bugfix/mqtt_tests_local_broker' into 'master'

MQTT tests: connect to local broker when running in CI to make the tests more reliable

See merge request idf/esp-idf!3926

5 years agoAdd esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_...
Paul Reimer [Thu, 1 Nov 2018 18:11:16 +0000 (11:11 -0700)]
Add esp_tls_init_global_ca_store function to esp-tls, called from esp_tls_set_global_ca_store

Signed-off-by: Chirag Atal <chirag.atal@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/2654

5 years agoHTTP Server : File server example added
Anurag Kar [Sun, 16 Dec 2018 18:10:24 +0000 (23:40 +0530)]
HTTP Server : File server example added

This example demonstrates the capability of wildcard URI matching
allowing for a full fledged file server to be created using esp_http_server.

5 years agoHTTP Server : Unit test added for httpd_uri_match_wildcard() function as given in...
Anurag Kar [Wed, 9 Jan 2019 21:29:23 +0000 (02:59 +0530)]
HTTP Server : Unit test added for httpd_uri_match_wildcard() function as given in https://github.com/espressif/esp-idf/pull/2581#issuecomment-430788473

5 years agoHTTP Server : Add uri_match_fn field in config structure which accepts custom URI...
Anurag Kar [Sun, 6 Jan 2019 14:20:20 +0000 (19:50 +0530)]
HTTP Server : Add uri_match_fn field in config structure which accepts custom URI matching functions of type httpd_uri_match_func_t and defaults to basic string compare when set to NULL.

Move static uri_matches() function to httpd_uri_match_wildcard() under esp_http_server.h and make it optional.

5 years agoHTTP Server : Add helper APIs for sending string content
Anurag Kar [Sat, 5 Jan 2019 21:14:45 +0000 (02:44 +0530)]
HTTP Server : Add helper APIs for sending string content

Note : In future consider deprecating usage of -1 for setting
buffer length equal to string length in APIs httpd_resp_send()
and httpd_resp_send_chunk()

5 years agoMerge branch 'bugfix/wifi_fix_incorrect_tx_complete_state' into 'master'
Jiang Jiang Jian [Sat, 12 Jan 2019 11:54:51 +0000 (19:54 +0800)]
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state' into 'master'

esp32: fix the incorrect tx complete state issue

See merge request idf/esp-idf!4083

5 years agoesp32: fix the incorrect tx complete state issue
Liu Zhi Fu [Fri, 11 Jan 2019 17:55:25 +0000 (01:55 +0800)]
esp32: fix the incorrect tx complete state issue

5 years agoMerge branch 'bugfix/fix_ba_hardware_index_deleting_issue' into 'master'
Jiang Jiang Jian [Sat, 12 Jan 2019 01:37:03 +0000 (09:37 +0800)]
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue' into 'master'

esp32: fix wrongly deleting hardware BA index bug

See merge request idf/esp-idf!4101

5 years agomqtt tests: connect to local broker when running in CI to make the tests more reliable
David Cermak [Fri, 7 Dec 2018 14:15:34 +0000 (15:15 +0100)]
mqtt tests: connect to local broker when running in CI to make the tests more reliable

5 years agoMerge branch 'feature/check_kconfig' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 13:14:27 +0000 (21:14 +0800)]
Merge branch 'feature/check_kconfig' into 'master'

Check the style of Kconfig files

See merge request idf/esp-idf!3971

5 years agoMerge branch 'feature/freemodbus_mb_inst_config' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 12:14:46 +0000 (20:14 +0800)]
Merge branch 'feature/freemodbus_mb_inst_config' into 'master'

examples: freemodbus port serial slave increase MB_INST_MAX_SIZE

See merge request idf/esp-idf!4080

5 years agoCheck & correct Kconfig files
Roland Dobai [Thu, 6 Dec 2018 14:08:18 +0000 (15:08 +0100)]
Check & correct Kconfig files

5 years agoexamples: change max register area size to maximum value
aleks [Mon, 7 Jan 2019 10:33:20 +0000 (11:33 +0100)]
examples: change max register area size to maximum value

esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2);
Update support for coils read into freemodbus.c;

TW#28143
Closes https://github.com/espressif/esp-idf/issues/2884

5 years agoesp32: fix wrongly deleting hardware BA index bug
Liu Zhi Fu [Fri, 11 Jan 2019 08:31:01 +0000 (16:31 +0800)]
esp32: fix wrongly deleting hardware BA index bug

Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.

5 years agoMerge branch 'bugfix/unix_makefile_build_on_windows' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 08:09:28 +0000 (16:09 +0800)]
Merge branch 'bugfix/unix_makefile_build_on_windows' into 'master'

CMake: Fix build error when using Windows command line and MinGW generator

See merge request idf/esp-idf!3997

5 years agoMerge branch 'feature/mqtt_before_connect_event' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 07:38:23 +0000 (15:38 +0800)]
Merge branch 'feature/mqtt_before_connect_event' into 'master'

MQTT support for fragmented and packed messages

See merge request idf/esp-idf!3743

5 years agoMerge branch 'bugfix/Cmake_support_dhcp_state' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 07:23:40 +0000 (15:23 +0800)]
Merge branch 'bugfix/Cmake_support_dhcp_state' into 'master'

Added Cmake support for dhcp_state

See merge request idf/esp-idf!3804

5 years agoMerge branch 'test/unit_test_multi_devices_case_pass_param_by_signals' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 07:23:19 +0000 (15:23 +0800)]
Merge branch 'test/unit_test_multi_devices_case_pass_param_by_signals' into 'master'

unit-test-app: support passing parameter with signals

See merge request idf/esp-idf!3960

5 years agoMerge branch 'bugfix/mdns_udp_send_protected' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 07:20:09 +0000 (15:20 +0800)]
Merge branch 'bugfix/mdns_udp_send_protected' into 'master'

mdns networking udp send protected

See merge request idf/esp-idf!3969

5 years agoMerge branch 'bugfix/vfs_ut_performance' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 06:09:02 +0000 (14:09 +0800)]
Merge branch 'bugfix/vfs_ut_performance' into 'master'

VFS: move all functions into RAM which are called in the performance test

See merge request idf/esp-idf!4047

5 years agoMerge branch 'bugfix/fatfs_perf_test' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 06:05:58 +0000 (14:05 +0800)]
Merge branch 'bugfix/fatfs_perf_test' into 'master'

fatfs: bypass newlib buffering in performance test

See merge request idf/esp-idf!4076

5 years agoMerge branch 'feature/console_nvs' into 'master'
Ivan Grokhotkov [Fri, 11 Jan 2019 01:51:50 +0000 (09:51 +0800)]
Merge branch 'feature/console_nvs' into 'master'

Added support for NVS in console example

See merge request idf/esp-idf!3633

5 years agoAdded support for NVS in console example
Martin Válik [Fri, 11 Jan 2019 01:51:50 +0000 (09:51 +0800)]
Added support for NVS in console example

5 years agounit-test: fix 2 issues in unit test script:
He Yin Ling [Thu, 20 Dec 2018 09:00:12 +0000 (17:00 +0800)]
unit-test: fix 2 issues in unit test script:

1. Gitlab will only regard failure (not error) as failed case. Use log
failure instead of log error, to display all error msg in test result
2. fix failed case not recognized by test script when failed during
reset DUT

5 years agotest: add test to check wifi conneciton between sta and softap
He Yin Ling [Wed, 19 Dec 2018 07:48:58 +0000 (15:48 +0800)]
test: add test to check wifi conneciton between sta and softap

5 years agounit-test-app: support passing parameter with signals
He Yin Ling [Thu, 13 Dec 2018 08:58:34 +0000 (16:58 +0800)]
unit-test-app: support passing parameter with signals

5 years agoMerge branch 'bugfix/python_virtualenv_detection' into 'master'
Ivan Grokhotkov [Thu, 10 Jan 2019 07:52:54 +0000 (15:52 +0800)]
Merge branch 'bugfix/python_virtualenv_detection' into 'master'

python:  Add check if current python is inside virtual environment

See merge request idf/esp-idf!4088

5 years agoAdded Cmake support for dhcp_state
MartinValik [Tue, 27 Nov 2018 13:35:51 +0000 (14:35 +0100)]
Added Cmake support for dhcp_state

5 years agoMerge branch 'bugfix/wifi_defragmentation_only_for_data_frame' into 'master'
Jiang Jiang Jian [Wed, 9 Jan 2019 07:54:05 +0000 (15:54 +0800)]
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame' into 'master'

esp32: do defragmentation only for data and management frame

See merge request idf/esp-idf!4072

5 years agofeature(psram): add psram support for esp32-pico chip
chenjianqiang [Tue, 25 Dec 2018 13:15:15 +0000 (21:15 +0800)]
feature(psram): add psram support for esp32-pico chip

1. esp32-pico use standard spi driver to access psram
2. for esp32-pico, flash and psram share the clock
3. for esp32-pico, psram cs io can be overwrite via menuconfig

5 years agoMerge branch 'bugfix/fix_mbox_thread_safe_issue' into 'master'
Jiang Jiang Jian [Wed, 9 Jan 2019 02:20:50 +0000 (10:20 +0800)]
Merge branch 'bugfix/fix_mbox_thread_safe_issue' into 'master'

tcpip: fix mbox thread-safe issue

See merge request idf/esp-idf!4002

5 years agopython: Add check if current python is inside virtual environment
Sergei Silnov [Tue, 8 Jan 2019 10:40:49 +0000 (11:40 +0100)]
python:  Add check if current python is inside virtual environment

5 years agoMerge branch 'bugfix/timer_delete_dispatch_race' into 'master'
Ivan Grokhotkov [Tue, 8 Jan 2019 06:06:46 +0000 (14:06 +0800)]
Merge branch 'bugfix/timer_delete_dispatch_race' into 'master'

esp_timer: fix race between deleting the timer and executing the callback

See merge request idf/esp-idf!3992

5 years agoesp32: do defragmentation only for data and management frame
XiaXiaotian [Fri, 4 Jan 2019 03:17:53 +0000 (11:17 +0800)]
esp32: do defragmentation only for data and management frame

    Check frame type before defragmentation. Only data and management frame can do
    defragmentation.

5 years agoMerge branch 'bugfix/esp-http-client-fixes' into 'master'
Ivan Grokhotkov [Mon, 7 Jan 2019 08:33:41 +0000 (16:33 +0800)]
Merge branch 'bugfix/esp-http-client-fixes' into 'master'

Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example

See merge request idf/esp-idf!4023

5 years agoMinor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
Jitin George [Mon, 7 Jan 2019 08:33:41 +0000 (16:33 +0800)]
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example

5 years agolwip: fix mbox thread-safe issue
Liu Zhi Fu [Thu, 20 Dec 2018 06:03:11 +0000 (14:03 +0800)]
lwip: fix mbox thread-safe issue

Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.

5 years agoMerge branch 'bugfix/tw26890_update_wifi_api_guide' into 'master'
Jiang Jiang Jian [Mon, 7 Jan 2019 05:03:20 +0000 (13:03 +0800)]
Merge branch 'bugfix/tw26890_update_wifi_api_guide' into 'master'

Bugfix/tw26890 update wifi api guide

See merge request idf/esp-idf!3630

5 years agoImplement wildcard URI matching for http_server
Ondřej Hruška [Wed, 17 Oct 2018 20:57:37 +0000 (22:57 +0200)]
Implement wildcard URI matching for http_server

5 years agofatfs: bypass newlib buffering in performance test
Ivan Grokhotkov [Fri, 4 Jan 2019 23:17:51 +0000 (07:17 +0800)]
fatfs: bypass newlib buffering in performance test

5 years agoMerge branch 'bugfix/fix_the_country_code_bug' into 'master'
Wu Jian Gang [Fri, 4 Jan 2019 03:57:29 +0000 (11:57 +0800)]
Merge branch 'bugfix/fix_the_country_code_bug' into 'master'

wifi: fix the bug that STA can scan the channel out of the country regdomain range

See merge request idf/esp-idf!4065

5 years agoVFS: move all functions into RAM which are called in the performance test
Roland Dobai [Thu, 3 Jan 2019 14:44:07 +0000 (15:44 +0100)]
VFS: move all functions into RAM which are called in the performance test

5 years agomdns: fix networking running udp_sendif from lwip thread
David Cermak [Fri, 14 Dec 2018 10:23:19 +0000 (11:23 +0100)]
mdns: fix networking running udp_sendif from lwip thread

5 years agowifi: fix the bug that STA can scan the channel out of the country regdomain range
zhangyanjiao [Thu, 3 Jan 2019 09:55:06 +0000 (17:55 +0800)]
wifi: fix the bug that STA can scan the channel out of the country regdomain range

5 years agotcp_transport: modification of ws to read headers first in order to read the exact...
David Cermak [Tue, 20 Nov 2018 02:31:19 +0000 (03:31 +0100)]
tcp_transport: modification of ws to read headers first in order to read the exact payload

closes https://github.com/espressif/esp-mqtt/issues/69

5 years agomqtt: support for BEFORE_CONNECT event in idf
David Cermak [Fri, 16 Nov 2018 10:42:58 +0000 (10:42 +0000)]
mqtt: support for BEFORE_CONNECT event in idf

Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages

5 years agoesp_timer: do not allow deleting timers while callbacks are dispatched
Ivan Grokhotkov [Wed, 19 Dec 2018 07:53:50 +0000 (15:53 +0800)]
esp_timer: do not allow deleting timers while callbacks are dispatched

timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.

To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.

5 years agoMerge branch 'test/fix_failed_to_download_in_example_test' into 'master'
Angus Gratton [Thu, 3 Jan 2019 07:14:22 +0000 (15:14 +0800)]
Merge branch 'test/fix_failed_to_download_in_example_test' into 'master'

test: fix failed to download in example test

See merge request idf/esp-idf!4061

5 years agodocs: udpate wifi document
Liu Zhi Fu [Wed, 7 Nov 2018 14:08:29 +0000 (22:08 +0800)]
docs: udpate wifi document

Update WiFi document

5 years agotest: get bin path from `dut.app.flash_files` instead of `dut.download_config`
He Yin Ling [Thu, 3 Jan 2019 01:57:47 +0000 (09:57 +0800)]
test: get bin path from `dut.app.flash_files` instead of `dut.download_config`