]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoproject_config_mk: fix if condition
V.Dudnik [Sun, 5 May 2019 16:12:33 +0000 (19:12 +0300)]
project_config_mk: fix if condition

5 years agoMerge branch 'bugfix/kconfig_no_split_headers' into 'master'
Ivan Grokhotkov [Sun, 5 May 2019 03:31:34 +0000 (11:31 +0800)]
Merge branch 'bugfix/kconfig_no_split_headers' into 'master'

kconfig: Don't create "split" directory structures under build/include/config

Closes IDFGH-962

See merge request idf/esp-idf!4768

5 years agoMerge branch 'bugfix/http_file_server' into 'master'
Ivan Grokhotkov [Sun, 5 May 2019 03:24:52 +0000 (11:24 +0800)]
Merge branch 'bugfix/http_file_server' into 'master'

File Server Example : Check longer than allowed filenames when converting from URIs to filepaths

See merge request idf/esp-idf!4886

5 years agoMerge branch 'bugfix/esp_http_client_event_name' into 'master'
Angus Gratton [Fri, 3 May 2019 06:57:09 +0000 (14:57 +0800)]
Merge branch 'bugfix/esp_http_client_event_name' into 'master'

esp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT

See merge request idf/esp-idf!4921

5 years agoMerge branch 'fix/nvs_console' into 'master'
Angus Gratton [Fri, 3 May 2019 06:47:27 +0000 (14:47 +0800)]
Merge branch 'fix/nvs_console' into 'master'

nvs_console: Fix type comparison

See merge request idf/esp-idf!4920

5 years agoMerge branch 'bugfix/win_fullclean_symlink' into 'master'
Angus Gratton [Fri, 3 May 2019 04:10:04 +0000 (12:10 +0800)]
Merge branch 'bugfix/win_fullclean_symlink' into 'master'

idf.py: Detect symlinks on Windows during fullclean

Closes IDFGH-1055

See merge request idf/esp-idf!4915

5 years agoesp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT
Jitin George [Thu, 2 May 2019 10:39:55 +0000 (16:09 +0530)]
esp-http-client: Fix incorrect event name HTTP_EVENT_HEADER_SENT

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

5 years agonvs_console: Fix type comparison
Shivani Tipnis [Thu, 2 May 2019 10:01:50 +0000 (15:31 +0530)]
nvs_console: Fix type comparison

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

5 years agoidf.py: Detect symlinks on Windows during fullclean
Roland Dobai [Tue, 30 Apr 2019 07:45:25 +0000 (09:45 +0200)]
idf.py: Detect symlinks on Windows during fullclean

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

5 years agoMerge branch 'bugfix/missing_ldgen_libraries_file_on_windows' into 'master'
Angus Gratton [Wed, 1 May 2019 05:08:23 +0000 (13:08 +0800)]
Merge branch 'bugfix/missing_ldgen_libraries_file_on_windows' into 'master'

make: fix missing rule for creating ldgen_libraries file

See merge request idf/esp-idf!4907

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

5 years agoMerge branch 'fix/spi_master_dio_qio_hal' into 'master'
Ivan Grokhotkov [Tue, 30 Apr 2019 08:14:53 +0000 (16:14 +0800)]
Merge branch 'fix/spi_master_dio_qio_hal' into 'master'

spi_master: fix the dual/quad io issue

See merge request idf/esp-idf!4894

5 years agoMerge branch 'bugfix/move_spiffsgen_example_to_storage' into 'master'
Ivan Grokhotkov [Tue, 30 Apr 2019 05:48:54 +0000 (13:48 +0800)]
Merge branch 'bugfix/move_spiffsgen_example_to_storage' into 'master'

spiffsgen follow-ups

See merge request idf/esp-idf!4893

5 years agomake: fix missing rule for creating ldgen_libraries file
Renz Christian Bagaporo [Tue, 30 Apr 2019 03:54:01 +0000 (11:54 +0800)]
make: fix missing rule for creating ldgen_libraries file

5 years agoFile Server Example : Check longer than allowed filenames when converting from URIs...
Anurag Kar [Thu, 25 Apr 2019 19:58:33 +0000 (01:28 +0530)]
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths

This change prevents buffer overflows in case of really long file paths.

