]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'feature/modify_espnow' into 'master'
Jiang Jiang Jian [Tue, 4 Sep 2018 05:09:43 +0000 (13:09 +0800)]
Merge branch 'feature/modify_espnow' into 'master'

modify espnow example

See merge request idf/esp-idf!3144

6 years agoMerge branch 'bugfix/bootloader_random_in_app' into 'master'
Angus Gratton [Tue, 4 Sep 2018 02:39:12 +0000 (10:39 +0800)]
Merge branch 'bugfix/bootloader_random_in_app' into 'master'

esp32: Allow bootloader_random.h use in app, add esp_fill_random() function

See merge request idf/esp-idf!3124

6 years agoMerge branch 'bugfix/lock_up_if_supply_is_varying' into 'master'
Angus Gratton [Mon, 3 Sep 2018 16:37:52 +0000 (00:37 +0800)]
Merge branch 'bugfix/lock_up_if_supply_is_varying' into 'master'

bootloader_support: Fix enable wdt for resolve issue with varying supply

See merge request idf/esp-idf!2769

6 years agoMerge branch 'bugfix/make_mconf_deps' into 'master'
Angus Gratton [Mon, 3 Sep 2018 07:43:20 +0000 (15:43 +0800)]
Merge branch 'bugfix/make_mconf_deps' into 'master'

kconfig: Don't include system headers in dependency files

See merge request idf/esp-idf!3163

6 years agoMerge branch 'bugfix/heap_dma_pool_fixes' into 'master'
Angus Gratton [Mon, 3 Sep 2018 07:43:01 +0000 (15:43 +0800)]
Merge branch 'bugfix/heap_dma_pool_fixes' into 'master'

heap: Fixes around DMA reserved pool

See merge request idf/esp-idf!3034

6 years agoMerge branch 'bugfix/add_core_id_to_idle_task_name' into 'master'
Angus Gratton [Mon, 3 Sep 2018 06:40:37 +0000 (14:40 +0800)]
Merge branch 'bugfix/add_core_id_to_idle_task_name' into 'master'

freertos: Add core ID to idle task names

See merge request idf/esp-idf!3159

6 years agofreertos: Add core ID to idle task names
Darian Leung [Sun, 2 Sep 2018 12:26:33 +0000 (20:26 +0800)]
freertos: Add core ID to idle task names

This commit adds the core number to the name of each idle task.

6 years agobootloader_support: Fix enable rtc_wdt for resolve issue with varying supply
Konstantin Kondrashov [Thu, 26 Jul 2018 09:07:36 +0000 (17:07 +0800)]
bootloader_support: Fix enable rtc_wdt for resolve issue with varying supply

Eliminates the issue with the lock up in the bootloader due to a power drawdown during its operation.

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

6 years agoesp32: Add esp_fill_random() function
Angus Gratton [Wed, 15 Aug 2018 08:20:16 +0000 (18:20 +1000)]
esp32: Add esp_fill_random() function

Convenience function to fill a buffer with random bytes.

Add some unit tests (only sanity checks, really.)

6 years agobootloader_support: Move bootloader_random.h to public header directory
Angus Gratton [Wed, 15 Aug 2018 07:25:19 +0000 (17:25 +1000)]
bootloader_support: Move bootloader_random.h to public header directory

6 years agomconf: Don't include system headers in dependency files
Angus Gratton [Mon, 3 Sep 2018 03:07:59 +0000 (11:07 +0800)]
mconf: Don't include system headers in dependency files

Fixes issue where build gets stuck because of .d files in the
tools/kconfig directory.

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

6 years agoMerge branch 'bugfix/heap_poison_swap_check' into 'master'
Angus Gratton [Mon, 3 Sep 2018 03:19:16 +0000 (11:19 +0800)]
Merge branch 'bugfix/heap_poison_swap_check' into 'master'

heap: When verifying & swapping a fill pattern, stop swapping if verification fails

