]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agonvs: minor host test fixes
Ivan Grokhotkov [Fri, 21 Jun 2019 12:31:22 +0000 (20:31 +0800)]
nvs: minor host test fixes

Fixes the tests to pass when some files already exist.
Fixes clean target.
Moves CONFIG_NVS_ENCRYPTION definition into sdkconfig.h.

5 years agospi_flash: use same argument types in .h and .c files
Ivan Grokhotkov [Wed, 19 Jun 2019 13:26:02 +0000 (21:26 +0800)]
spi_flash: use same argument types in .h and .c files

Fixes compilations on targets where size_t != uint32_t

5 years agospi_flash: support for partitions in external flash
Ivan Grokhotkov [Tue, 18 Jun 2019 17:31:43 +0000 (01:31 +0800)]
spi_flash: support for partitions in external flash

5 years agohost tests: correct definition of CONFIG_SPI_FLASH_USE_LEGACY_IMPL
Ivan Grokhotkov [Wed, 19 Jun 2019 13:24:51 +0000 (21:24 +0800)]
host tests: correct definition of CONFIG_SPI_FLASH_USE_LEGACY_IMPL

5 years agoMerge branch 'bugfix/sec_boot_ota_fail' into 'master'
Ivan Grokhotkov [Tue, 2 Jul 2019 06:44:36 +0000 (14:44 +0800)]
Merge branch 'bugfix/sec_boot_ota_fail' into 'master'

Bugfix: ota fails with secure boot on for image size greater than 3.2MB

See merge request idf/esp-idf!5263

5 years agoMerge branch 'feature/nimble-provisioning' into 'master'
Jiang Jiang Jian [Tue, 2 Jul 2019 06:20:11 +0000 (14:20 +0800)]
Merge branch 'feature/nimble-provisioning' into 'master'

NimBLE-Provisioning: Add NimBLE support to existing BLE variant of unified provisioning

See merge request idf/esp-idf!5319

5 years agoNimBLE-provisioning: Add NimBLE support to unified provisioning framework
Prasad Alatkar [Tue, 2 Jul 2019 06:20:10 +0000 (14:20 +0800)]
NimBLE-provisioning: Add NimBLE support to unified provisioning framework

- Adds NimBLE stack support to existing BLE variant of unified provisioning.
- Uses scan response to send device name, 128 bit custom UUIDs based on service
  UUID.
- Minimal changes to `app_prov.c`, component.mk, CMakeLists.txt and
  `protocomm_ble.h` to accomodate NimBLE stack for provisioning.

5 years agoMerge branch 'bugfix/esp_timer_delete_from_cb' into 'master'
Jiang Jiang Jian [Tue, 2 Jul 2019 06:16:26 +0000 (14:16 +0800)]
Merge branch 'bugfix/esp_timer_delete_from_cb' into 'master'

esp_timer: handle esp_timer_delete in timer task

Closes IDFGH-1143

See merge request idf/esp-idf!5037

5 years agoMerge branch 'nimble/update_submodule' into 'master'
Angus Gratton [Tue, 2 Jul 2019 03:26:24 +0000 (11:26 +0800)]
Merge branch 'nimble/update_submodule' into 'master'

NimBLE: Update nimble submodule

See merge request idf/esp-idf!5419

5 years agoNimBLE: update nimble submodule
Prasad Alatkar [Tue, 2 Jul 2019 03:26:24 +0000 (11:26 +0800)]
NimBLE: update nimble submodule

- Update submodule to fix https://jira.espressif.com:8443/browse/BT-192.
- Upstream PR: https://github.com/apache/mynewt-nimble/pull/427

5 years agoMerge branch 'feature/ringbuffer_support_allocate_memory' into 'master'
Angus Gratton [Tue, 2 Jul 2019 00:41:26 +0000 (08:41 +0800)]
Merge branch 'feature/ringbuffer_support_allocate_memory' into 'master'

ringbuffer: support allocate memory in the ringbuffer before actually send

See merge request idf/esp-idf!5252

5 years agoMerge branch 'bugfix/add_extern_c_for_sntp' into 'master'
Ivan Grokhotkov [Mon, 1 Jul 2019 20:45:30 +0000 (04:45 +0800)]
Merge branch 'bugfix/add_extern_c_for_sntp' into 'master'