Other changes:
* Remove query (?) and fragment (#) component from URI when converting to file path
* /index.html and favicon.ico can be overridden by files with same name and path in SPIFFS
* README.md updated

5 years agoMerge branch 'doc/review_api-reference_indexes' into 'master'
Krzysztof Budzynski [Mon, 29 Apr 2019 02:53:42 +0000 (10:53 +0800)]
Merge branch 'doc/review_api-reference_indexes' into 'master'

Doc/review api reference indexes

See merge request idf/esp-idf!4876

5 years agoDoc/review api reference indexes
Kirill Chalov [Mon, 29 Apr 2019 02:53:42 +0000 (10:53 +0800)]
Doc/review api reference indexes

5 years agoMerge branch 'bugfix/udp_multicast_example_errors' into 'master'
Angus Gratton [Mon, 29 Apr 2019 01:21:07 +0000 (09:21 +0800)]
Merge branch 'bugfix/udp_multicast_example_errors' into 'master'

udp_multicast_example: better handling wrong addresses

Closes IDFGH-979

See merge request idf/esp-idf!4784

5 years agoMerge branch 'feature/use_libraries_directly_with_ldgen' into 'master'
Angus Gratton [Mon, 29 Apr 2019 00:49:42 +0000 (08:49 +0800)]
Merge branch 'feature/use_libraries_directly_with_ldgen' into 'master'

Pass libraries as arguments to ldgen directly

See merge request idf/esp-idf!4887

5 years agoMerge branch 'bugfix/ldgen_fails_when_wifi_ram_opt_off' into 'master'
Angus Gratton [Mon, 29 Apr 2019 00:44:13 +0000 (08:44 +0800)]
Merge branch 'bugfix/ldgen_fails_when_wifi_ram_opt_off' into 'master'

ldgen: do not generate rules when no condition is true

See merge request idf/esp-idf!4757

5 years agospi_master: fix the dual/quad io issue
michael [Fri, 26 Apr 2019 17:29:48 +0000 (01:29 +0800)]
spi_master: fix the dual/quad io issue

introduced in f871cc5ffa951032adf435997ed7688e31afb3ba

The issue is caused by

1. The hal didn't pass the io_mode to LL.
2. The setup_device function overwrite the trans-specific settings.

5 years agoexample: use mbedtls to compute hash in spiffsgen example
Renz Christian Bagaporo [Fri, 26 Apr 2019 14:36:29 +0000 (22:36 +0800)]
example: use mbedtls to compute hash in spiffsgen example

5 years agospiffs: move spiffsgen example with other storage related examples
Renz Christian Bagaporo [Fri, 26 Apr 2019 10:09:08 +0000 (18:09 +0800)]
spiffs: move spiffsgen example with other storage related examples

5 years agoldgen: pass component libraries directly
Renz Christian Bagaporo [Fri, 26 Apr 2019 05:42:10 +0000 (13:42 +0800)]
ldgen: pass component libraries directly

5 years agoMerge branch 'bugfix/fix_build_cmake_example_failing' into 'master'
Ivan Grokhotkov [Fri, 26 Apr 2019 10:20:53 +0000 (18:20 +0800)]
Merge branch 'bugfix/fix_build_cmake_example_failing' into 'master'

Fix false positive errors with CMake example builds

See merge request idf/esp-idf!4608

5 years agoMerge branch 'feature/make_bootloader_support_target_dependent' into 'master'
Angus Gratton [Fri, 26 Apr 2019 07:36:48 +0000 (15:36 +0800)]
Merge branch 'feature/make_bootloader_support_target_dependent' into 'master'

make bootloader_support depend on IDF_TARGET

See merge request idf/esp-idf!4798

5 years agoMerge branch 'test/always_deploy_test_result_on_master' into 'master'
Angus Gratton [Fri, 26 Apr 2019 06:34:57 +0000 (14:34 +0800)]
Merge branch 'test/always_deploy_test_result_on_master' into 'master'

CI: always deploy test result to Jira on master

See merge request idf/esp-idf!4840

5 years agoMerge branch 'feature/kconfig_backward_comp' into 'master'
Angus Gratton [Fri, 26 Apr 2019 02:09:29 +0000 (10:09 +0800)]
Merge branch 'feature/kconfig_backward_comp' into 'master'

Rename deprecated Kconfig options in a backward compatible way

Closes IDF-155

See merge request idf/esp-idf!4551

5 years agoMerge branch 'fix/fix_soc_dram_low_addr' into 'master'
Angus Gratton [Fri, 26 Apr 2019 00:43:22 +0000 (08:43 +0800)]
Merge branch 'fix/fix_soc_dram_low_addr' into 'master'

fix the dram low addr defined in the soc.h header

See merge request idf/esp-idf!4882

5 years agoMerge branch 'bugfix/btdm_abort_if_deinit_spp_without_init' into 'master'
Jiang Jiang Jian [Thu, 25 Apr 2019 12:38:37 +0000 (20:38 +0800)]
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init' into 'master'

components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init

See merge request idf/esp-idf!4859

5 years agoMerge branch 'feature/btdm_add_ble_link_timeout_config' into 'master'
Jiang Jiang Jian [Thu, 25 Apr 2019 12:04:53 +0000 (20:04 +0800)]
Merge branch 'feature/btdm_add_ble_link_timeout_config' into 'master'

Component/bt: add ble link timeout config in menuconfig

See merge request idf/esp-idf!4786

5 years agoMerge branch 'bugfix/select_init_sem' into 'master'
Ivan Grokhotkov [Thu, 25 Apr 2019 11:10:08 +0000 (19:10 +0800)]
Merge branch 'bugfix/select_init_sem' into 'master'

VFS: Allocate socket select semaphore outside ISR

See merge request idf/esp-idf!4591

5 years agofix the dram low addr defined in the soc.h header
Michael (XIAO Xufeng) [Thu, 25 Apr 2019 09:29:48 +0000 (17:29 +0800)]
fix the dram low addr defined in the soc.h header

5 years agoMerge branch 'bugfix/wifi_fix_wps_fail_when_ap_is_encrypted' into 'master'
Jiang Jiang Jian [Thu, 25 Apr 2019 09:05:48 +0000 (17:05 +0800)]
Merge branch 'bugfix/wifi_fix_wps_fail_when_ap_is_encrypted' into 'master'

esp_wifi: fix the bug that WPS fails when AP is encrypted

Closes IDF-623

See merge request idf/esp-idf!4827

5 years agoRename deprecated Kconfig options in a backward compatible way
Roland Dobai [Thu, 14 Mar 2019 08:54:04 +0000 (09:54 +0100)]
Rename deprecated Kconfig options in a backward compatible way

5 years agoldgen: do not generate rules when no condition is true
Renz Christian Bagaporo [Sun, 14 Apr 2019 11:34:27 +0000 (19:34 +0800)]
ldgen: do not generate rules when no condition is true

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

5 years agoMerge branch 'feature/set_redirection' into 'master'
Angus Gratton [Wed, 24 Apr 2019 07:50:53 +0000 (15:50 +0800)]
Merge branch 'feature/set_redirection' into 'master'

Add a `esp_http_client_set_redirection` function

See merge request idf/esp-idf!4856

5 years agoesp_wifi: fix the bug that WPS fails when AP is encrypted
XiaXiaotian [Thu, 18 Apr 2019 12:06:01 +0000 (20:06 +0800)]
esp_wifi: fix the bug that WPS fails when AP is encrypted

5 years agocomponents/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
baohongde [Wed, 24 Apr 2019 03:17:54 +0000 (11:17 +0800)]
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init

5 years agoMerge branch 'bugfix/docs_tutorials' into 'master'
Angus Gratton [Wed, 24 Apr 2019 00:36:20 +0000 (08:36 +0800)]
Merge branch 'bugfix/docs_tutorials' into 'master'

Docs update

See merge request idf/esp-idf!4150

5 years agoAdd a `esp_http_client_set_redirection` function When using direct operations instead...
Vikram Dattu [Tue, 23 Apr 2019 13:53:20 +0000 (19:23 +0530)]
Add a `esp_http_client_set_redirection` function When using direct operations instead of `esp_http_client_perform`, we need a way to set redirection URL when we get 30x response codes. Added the function for the same. User can now check status code and call `esp_http_client_set_redirection` function to enable redirection. Related change in adf: https://gitlab.espressif.cn:6688/adf/esp-adf-internal/merge_requests/187

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
5 years agoMerge branch 'doc/review_versions' into 'master'
Krzysztof Budzynski [Tue, 23 Apr 2019 09:22:41 +0000 (17:22 +0800)]
Merge branch 'doc/review_versions' into 'master'

Review the versions.rst document.

See merge request idf/esp-idf!4753

5 years agoReview the versions.rst document.
Kirill Chalov [Fri, 12 Apr 2019 06:59:26 +0000 (14:59 +0800)]
Review the versions.rst document.

5 years agoMerge branch 'bugfix/pyparsing' into 'master'
Angus Gratton [Tue, 23 Apr 2019 02:35:50 +0000 (10:35 +0800)]
Merge branch 'bugfix/pyparsing' into 'master'

Temporarily fix incompatibility with pyparsing 2.4.0

See merge request idf/esp-idf!4809

5 years agoMerge branch 'bugfix/scan_fail_when_no_ap_found' into 'master'
Jiang Jiang Jian [Tue, 23 Apr 2019 02:20:43 +0000 (10:20 +0800)]
Merge branch 'bugfix/scan_fail_when_no_ap_found' into 'master'

fix the bug when scan fail after STA failed to connect to a nonexistent AP

Closes WIFI-76

See merge request idf/esp-idf!4630

5 years agoMerge branch 'bugfix/fix_iperf_exit_error' into 'master'
Jiang Jiang Jian [Mon, 22 Apr 2019 11:47:10 +0000 (19:47 +0800)]
Merge branch 'bugfix/fix_iperf_exit_error' into 'master'

examples: fix iperf exit error

Closes XIAOMI-62

See merge request idf/esp-idf!4788

5 years agoComponent/bt: add ble link timeout config in menuconfig
zhiweijian [Tue, 16 Apr 2019 03:11:08 +0000 (11:11 +0800)]
Component/bt: add ble link timeout config in menuconfig
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open

5 years agoexamples: fix iperf exit error
xiehang [Mon, 22 Apr 2019 04:14:21 +0000 (12:14 +0800)]
examples: fix iperf exit error

5 years agowifi: fix the bug when scan fail after STA failed to connect to a nonexistent AP
zhangyanjiao [Mon, 22 Apr 2019 03:59:40 +0000 (11:59 +0800)]
wifi: fix the bug when scan fail after STA failed to connect to a nonexistent AP

5 years agoMerge branch 'feature/esp_event_loop_examples_provisioning' into 'master'
Ivan Grokhotkov [Sun, 21 Apr 2019 23:48:48 +0000 (07:48 +0800)]
Merge branch 'feature/esp_event_loop_examples_provisioning' into 'master'

examples/provisioning: use esp_event library for event handling

Closes IDF-55

See merge request idf/esp-idf!4030

5 years agoCI: always deploy test result to Jira on master
He Yin Ling [Sun, 21 Apr 2019 05:14:28 +0000 (13:14 +0800)]
CI: always deploy test result to Jira on master

5 years agoMerge branch 'feature/jira_test_management' into 'master'
He Yin Ling [Sun, 21 Apr 2019 02:37:01 +0000 (10:37 +0800)]
Merge branch 'feature/jira_test_management' into 'master'

test: jira test management

See merge request idf/esp-idf!4751

5 years agotest: sync integration test cases
He Yin Ling [Tue, 2 Apr 2019 02:00:12 +0000 (10:00 +0800)]
test: sync integration test cases

5 years agotest: include chip in test case ID
He Yin Ling [Mon, 1 Apr 2019 07:16:47 +0000 (15:16 +0800)]
test: include chip in test case ID

5 years agoCI: add job to sync test to Jira
He Yin Ling [Fri, 8 Mar 2019 07:28:43 +0000 (15:28 +0800)]
CI: add job to sync test to Jira

5 years agotest: let CI import integration test report
He Yin Ling [Thu, 29 Nov 2018 15:12:12 +0000 (23:12 +0800)]
test: let CI import integration test report

5 years agotest: save throughput result to junit report
He Yin Ling [Thu, 7 Mar 2019 12:24:12 +0000 (20:24 +0800)]
test: save throughput result to junit report

5 years agotest: collect unit-test performance items and save to report
He Yin Ling [Thu, 7 Mar 2019 12:18:32 +0000 (20:18 +0800)]
test: collect unit-test performance items and save to report

5 years agotiny-test-fw: support save performance to junit report:
He Yin Ling [Thu, 7 Mar 2019 12:17:43 +0000 (20:17 +0800)]
tiny-test-fw: support save performance to junit report:

1. support get performance from DUT
2. update performance to `testcase.stdout` in JunitReport

5 years agoMerge branch 'feature/freemodbus_master_support_upd_arch' into 'master'
Angus Gratton [Thu, 18 Apr 2019 04:42:05 +0000 (12:42 +0800)]
Merge branch 'feature/freemodbus_master_support_upd_arch' into 'master'

examples: freemodbus port common master and slave interface implementation

See merge request idf/esp-idf!3707

5 years agoMerge branch 'test/modify_mesh_ci_master' into 'master'
He Yin Ling [Thu, 18 Apr 2019 03:28:50 +0000 (11:28 +0800)]
Merge branch 'test/modify_mesh_ci_master' into 'master'

test: update mesh test cases for ci test

See merge request idf/esp-idf!4647

5 years agoMerge branch 'bugfix/pm_isr_exit_lock' into 'master'
Ivan Grokhotkov [Thu, 18 Apr 2019 03:16:26 +0000 (11:16 +0800)]
Merge branch 'bugfix/pm_isr_exit_lock' into 'master'

pm: prevent interrupt nesting during esp_pm_impl_isr_hook

See merge request idf/esp-idf!4775

5 years agoMerge branch 'feature/remove_dependency_to_soc' into 'master'
Angus Gratton [Thu, 18 Apr 2019 00:08:41 +0000 (08:08 +0800)]
Merge branch 'feature/remove_dependency_to_soc' into 'master'

global: remove dependency to soc everywhere except driver and kernel components

See merge request idf/esp-idf!4678

5 years agoMerge branch 'bugfix/fix_signal_test_bug' into 'master'
Jiang Jiang Jian [Wed, 17 Apr 2019 14:06:43 +0000 (22:06 +0800)]
Merge branch 'bugfix/fix_signal_test_bug' into 'master'

esp_wifi: fix a bug caused by signal test code

See merge request idf/esp-idf!4810

5 years agoMerge branch 'feature/add_cloud_frameworks_doc' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 12:24:55 +0000 (20:24 +0800)]
Merge branch 'feature/add_cloud_frameworks_doc' into 'master'