See merge request idf/esp-idf!2890

6 years agoMerge branch 'feature/bootloader_minor_enhancements' into 'master'
Angus Gratton [Mon, 3 Sep 2018 02:56:30 +0000 (10:56 +0800)]
Merge branch 'feature/bootloader_minor_enhancements' into 'master'

Feature/bootloader minor enhancements

See merge request idf/esp-idf!3111

6 years agoMerge branch 'mesh/rewrite_docs' into 'master'
Angus Gratton [Mon, 3 Sep 2018 02:52:33 +0000 (10:52 +0800)]
Merge branch 'mesh/rewrite_docs' into 'master'

docs/rewrite_mesh_docs

See merge request idf/esp-idf!2990

6 years agodocs/rewrite_mesh_docs
Darian Leung [Tue, 26 Jun 2018 12:48:47 +0000 (20:48 +0800)]
docs/rewrite_mesh_docs

The following commit rewrites the ESP-MESH docs. This commit includes
new diagrams and a structure approach to the mesh docs. Some mesh api references
have also been modified.

6 years agoMerge branch 'bugfix/fix_bt_hdr_files' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 14:04:39 +0000 (22:04 +0800)]
Merge branch 'bugfix/fix_bt_hdr_files' into 'master'

components/bt: Make a pass through Bluetooth header files

See merge request idf/esp-idf!3093

6 years agoMerge branch 'bugfix/btdm_update_private_address' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:33:54 +0000 (21:33 +0800)]
Merge branch 'bugfix/btdm_update_private_address' into 'master'

component/bt: Update BLE private address after it's private address interval

See merge request idf/esp-idf!2987

6 years agoMerge branch 'bugfix/btdm_rfcomm_test_command_cause_crash' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:33:39 +0000 (21:33 +0800)]
Merge branch 'bugfix/btdm_rfcomm_test_command_cause_crash' into 'master'

component/bt: Fix bug rfcomm test command cause crash

See merge request idf/esp-idf!3080

6 years agoMerge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success' into...
Jiang Jiang Jian [Fri, 31 Aug 2018 13:27:21 +0000 (21:27 +0800)]
Merge branch 'bugfix/btdm_find_remote_service_by_uuid_always_return_success' into 'master'

component/bt: Fix bug of SDP find services by uuid always return success

See merge request idf/esp-idf!3036

6 years agoMerge branch 'feature/modify_smart_config' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:01:57 +0000 (21:01 +0800)]
Merge branch 'feature/modify_smart_config' into 'master'

modify smart config example

See merge request idf/esp-idf!3142

6 years agoMerge branch 'bugfix/esp_wifi_disconnect_fail' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 13:01:12 +0000 (21:01 +0800)]
Merge branch 'bugfix/esp_wifi_disconnect_fail' into 'master'

update wifi lib to fix two bugs

See merge request idf/esp-idf!3125

6 years agoMerge branch 'bugfix/tw23350_fix_brownout_reset' into 'master'
Jiang Jiang Jian [Fri, 31 Aug 2018 12:37:18 +0000 (20:37 +0800)]
Merge branch 'bugfix/tw23350_fix_brownout_reset' into 'master'

when brownout reset occurs, set the phy TX Power to the lowest

See merge request idf/esp-idf!2854

6 years agomodify espnow example
zhangyanjiao [Wed, 29 Aug 2018 12:16:20 +0000 (20:16 +0800)]
modify espnow example

6 years agofix the esp_wifi_disconnect() err when wifi is not started or inited
zhangyanjiao [Tue, 28 Aug 2018 12:16:17 +0000 (20:16 +0800)]
fix the esp_wifi_disconnect() err when wifi is not started or inited

Closes: https://github.com/espressif/esp-idf/issues/2336
6 years agoMerge branch 'ci/add_check_stage' into 'master'
Angus Gratton [Fri, 31 Aug 2018 02:08:59 +0000 (10:08 +0800)]
Merge branch 'ci/add_check_stage' into 'master'

