]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoComponent/bt: fix memory leak in service change char
zhiweijian [Mon, 5 Nov 2018 03:21:03 +0000 (11:21 +0800)]
Component/bt: fix memory leak in service change char

6 years agoMerge branch 'feature/partition_api_example' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 04:24:27 +0000 (12:24 +0800)]
Merge branch 'feature/partition_api_example' into 'master'

Add partition API examples

See merge request idf/esp-idf!3427

6 years agoMerge branch 'bugfix/tickless_idle_single_core' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 04:15:03 +0000 (12:15 +0800)]
Merge branch 'bugfix/tickless_idle_single_core' into 'master'

freertos, pm: fix tickless idle not entered in single core mode

See merge request idf/esp-idf!3584

6 years agoMerge branch 'bugfix/freertos_idle_tick_count' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 04:14:51 +0000 (12:14 +0800)]
Merge branch 'bugfix/freertos_idle_tick_count' into 'master'

freertos: use xTaskQueueMutex to protect tick count

See merge request idf/esp-idf!3478

6 years agoMerge branch 'bugfix/register_map_LAN8720' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 04:13:47 +0000 (12:13 +0800)]
Merge branch 'bugfix/register_map_LAN8720' into 'master'

ethernet: fix some bugs in Ethernet driver

See merge request idf/esp-idf!3490

6 years agoMerge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc' into 'master'
Jiang Jiang Jian [Tue, 6 Nov 2018 03:56:30 +0000 (11:56 +0800)]
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc' into 'master'

bugfix/btdm_allow_a2dp_codec_dynamic_allocated

See merge request idf/esp-idf!3598

6 years agoethernet: fix some bugs in phy&mac driver
morris [Mon, 15 Oct 2018 12:35:05 +0000 (20:35 +0800)]
ethernet: fix some bugs in phy&mac driver

1. Original register mapping for LAN8720 has some registers that doesn't exist/support.
So just remove them, and fix the power and init function for LAN8720.
2. GPIO16 and GPIO17 is occupied by PSRAM, so only ETH_CLOCK_GPIO_IN mode is supported in that case if using PSRAM.
3. Fix bug of OTA failing with Ethernet
4. Fix bug of multicast with Ethernet

Closes https://github.com/espressif/esp-idf/issues/2564
Closes https://github.com/espressif/esp-idf/issues/2620
Closes https://github.com/espressif/esp-idf/issues/2657

6 years agoMerge branch 'feature/vfs_utime' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 02:47:02 +0000 (10:47 +0800)]
Merge branch 'feature/vfs_utime' into 'master'

VFS: Implement utime() for FATFS and SPIFFS

See merge request idf/esp-idf!3610

6 years agoMerge branch 'bugfix/ut_add_job' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 02:45:24 +0000 (10:45 +0800)]
Merge branch 'bugfix/ut_add_job' into 'master'

ci: add unit test job

See merge request idf/esp-idf!3634

6 years agoMerge branch 'doc/partition_tables_zh_CN' into 'master'
Ivan Grokhotkov [Tue, 6 Nov 2018 02:45:11 +0000 (10:45 +0800)]
Merge branch 'doc/partition_tables_zh_CN' into 'master'

translation of partition-tables.rst

See merge request idf/esp-idf!3457

6 years agoci: add unit test job
Ivan Grokhotkov [Mon, 5 Nov 2018 15:19:30 +0000 (23:19 +0800)]
ci: add unit test job

6 years agoMerge branch 'bugfix/py3_ci_enable' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 11:49:32 +0000 (19:49 +0800)]
Merge branch 'bugfix/py3_ci_enable' into 'master'

Enable Python 3 bot tests in master

See merge request idf/esp-idf!3615

6 years agoMerge branch 'doc/storage_example_readme' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 11:33:16 +0000 (19:33 +0800)]
Merge branch 'doc/storage_example_readme' into 'master'

examples/storage: adjust readme files according to standard

See merge request idf/esp-idf!3594

6 years ago(doc)update_CN/EN_partition_tables
liying [Fri, 2 Nov 2018 10:51:20 +0000 (18:51 +0800)]
(doc)update_CN/EN_partition_tables