Add documentation for Cloud Frameworks

See merge request idf/esp-idf!4547

5 years agodocs: Add cloud frameworks doc
Jitin George [Tue, 19 Mar 2019 08:15:55 +0000 (13:45 +0530)]
docs: Add cloud frameworks doc

5 years agotest: update mesh test cases for ci
chenyudong [Mon, 17 Dec 2018 11:31:19 +0000 (19:31 +0800)]
test: update mesh test cases for ci

add mesh cases in files:
TC_IT_MESH_EST.yml, TC_IT_MESH_COMM.yml and TC_IT_MESH_MISC.yml

5 years agoesp_wifi: fix a bug caused by signal test code
liu zhifu [Wed, 17 Apr 2019 08:32:15 +0000 (16:32 +0800)]
esp_wifi: fix a bug caused by signal test code

Fix a bug caused by signal test code.

5 years agoMerge branch 'bugfix/use_libc_gnu_extensions' into 'master'
Anton Maklakov [Wed, 17 Apr 2019 08:22:37 +0000 (16:22 +0800)]
Merge branch 'bugfix/use_libc_gnu_extensions' into 'master'

build: Add a standard way to use GNU extensions from libc

See merge request idf/esp-idf!4769

5 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

5 years agoMerge branch 'bugfix/adjtime_ut' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 07:15:31 +0000 (15:15 +0800)]
Merge branch 'bugfix/adjtime_ut' into 'master'