lwip/sntp: Added extern "C"

See merge request idf/esp-idf!5398

5 years agoAdd mmu pages available check in non-secure image hash check path.
Vikram Dattu [Wed, 19 Jun 2019 11:53:44 +0000 (17:23 +0530)]
Add mmu pages available check in non-secure image hash check path.

Made MMU pages available check in `esp_image_format.c`
This now makes it possible to map and process bootoader image as well in chunks when image doesn't fit completely into available free pages.

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
5 years agoChanged log level for spi_master
Vikram Dattu [Tue, 18 Jun 2019 08:34:32 +0000 (14:04 +0530)]
Changed log level for spi_master

There are lot of prints of `Allocate TX buffer for DMA`
Changed these from `ESP_LOGI` to `ESP_LOGD`

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
5 years agoBugfix: ota fails with secure boot on for image size greater than 3.2MB
Vikram Dattu [Sat, 15 Jun 2019 09:43:51 +0000 (15:13 +0530)]
Bugfix: ota fails with secure boot on for image size greater than 3.2MB

When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:
https://gitlab.espressif.cn:6688/idf/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:
https://gitlab.espressif.cn:6688/idf/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L372

Closes https://jira.espressif.com:8443/browse/IDF-709

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
5 years agoMerge branch 'feature/idf_tools_dir_user_facing' into 'master'
Ivan Grokhotkov [Mon, 1 Jul 2019 17:47:16 +0000 (01:47 +0800)]
Merge branch 'feature/idf_tools_dir_user_facing' into 'master'

IDF Tools directory: user facing changes

Closes IDF-61

See merge request idf/esp-idf!4808

5 years agomconf-idf: update to v4.6.0.0-idf-20190603
Ivan Grokhotkov [Fri, 28 Jun 2019 08:59:52 +0000 (10:59 +0200)]
mconf-idf: update to v4.6.0.0-idf-20190603

5 years agotools: add fallback tools.json for IDF v3.x
Ivan Grokhotkov [Wed, 26 Jun 2019 07:27:14 +0000 (15:27 +0800)]
tools: add fallback tools.json for IDF v3.x

5 years agodocs: update CMake getting started guide to use install.bat and export.bat
Ivan Grokhotkov [Wed, 27 Mar 2019 05:29:06 +0000 (13:29 +0800)]
docs: update CMake getting started guide to use install.bat and export.bat

5 years agotools: new installer for Windows
Ivan Grokhotkov [Mon, 29 Apr 2019 02:36:03 +0000 (10:36 +0800)]
tools: new installer for Windows

5 years agotools: {install,export}.{bat,sh} tools
Ivan Grokhotkov [Mon, 29 Apr 2019 02:37:02 +0000 (10:37 +0800)]
tools: {install,export}.{bat,sh} tools

5 years agotools.json: add idf.py.exe
Ivan Grokhotkov [Fri, 10 May 2019 10:12:19 +0000 (18:12 +0800)]
tools.json: add idf.py.exe

5 years agoidf.py.exe wrapper program for Windows
Ivan Grokhotkov [Thu, 9 May 2019 06:14:47 +0000 (14:14 +0800)]
idf.py.exe wrapper program for Windows

5 years agoidf_tools: print additional info when download verification fails
Ivan Grokhotkov [Fri, 28 Jun 2019 12:23:21 +0000 (14:23 +0200)]
idf_tools: print additional info when download verification fails

5 years agoMerge branch 'bugfix/fix_nimble_flake_issue' into 'master'
Jiang Jiang Jian [Mon, 1 Jul 2019 11:22:55 +0000 (19:22 +0800)]
Merge branch 'bugfix/fix_nimble_flake_issue' into 'master'

Fix failure in flake8 due to incorrect NimBLE path

See merge request idf/esp-idf!5415

5 years agoFix failure in flake8 due to incorrect NimBLE path
Hrishikesh Dhayagude [Mon, 1 Jul 2019 11:22:55 +0000 (19:22 +0800)]
Fix failure in flake8 due to incorrect NimBLE path