6 years agodoc/partition-tables: translation of zh_CN
morris [Wed, 10 Oct 2018 01:43:31 +0000 (09:43 +0800)]
doc/partition-tables: translation of zh_CN

1. Translated partition-tables.rst into Chinese.
2. Fixed some error in the English version.

6 years agoMerge branch 'bugfix/xts_compile_err' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 08:58:38 +0000 (16:58 +0800)]
Merge branch 'bugfix/xts_compile_err' into 'master'

mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled

See merge request idf/esp-idf!3506

6 years agoVFS: Implement utime()
Roland Dobai [Thu, 25 Oct 2018 09:53:52 +0000 (11:53 +0200)]
VFS: Implement utime()

6 years agoMerge branch 'bugfix/aes_sha_mpi_shared_regs' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 08:31:03 +0000 (16:31 +0800)]
Merge branch 'bugfix/aes_sha_mpi_shared_regs' into 'master'

aes/sha/mpi: Bugfix a use of shared registers.

See merge request idf/esp-idf!3580

6 years agoCI: Update Python 3 ignore list
Roland Dobai [Thu, 25 Oct 2018 09:58:49 +0000 (11:58 +0200)]
CI: Update Python 3 ignore list

6 years agoidf_ext.py: Fix Python 3 compatibility issue
Roland Dobai [Thu, 25 Oct 2018 09:02:58 +0000 (11:02 +0200)]
idf_ext.py: Fix Python 3 compatibility issue

6 years agoexamples/storage: adjust readme files according to standard
Ivan Grokhotkov [Wed, 31 Oct 2018 07:57:48 +0000 (15:57 +0800)]
examples/storage: adjust readme files according to standard

6 years agoMerge branch 'bugfix/esp-tls-doc' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 04:30:22 +0000 (12:30 +0800)]
Merge branch 'bugfix/esp-tls-doc' into 'master'

esp-tls: Fix documentaion issue in esp_tls_conn_new_async API

See merge request idf/esp-idf!3545

6 years agoMerge branch 'bugfix/esp_http_client_async_crash' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 04:30:04 +0000 (12:30 +0800)]
Merge branch 'bugfix/esp_http_client_async_crash' into 'master'

esp_http_client: Fix crash in async mode

See merge request idf/esp-idf!3551

6 years agoaes/sha/mpi: Bugfix a use of shared registers.
Konstantin Kondrashov [Mon, 29 Oct 2018 15:55:02 +0000 (23:55 +0800)]
aes/sha/mpi: Bugfix a use of shared registers.

This commit resolves a blocking in esp_aes_block function.

Introduce:
The problem was in the fact that AES is switched off at the moment when he should give out the processed data. But because of the disabled, the operation can not be completed successfully, there is an infinite hang. The reason for this behavior is that the registers for controlling the inclusion of AES, SHA, MPI have shared registers and they were not protected from sharing.

Fix some related issue with shared using of AES SHA RSA accelerators.

Closes: https://github.com/espressif/esp-idf/issues/2295#issuecomment-432898137
6 years agoMerge branch 'bugfix/unit_test_adjtime' into 'master'
Ivan Grokhotkov [Mon, 5 Nov 2018 04:20:07 +0000 (12:20 +0800)]
Merge branch 'bugfix/unit_test_adjtime' into 'master'

Resolve ""test for thread safety adjtime and gettimeofday functions" fails randomly"

Closes #37

See merge request idf/esp-idf!3613

6 years agopm: prevent entering light sleep again immediately after wakeup
Ivan Grokhotkov [Thu, 1 Nov 2018 11:38:48 +0000 (19:38 +0800)]
pm: prevent entering light sleep again immediately after wakeup

When light sleep is finished on one CPU, it is possible that the other
CPU will enter light sleep again very soon, before interrupts on the
first CPU get a chance to run. To avoid such situation, set a flag
for the other CPU to skip light sleep attempt.

6 years agopm: fix entering light sleep in single core mode
Ivan Grokhotkov [Tue, 30 Oct 2018 08:05:06 +0000 (16:05 +0800)]
pm: fix entering light sleep in single core mode