newlib: Fix adjtime

See merge request idf/esp-idf!4676

5 years agopm: prevent interrupt nesting during esp_pm_impl_isr_hook
Ivan Grokhotkov [Tue, 9 Apr 2019 05:25:24 +0000 (13:25 +0800)]
pm: prevent interrupt nesting during esp_pm_impl_isr_hook

Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.

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

5 years agoMerge branch 'bugfix/esp_tls_closing_fd0' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 07:10:20 +0000 (15:10 +0800)]
Merge branch 'bugfix/esp_tls_closing_fd0' into 'master'

esp_tls: fix incorrect closing of fd 0 on connection failure

See merge request idf/esp-idf!4726

5 years agoMerge branch 'bugfix/pr_3250' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 07:08:26 +0000 (15:08 +0800)]
Merge branch 'bugfix/pr_3250' into 'master'

Fix: Lost username when setting new URL with a path.

Closes IDFGH-904

See merge request idf/esp-idf!4755

5 years agoMerge branch 'bugfix/ut_leaks_tags' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 06:52:34 +0000 (14:52 +0800)]
Merge branch 'bugfix/ut_leaks_tags' into 'master'

test: clean up "leaks" tags from most unit tests

See merge request idf/esp-idf!4779

5 years agoudp_multicast_example: better handling wrong addresses
gfrodo [Mon, 10 Dec 2018 10:51:54 +0000 (11:51 +0100)]
udp_multicast_example: better handling wrong addresses