5 years agoMerge branch 'enhancement/move_bt_examples' into 'master'
Jiang Jiang Jian [Mon, 1 Jul 2019 11:21:57 +0000 (19:21 +0800)]
Merge branch 'enhancement/move_bt_examples' into 'master'

Bluetooth examples restructuring

See merge request idf/esp-idf!4025

5 years agoBluetooth examples restructuring
Hrishikesh Dhayagude [Mon, 1 Jul 2019 11:21:57 +0000 (19:21 +0800)]
Bluetooth examples restructuring

The existing Bluetooth examples are split as:

1. examples/bluetooth/bluedroid - Bluedroid Host (BT + BLE) examples
   a. examples/bluetooth/bluedroid/classic_bt - Classic BT examples
   b. examples/bluetooth/bluedroid/ble - BLE examples
   c. examples/bluetooth/bluedroid/coex - Classic BT and BLE coex examples
   d. examples/bluetooth/bluedroid/hci - VHCI and HCI UART examples
      i. Rename ble_adv to controller_vhci_ble_adv and move it in hci folder
2. examples/bluetooth/nimble - NimBLE BLE Host + NimBLE Mesh examples
3. examples/bluetooth/esp_ble_mesh - ESP BLE Mesh examples
4. Update documentation references

5 years agoMerge branch 'bugfix/win_flash_app_cmd' into 'master'
Angus Gratton [Mon, 1 Jul 2019 07:51:44 +0000 (15:51 +0800)]
Merge branch 'bugfix/win_flash_app_cmd' into 'master'

tools: Accept CTRL-T + A for app-flash in idf_monitor

Closes IDF-736

See merge request idf/esp-idf!5376

5 years agoMerge branch 'bugfix/make_ccache_opt_in' into 'master'
Angus Gratton [Mon, 1 Jul 2019 07:48:31 +0000 (15:48 +0800)]
Merge branch 'bugfix/make_ccache_opt_in' into 'master'

cmake: make use of ccache opt-in

See merge request idf/esp-idf!5368

5 years agoMerge branch 'bugfix/confgen_windows_command_line' into 'master'
Angus Gratton [Mon, 1 Jul 2019 07:26:11 +0000 (15:26 +0800)]
Merge branch 'bugfix/confgen_windows_command_line' into 'master'

cmake kconfig: Pass environment variables to confgen.py via a file

Closes IDF-711

See merge request idf/esp-idf!5356

5 years agocmake: Use environment variables file for all config binaries
Angus Gratton [Thu, 27 Jun 2019 10:30:42 +0000 (20:30 +1000)]
cmake: Use environment variables file for all config binaries

5 years agocmake kconfig: Pass environment variables to confgen.py via a file
Angus Gratton [Wed, 26 Jun 2019 05:56:47 +0000 (15:56 +1000)]
cmake kconfig: Pass environment variables to confgen.py via a file

Works around "command line too long" errors when using Windows
and CMake < 3.11

Closes IDF-711

5 years agoringbuffer: support to allocate memory on the ringbuffer before send
Michael (XIAO Xufeng) [Fri, 14 Jun 2019 07:05:00 +0000 (15:05 +0800)]
ringbuffer: support to allocate memory on the ringbuffer before send

5 years agoringbuffer: seperate acquire from send
Michael (XIAO Xufeng) [Fri, 14 Jun 2019 06:10:48 +0000 (14:10 +0800)]
ringbuffer: seperate acquire from send

5 years agoMerge branch 'feature/mconf_simple_expand' into 'master'
Angus Gratton [Mon, 1 Jul 2019 02:33:35 +0000 (10:33 +0800)]
Merge branch 'feature/mconf_simple_expand' into 'master'

mconf-idf: Use same 'simple expand' logic, same as kconfig-frontends

See merge request idf/esp-idf!5390

5 years agomconf-idf: Use same 'simple expand' logic, same as kconfig-frontends
Angus Gratton [Fri, 28 Jun 2019 03:35:55 +0000 (13:35 +1000)]
mconf-idf: Use same 'simple expand' logic, same as kconfig-frontends

Previously, wordexp() was used. However for providing Windows builds
of mconf-idf we can't use wordexp() so we use this simplified
environment variable expansion code instead.

The reasoning here is to make the behaviour consistent across Windows
(CMake vs GNU Make), Linux & macOS mconf.