Tickless idle/light sleep procedure had a bug in single core mode.
Consider the flow of events:
1. Idle task runs and calls vApplicationIdleHook
2. This calls esp_vApplicationIdleHook, which calls esp_pm_impl_idle_hook, and pm lock for RTOS on the current core is released.
3. Then esp_vApplicationIdleHook calls esp_pm_impl_waiti, which checks that s_entered_light_sleep[core_id]==false and goes into waiti state.
4. Some interrupt happens, calls esp_pm_impl_isr_hook, which takes pm lock for RTOS. PM state goes back to CPU_FREQ_MAX.
5. Once the interrupt is over, vApplicationIdleHook returns, and Idle task continues to run, finally reaching the call to vApplicationSleep.
6. vApplicationSleep does not enter light sleep, because esp_pm_impl_isr_hook has already changed PM state from IDLE to CPU_FREQ_MAX.

This didn’t happen in dual core mode, because waiti state of one CPU was interrupted by CCOMPARE update interrupt from the other CPU, in which case PM lock for FreeRTOS was not taken.

Fix by inverting the meaning of the flag (for convenience) and only setting it to true when vApplicationSleep actually fails to enter light sleep.

6 years agofreertos: fix compilation warning in single core mode
Ivan Grokhotkov [Tue, 30 Oct 2018 08:05:45 +0000 (16:05 +0800)]
freertos: fix compilation warning in single core mode

When tickless idle is enabled

6 years agofreertos: use xTaskQueueMutex to protect tick count
Ivan Grokhotkov [Fri, 12 Oct 2018 06:18:49 +0000 (14:18 +0800)]
freertos: use xTaskQueueMutex to protect tick count

Having two different spinlocks is problematic due to possibly
different order in which the locks will be taken. Changing the order
would require significant restructuring of kernel code which is
undesirable.

An additional place where taking xTickCountMutex was needed was in
vApplicationSleep function. Not taking xTickCountMutex resulted in
other CPU sometimes possibly advancing tick count while light sleep
entry/exit was happening. Taking xTickCountMutex in addition to
xTaskQueueMutex has shown a problem that in different code paths,
these two spinlocks could be taken in different order, leading to
(unlikely, but possible) deadlocks.

6 years agoMerge branch 'test/change_iperf_test_env' into 'master'
Jiang Jiang Jian [Mon, 5 Nov 2018 03:05:45 +0000 (11:05 +0800)]
Merge branch 'test/change_iperf_test_env' into 'master'

test: use simplified env to test iperf cases

See merge request idf/esp-idf!3554

6 years agoMerge branch 'test/fix_bug_of_scan_interval_and_windows' into 'master'
He Yin Ling [Mon, 5 Nov 2018 03:00:58 +0000 (11:00 +0800)]
Merge branch 'test/fix_bug_of_scan_interval_and_windows' into 'master'

test: fix bug of scan interval and window

See merge request idf/esp-idf!3606

6 years agoMerge branch 'bugfix/ci_make_html' into 'master'
Ivan Grokhotkov [Fri, 2 Nov 2018 12:38:16 +0000 (20:38 +0800)]
Merge branch 'bugfix/ci_make_html' into 'master'

ci: revert accidental change from f0eb9985b9

See merge request idf/esp-idf!3607

6 years agoMerge branch 'bugfix/iperf_bt_error_when_wifi_connect' into 'master'
Jiang Jiang Jian [Fri, 2 Nov 2018 08:12:31 +0000 (16:12 +0800)]
Merge branch 'bugfix/iperf_bt_error_when_wifi_connect' into 'master'

components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null

See merge request idf/esp-idf!3536

6 years agoMerge branch 'bugfix/event_perf_test_psram' into 'master'
Ivan Grokhotkov [Fri, 2 Nov 2018 06:12:17 +0000 (14:12 +0800)]
Merge branch 'bugfix/event_perf_test_psram' into 'master'

esp_event: lower test performance threshold for PSRAM config

Closes #34