inet_aton returns 0 on failure, but socket_add_ipv4_multicast_group has to return negative values for failures
getaddrinfo sets res to zero of address could not resolved, but doesn't necessarily return an
error. res is now checked for zero before dereferencing

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

5 years agobuild: Add a standard way to use GNU extensions from libc, since we have a general...
Anton Maklakov [Mon, 15 Apr 2019 04:34:43 +0000 (11:34 +0700)]
build: Add a standard way to use GNU extensions from libc, since we have a general configured newlib in the toolchain

5 years agoMerge branch 'bugfix/gcc8_compat' into 'master'
Anton Maklakov [Wed, 17 Apr 2019 05:02:47 +0000 (13:02 +0800)]
Merge branch 'bugfix/gcc8_compat' into 'master'

Remove warning (gcc8)

See merge request idf/esp-idf!4795

5 years agomdns example: Remove a warned unused constant
Anton Maklakov [Tue, 16 Apr 2019 08:32:49 +0000 (15:32 +0700)]
mdns example: Remove a warned unused constant

5 years agoMerge branch 'bugfix/fix_set_config_bug_for_bssid_set' into 'master'
Jiang Jiang Jian [Tue, 16 Apr 2019 12:27:09 +0000 (20:27 +0800)]
Merge branch 'bugfix/fix_set_config_bug_for_bssid_set' into 'master'