5 years agoMerge branch 'feature/btdm_avrcp_volume' into 'master'
Jiang Jiang Jian [Sun, 30 Jun 2019 08:40:10 +0000 (16:40 +0800)]
Merge branch 'feature/btdm_avrcp_volume' into 'master'

components/bt: Add AVRCP feature about volume

See merge request idf/esp-idf!5209

5 years agoMerge branch 'refactor/new_bt_component' into 'master'
Jiang Jiang Jian [Sun, 30 Jun 2019 08:39:01 +0000 (16:39 +0800)]
Merge branch 'refactor/new_bt_component' into 'master'

Bluetooth component refactoring

See merge request idf/esp-idf!5366

5 years agoBluetooth component refactoring
Hrishikesh Dhayagude [Sun, 30 Jun 2019 08:39:00 +0000 (16:39 +0800)]
Bluetooth component refactoring

5 years agoMerge branch 'feature/move_supplicant_to_idf_new' into 'master'
Jiang Jiang Jian [Sun, 30 Jun 2019 06:02:22 +0000 (14:02 +0800)]
Merge branch 'feature/move_supplicant_to_idf_new' into 'master'

supplicant/wifi: move supplicant to idf

Closes IDFGH-1233 and WIFI-392

See merge request idf/esp-idf!5219

5 years agocomponents/bt: Add AVRCP feature about volume
baohongde [Fri, 28 Jun 2019 03:29:07 +0000 (11:29 +0800)]
components/bt: Add AVRCP feature about volume

5 years agosupplicant/esp_wifi: move supplicant to idf
Deng Xin [Mon, 13 Aug 2018 08:37:56 +0000 (16:37 +0800)]
supplicant/esp_wifi: move supplicant to idf

Move supplicant to idf and do following refactoring:
1. Make the folder structure consitent with supplicant upstream
2. Remove duplicated header files and minimize the public header files
3. Refactor for WiFi/supplicant interfaces

5 years agocmake: make use of ccache opt-in
Renz Christian Bagaporo [Thu, 27 Jun 2019 06:25:28 +0000 (14:25 +0800)]
cmake: make use of ccache opt-in

5 years agoMerge branch 'bugfix/idf_py_fix_subcommand_options' into 'master'
Ivan Grokhotkov [Fri, 28 Jun 2019 16:15:13 +0000 (00:15 +0800)]
Merge branch 'bugfix/idf_py_fix_subcommand_options' into 'master'

idf.py: Fix subcommand options

Closes IDF-740

See merge request idf/esp-idf!5386

5 years agoMerge branch 'bugfix/ci_fix_mirror-submodule-update' into 'master'
Ivan Grokhotkov [Fri, 28 Jun 2019 15:57:14 +0000 (23:57 +0800)]
Merge branch 'bugfix/ci_fix_mirror-submodule-update' into 'master'

tools: Keep script behaviour

See merge request idf/esp-idf!5362

5 years agoMerge branch 'bugfix/make_V_flag' into 'master'
Angus Gratton [Fri, 28 Jun 2019 08:39:44 +0000 (16:39 +0800)]
Merge branch 'bugfix/make_V_flag' into 'master'

gnu make: Make V= behaviour consistent with V=0

Closes IDFGH-1175

See merge request idf/esp-idf!5334

5 years agoidf.py: Fix subcommand options
Sergei Silnov [Thu, 27 Jun 2019 18:23:14 +0000 (20:23 +0200)]
idf.py: Fix subcommand options

5 years agoMerge branch 'bugfix/fix_secure_boot_support' into 'master'
Angus Gratton [Fri, 28 Jun 2019 07:38:59 +0000 (15:38 +0800)]
Merge branch 'bugfix/fix_secure_boot_support' into 'master'

Fixes to secure boot support in CMake

See merge request idf/esp-idf!4977

5 years agoMerge branch 'bugfix/cmake_project_vars_not_set_by_redefinition' into 'master'
Angus Gratton [Fri, 28 Jun 2019 07:31:10 +0000 (15:31 +0800)]
Merge branch 'bugfix/cmake_project_vars_not_set_by_redefinition' into 'master'

cmake: set variables set by project call