ci: Add 'check' stage, move all check-related jobs to this stage

See merge request idf/esp-idf!2986

6 years agoMerge branch 'bugfix/btdm_security_vulnerability' into 'master'
Jiang Jiang Jian [Thu, 30 Aug 2018 18:02:59 +0000 (02:02 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability' into 'master'

fix bluetooth security vulnerability of ECDH public key checking

See merge request idf/esp-idf!3089

6 years agoMerge branch 'bugfix/wifi_reorder_mpdu_as_ampdu' into 'master'
Jiang Jiang Jian [Thu, 30 Aug 2018 17:59:50 +0000 (01:59 +0800)]
Merge branch 'bugfix/wifi_reorder_mpdu_as_ampdu' into 'master'

esp32: reorder MPDU as AMPDU

See merge request idf/esp-idf!3108

6 years agoesp32: reorder MPDU as AMPDU
XiaXiaotian [Mon, 27 Aug 2018 09:17:34 +0000 (17:17 +0800)]
esp32: reorder MPDU as AMPDU

    Some APs transmit AMPDU and MPDU by turns. Moreover, the sequence
    numbers of AMPDU and MPDU are out of order, e.g. MPDU(1253) -
    AMPDU(1251, 1252) - MPDU(1254) - AMPDU(1255, 1256). In order to
    receive both AMPDU and MPDU in order, MPDU must be reordered with
    AMPDU.

6 years agoMerge branch 'bugfix/py3_error_code_generator_from_docs' into 'master'
Ivan Grokhotkov [Thu, 30 Aug 2018 12:25:09 +0000 (20:25 +0800)]
Merge branch 'bugfix/py3_error_code_generator_from_docs' into 'master'

Docs: Check Python packages

See merge request idf/esp-idf!3135

6 years agomodify static variables and README file
zhangyanjiao [Wed, 29 Aug 2018 12:48:16 +0000 (20:48 +0800)]
modify static variables and README file

6 years agoDocs: Check Python packages
Roland Dobai [Tue, 28 Aug 2018 18:01:25 +0000 (20:01 +0200)]
Docs: Check Python packages

6 years agoMerge branch 'feature/emmc_ddr' into 'master'
Angus Gratton [Thu, 30 Aug 2018 10:14:35 +0000 (18:14 +0800)]
Merge branch 'feature/emmc_ddr' into 'master'

sdmmc: eMMC support, command layer refactoring

See merge request idf/esp-idf!3062

6 years agoMerge branch 'feature/py3_idf_size' into 'master'
Angus Gratton [Thu, 30 Aug 2018 10:12:17 +0000 (18:12 +0800)]
Merge branch 'feature/py3_idf_size' into 'master'

tools: Support Python 3 in idf_size.py

See merge request idf/esp-idf!2849

6 years agowhen brownout reset occurs,set the phy TX Power to the lowest
zhangyanjiao [Wed, 25 Jul 2018 09:28:56 +0000 (17:28 +0800)]
when brownout reset occurs,set the phy TX Power to the lowest

6 years agoheap: Drop priority of DMA reserved memory pool
Angus Gratton [Mon, 20 Aug 2018 06:14:13 +0000 (16:14 +1000)]
heap: Drop priority of DMA reserved memory pool

Ensures that non-reserved memory should be used up first, before allocating from this pool.

6 years agoheap: When adding a new heap, allocate its metadata block from internal memory only
Angus Gratton [Mon, 20 Aug 2018 06:12:14 +0000 (16:12 +1000)]
heap: When adding a new heap, allocate its metadata block from internal memory only

6 years agoci: Add 'check' stage, move all check-related jobs to this stage
Angus Gratton [Mon, 13 Aug 2018 02:35:11 +0000 (12:35 +1000)]
ci: Add 'check' stage, move all check-related jobs to this stage

Allows us to prevent pushing to GitHub if a check fails on master/release branch.

6 years agosdmmc: document eMMC support, host features
Ivan Grokhotkov [Mon, 13 Aug 2018 17:01:12 +0000 (20:01 +0300)]
sdmmc: document eMMC support, host features

6 years agosdmmc: update unit tests for ESP_eMMC_TestBoard_V1
Ivan Grokhotkov [Mon, 4 Jun 2018 14:00:26 +0000 (22:00 +0800)]
sdmmc: update unit tests for ESP_eMMC_TestBoard_V1

1. New tests for SD card on slot 0. Currently frequency for 4-bit mode
has to be reduced in the test.

2. Change pin for CD/WP tests, re-enable CD tests.

6 years agosdmmc: implement partial DDR support
Ivan Grokhotkov [Wed, 22 Aug 2018 10:16:32 +0000 (18:16 +0800)]
sdmmc: implement partial DDR support

Works for 3.3V eMMC in 4 line mode.
Not implemented:
- DDR mode for SD cards (UHS-I) also need voltage to be switched to 1.8V.
- 8-line DDR mode for eMMC to be implemented later.

6 years agosdmmc: command layer refactoring
Ivan Grokhotkov [Wed, 20 Jun 2018 11:59:11 +0000 (19:59 +0800)]
sdmmc: command layer refactoring

6 years agoMerge branch 'bugfix/http_server_example_tests' into 'master'
Angus Gratton [Thu, 30 Aug 2018 04:46:29 +0000 (12:46 +0800)]
Merge branch 'bugfix/http_server_example_tests' into 'master'

http_server : Fix and enable example tests

See merge request idf/esp-idf!2960

6 years agofix bluetooth security vulnerability of ECDH publick key checking
Tian Hao [Fri, 24 Aug 2018 12:01:01 +0000 (20:01 +0800)]
fix bluetooth security vulnerability of ECDH publick key checking

6 years agoeMMC/MMC support for ESP32
sergiu2014 [Wed, 9 May 2018 17:12:00 +0000 (13:12 -0400)]
eMMC/MMC support for ESP32

Merges https://github.com/espressif/esp-idf/pull/1941
Previous work in https://github.com/espressif/esp-idf/pull/590

6 years agosdmmc host: minor cleanup
Ivan Grokhotkov [Fri, 22 Jun 2018 12:11:30 +0000 (20:11 +0800)]
sdmmc host: minor cleanup

Code style, comments

6 years agoMerge branch 'fix/spi_example_wait_gpio' into 'master'
Angus Gratton [Thu, 30 Aug 2018 03:29:38 +0000 (11:29 +0800)]
Merge branch 'fix/spi_example_wait_gpio' into 'master'

spi: fix the misleading example, letting the master wait until slave is ready

See merge request idf/esp-idf!3136

6 years agoMerge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'
He Yin Ling [Thu, 30 Aug 2018 03:19:04 +0000 (11:19 +0800)]
Merge branch 'test/bugfix_BTSTK_GATT_25007' into 'master'

test: fix bug of BTSTK_GATT_25007

See merge request idf/esp-idf!3096

6 years agoMerge branch 'bugfix/btdm_get_acl_num' into 'master'
Jiang Jiang Jian [Thu, 30 Aug 2018 03:12:46 +0000 (11:12 +0800)]
Merge branch 'bugfix/btdm_get_acl_num' into 'master'

component/bt : fix get acl number incorrect due to memory release

See merge request idf/esp-idf!3090

6 years agoMerge branch 'doc/python_sphinx_build' into 'master'
Angus Gratton [Thu, 30 Aug 2018 03:02:35 +0000 (11:02 +0800)]
Merge branch 'doc/python_sphinx_build' into 'master'

docs: Call 'python -m sphinx' instead of sphinx-build

See merge request idf/esp-idf!3127

6 years agoMerge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'
Angus Gratton [Thu, 30 Aug 2018 02:00:07 +0000 (10:00 +0800)]
Merge branch 'bugfix/hwcrypto_mpi_ecp' into 'master'

mbedtls: Don't unnecessarily grow the result of a hardware bignum operation

See merge request idf/esp-idf!3041

6 years agoTemporary : Disable leak tests
Anurag Kar [Wed, 29 Aug 2018 21:00:41 +0000 (02:30 +0530)]
Temporary : Disable leak tests

6 years agohttp_server : Fix and enable example tests
Anurag Kar [Fri, 10 Aug 2018 18:28:38 +0000 (23:58 +0530)]
http_server : Fix and enable example tests
This introduces the following changes in the example test scripts :
* Dependency on python requests library removed in favor of httplib
* Bug fixed in the logic responsible for receiving and processing http chunked responses
* Default timeouts increased Note : Due to connectivity issues (between runner host and DUT) in the runner environment, some of the advanced_tests are being ignored. These tests are intended for verifying the expected limits of the http_server capabilities, and implement sending and receiving of large HTTP packets and malformed requests, running multiple parallel sessions, etc. It is advised that all these tests be run locally, when making changes or adding new features to this component.

6 years agoMerge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'
Jiang Jiang Jian [Wed, 29 Aug 2018 15:05:32 +0000 (23:05 +0800)]
Merge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'

mesh: bugfix and add two APIs

See merge request idf/esp-idf!3107

6 years agospi_flash: fix erase_range for block erase check
Mahavir Jain [Mon, 27 Aug 2018 16:24:20 +0000 (21:54 +0530)]
spi_flash: fix erase_range for block erase check

Erase in block (64k) as much as possible, before falling back
to sector (4k) erase.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agobootloader: add API for erasing flash region
Mahavir Jain [Fri, 24 Aug 2018 12:28:04 +0000 (17:58 +0530)]
bootloader: add API for erasing flash region

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agobootloader: keep bootloader_common code to retention region
Mahavir Jain [Fri, 24 Aug 2018 12:26:38 +0000 (17:56 +0530)]
bootloader: keep bootloader_common code to retention region

It is possible to utilize some of the routines related to otadata
partition validation, after firmware image is downloaded to RAM. Hence
these routines should be part of app cpu cache, so that they do not
get overwritten by firmware.

Signed-off-by: Mahavir Jain <mahavir@espressif.com>
6 years agospi: fix the misleading example, letting the master wait until slave is ready
Michael (XIAO Xufeng) [Wed, 29 Aug 2018 10:40:21 +0000 (18:40 +0800)]
spi: fix the misleading example, letting the master wait until slave is ready

6 years agoMerge branch 'bugfix/gcc8_warnings' into 'master'
Ivan Grokhotkov [Wed, 29 Aug 2018 07:53:28 +0000 (15:53 +0800)]
Merge branch 'bugfix/gcc8_warnings' into 'master'

Fix or silence warnings found by GCC 8

See merge request idf/esp-idf!3130

6 years agodocs: Call 'python -m sphinx' instead of sphinx-build
Angus Gratton [Wed, 29 Aug 2018 04:00:41 +0000 (12:00 +0800)]
docs: Call 'python -m sphinx' instead of sphinx-build

Fixes mismatches where default Python interpreter may not match the most recently
installed sphinx-build wrapper script (if sphinx 2 & 3 both installed, pip will
clobber any previous copy of /bin/sphinx-build when it installs the new one.)

6 years agoexamples/bluetooth: add fallthrough annotations
Ivan Grokhotkov [Wed, 29 Aug 2018 04:59:30 +0000 (12:59 +0800)]
examples/bluetooth: add fallthrough annotations

6 years agobluetooth: fix format overflow warnings
Anton Maklakov [Wed, 29 Aug 2018 04:55:28 +0000 (12:55 +0800)]
bluetooth: fix format overflow warnings

6 years agobluetooth: fix incorrect memset size
Anton Maklakov [Wed, 29 Aug 2018 04:55:07 +0000 (12:55 +0800)]
bluetooth: fix incorrect memset size

6 years agobluetooth: fix missing braces and indentation
Anton Maklakov [Wed, 29 Aug 2018 04:54:29 +0000 (12:54 +0800)]
bluetooth: fix missing braces and indentation

6 years agoheap: test: don’t warn about oversized mallocs
Ivan Grokhotkov [Wed, 29 Aug 2018 04:52:03 +0000 (12:52 +0800)]
heap: test: don’t warn about oversized mallocs

6 years agobt/a2dp: fix incorrect return type
Ivan Grokhotkov [Tue, 28 Aug 2018 09:31:18 +0000 (17:31 +0800)]
bt/a2dp: fix incorrect return type

res was declared as “bool” so expression

((count == 0) ? A2D_SET_ONE_BIT : A2D_SET_MULTL_BIT)

always evaluated to “true”, and was implicitly converted to
A2D_SET_ONE_BIT.

6 years agobt/bta: fix returning value from function returning void
Ivan Grokhotkov [Tue, 28 Aug 2018 10:18:31 +0000 (18:18 +0800)]
bt/bta: fix returning value from function returning void

6 years agobt/btm: fix misplaced debug statement
Ivan Grokhotkov [Tue, 28 Aug 2018 10:21:44 +0000 (18:21 +0800)]
bt/btm: fix misplaced debug statement

6 years agoexamples/bluetooth: Fix incompatible cast
Anton Maklakov [Tue, 28 Aug 2018 17:54:41 +0000 (00:54 +0700)]
examples/bluetooth: Fix incompatible cast

6 years agoexamples/spi_slave: check for truncation in snprintf call
Ivan Grokhotkov [Tue, 28 Aug 2018 13:34:44 +0000 (21:34 +0800)]
examples/spi_slave: check for truncation in snprintf call

Also fix character array initializer

6 years agospiffs: test: check for truncation in snprintf call
Ivan Grokhotkov [Tue, 28 Aug 2018 04:23:27 +0000 (12:23 +0800)]
spiffs: test: check for truncation in snprintf call

6 years agodriver, ethernet: fix non-static inline functions
Ivan Grokhotkov [Wed, 29 Aug 2018 03:26:44 +0000 (11:26 +0800)]
driver, ethernet: fix non-static inline functions

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81734

6 years agodriver: test: fix memset out of bounds in spi_master test
Ivan Grokhotkov [Tue, 28 Aug 2018 04:22:40 +0000 (12:22 +0800)]
driver: test: fix memset out of bounds in spi_master test

6 years agosyscalls: fix type conversion for _raise_r stub
Ivan Grokhotkov [Tue, 7 Aug 2018 20:26:05 +0000 (23:26 +0300)]
syscalls: fix type conversion for _raise_r stub

6 years agoapp_trace: Fix tmo initialization
Alexey Gerenkov [Thu, 14 Jun 2018 16:11:21 +0000 (19:11 +0300)]
app_trace: Fix tmo initialization

6 years agoMerge branch 'feature/add_deinit_to_emac_driver' into 'master'
Angus Gratton [Tue, 28 Aug 2018 10:09:55 +0000 (18:09 +0800)]
Merge branch 'feature/add_deinit_to_emac_driver' into 'master'

ethernet: support esp_eth_deinit

See merge request idf/esp-idf!3059

6 years agombedtls: Don't unnecessarily grow the result of a hardware bignum operation
Angus Gratton [Thu, 9 Aug 2018 05:13:43 +0000 (15:13 +1000)]
mbedtls: Don't unnecessarily grow the result of a hardware bignum operation

Avoids growing the result of hardware bignum operations
(particularly for multiplication)

Fixes bugs where some Elliptic Curve operations fail or corrupt memory,
as they assume length of the number is never greater than the number of
non-zero limbs.

Includes some general refactoring to standardize terminology.

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

Fixes TW12984

Adds test cases for both these issues.

6 years agocomponent/bt : fix get acl number incorrect due to memory release
Tian Hao [Fri, 24 Aug 2018 12:09:54 +0000 (20:09 +0800)]
component/bt : fix get acl number incorrect due to memory release

1. after memory release MR merged, due to the get acl number condition is not completed, it will cause get acl number value incorrect
2. It may cause set Security Mode (BR/EDR) enable failed

6 years agoMerge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test' into...
Jiang Jiang Jian [Tue, 28 Aug 2018 05:40:20 +0000 (13:40 +0800)]
Merge branch 'bugfix/btdm_fix_crash_when_BLE_do_SMP_con_discon_stress_test' into 'master'

component/bt: fix crash when BLE do SMP connect and disconnect stress test

See merge request idf/esp-idf!3077

6 years agoethernet: support esp_eth_deinit
morris [Wed, 22 Aug 2018 09:46:14 +0000 (17:46 +0800)]
ethernet: support esp_eth_deinit

1. change static emac-dma memory to dynamic
2. add esp_eth_deinit
3. modify ethernet example
4. add testcase for ethernet deinit function
5. GPIO0 could not output the 50MHz clock to PHY, so remove this configuration

6 years agoMerge branch 'bugfix/rtc_wdt_interval_overflow' into 'master'
Angus Gratton [Tue, 28 Aug 2018 04:12:21 +0000 (12:12 +0800)]
Merge branch 'bugfix/rtc_wdt_interval_overflow' into 'master'

rtc_wdt: fix overflow issue with setting wdt interval

See merge request idf/esp-idf!3110

6 years agotest: fix bug of BTSTK_GATT_25007
chensheng [Sun, 26 Aug 2018 05:03:11 +0000 (13:03 +0800)]
test: fix bug of BTSTK_GATT_25007

6 years agoMerge branch 'bugfix/deep_sleep_stub_ptr_check' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 03:01:22 +0000 (11:01 +0800)]
Merge branch 'bugfix/deep_sleep_stub_ptr_check' into 'master'

reset_reason: fix setting wake stub entry point to 0x80000000

See merge request idf/esp-idf!3101

6 years agoMerge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'
Jiang Jiang Jian [Tue, 28 Aug 2018 02:42:36 +0000 (10:42 +0800)]
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size' into 'master'

bugfix/btdm_a2dp_sink_pcm_buffer_size

See merge request idf/esp-idf!3052

6 years agoMerge branch 'bugfix/idf_app_assert_print' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 02:00:44 +0000 (10:00 +0800)]
Merge branch 'bugfix/idf_app_assert_print' into 'master'