wifi: fix the set config bug for bssid_set

Closes WIFI-419

See merge request idf/esp-idf!4785

5 years agotest: clean up "leaks" tags from most unit tests
Ivan Grokhotkov [Mon, 15 Apr 2019 13:07:38 +0000 (21:07 +0800)]
test: clean up "leaks" tags from most unit tests

5 years agomake bootloader_support depend on IDF_TARGET
suda-morris [Tue, 16 Apr 2019 09:01:31 +0000 (17:01 +0800)]
make bootloader_support depend on IDF_TARGET

1. move chip-specific code(e.g. encryption) into IDF_TARGET directory
2. splict app-only code to idf directory which won't be compiled into bootloader

5 years agofreemodbus: Fix bug with incorrect coils read mask
Alex Lisitsyn [Fri, 19 Oct 2018 13:51:27 +0000 (15:51 +0200)]
freemodbus: Fix bug with incorrect coils read mask

Contains two different component folders per each implementation (serial_master and serial_slave) with concrete ports.
Added common public api for master and slave and common interface for master and slave implementation.
Add support of cmake system (added cmake files).
Added sdkconfig.defaults files for slave and master modbus examples.
Updated make file and KConfig for freemodbus component
Update according to review and fix doxygen warnings
Fix Doxyfile to pass documentation build
Update headers and change interface file names as per review comments
Merge  branch feature/freemodbus_move_rs485_mode_control
Update after review:
The stack modbus folder updated to support master and slave ports together and moved into freemodbus/modbus
Stack and port files updated to remove duplicated simbols
Make file, KConfig and CMakeLists.txt updated to compile master and slave stacks, common interface and concrete implementations of ports
Stack callback functions execute callbacks using interface pointer from concrete port implementation
User can instantiate any of concrete port using common API (only one concrete port at a time) and it does not require to select port by KConfig
Port pins and mode configuration moved into example files from port files to allow user select pins and port mode (customer request)
Changes tested using pymodbus, ModbusPoll and communication between two boards
Updated DoxyFile according to public include path
Fix maximum instance size for slave (merge from master of customer issue)
Fix critical section issue TW#28622 (change spin lock based critical section to semaphore)
Move serial port files into component port folder for master and slave accordingly
Fix example issue showed in the log when IO slave is not configured correctly
Fix conflicts while merging from origin/master
Fix errors handling in modbus controller interface + some final corrections according to review
Update maximum allowed number of slaves in the network segment
Fix bug with incorrect coils read mask

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