See merge request idf/esp-idf!5187

5 years agolwip/sntp: Added extern "C"
Kerry Jones [Fri, 28 Jun 2019 06:19:11 +0000 (08:19 +0200)]
lwip/sntp: Added extern "C"

so that sntp_set_time_sync_notification_cb can be used from c++

Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3700

5 years agoMerge branch 'feature/nvs_util_decryption' into 'master'
Angus Gratton [Fri, 28 Jun 2019 05:07:24 +0000 (13:07 +0800)]
Merge branch 'feature/nvs_util_decryption' into 'master'

nvs_util: Add NVS decryption feature + Optimisations

See merge request idf/esp-idf!5003

5 years agoMerge branch 'feature/add_limitation_for_max_tx_power' into 'master'
Jiang Jiang Jian [Fri, 28 Jun 2019 03:18:11 +0000 (11:18 +0800)]
Merge branch 'feature/add_limitation_for_max_tx_power' into 'master'

esp_wifi: add limitation for setting maximum WiFi TX power

See merge request idf/esp-idf!5331

5 years agotools: Keep script behaviour
Anton Maklakov [Wed, 26 Jun 2019 08:56:17 +0000 (15:56 +0700)]
tools: Keep script behaviour

5 years agoci: test fail on build time works
Renz Christian Bagaporo [Thu, 30 May 2019 03:50:39 +0000 (11:50 +0800)]
ci: test fail on build time works

5 years agocmake: fix issue with fail at build time
Renz Christian Bagaporo [Wed, 12 Jun 2019 03:51:04 +0000 (11:51 +0800)]
cmake: fix issue with fail at build time

Fix issue that next build retry does not succeed once the requirement is
satisfied.

5 years agodocs: remove secure boot and flash encryption from CMake pending features
Renz Christian Bagaporo [Tue, 14 May 2019 11:30:57 +0000 (19:30 +0800)]
docs: remove secure boot and flash encryption from CMake pending features

5 years agoesptool_py: do not generate flasher arg files on bootloader build
Renz Christian Bagaporo [Fri, 10 May 2019 10:01:58 +0000 (18:01 +0800)]
esptool_py: do not generate flasher arg files on bootloader build

5 years agobootloader: fix secure boot issues
Renz Christian Bagaporo [Fri, 10 May 2019 07:25:25 +0000 (15:25 +0800)]
bootloader: fix secure boot issues

Do not include bootloader in flash target when secure boot is enabled.
Emit signing warning on all cases where signed apps are enabled (secure
boot and signed images)
Follow convention of capital letters for SECURE_BOOT_SIGNING_KEY variable, since it is
relevant to other components, not just bootloader.
Pass signing key and verification key via config, not requiring
bootloader to know parent app dir.
Misc. variables name corrections

5 years agocomponents: restore dependency of extra bins on flash target
Renz Christian Bagaporo [Fri, 10 May 2019 05:09:30 +0000 (13:09 +0800)]
components: restore dependency of extra bins on flash target

5 years agopartition_table: move establishing dependencies to respective components
Renz Christian Bagaporo [Fri, 14 Jun 2019 04:53:46 +0000 (12:53 +0800)]
partition_table: move establishing dependencies to respective components

partition_table: move establishing dependencies to respective components

5 years agoesptool_py: fix issue with variable for esptool args
Renz Christian Bagaporo [Fri, 10 May 2019 10:40:46 +0000 (18:40 +0800)]
esptool_py: fix issue with variable for esptool args

elf2image-only arguments are being added to esptool args meant for
flashing

5 years agobootloader_support: move embedding key after component registration
Renz Christian Bagaporo [Thu, 9 May 2019 02:25:08 +0000 (10:25 +0800)]
bootloader_support: move embedding key after component registration

Bootloader build requires verification key to be embedded in the binary.
Under specific configs, this key is generated during build time from the
signing key. Move the key generation to after the component
registration, since non scriptable commands are used in the process
(during early expansion)

5 years agoMerge branch 'bugfix/i2s_apll_clock_fix' into 'master'
Ivan Grokhotkov [Thu, 27 Jun 2019 19:49:11 +0000 (03:49 +0800)]
Merge branch 'bugfix/i2s_apll_clock_fix' into 'master'