tiny-test-fw: Print more useful info when download.config doesn't exist

See merge request idf/esp-idf!3112

6 years agoMerge branch 'doc/custom_app_flash_map_off' into 'master'
Ivan Grokhotkov [Tue, 28 Aug 2018 01:59:36 +0000 (09:59 +0800)]
Merge branch 'doc/custom_app_flash_map_off' into 'master'

docs: Adds description of OpenOCD command to configure custom app image location

See merge request idf/esp-idf!3030

6 years agoMerge branch 'bugfix/disable_fuzzer_host_test_by_default' into 'master'
He Yin Ling [Mon, 27 Aug 2018 14:28:44 +0000 (22:28 +0800)]
Merge branch 'bugfix/disable_fuzzer_host_test_by_default' into 'master'

CI: disable fuzzer host test by default

See merge request idf/esp-idf!3115

6 years agoCI: disable fuzzer host test by default:
He Yin Ling [Mon, 27 Aug 2018 13:41:52 +0000 (21:41 +0800)]
CI: disable fuzzer host test by default:

Same key in YAML file will overwrite the key introduced by anchor

6 years agotools: Support Python 3 in idf_size.py
Roland Dobai [Mon, 23 Jul 2018 09:46:59 +0000 (11:46 +0200)]
tools: Support Python 3 in idf_size.py

