]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'doc/eclipse_parallel_build' into 'master'
Angus Gratton [Fri, 7 Sep 2018 08:03:53 +0000 (16:03 +0800)]
Merge branch 'doc/eclipse_parallel_build' into 'master'

doc: Add parallel builds to the Eclipse setup guide

See merge request idf/esp-idf!3209

6 years agoMerge branch 'bugfix/slow_mem_keep_rtc_noinit' into 'master'
Ivan Grokhotkov [Fri, 7 Sep 2018 07:54:52 +0000 (15:54 +0800)]
Merge branch 'bugfix/slow_mem_keep_rtc_noinit' into 'master'

sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used

See merge request idf/esp-idf!3213

6 years agodoc: translate parallel build in Eclipse
morris [Fri, 7 Sep 2018 03:12:03 +0000 (11:12 +0800)]
doc: translate parallel build in Eclipse

6 years agoMerge branch 'feature/cmake' into 'master'
Angus Gratton [Fri, 7 Sep 2018 05:44:17 +0000 (13:44 +0800)]
Merge branch 'feature/cmake' into 'master'

Merge experimental CMake support to master

See merge request idf/esp-idf!3024

6 years agodoc: Add parallel builds to the Eclipse setup guide
Angus Gratton [Thu, 6 Sep 2018 07:29:37 +0000 (15:29 +0800)]
doc: Add parallel builds to the Eclipse setup guide

6 years agoMerge branch 'bugfix/enlarge_ethernet_mac_stack_size' into 'master'
Angus Gratton [Fri, 7 Sep 2018 02:47:30 +0000 (10:47 +0800)]
Merge branch 'bugfix/enlarge_ethernet_mac_stack_size' into 'master'

ethernet: enlarge ethernet task stack size

See merge request idf/esp-idf!3203

6 years agoMerge branch 'feature/cpp_exceptions_example' into 'master'
Ivan Grokhotkov [Fri, 7 Sep 2018 02:34:18 +0000 (10:34 +0800)]
Merge branch 'feature/cpp_exceptions_example' into 'master'

examples: add C++ exception handling example

See merge request idf/esp-idf!3178

6 years agoMerge branch 'feature/light_sleep_gpio_uart_wakeup' into 'master'
Ivan Grokhotkov [Fri, 7 Sep 2018 02:33:33 +0000 (10:33 +0800)]
Merge branch 'feature/light_sleep_gpio_uart_wakeup' into 'master'

sleep: add support for GPIO and UART wakeup from light sleep

See merge request idf/esp-idf!3004

6 years agoethernet: enlarge ethernet task stack size
morris [Wed, 5 Sep 2018 13:43:03 +0000 (21:43 +0800)]
ethernet: enlarge ethernet task stack size

1. In original driver, the stack size for emac driver task "emacT" is only 2048 Bytes, which also can not be changed by user.
2. Each time when invoking "emac_start" function, it will reset emac registers, the driver should reconfig some important registers again.

6 years agoMerge branch 'feature/btdm_legacy_paring' into 'master'
Jiang Jiang Jian [Fri, 7 Sep 2018 02:15:52 +0000 (10:15 +0800)]
Merge branch 'feature/btdm_legacy_paring' into 'master'

component/bt: Add Legacy Pairing

See merge request idf/esp-idf!3057

6 years agoidf.py: Choose a default serial port for all targets if '-p' is not given
Angus Gratton [Thu, 6 Sep 2018 12:32:49 +0000 (20:32 +0800)]
idf.py: Choose a default serial port for all targets if '-p' is not given

6 years agolwip: Re-add CONFIG_PPP_SUPPORT check, remove redundant CFLAGS
Angus Gratton [Thu, 6 Sep 2018 12:23:20 +0000 (20:23 +0800)]
lwip: Re-add CONFIG_PPP_SUPPORT check, remove redundant CFLAGS

6 years agoMerge branch 'master' into feature/cmake
Angus Gratton [Thu, 6 Sep 2018 12:23:04 +0000 (20:23 +0800)]
Merge branch 'master' into feature/cmake

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 agosleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used
Ivan Grokhotkov [Thu, 6 Sep 2018 10:31:17 +0000 (18:31 +0800)]
sleep: keep RTC_SLOW_MEM powered on if RTC_NOINIT is used