5 years agoesp_http_client: fix CI issues & return value
Roland Dobai [Fri, 12 Apr 2019 12:14:58 +0000 (14:14 +0200)]
esp_http_client: fix CI issues & return value

5 years agoFix: Lost username when setting new URL with a path.
Nguyễn Hồng Quân [Mon, 8 Apr 2019 16:15:04 +0000 (23:15 +0700)]
Fix: Lost username when setting new URL with a path.

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

5 years agoglobal: move the soc component out of the common list
Michael (XIAO Xufeng) [Wed, 3 Apr 2019 05:17:38 +0000 (13:17 +0800)]
global: move the soc component out of the common list

This MR removes the common dependency from every IDF components to the SOC component.

Currently, in the ``idf_functions.cmake`` script, we include the header path of SOC component by default for all components.
But for better code organization (or maybe also benifits to the compiling speed), we may remove the dependency to SOC components for most components except the driver and kernel related components.

In CMAKE, we have two kinds of header visibilities (set by include path visibility):

(Assume component A --(depends on)--> B, B is the current component)

1. public (``COMPONENT_ADD_INCLUDEDIRS``): means this path is visible to other depending components (A) (visible to A and B)
2. private (``COMPONENT_PRIV_INCLUDEDIRS``): means this path is only visible to source files inside the component (visible to B only)

and we have two kinds of depending ways:

(Assume component A --(depends on)--> B --(depends on)--> C, B is the current component)

1. public (```COMPONENT_REQUIRES```): means B can access to public include path of C. All other components rely on you (A) will also be available for the public headers. (visible to A, B)
2. private (``COMPONENT_PRIV_REQUIRES``): means B can access to public include path of C, but don't propagate this relation to other components (A). (visible to B)

1. remove the common requirement in ``idf_functions.cmake``, this makes the SOC components invisible to all other components by default.
2. if a component (for example, DRIVER) really needs the dependency to SOC, add a private dependency to SOC for it.
3. some other components that don't really depends on the SOC may still meet some errors saying "can't find header soc/...", this is because it's depended component (DRIVER) incorrectly include the header of SOC in its public headers. Moving all this kind of #include into source files, or private headers
4. Fix the include requirements for some file which miss sufficient #include directives. (Previously they include some headers by the long long long header include link)

This is a breaking change. Previous code may depends on the long include chain.
You may need to include the following headers for some files after this commit:

- soc/soc.h
- soc/soc_memory_layout.h
- driver/gpio.h
- esp_sleep.h

The major broken include chain includes:

1. esp_system.h no longer includes esp_sleep.h. The latter includes driver/gpio.h and driver/touch_pad.h.
2. ets_sys.h no longer includes soc/soc.h
3. freertos/portmacro.h no longer includes soc/soc_memory_layout.h

some peripheral headers no longer includes their hw related headers, e.g. rom/gpio.h no longer includes soc/gpio_pins.h and soc/gpio_reg.h

BREAKING CHANGE

5 years agowifi: fix the set config bug for bssid_set
zhangyanjiao [Tue, 16 Apr 2019 02:57:00 +0000 (10:57 +0800)]
wifi: fix the set config bug for bssid_set

5 years agoMerge branch 'bugfix/esp_efuse_get_pkg_ver' into 'master'
Angus Gratton [Tue, 16 Apr 2019 00:10:53 +0000 (08:10 +0800)]
Merge branch 'bugfix/esp_efuse_get_pkg_ver' into 'master'

efuse: Fix excess data coming from uninitialized variable

Closes IDFGH-976

See merge request idf/esp-idf!4778

5 years agoMerge branch 'feature/sntp_cb_function' into 'master'
Angus Gratton [Mon, 15 Apr 2019 23:28:04 +0000 (07:28 +0800)]
Merge branch 'feature/sntp_cb_function' into 'master'