6 years agomesh: bugfix and add two APIs
qiyuexia [Mon, 27 Aug 2018 07:08:54 +0000 (15:08 +0800)]
mesh: bugfix and add two APIs

1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.

6 years agodocs: Adds description of OpenOCD command to configure custom app image location
Alexey Gerenkov [Thu, 16 Aug 2018 18:33:23 +0000 (21:33 +0300)]
docs: Adds description of OpenOCD command to configure custom app image location

6 years agoreset_reason: fix setting wake stub entry point to 0x80000000
Ivan Grokhotkov [Mon, 27 Aug 2018 00:12:28 +0000 (08:12 +0800)]
reset_reason: fix setting wake stub entry point to 0x80000000

esp_reset_reason_init would check for reset reason hint, and
unconditionally set RTC_RESET_CAUSE_REG (which is also
RTC_ENTRY_ADDR_REG) to hint value 0, i.e. 0x80000000. However the ROM
code treats this value as valid deep sleep wake stub entry point, and
tries to jump to it.

Clear RTC_RESET_CAUSE_REG only if it contained a valid reset reason
hint, and simply set the register value to 0 when doing so. Also add
a check to esp_get_deep_sleep_wake_stub function that deep sleep wake
stub entry address must be in IRAM.

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

6 years agotiny-test-fw: Print more useful info when download.config doesn't exist
Roland Dobai [Mon, 27 Aug 2018 10:43:37 +0000 (12:43 +0200)]
tiny-test-fw: Print more useful info when download.config doesn't exist