driver/i2s: fix apll_clock_rate for different sample rates

See merge request idf/esp-idf!5159

5 years agoMerge branch 'feature/refactor_etherent_driver' into 'master'
Ivan Grokhotkov [Thu, 27 Jun 2019 19:44:44 +0000 (03:44 +0800)]
Merge branch 'feature/refactor_etherent_driver' into 'master'

add esp_eth component

Closes IDF-324, IDF-637, and IDFGH-1139

See merge request idf/esp-idf!5111

5 years agoMerge branch 'feature/esp_flash_init_functions' into 'master'
Angus Gratton [Thu, 27 Jun 2019 12:59:44 +0000 (20:59 +0800)]
Merge branch 'feature/esp_flash_init_functions' into 'master'

esp_flash: add initialization interface for SPI devices

See merge request idf/esp-idf!5306

5 years agoMerge branch 'bugfix/bootloader_header_cxx_guards' into 'master'
Ivan Grokhotkov [Thu, 27 Jun 2019 11:31:56 +0000 (19:31 +0800)]
Merge branch 'bugfix/bootloader_header_cxx_guards' into 'master'

bootloader_support: Add C++ header guards

See merge request idf/esp-idf!5349

5 years agotools: Accept CTRL-T + A for app-flash in idf_monitor
Roland Dobai [Thu, 27 Jun 2019 09:49:51 +0000 (11:49 +0200)]
tools: Accept CTRL-T + A for app-flash in idf_monitor

"CTRL-A" cannot be captured in Windows command line, so "A" can be used
instead.

5 years agoesp_wifi: add limitation for setting maximum WiFi TX power
liu zhifu [Mon, 24 Jun 2019 13:13:39 +0000 (21:13 +0800)]
esp_wifi: add limitation for setting maximum WiFi TX power

Limit the WiFi TX power range to 10dBm ~ 20.5 dBm

5 years agoMerge branch 'bugfix/pc_ble_prep_buf_memcpy' into 'master'
Mahavir Jain [Thu, 27 Jun 2019 08:48:11 +0000 (16:48 +0800)]
Merge branch 'bugfix/pc_ble_prep_buf_memcpy' into 'master'

protocomm_ble : Bugfix for unbound memcpy on prepare write buffer

Closes IDFGH-1350

See merge request idf/esp-idf!5284

5 years agoMerge branch 'bugfix/btdm_fail_to_config_url_in_eir' into 'master'
Jiang Jiang Jian [Thu, 27 Jun 2019 06:27:35 +0000 (14:27 +0800)]
Merge branch 'bugfix/btdm_fail_to_config_url_in_eir' into 'master'

components/bt: Fix fail to config URL in EIR

See merge request idf/esp-idf!5352

5 years agonvs_util: Add NVS decryption feature
Shivani Tipnis [Tue, 7 May 2019 10:06:02 +0000 (15:36 +0530)]
nvs_util: Add NVS decryption feature

5 years agoesp_flash: add initialization interface for SPI devices
Michael (XIAO Xufeng) [Mon, 24 Jun 2019 04:56:39 +0000 (12:56 +0800)]
esp_flash: add initialization interface for SPI devices

5 years agospi_common: add interface to get whether the bus is on IOMUX
Michael (XIAO Xufeng) [Wed, 26 Jun 2019 03:42:02 +0000 (11:42 +0800)]
spi_common: add interface to get whether the bus is on IOMUX

5 years agospi_common: deprecate some public APIs
Michael (XIAO Xufeng) [Wed, 26 Jun 2019 03:30:07 +0000 (11:30 +0800)]
spi_common: deprecate some public APIs

5 years agospi_master: move the spi_bus_init function into common header
Michael (XIAO Xufeng) [Tue, 25 Jun 2019 05:36:24 +0000 (13:36 +0800)]
spi_master: move the spi_bus_init function into common header

5 years agoMerge branch 'feature/ringbuffer_static_allocation' into 'master'
Angus Gratton [Thu, 27 Jun 2019 05:20:01 +0000 (13:20 +0800)]
Merge branch 'feature/ringbuffer_static_allocation' into 'master'

Ringbuffers: Add static allocation, refactor, and update API reference