sntp: Add some modes for time synchronization

Closes IDF-236

See merge request idf/esp-idf!4472

5 years agoefuse: Fix excess data coming from uninitialized variable
GOPTIONS\pfrost [Mon, 15 Apr 2019 10:31:01 +0000 (11:31 +0100)]
efuse: Fix excess data coming from uninitialized variable

Fixed esp_efuse_get_pkg_ver() function

Closes: https://github.com/espressif/esp-idf/pull/3309
Closes: IDFGH-976
5 years agoMerge branch 'bugfix/freemodbus_fix_incorrect_read_coil_event' into 'master'
Ivan Grokhotkov [Mon, 15 Apr 2019 11:41:49 +0000 (19:41 +0800)]
Merge branch 'bugfix/freemodbus_fix_incorrect_read_coil_event' into 'master'

freemodbus: fix incorrectly set coils read event in modbus controller

See merge request idf/esp-idf!4749

5 years agoMerge branch 'feature/btdm_AVRCP_TG' into 'master'
Jiang Jiang Jian [Mon, 15 Apr 2019 10:53:51 +0000 (18:53 +0800)]
Merge branch 'feature/btdm_AVRCP_TG' into 'master'

component/bt: implement AVRCP Target APIs

See merge request idf/esp-idf!3899

5 years agosoftap_prov_test : example script updated to accomodate for changes in logs
Anurag Kar [Fri, 4 Jan 2019 06:17:07 +0000 (11:47 +0530)]
softap_prov_test : example script updated to accomodate for changes in logs

5 years agoexamples/provisioning : Call esp_wifi_init() only in main function before starting...
Anurag Kar [Thu, 11 Apr 2019 12:20:19 +0000 (17:50 +0530)]
examples/provisioning : Call esp_wifi_init() only in main function before starting provisioning

Removed all other instances of call to esp_wifi_init(), because every time this is called it
will override its previously set default event handler and hence cause numerous warnings.

Also, call nvs_flash_init() only once, that is before calling esp_wifi_init() in main function

5 years agoexamples/provisioning : use esp_event library to handle WiFi/IP events
Anurag Kar [Tue, 25 Dec 2018 17:38:50 +0000 (23:08 +0530)]
examples/provisioning : use esp_event library to handle WiFi/IP events

5 years agosntp/lwip: Add some modes for time synchronization
Konstantin Kondrashov [Fri, 1 Mar 2019 18:12:11 +0000 (02:12 +0800)]
sntp/lwip: Add some modes for time synchronization

Closes: IDF-236
Closes: https://github.com/espressif/esp-idf/pull/1668
5 years agoMerge branch 'feature/add_support_for_signal_test' into 'master'
Jiang Jiang Jian [Mon, 15 Apr 2019 09:45:01 +0000 (17:45 +0800)]
Merge branch 'feature/add_support_for_signal_test' into 'master'

esp_wifi:  add support for signal test

Closes WIFI-324

See merge request idf/esp-idf!4717

5 years agoMerge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config' into 'master'
Ivan Grokhotkov [Mon, 15 Apr 2019 07:57:49 +0000 (15:57 +0800)]
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config' into 'master'

cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option

See merge request idf/esp-idf!4761

5 years agoMerge branch 'feature/esp_event_loop_examples_protocols' into 'master'
Ivan Grokhotkov [Mon, 15 Apr 2019 07:54:22 +0000 (15:54 +0800)]
Merge branch 'feature/esp_event_loop_examples_protocols' into 'master'

examples/protocols: move Wi-Fi connection code into helper component, support Ethernet

See merge request idf/esp-idf!3766

5 years agoesp_tls: fix incorrect closing of fd 0 on connection failure
Jitin George [Mon, 8 Apr 2019 10:49:16 +0000 (16:19 +0530)]
esp_tls: fix incorrect closing of fd 0 on connection failure

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

5 years agokconfig: Don't create "split" directory structures under build/include/config
Angus Gratton [Mon, 15 Apr 2019 04:30:33 +0000 (14:30 +1000)]
kconfig: Don't create "split" directory structures under build/include/config

Reported in https://github.com/espressif/esp-idf/issues/3299

If a config item contains a reserved filename in Windows like _CON_ then an invalid
directory is created.

We don't rely on this feature all, so disable it.