See merge request idf/esp-idf!3603

6 years agoMerge branch 'bugfix/build_example_make' into 'master'
Angus Gratton [Fri, 2 Nov 2018 05:04:40 +0000 (13:04 +0800)]
Merge branch 'bugfix/build_example_make' into 'master'

Better detection failures in built_examples

See merge request idf/esp-idf!3604

6 years agoMerge branch 'test/fix_unit_test_script_cant_process_test_command' into 'master'
Angus Gratton [Fri, 2 Nov 2018 05:02:42 +0000 (13:02 +0800)]
Merge branch 'test/fix_unit_test_script_cant_process_test_command' into 'master'

test: fix UT script can't process cmd after reset

See merge request idf/esp-idf!3372

6 years agoMerge branch 'bugfix/example_tests_trow_readable_errors' into 'master'
Ivan Grokhotkov [Thu, 1 Nov 2018 14:28:31 +0000 (22:28 +0800)]
Merge branch 'bugfix/example_tests_trow_readable_errors' into 'master'

MQTT Example tests cleanup, python 2 and 3 support

See merge request idf/esp-idf!3387

6 years agonewlib: Fix UT adjtime
Konstantin Kondrashov [Thu, 1 Nov 2018 12:34:39 +0000 (20:34 +0800)]
newlib: Fix UT adjtime

6 years agocomponents/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null
baohongde [Thu, 1 Nov 2018 09:33:44 +0000 (17:33 +0800)]
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null

1. When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2. hcimsgs.h used whether flow control is on or off

6 years agomqtt: example tests refactored to provide descriptive failures, addapted to python23...
David Cermak [Thu, 27 Sep 2018 09:46:13 +0000 (11:46 +0200)]
mqtt: example tests refactored to provide descriptive failures, addapted to python23, removed workarround for launching without mqtt-paho package

6 years agoMerge branch 'bugfix/btdm_sniff_anchor_point_calculation_error' into 'master'
Jiang Jiang Jian [Thu, 1 Nov 2018 07:58:00 +0000 (15:58 +0800)]
Merge branch 'bugfix/btdm_sniff_anchor_point_calculation_error' into 'master'

bugfix/btdm_sniff_anchor_point_calculation_error

See merge request idf/esp-idf!3582

6 years agoMerge branch 'bugfix/btdm_name_buffer_allocation_size_differs' into 'master'
Jiang Jiang Jian [Thu, 1 Nov 2018 07:56:45 +0000 (15:56 +0800)]
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs' into 'master'

components/bt: Fix the different size of name buffer allocation size

See merge request idf/esp-idf!3587

6 years agoMerge branch 'bugfix/btdm_fix_get_attr_value_error' into 'master'
Jiang Jiang Jian [Thu, 1 Nov 2018 07:55:22 +0000 (15:55 +0800)]
Merge branch 'bugfix/btdm_fix_get_attr_value_error' into 'master'

Component/bt: fix get attr value API error

See merge request idf/esp-idf!3583

6 years agoMerge branch 'bugfix/btdm_fix_ble_cannt_send_or_receive_packet_sometimes' into 'master'
Jiang Jiang Jian [Thu, 1 Nov 2018 07:55:05 +0000 (15:55 +0800)]
Merge branch 'bugfix/btdm_fix_ble_cannt_send_or_receive_packet_sometimes' into 'master'

Component/bt: fix ble cannot send or receive packet sometimes

See merge request idf/esp-idf!3585

6 years agombedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled
Sagar Bijwe [Wed, 17 Oct 2018 13:53:46 +0000 (19:23 +0530)]
mbedtls: Fix compilation errors when CONFIG_MBEDTLS_HARDWARE_AES is disabled

6 years agoMerge branch 'bugfix/bootloader_iram_overlap_check' into 'master'
Ivan Grokhotkov [Thu, 1 Nov 2018 05:56:43 +0000 (13:56 +0800)]
Merge branch 'bugfix/bootloader_iram_overlap_check' into 'master'

bootloader: verify that loaded image does not overlap bootloader code

See merge request idf/esp-idf!3409

