]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len' into 'master'
Jiang Jiang Jian [Thu, 6 Sep 2018 11:51:42 +0000 (19:51 +0800)]
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len' into 'master'

bugfix/btdm_hfp_invalid_hci_sync_pkt_len

See merge request idf/esp-idf!3186

6 years agoMerge branch 'feature/sync_lwip_as_submodule' into 'master'
Jiang Jiang Jian [Thu, 6 Sep 2018 11:43:08 +0000 (19:43 +0800)]
Merge branch 'feature/sync_lwip_as_submodule' into 'master'

Feature/sync lwip as submodule

See merge request idf/esp-idf!2685

6 years agoFeature/sync lwip as submodule
Zhang Yan Jiao [Thu, 6 Sep 2018 11:43:08 +0000 (19:43 +0800)]
Feature/sync lwip as submodule

6 years agoMerge branch 'bugfix/http_server_example_tests_regex' into 'master'
Ivan Grokhotkov [Thu, 6 Sep 2018 11:37:11 +0000 (19:37 +0800)]
Merge branch 'bugfix/http_server_example_tests_regex' into 'master'

HTTP Server Example Tests : Fix various issues

See merge request idf/esp-idf!3162

6 years agoMerge branch 'feature/pyenv_multiple_run' into 'master'
Angus Gratton [Thu, 6 Sep 2018 11:29:03 +0000 (19:29 +0800)]
Merge branch 'feature/pyenv_multiple_run' into 'master'

CI: Simplify running commands with several versions of Python

See merge request idf/esp-idf!3123

6 years agoCI: Simplify running commands with several versions of Python
Roland Dobai [Mon, 27 Aug 2018 11:47:53 +0000 (13:47 +0200)]
CI: Simplify running commands with several versions of Python

6 years agoMerge branch 'feature/disable_rom_logging' into 'master'
Ivan Grokhotkov [Thu, 6 Sep 2018 08:11:23 +0000 (16:11 +0800)]
Merge branch 'feature/disable_rom_logging' into 'master'

esp32/sleep: Add a function to disable logging from ROM code

See merge request idf/esp-idf!3182

6 years agoMerge branch 'bugfix/btdm_discovery_ble' into 'master'
Jiang Jiang Jian [Thu, 6 Sep 2018 06:18:11 +0000 (14:18 +0800)]
Merge branch 'bugfix/btdm_discovery_ble' into 'master'

component/bt : fix bug that set discovery mode will stop ble adv

See merge request idf/esp-idf!3183

6 years agoMerge branch 'test/split_test_env_for_integration_test' into 'master'
Jiang Jiang Jian [Thu, 6 Sep 2018 05:09:11 +0000 (13:09 +0800)]
Merge branch 'test/split_test_env_for_integration_test' into 'master'

test: split CI test environment

See merge request idf/esp-idf!3099

6 years agoHTTP Server Example Tests : Fix various issues
Anurag Kar [Sun, 2 Sep 2018 21:01:44 +0000 (02:31 +0530)]
HTTP Server Example Tests : Fix various issues
* Fixed regex constraints for parsing IP and other parameters from monitor log.
* httplib connection timeouts set
* Redundent tests (commented out earlier) have been removed from advanced_tests. These tests are already run during unit testing.

6 years agoMerge branch 'bugfix/eclipse_compiler_command_cpp' into 'master'
Ivan Grokhotkov [Wed, 5 Sep 2018 10:35:25 +0000 (18:35 +0800)]
Merge branch 'bugfix/eclipse_compiler_command_cpp' into 'master'

docs/eclipse: update command to get compiler specs

See merge request idf/esp-idf!3167

6 years agoMerge branch 'bugfix/ci_github_deploy' into 'master'
Angus Gratton [Wed, 5 Sep 2018 10:07:24 +0000 (18:07 +0800)]
Merge branch 'bugfix/ci_github_deploy' into 'master'

ci: Fix spurious pipeline failure when deploying a tag to GitHub

See merge request idf/esp-idf!3021

6 years agoMerge branch 'bugfix/tw25969_esp_derive_local_mac_missing' into 'master'
Jiang Jiang Jian [Wed, 5 Sep 2018 09:21:02 +0000 (17:21 +0800)]
Merge branch 'bugfix/tw25969_esp_derive_local_mac_missing' into 'master'

defination: fix the bug that esp_derive_local_mac() defination missing

See merge request idf/esp-idf!3198

6 years agodefination: fix the bug that esp_derive_local_mac() defination missing
zhangyanjiao [Wed, 5 Sep 2018 06:17:05 +0000 (14:17 +0800)]
defination: fix the bug that esp_derive_local_mac() defination missing