Fixes a bug that if application uses RTC_NOINIT variables but doesn’t
use RTC_DATA variables, then RTC_NOINIT variables loose their values
after deep sleep.

Reported in https://esp32.com/viewtopic.php?f=2&t=7045&p=30301#p30299

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 agocmake: Add CMakeLists.txt file for WiFi station example
Angus Gratton [Thu, 6 Sep 2018 08:20:13 +0000 (16:20 +0800)]
cmake: Add CMakeLists.txt file for WiFi station example

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 agosleep: allow esp_sleep_get_wakeup_cause to be used for light sleep
Ivan Grokhotkov [Tue, 4 Sep 2018 04:56:47 +0000 (12:56 +0800)]
sleep: allow esp_sleep_get_wakeup_cause to be used for light sleep

6 years agodocs/sleep: mention new wakeup sources, use generated API reference
Ivan Grokhotkov [Tue, 14 Aug 2018 01:02:48 +0000 (04:02 +0300)]
docs/sleep: mention new wakeup sources, use generated API reference

6 years agoexamples/console: add light sleep command
Ivan Grokhotkov [Tue, 14 Aug 2018 00:44:04 +0000 (03:44 +0300)]
examples/console: add light sleep command

6 years agosleep: allow disabling all wakeup sources
Ivan Grokhotkov [Tue, 14 Aug 2018 00:43:35 +0000 (03:43 +0300)]
sleep: allow disabling all wakeup sources

6 years agosleep: add support for GPIO and UART wakeup from light sleep
Ivan Grokhotkov [Tue, 14 Aug 2018 00:42:03 +0000 (03:42 +0300)]
sleep: add support for GPIO and UART wakeup from light sleep

6 years agouart: add function to set light sleep wakeup threshold
Ivan Grokhotkov [Tue, 14 Aug 2018 00:40:31 +0000 (03:40 +0300)]
uart: add function to set light sleep wakeup threshold

6 years agodriver/gpio: support wakeup function for RTC IOs
Ivan Grokhotkov [Mon, 13 Aug 2018 22:57:32 +0000 (01:57 +0300)]
driver/gpio: support wakeup function for RTC IOs

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 agocmake: Post-merge fixups
Angus Gratton [Wed, 5 Sep 2018 09:27:19 +0000 (17:27 +0800)]
cmake: Post-merge fixups

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 'master' into feature/cmake
Angus Gratton [Wed, 5 Sep 2018 02:35:04 +0000 (10:35 +0800)]
Merge branch 'master' into feature/cmake

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 agocomponent/bt: Add Legacy Pairing
baohongde [Tue, 4 Sep 2018 13:11:03 +0000 (21:11 +0800)]
component/bt: Add Legacy Pairing

6 years agoexamples: add C++ exception handling example
Ivan Grokhotkov [Tue, 4 Sep 2018 02:20:29 +0000 (10:20 +0800)]
examples: add C++ exception handling example

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 agocmake: Call check_python_dependencies.py from idf.py & cmake
Angus Gratton [Mon, 3 Sep 2018 10:24:17 +0000 (18:24 +0800)]
cmake: Call check_python_dependencies.py from idf.py & cmake

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 agocmake app_update: Add "flash blank otadata" functionality to cmake
Angus Gratton [Fri, 31 Aug 2018 04:30:14 +0000 (12:30 +0800)]
cmake app_update: Add "flash blank otadata" functionality to cmake

6 years agocmake idf.py: Print flasher file arguments in order of file offset
Angus Gratton [Fri, 31 Aug 2018 04:29:38 +0000 (12:29 +0800)]
cmake idf.py: Print flasher file arguments in order of file offset

Previously, order was random

6 years agocmake: Generate list of components with dependent items first, use deterministic...
Angus Gratton [Fri, 31 Aug 2018 03:56:03 +0000 (11:56 +0800)]
cmake: Generate list of components with dependent items first, use deterministic ordering

Guarantees that a component's project_include.cmake will be called after its dependent components'
project_include.cmake. Because of cycles in the dependency graph, this is less useful than you'd
think but it gives a strong guarantee for any component which is not part of a cycle.

Also applies deterministic ordering (ordering is initialised as COMPONENT_REQUIRES_COMMON then all
COMPONENTS in alphabetical order, but then the sorting by dependencies is applied.)

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