6 years agoesp_event: lower test performance threshold for PSRAM config
Ivan Grokhotkov [Thu, 1 Nov 2018 03:01:35 +0000 (11:01 +0800)]
esp_event: lower test performance threshold for PSRAM config

6 years agoci: revert accidental change from f0eb9985b9
Ivan Grokhotkov [Thu, 1 Nov 2018 04:56:07 +0000 (12:56 +0800)]
ci: revert accidental change from f0eb9985b9

6 years agoMerge branch 'bugfix/wl_version_update' into 'master'
Ivan Grokhotkov [Thu, 1 Nov 2018 04:50:49 +0000 (12:50 +0800)]
Merge branch 'bugfix/wl_version_update' into 'master'

Version update from V1 to V2 now done in correct way.

See merge request idf/esp-idf!3557

6 years agoMerge branch 'doc/issue_template_compiler_version' into 'master' v3.3-dev
Ivan Grokhotkov [Thu, 1 Nov 2018 04:16:30 +0000 (12:16 +0800)]
Merge branch 'doc/issue_template_compiler_version' into 'master'

doc: include compiler version in issue template

See merge request idf/esp-idf!3357

6 years agotest: fix bug of scan interval and window
chensheng [Thu, 1 Nov 2018 03:54:52 +0000 (11:54 +0800)]
test: fix bug of scan interval and window

6 years agoci: Detect undetectable failures in build_examples
Anton Maklakov [Wed, 31 Oct 2018 10:33:51 +0000 (18:33 +0800)]
ci: Detect undetectable failures in build_examples

6 years agoci: Count build_example jobs in decimal instead of octal
Anton Maklakov [Thu, 1 Nov 2018 02:41:45 +0000 (10:41 +0800)]
ci: Count build_example jobs in decimal instead of octal

6 years agocomponent/bt: bugfix of error when entering sniff mode with attempt large than 0xFF
baohongde [Tue, 30 Oct 2018 11:20:56 +0000 (19:20 +0800)]
component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF

6 years agocomponent/bt: bugfix for the error in calculation sniff anchor point which can result...
wangmengyang [Tue, 30 Oct 2018 06:30:07 +0000 (14:30 +0800)]
component/bt: bugfix for the error in calculation sniff anchor point which can result in supervision timeout after connection is brought into sniff mode

6 years agoComponent/bt: fix ble cannot send or receive packet sometimes
zhiweijian [Tue, 30 Oct 2018 12:01:13 +0000 (20:01 +0800)]
Component/bt: fix ble cannot send or receive packet sometimes

6 years agocomponent/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP...
wangmengyang [Wed, 31 Oct 2018 08:22:12 +0000 (16:22 +0800)]
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM

6 years agoMerge branch 'fix/spi_test_memory_layout' into 'master' v3.2-beta1
Ivan Grokhotkov [Wed, 31 Oct 2018 13:37:56 +0000 (21:37 +0800)]
Merge branch 'fix/spi_test_memory_layout' into 'master'

test: fix the unit test fail issue under single_core config

See merge request idf/esp-idf!3596

6 years agoMerge branch 'bugfix/btdm_change_default_CoD_of_BT_profile' into 'master'
Jiang Jiang Jian [Wed, 31 Oct 2018 12:51:15 +0000 (20:51 +0800)]
Merge branch 'bugfix/btdm_change_default_CoD_of_BT_profile' into 'master'

components/bt: Set default Class of Device of BT profile

See merge request idf/esp-idf!3564

6 years agocomponents/bt: Fix the different size of name buffer allocation size
baohongde [Wed, 31 Oct 2018 02:48:47 +0000 (10:48 +0800)]
components/bt: Fix the different size of name buffer allocation size

Close https://github.com/espressif/esp-idf/issues/2615

6 years agoMerge branch 'bugfix/btdm_add_attr_handle_for_ESP_GATTS_CONF_EVT' into 'master'
Jiang Jiang Jian [Wed, 31 Oct 2018 09:20:47 +0000 (17:20 +0800)]
Merge branch 'bugfix/btdm_add_attr_handle_for_ESP_GATTS_CONF_EVT' into 'master'