6 years agoMerge branch 'feature/ci_fuzzer_tests_lwip' into 'master'
Angus Gratton [Mon, 27 Aug 2018 08:25:21 +0000 (16:25 +0800)]
Merge branch 'feature/ci_fuzzer_tests_lwip' into 'master'

ci jobs running fuzz tests on dns, dhcp, dhcps + removed unnecessary references (libexpat)

See merge request idf/esp-idf!2866

6 years agoMerge branch 'bugfix/fix_several_wifi_bugs' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 06:24:04 +0000 (14:24 +0800)]
Merge branch 'bugfix/fix_several_wifi_bugs' into 'master'

esp32: update wifi lib to fix several WiFi bugs

See merge request idf/esp-idf!3095

6 years agoMerge branch 'bugfix/fix_probable_mem_leak' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 06:10:22 +0000 (14:10 +0800)]
Merge branch 'bugfix/fix_probable_mem_leak' into 'master'

components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event

See merge request idf/esp-idf!2962

6 years agoMerge branch 'feature/py3_idf_monitor' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:29:38 +0000 (12:29 +0800)]
Merge branch 'feature/py3_idf_monitor' into 'master'

tools: Support Python3 in idf_monitor

See merge request idf/esp-idf!2930

6 years agoMerge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:29:03 +0000 (12:29 +0800)]
Merge branch 'feature/py3_for_gen_esp_err_to_name' into 'master'

tools: support python3 in gen_esp_err_to_name.py

See merge request idf/esp-idf!2827

6 years agoMerge branch 'doc/addition_translation_in_get_started' into 'master'
Angus Gratton [Mon, 27 Aug 2018 04:21:36 +0000 (12:21 +0800)]
Merge branch 'doc/addition_translation_in_get_started' into 'master'

doc: additional translation in get_started

See merge request idf/esp-idf!3087

6 years agoMerge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'
Jiang Jiang Jian [Mon, 27 Aug 2018 04:17:23 +0000 (12:17 +0800)]
Merge branch 'bugfix/btdm_fix_get_error_adv_sometimes' into 'master'

Component/bt: fix get error adv packet sometimes

See merge request idf/esp-idf!3035

6 years agocomponent/bt: fix crash when BLE do SMP connect and disconnect stress test
zwj [Fri, 24 Aug 2018 04:54:20 +0000 (12:54 +0800)]
component/bt: fix crash when BLE do SMP connect and disconnect stress test