Closes: https://github.com/espressif/esp-idf/issues/2352
6 years agodocs: update command to get compiler specs in a few more places
Ivan Grokhotkov [Wed, 5 Sep 2018 03:05:52 +0000 (11:05 +0800)]
docs: update command to get compiler specs in a few more places

6 years agoMerge branch 'doc/get_started_override_options' into 'master'
Ivan Grokhotkov [Wed, 5 Sep 2018 03:02:47 +0000 (11:02 +0800)]
Merge branch 'doc/get_started_override_options' into 'master'

doc: Add environent variable overriding to get started

See merge request idf/esp-idf!3160

6 years agoMerge branch 'bugfix/nvs_doc' into 'master'
Ivan Grokhotkov [Wed, 5 Sep 2018 02:20:34 +0000 (10:20 +0800)]
Merge branch 'bugfix/nvs_doc' into 'master'

nvs_flash: Minor changes to NVS documentation

See merge request idf/esp-idf!3192

6 years agotest: split CI test environment:
He Yin Ling [Sun, 26 Aug 2018 04:15:51 +0000 (12:15 +0800)]
test: split CI test environment:

Currently CI test environment is complicated, usually includes NIC, AP.
These devices are not used for a lot test cases. Therefore we split the
test environment, remove unnecessary devices. Then it will be easier to
create CI runners.

6 years agodoc: Add environemt variable overriding to get started
Darian Leung [Sun, 2 Sep 2018 13:24:35 +0000 (21:24 +0800)]
doc: Add environemt variable overriding to get started

This comit adds details about the overriding of environment variables such as
ESPPORT and ESPBAUD to the get started guide.

6 years agonvs_flash: Minor changes to NVS documentation
Sagar Bijwe [Tue, 4 Sep 2018 12:31:17 +0000 (18:01 +0530)]
nvs_flash: Minor changes to NVS documentation

1) Change API doc to reflect new limits on string and blob length.
2) Add "version" field to Page Header structure in README.

Fixes: https://github.com/espressif/esp-idf/issues/2321
6 years agoMerge branch 'feature/termios' into 'master'
Ivan Grokhotkov [Tue, 4 Sep 2018 12:42:21 +0000 (20:42 +0800)]
Merge branch 'feature/termios' into 'master'

Add basic support for termios.h

See merge request idf/esp-idf!3085

6 years agoMerge branch 'bugfix/can_driver_multiple_bugs' into 'master'
Ivan Grokhotkov [Tue, 4 Sep 2018 12:34:06 +0000 (20:34 +0800)]
Merge branch 'bugfix/can_driver_multiple_bugs' into 'master'

CAN: Add pm_lock, fix gpio bug, update docs

See merge request idf/esp-idf!3138

6 years agoMerge branch 'bugfix/check_python_order_only_prereq' into 'master'
Ivan Grokhotkov [Tue, 4 Sep 2018 12:31:49 +0000 (20:31 +0800)]
Merge branch 'bugfix/check_python_order_only_prereq' into 'master'

Use check_python_dependencies everywhere as order-only-prerequisite

See merge request idf/esp-idf!3174

6 years agoMerge branch 'bugfix/monitor_win_encoding' into 'master'
Ivan Grokhotkov [Tue, 4 Sep 2018 12:31:37 +0000 (20:31 +0800)]
Merge branch 'bugfix/monitor_win_encoding' into 'master'

idf_monitor: Fix Unicode decoding on Windows

See merge request idf/esp-idf!3157

6 years agocomponent/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted...
wangmengyang [Tue, 4 Sep 2018 12:09:07 +0000 (20:09 +0800)]
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length

6 years agoMerge branch 'doc/btdm_a2dp_sink_example_improvement' into 'master'
Jiang Jiang Jian [Tue, 4 Sep 2018 11:37:31 +0000 (19:37 +0800)]
Merge branch 'doc/btdm_a2dp_sink_example_improvement' into 'master'

component/bt: fix the format and add more content to A2DP sink example

See merge request idf/esp-idf!2995

6 years agoMerge branch 'doc/btdm_a2dp_source_example_improvement' into 'master'
Jiang Jiang Jian [Tue, 4 Sep 2018 11:14:55 +0000 (19:14 +0800)]
Merge branch 'doc/btdm_a2dp_source_example_improvement' into 'master'

component/bt: fix the format and add more content to A2DP source example

See merge request idf/esp-idf!2996

6 years agoMerge branch 'feature/modify_simple_wifi' into 'master'
Jiang Jiang Jian [Tue, 4 Sep 2018 11:04:42 +0000 (19:04 +0800)]
Merge branch 'feature/modify_simple_wifi' into 'master'

modify simple wifi example to getting_started example

See merge request idf/esp-idf!3143

6 years agoMerge branch 'feature/signature_verify_updates' into 'master'
Angus Gratton [Tue, 4 Sep 2018 10:56:47 +0000 (18:56 +0800)]
Merge branch 'feature/signature_verify_updates' into 'master'