Component/bt: add attr_handle for ESP_GATTS_CONF_EVT

See merge request idf/esp-idf!3492

6 years agotest: fix the unit test fail issue under single_core config
Michael (XIAO Xufeng) [Wed, 31 Oct 2018 08:51:09 +0000 (16:51 +0800)]
test: fix the unit test fail issue under single_core config

Introduced in 97e35429477b9877378ce9c4ec943ccc34318d42.

The previous commit frees the IRAM part when single core, but doesn't
change the memory layout functions. The unit test mallocs IRAM memory
from the heap, accidently into the new-released region, which doesn't
match the memory layout function.

This commit update the memory layout function to fix this.

6 years agoMerge branch 'bugfix/minor_doc_fixes' into 'master'
Angus Gratton [Wed, 31 Oct 2018 05:23:58 +0000 (13:23 +0800)]
Merge branch 'bugfix/minor_doc_fixes' into 'master'

Documentation fixes

See merge request idf/esp-idf!3529

6 years agoMerge branch 'feature/mqtt_mutual_auth' into 'master'
Angus Gratton [Tue, 30 Oct 2018 23:06:58 +0000 (07:06 +0800)]
Merge branch 'feature/mqtt_mutual_auth' into 'master'

MQTT: Added client cert ssl example per PR from GitHub

See merge request idf/esp-idf!3473

6 years agoesp_http_client: Fix crash in async mode
Jitin George [Wed, 24 Oct 2018 07:32:47 +0000 (13:02 +0530)]
esp_http_client: Fix crash in async mode

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

6 years agoMerge branch 'bugfix/release_some_memory_on_single_core_mode' into 'master'
Jiang Jiang Jian [Tue, 30 Oct 2018 07:53:31 +0000 (15:53 +0800)]
Merge branch 'bugfix/release_some_memory_on_single_core_mode' into 'master'

release memory not used in single core mode

See merge request idf/esp-idf!2733

6 years agoMerge branch 'bugfix/assert_when_do_wps_with_mikrotik' into 'master'
Jiang Jiang Jian [Tue, 30 Oct 2018 07:52:02 +0000 (15:52 +0800)]
Merge branch 'bugfix/assert_when_do_wps_with_mikrotik' into 'master'

wifi: bugfix of assert when do wps with mikrotik

See merge request idf/esp-idf!3572

6 years agoMerge branch 'bugfix/btdm_reduce_iram_size' into 'master'
Jiang Jiang Jian [Tue, 30 Oct 2018 07:17:06 +0000 (15:17 +0800)]
Merge branch 'bugfix/btdm_reduce_iram_size' into 'master'

components/bt: Reduce IRAM size

See merge request idf/esp-idf!3574

6 years agomqtt: ssl mutual authentication example added per PR from github, corrected cmake...
David Cermak [Thu, 11 Oct 2018 15:34:09 +0000 (17:34 +0200)]
mqtt: ssl mutual authentication example added per PR from github, corrected cmake build, updated per idf style

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

6 years agomqtt: Add ssl mutual authentication example
Riccardo Binetti [Mon, 6 Aug 2018 14:35:00 +0000 (16:35 +0200)]
mqtt: Add ssl mutual authentication example

Signed-off-by: David Cermak <cermak@espressif.com>
6 years agotransport_ssl: add support for mutual SSL authentication
Riccardo Binetti [Fri, 28 Sep 2018 16:45:37 +0000 (18:45 +0200)]
transport_ssl: add support for mutual SSL authentication

Signed-off-by: David Cermak <cermak@espressif.com>
6 years agoesp-tls: add support for mutual SSL authentication
Riccardo Binetti [Fri, 28 Sep 2018 16:45:11 +0000 (18:45 +0200)]
esp-tls: add support for mutual SSL authentication

Signed-off-by: David Cermak <cermak@espressif.com>
6 years agoComponent/bt: fix get attr value API error
zhiweijian [Tue, 30 Oct 2018 07:00:23 +0000 (15:00 +0800)]
Component/bt: fix get attr value API error