Closes IDFGH-639 and IDFGH-902

See merge request idf/esp-idf!4426

5 years agoMerge branch 'feature/remove_mbedtls_cmake_workarounds' into 'master'
Angus Gratton [Thu, 27 Jun 2019 05:19:42 +0000 (13:19 +0800)]
Merge branch 'feature/remove_mbedtls_cmake_workarounds' into 'master'

mbedtls: remove component CMake file workarounds

Closes #78

See merge request idf/esp-idf!5341

5 years agoMerge branch 'feature/idf_py_add_positional_args_to_subcommands' into 'master'
Angus Gratton [Thu, 27 Jun 2019 05:18:59 +0000 (13:18 +0800)]
Merge branch 'feature/idf_py_add_positional_args_to_subcommands' into 'master'

idf.py: Make subcommand arguments more flexible

See merge request idf/esp-idf!5198

5 years agoMerge branch 'bugfix/cmake_esptool_args_path' into 'master'
Angus Gratton [Thu, 27 Jun 2019 05:12:26 +0000 (13:12 +0800)]
Merge branch 'bugfix/cmake_esptool_args_path' into 'master'

esptool+cmake: Fix path generation for args.in2 file

Closes IDFGH-1409

See merge request idf/esp-idf!5353

5 years agoesptool+cmake: Fix path generation for args.in2 file
Angus Gratton [Wed, 26 Jun 2019 04:55:20 +0000 (14:55 +1000)]
esptool+cmake: Fix path generation for args.in2 file