secure boot: Support signed app verification without hardware secure boot

See merge request idf/esp-idf!2814

6 years agoexamples/ulp: Add using esp_deep_sleep_disable_rom_logging
Konstantin Kondrashov [Tue, 4 Sep 2018 10:21:34 +0000 (18:21 +0800)]
examples/ulp: Add using esp_deep_sleep_disable_rom_logging

6 years agocomponent/bt : fix bug that set discovery mode will stop ble adv
Tian Hao [Tue, 4 Sep 2018 09:06:48 +0000 (17:06 +0800)]
component/bt : fix bug that set discovery mode will stop ble adv

As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.

Reference to https://github.com/espressif/esp-idf/issues/2306

6 years agoesp32/sleep: Add a function to disable logging from ROM code
Konstantin Kondrashov [Tue, 4 Sep 2018 08:03:18 +0000 (16:03 +0800)]
esp32/sleep: Add a function to disable logging from ROM code

6 years ago1. modify simple wifi example
zhangyanjiao [Thu, 30 Aug 2018 02:11:21 +0000 (10:11 +0800)]
1. modify simple wifi example
2. add README file

6 years agoMerge branch 'bugfix/esp_bt_mem_release' into 'master'
Jiang Jiang Jian [Tue, 4 Sep 2018 06:17:10 +0000 (14:17 +0800)]
Merge branch 'bugfix/esp_bt_mem_release' into 'master'

components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM

See merge request idf/esp-idf!3121

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 agoUse check_python_dependencies everywhere as order-only-prerequisite
Roland Dobai [Mon, 3 Sep 2018 09:42:10 +0000 (11:42 +0200)]
Use check_python_dependencies everywhere as order-only-prerequisite

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 agoCAN: Add pm_lock, fix gpio bug, update docs
Darian Leung [Tue, 28 Aug 2018 13:13:20 +0000 (21:13 +0800)]
CAN: Add pm_lock, fix gpio bug, update docs

This commit does the following

- Add power management lock to CAN driver so that APB frequency does not change
whilst CAN driver is in use
- Fix incorrect flag in can_transmit()
- Refactor can_driver_install() and can_driver_uninstall() so that critical sections
are shorter
- Fix CAN gpio configuration bug on RX pin. Closes #2302
- Add docs about multiple ID configuration and fix example links

6 years agocomponents/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM
Hrishikesh Dhayagude [Tue, 28 Aug 2018 08:01:07 +0000 (13:31 +0530)]
components/bt: Fix broken API esp_bt_mem_release() for parameter ESP_BT_MODE_BTDM

Problem:
The new API esp_bt_mem_release() that was added freed BTDM data to heap from esp_bt_controller_mem_release().
Now with the BT memory optimization commit ee787085f937a582c3b70692f0d19b58cdb2de7d,
the BTDM data is optimized and reduced to only 32 bytes which is not sufficient amount to be added to heap.
So, using the API leads to assert saying that the region is too small.

Solution:
Modify heap_caps_add_region_with_caps to return ESP_ERR_INVALID_SIZE in case the range is too small to create a new heap.
Do not assert if return value is ESP_ERR_INVALID_SIZE

This also fixes using API esp_bt_controller_mem_release() with ESP_BT_MODE_BTDM

Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
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 agoidf_monitor: Fix Unicode decoding on Windows
Roland Dobai [Thu, 30 Aug 2018 11:33:11 +0000 (13:33 +0200)]
idf_monitor: Fix Unicode decoding on Windows

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

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 agoUpdated command to get compiler specs.
Dennis Damen [Thu, 30 Aug 2018 20:00:47 +0000 (22:00 +0200)]
Updated command to get compiler specs.

Eclipse was unable to resolve the std::mutex type eventhough the mutex header file was succesfully included. By adding this modification, the issues was resolved.

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 agoAdd basic support for termios.h
Roland Dobai [Tue, 14 Aug 2018 11:39:30 +0000 (13:39 +0200)]
Add basic support for termios.h

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

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 agodocs/en/security: Add documentation for signed apps without hardware secure boot...
Jitin George [Tue, 14 Aug 2018 13:25:11 +0000 (18:55 +0530)]
docs/en/security: Add documentation for signed apps without hardware secure boot feature

6 years agosecure boot: Support secure boot signatures without hardware secure boot
Angus Gratton [Thu, 19 Jul 2018 05:15:37 +0000 (15:15 +1000)]
secure boot: Support secure boot signatures without hardware secure boot

Allows OTA updates to be secured via signature checks, without requiring the overhead or complexity
of a full secure boot implementation.

Uses same signing mechanisms (build system and/or espsecure.py as Secure Boot).

Requires:
* [ ] More testing
* [ ] Documentation

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