6 years agoMerge branch 'bugfix/docs_fixes_from_github' into 'master'
Angus Gratton [Mon, 29 Oct 2018 23:40:16 +0000 (07:40 +0800)]
Merge branch 'bugfix/docs_fixes_from_github' into 'master'

Documentation bugfixes from GitHub

See merge request idf/esp-idf!3570

6 years agowifi: bugfix of assert when do wps with mikrotik
Deng Xin [Mon, 29 Oct 2018 07:28:32 +0000 (15:28 +0800)]
wifi: bugfix of assert when do wps with mikrotik

Problem Decribe

The problem happenned when do wps with a mikrotik router
1. router always want to do connect with 32 without EAP-WSC step
2. after 4 way timeour, 32 crash

Root Cause

The reason why can not start EAP-WSC step is router's check method is RSN > WPA > WPS, when it found there include RSN and WPS in assoc, it will choice do 4 way rather than WPS
The reason of second problem is 32's EAPOL start timer didn't stop and send EAPOL start to a null pointer

Soultion
1. remove RSN and WPA ie when do WPS step
2. check mac address's pointer before send EAPOL start

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

6 years agocomponents/bt: Reduce IRAM size
baohongde [Mon, 29 Oct 2018 08:54:32 +0000 (16:54 +0800)]
components/bt: Reduce IRAM size

libbtdm: 2608B
idf: 924B

6 years agoMerge branch 'bugfix/mdns_crash_on_network_change' into 'master'
Angus Gratton [Mon, 29 Oct 2018 08:31:52 +0000 (16:31 +0800)]
Merge branch 'bugfix/mdns_crash_on_network_change' into 'master'

Fixed mdns crashes on network changes

See merge request idf/esp-idf!3546

6 years agoMerge branch 'bugfix/doc_provisioning' into 'master'
Angus Gratton [Mon, 29 Oct 2018 06:56:32 +0000 (14:56 +0800)]
Merge branch 'bugfix/doc_provisioning' into 'master'

Docs : Provisioning docs and READMEs updated with links to phone apps

See merge request idf/esp-idf!3511

6 years agoMerge branch 'feat/sdio_slave_init_doc' into 'master'
Angus Gratton [Mon, 29 Oct 2018 01:07:30 +0000 (09:07 +0800)]
Merge branch 'feat/sdio_slave_init_doc' into 'master'

sdio_slave: add documentation for the standard init process

See merge request idf/esp-idf!3548

6 years agoFix some typos related to ethernet documentation and Kconfig. Closes https://github...
Peter Meerwald-Stadler [Sat, 27 Oct 2018 13:03:27 +0000 (15:03 +0200)]
Fix some typos related to ethernet documentation and Kconfig. Closes https://github.com/espressif/esp-idf/pull/2642

6 years agoFixed spelling in build-system.rst. Closes https://github.com/espressif/esp-idf/pull...
fabianpedd [Sun, 28 Oct 2018 11:23:50 +0000 (12:23 +0100)]
Fixed spelling in build-system.rst. Closes https://github.com/espressif/esp-idf/pull/2641

6 years agocomponents/bt: Set default Class of Device of BT profile
baohongde [Fri, 26 Oct 2018 09:03:39 +0000 (17:03 +0800)]
components/bt: Set default Class of Device of BT profile

The CoD of each profile both are 0x2c0414, now they are as follow:
A2DP sink:   0x240414
A2DP source: 0x280400
HFP:         0x200408
SPP:         0x001F00

6 years agosdio_slave: add documentation for the standard init process
Michael (XIAO Xufeng) [Wed, 24 Oct 2018 03:17:56 +0000 (11:17 +0800)]
sdio_slave: add documentation for the standard init process

6 years agotest: use simplified env to test iperf cases
He Yin Ling [Wed, 24 Oct 2018 05:34:05 +0000 (13:34 +0800)]
test: use simplified env to test iperf cases

6 years agotest: fix UT script can't process cmd after reset:
He Yin Ling [Tue, 25 Sep 2018 07:04:16 +0000 (15:04 +0800)]
test: fix UT script can't process cmd after reset:

There's still a small chance that can't process command issue still
happen on some runners. Now we change the way to detect if the runner
reset finished: input `-` to check test history for a few times until it
succeeded. If DUT can process check history command, then it should be
able to process other test commands.

6 years agoexamples: Add partition API examples
Renz Bagaporo [Wed, 3 Oct 2018 10:09:59 +0000 (18:09 +0800)]
examples: Add partition API examples

6 years agoVersion update from V1 to V2 now done in correct way.
Dmitry [Thu, 25 Oct 2018 12:31:28 +0000 (15:31 +0300)]
Version update from V1 to V2 now done in correct way.
Before this works only first time.
The source and test updated.
State length was changed to macro.

6 years agoMerge branch 'bugfix/py3_ci' into 'master'
Angus Gratton [Fri, 26 Oct 2018 05:45:19 +0000 (13:45 +0800)]
Merge branch 'bugfix/py3_ci' into 'master'

Fix Python3 compatibility issues

See merge request idf/esp-idf!3487

6 years agoMerge branch 'feature/esp_event_loop_library' into 'master'
Angus Gratton [Fri, 26 Oct 2018 05:14:19 +0000 (13:14 +0800)]
Merge branch 'feature/esp_event_loop_library' into 'master'

event: Implement event loop library

See merge request idf/esp-idf!2881

6 years agoevent: Implement event loop library
Renz Christian Bagaporo [Fri, 26 Oct 2018 05:14:19 +0000 (13:14 +0800)]
event: Implement event loop library

6 years agoMerge branch 'bugfix/rename_http_server' into 'master'
Angus Gratton [Fri, 26 Oct 2018 04:59:38 +0000 (12:59 +0800)]
Merge branch 'bugfix/rename_http_server' into 'master'

Rename http_server component to esp_http_server

See merge request idf/esp-idf!3553

6 years agoMerge branch 'bugfix/idf_pyserial_error' into 'master'
Angus Gratton [Fri, 26 Oct 2018 04:58:03 +0000 (12:58 +0800)]
Merge branch 'bugfix/idf_pyserial_error' into 'master'

idf.py: Import from pyserial after packages have been checked

See merge request idf/esp-idf!3519

6 years agodoc: include compiler version in issue template
Ivan Grokhotkov [Tue, 25 Sep 2018 04:44:47 +0000 (12:44 +0800)]
doc: include compiler version in issue template

6 years agobootloader: verify that loaded image does not overlap bootloader code
Ivan Grokhotkov [Sat, 29 Sep 2018 09:29:23 +0000 (17:29 +0800)]
bootloader: verify that loaded image does not overlap bootloader code

Fixes CVE-2018-18558

6 years agobugfix: minor_doc_fixes into Chinese
morris [Mon, 22 Oct 2018 10:26:44 +0000 (18:26 +0800)]
bugfix: minor_doc_fixes into Chinese

6 years agodocs: use generated links in CMake getting started guides
Ivan Grokhotkov [Mon, 22 Oct 2018 06:37:17 +0000 (14:37 +0800)]
docs: use generated links in CMake getting started guides

6 years agoesp_timer: document limitations on timeout/period
Ivan Grokhotkov [Mon, 22 Oct 2018 06:30:48 +0000 (14:30 +0800)]
esp_timer: document limitations on timeout/period

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

6 years agodocs: fix instructions for building toolchain on macOS
Ivan Grokhotkov [Mon, 22 Oct 2018 05:45:09 +0000 (13:45 +0800)]
docs: fix instructions for building toolchain on macOS

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

6 years agodocs: fix git submodule update command
Ivan Grokhotkov [Mon, 22 Oct 2018 05:33:26 +0000 (13:33 +0800)]
docs: fix git submodule update command

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

6 years agoMerge branch 'fix/spi_polling_speed_test' into 'master'
Angus Gratton [Fri, 26 Oct 2018 04:41:00 +0000 (12:41 +0800)]
Merge branch 'fix/spi_polling_speed_test' into 'master'

spi: speed up polling performance and fix several tests

Closes #33

See merge request idf/esp-idf!3530