Path was accidentally generated as build/<absolute path to input file> which creates unexpected path structure on Linux/macOS and breaks Windows (as can't have a directory named "C:".

Regression in e8582e9aa441c3b2d988c73b582b2985f41042ac

Closes https://github.com/espressif/esp-idf/issues/3687
Closes IDFGH-1409

5 years agoMerge branch 'bugfix/bt_typo' into 'master'
Jiang Jiang Jian [Thu, 27 Jun 2019 02:48:47 +0000 (10:48 +0800)]
Merge branch 'bugfix/bt_typo' into 'master'

Fix typo from the commit "Reduce the size of DRAM"

See merge request idf/esp-idf!5347

5 years agoFix typo from the commit "Reduce the size of DRAM"
Hrishikesh Dhayagude [Thu, 27 Jun 2019 02:48:47 +0000 (10:48 +0800)]
Fix typo from the commit "Reduce the size of DRAM"

5 years agoMerge branch 'doc/add_Chinese_translation_for_power_management_in_api_references...
Krzysztof Budzynski [Wed, 26 Jun 2019 12:42:57 +0000 (20:42 +0800)]
Merge branch 'doc/add_Chinese_translation_for_power_management_in_api_references' into 'master'

Add Chinese translation to api-reference/system/power-management.rst

See merge request idf/esp-idf!5265

5 years agoAdd Chinese translation to api-reference/system/power-management.rst
Wang Fang [Wed, 26 Jun 2019 12:42:56 +0000 (20:42 +0800)]
Add Chinese translation to api-reference/system/power-management.rst

1. Add translation to docs/zh_CN/api-reference/system/power_management.rst
2. Add a link to docs/en/api-reference/system/power_management.rst

5 years agoMerge branch 'doc/add_Chinese_translation_for_external-ram_in_api-guides' into 'master'
Krzysztof Budzynski [Wed, 26 Jun 2019 11:59:21 +0000 (19:59 +0800)]
Merge branch 'doc/add_Chinese_translation_for_external-ram_in_api-guides' into 'master'

Add Chinese translation for exteral-ram.rst in api-guides:

See merge request idf/esp-idf!5078

5 years agoAdd Chinese translation for exteral-ram.rst in api-guides:
Wang Fang [Wed, 26 Jun 2019 11:59:21 +0000 (19:59 +0800)]
Add Chinese translation for exteral-ram.rst in api-guides:

- The draft should be first reviewed by Technical Reviewers;
- Then by Language Reviewer.

5 years agoMerge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error' into 'master'
Jiang Jiang Jian [Wed, 26 Jun 2019 08:45:39 +0000 (16:45 +0800)]
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error' into 'master'

component/bt: fix hci enhance connection complete event unpack error

See merge request idf/esp-idf!4889

5 years agombedtls: remove component CMake file workarounds
Renz Christian Bagaporo [Tue, 25 Jun 2019 04:13:12 +0000 (12:13 +0800)]
mbedtls: remove component CMake file workarounds

5 years agoesp_ringbuf: Add static allocation, refactor, and update API reference
Darian Leung [Mon, 4 Mar 2019 06:27:06 +0000 (14:27 +0800)]
esp_ringbuf: Add static allocation, refactor, and update API reference

This commit updates does the following:
    - xRingbufferCreateStatic() added to allow ringbuffers via to be statically
      allocated. Docs and unit tests update accordingly. Closes #3064

    - Fix doc typos, closes #3248. Updated API reference regarding to mention
      item size limits of no-split buffers when calling
      xRingbufferGetCurFreeSize() or xRingbufferGetMaxItemSize(), closes #3117.

    - Remove the following deprecated types/functions for v4.0
        - xRingbufferIsNextItemWrapped()
        - xRingbufferAddToQueueSetWrite()
        - xRingbufferRemoveFromQueueSetWrite()

5 years agoMerge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'
Jiang Jiang Jian [Wed, 26 Jun 2019 08:04:28 +0000 (16:04 +0800)]
Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'

Component/bt: add readme doc for BLE demos

See merge request idf/esp-idf!4890

5 years agoAdd subcomand options that become global
Sergei Silnov [Wed, 12 Jun 2019 17:10:16 +0000 (19:10 +0200)]
Add subcomand options that become global

5 years agoidf.py: Add positional arguments to subcommands
Sergei Silnov [Mon, 10 Jun 2019 14:52:04 +0000 (16:52 +0200)]
idf.py: Add positional arguments to subcommands

5 years agoMerge branch 'feature/sntp_update_delay' into 'master'
Angus Gratton [Wed, 26 Jun 2019 07:54:25 +0000 (15:54 +0800)]
Merge branch 'feature/sntp_update_delay' into 'master'

sntp/l_ip: Add SNTP_UPDATE_DELAY option in Kconfig

Closes IDFGH-337

See merge request idf/esp-idf!5271

5 years agoMerge branch 'feature/btdm_add_ble_ancs_demo' into 'master'
Jiang Jiang Jian [Wed, 26 Jun 2019 07:50:06 +0000 (15:50 +0800)]
Merge branch 'feature/btdm_add_ble_ancs_demo' into 'master'

Component/bt: add ble ancs demo

See merge request idf/esp-idf!4688

5 years agoMerge branch 'feature/fatfs_r013cp4' into 'master'
Angus Gratton [Wed, 26 Jun 2019 07:15:41 +0000 (15:15 +0800)]
Merge branch 'feature/fatfs_r013cp4' into 'master'

FatFS: update to R0.13c patch 4

Closes IDF-698, IDFGH-1012, and IDFGH-1017

See merge request idf/esp-idf!5297

5 years agoMerge branch 'feature/prov_wifi_scan_list' into 'master'
Mahavir Jain [Wed, 26 Jun 2019 06:53:04 +0000 (14:53 +0800)]
Merge branch 'feature/prov_wifi_scan_list' into 'master'

Wi-Fi Provisioning  : Feature Wi-Fi Scan List

See merge request idf/esp-idf!4855

5 years agoMerge branch 'bugfix/btdm_intr_wdt_after_controller_disable_then_enable' into 'master'
Jiang Jiang Jian [Wed, 26 Jun 2019 06:05:48 +0000 (14:05 +0800)]
Merge branch 'bugfix/btdm_intr_wdt_after_controller_disable_then_enable' into 'master'

bugfix/btdm_intr_wdt_after_controller_disable_then_enable

See merge request idf/esp-idf!5301

5 years agowifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
Anurag Kar [Tue, 23 Apr 2019 06:48:28 +0000 (12:18 +0530)]
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager

List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint

List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
  * get_version() : only returns the protocol version string
  * has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present

Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan

5 years agocomponents/bt: Fix fail to config URL in EIR
baohongde [Wed, 26 Jun 2019 03:58:41 +0000 (11:58 +0800)]
components/bt: Fix fail to config URL in EIR