]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agoexample: Add SPIFFS image generation from build system example
Renz Christian Bagaporo [Thu, 31 Jan 2019 11:54:45 +0000 (19:54 +0800)]
example: Add SPIFFS image generation from build system example

5 years agocmake,make: Support SPIFFS image generation from build systems
Renz Christian Bagaporo [Tue, 22 Jan 2019 08:14:47 +0000 (16:14 +0800)]
cmake,make: Support SPIFFS image generation from build systems

5 years agospiffs: Add host test for generated spiffs image
Renz Christian Bagaporo [Tue, 15 Jan 2019 01:59:09 +0000 (09:59 +0800)]
spiffs: Add host test for generated spiffs image

5 years agospiffs: Implement spiffs image generation
Renz Christian Bagaporo [Wed, 9 Jan 2019 15:36:44 +0000 (23:36 +0800)]
spiffs: Implement spiffs image generation

5 years agoMerge branch 'feature/allow_components_to_declare_images_to_flash' into 'master'
Angus Gratton [Fri, 22 Mar 2019 03:14:37 +0000 (11:14 +0800)]
Merge branch 'feature/allow_components_to_declare_images_to_flash' into 'master'

Allow components to present their own images to flash

See merge request idf/esp-idf!4148

5 years agoMerge branch 'feature/move_common_src_to_esp_common' into 'master'
Ivan Grokhotkov [Fri, 22 Mar 2019 03:12:05 +0000 (11:12 +0800)]
Merge branch 'feature/move_common_src_to_esp_common' into 'master'

move common source files from esp32 to esp_common

See merge request idf/esp-idf!4589

5 years agomove common source files from esp32 to esp_common
morris [Thu, 21 Mar 2019 04:21:01 +0000 (12:21 +0800)]
move common source files from esp32 to esp_common

5 years agoMerge branch 'bugfix/cmake_component_path' into 'master'
Angus Gratton [Thu, 21 Mar 2019 23:13:11 +0000 (07:13 +0800)]
Merge branch 'bugfix/cmake_component_path' into 'master'

cmake: Set COMPONENT_PATH during early expansion of dependencies

Closes IDFGH-787

See merge request idf/esp-idf!4557

5 years agoMerge branch 'feature/separate_rom_from_esp32' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 14:10:45 +0000 (22:10 +0800)]
Merge branch 'feature/separate_rom_from_esp32' into 'master'

separate rom from esp32 component to esp_rom

Closes IDF-542

See merge request idf/esp-idf!4500

5 years agoMerge branch 'feature/semihost_vfs' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 14:03:06 +0000 (22:03 +0800)]
Merge branch 'feature/semihost_vfs' into 'master'

Adds semihosting VFS driver

Closes IDF-367

See merge request idf/esp-idf!4145

5 years agoMerge branch 'feature/http_server_pinned_to_core_support' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 11:19:13 +0000 (19:19 +0800)]
Merge branch 'feature/http_server_pinned_to_core_support' into 'master'

HTTP Server: Added ability to select core

See merge request idf/esp-idf!4586

5 years agoMerge branch 'bugfix/nvs_util_write_single_page_big_blob_data' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 11:10:29 +0000 (19:10 +0800)]
Merge branch 'bugfix/nvs_util_write_single_page_big_blob_data' into 'master'

nvs_util: Fix to support write operation of multiple single page big blob data

See merge request idf/esp-idf!4268

5 years agoMerge branch 'feature/idf_monitor_save_log' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 11:06:31 +0000 (19:06 +0800)]
Merge branch 'feature/idf_monitor_save_log' into 'master'

tools: Create log files from IDF Monitor

Closes IDF-364

See merge request idf/esp-idf!4414

5 years agoMerge branch 'doc/app_trace_zh_CN' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:58:32 +0000 (18:58 +0800)]
Merge branch 'doc/app_trace_zh_CN' into 'master'

zh_CN translation of app_trace

See merge request idf/esp-idf!4087

5 years agoseparate rom from esp32 component to esp_rom
morris [Thu, 14 Mar 2019 09:29:32 +0000 (17:29 +0800)]
separate rom from esp32 component to esp_rom

1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt

5 years agoMerge branch 'bugfix/ldgen_type_1_fails_on_windows' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:38:51 +0000 (18:38 +0800)]
Merge branch 'bugfix/ldgen_type_1_fails_on_windows' into 'master'

Fix library path parsing in windows

Closes IDFGH-733

See merge request idf/esp-idf!4516

5 years agoMerge branch 'doc/http_server_zh_CN' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:37:15 +0000 (18:37 +0800)]
Merge branch 'doc/http_server_zh_CN' into 'master'

zh_CN translation of HTTP Server API reference

See merge request idf/esp-idf!4548

5 years agoMerge branch 'feature/update_libcoap_4.2.0' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:35:20 +0000 (18:35 +0800)]
Merge branch 'feature/update_libcoap_4.2.0' into 'master'

Update component/coap to libcoap version release-4.2.0

See merge request idf/esp-idf!4499

5 years agoMerge branch 'feature/specify_includes_belonging_esp32' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:34:08 +0000 (18:34 +0800)]
Merge branch 'feature/specify_includes_belonging_esp32' into 'master'

move esp32 chip specific includes to esp32/xxx.h

See merge request idf/esp-idf!4534

5 years agoMerge branch 'bugfix/newlib_fcntl_r_signature' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:30:34 +0000 (18:30 +0800)]
Merge branch 'bugfix/newlib_fcntl_r_signature' into 'master'

vfs: change fcntl argument to int (instead of va_list), add weak fcntl

See merge request idf/esp-idf!4549

5 years agoMerge branch 'feature/make-debug-verbose-usable' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:29:50 +0000 (18:29 +0800)]
Merge branch 'feature/make-debug-verbose-usable' into 'master'

logs: Make verbose and debug logging cleaner

Closes IDFGH-782

See merge request idf/esp-idf!4578

5 years agoMerge branch 'bugfix/esp_debug_includes' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:28:39 +0000 (18:28 +0800)]
Merge branch 'bugfix/esp_debug_includes' into 'master'

mbedtls: Fix esp_debug not including its dependencies

See merge request idf/esp-idf!4581

5 years agoMerge branch 'bugfix/fixes_from_github' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 10:27:53 +0000 (18:27 +0800)]
Merge branch 'bugfix/fixes_from_github' into 'master'

Fixes from Github

See merge request idf/esp-idf!4510

5 years agoFix missing declaration of __bswap64 in endian.h
Balazs Racz [Tue, 22 Jan 2019 11:17:11 +0000 (12:17 +0100)]
Fix missing declaration of __bswap64 in endian.h

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

5 years agoFixed a small spelling mistake
raldone01 [Fri, 22 Feb 2019 22:41:19 +0000 (23:41 +0100)]
Fixed a small spelling mistake

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

5 years agoEasier use of -Wsign-conversion warnings needs changes.
Per Malmberg [Tue, 5 Mar 2019 20:59:54 +0000 (21:59 +0100)]
Easier use of -Wsign-conversion warnings needs changes.

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

5 years agoFix comment typos in WiFi types header
Hanh Tran [Fri, 8 Mar 2019 00:18:08 +0000 (09:18 +0900)]
Fix comment typos in WiFi types header

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

5 years agocheck-lxdialog.sh: Support libintl on FreeBSD
Conrad Meyer [Tue, 12 Mar 2019 16:40:18 +0000 (09:40 -0700)]
check-lxdialog.sh: Support libintl on FreeBSD

To unbreak "make menuconfig."

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

5 years agoAdd another auto-generated file to .gitignore.
Sarena Meas [Tue, 19 Feb 2019 20:39:12 +0000 (12:39 -0800)]
Add another auto-generated file to .gitignore.

* Update tools/kconfig/.gitignore for auto-generated file *.o.

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

5 years agoupdated buffer size too small for popular carrier in India Airtel -> airtelgprs.com
Akbar Hashim [Wed, 30 Jan 2019 04:25:51 +0000 (09:55 +0530)]
updated buffer size too small for popular carrier in India Airtel -> airtelgprs.com

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

5 years agoFix comments in ULP MOVE instruction examples
fivdi [Sun, 27 Jan 2019 17:01:18 +0000 (18:01 +0100)]
Fix comments in ULP MOVE instruction examples

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

5 years agoMerge branch 'feature/ci_use_custom_toolchain' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 06:51:12 +0000 (14:51 +0800)]
Merge branch 'feature/ci_use_custom_toolchain' into 'master'

ci: Add an ability to use custom toolchain for testing

See merge request idf/esp-idf!4561

5 years agologs: Make verbose and debug logging cleaner
Anuj Deshpande [Wed, 20 Mar 2019 12:06:47 +0000 (17:36 +0530)]
logs: Make verbose and debug logging cleaner

* Closes #3193
* Closes IDFGH-782

The logs that are deleted in this commit make debug and verbose mode
unusable.

5 years agoMerge branch 'feature/merge_flash_data_type-flash_partitions' into 'master'
Angus Gratton [Thu, 21 Mar 2019 05:40:40 +0000 (13:40 +0800)]
Merge branch 'feature/merge_flash_data_type-flash_partitions' into 'master'

merge esp_flash_data_types into esp_flash_partitions

See merge request idf/esp-idf!4504

5 years agoMerge branch 'bugfix/cmake_soc_test' into 'master'
Ivan Grokhotkov [Thu, 21 Mar 2019 05:34:58 +0000 (13:34 +0800)]
Merge branch 'bugfix/cmake_soc_test' into 'master'

soc: fix compiling unit tests with CMake

Closes IDF-499

See merge request idf/esp-idf!4545

5 years agoHTTP Server: Added ability to select core
Gregory Eslinger [Fri, 15 Mar 2019 15:45:12 +0000 (16:45 +0100)]
HTTP Server: Added ability to select core

The task that runs the HTTP server can now be pinned to a particular core by setting `core_id`
in the HTTP server configuration.  By default, the core is set to `tskNO_AFFINITY`, meaning
it can run on any core.

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

5 years agoci: Add an ability to use custom toolchain for testing
Anton Maklakov [Wed, 20 Mar 2019 05:48:44 +0000 (12:48 +0700)]
ci: Add an ability to use custom toolchain for testing

5 years agoMerge branch 'bugfix/heap_caps_int_overflows' into 'master'
Angus Gratton [Thu, 21 Mar 2019 01:47:38 +0000 (09:47 +0800)]
Merge branch 'bugfix/heap_caps_int_overflows' into 'master'

heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC

See merge request idf/esp-idf!4451

5 years agoMerge branch 'doc/ota_readme_cert_cn' into 'master'
Angus Gratton [Thu, 21 Mar 2019 01:26:12 +0000 (09:26 +0800)]
Merge branch 'doc/ota_readme_cert_cn' into 'master'

ota example: Mention the certificate needs CN set correctly

See merge request idf/esp-idf!4441

5 years agombedtls: Fix esp_debug not including its dependencies
Angus Gratton [Wed, 20 Mar 2019 23:17:37 +0000 (10:17 +1100)]
mbedtls: Fix esp_debug not including its dependencies

As reported on forum: https://esp32.com/viewtopic.php?f=13&t=9782&p=40464#p40464

5 years agoMerge branch 'bugfix/sphinx_build_failure_on_rtd' into 'master'
Krzysztof Budzynski [Wed, 20 Mar 2019 18:14:36 +0000 (02:14 +0800)]
Merge branch 'bugfix/sphinx_build_failure_on_rtd' into 'master'

docs: Upgraded sphinx package version to prevent build failures on readthedocs…

See merge request idf/esp-idf!4552

5 years agoMerge branch 'feature/btdm_add_api_to_clean_gattc_cache' into 'master'
Jiang Jiang Jian [Wed, 20 Mar 2019 14:05:00 +0000 (22:05 +0800)]
Merge branch 'feature/btdm_add_api_to_clean_gattc_cache' into 'master'

Component/bt: add api to clean gattc cache

See merge request idf/esp-idf!3951

5 years agoMerge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable' into...
Jiang Jiang Jian [Wed, 20 Mar 2019 13:36:23 +0000 (21:36 +0800)]
Merge branch 'bugfix/btdm_fix_no_adv_report_when_scaning_with_sleep_enable' into 'master'

Component/bt: fix no adv report when scanning with sleep enable

See merge request idf/esp-idf!4535

5 years agoMerge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log' into 'master'
Jiang Jiang Jian [Wed, 20 Mar 2019 13:09:59 +0000 (21:09 +0800)]
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log' into 'master'

Component/bt: fix build warning when bluedroid disable log

See merge request idf/esp-idf!4524

5 years agovfs: Adds example for semihosting VFS driver
Alexey Gerenkov [Tue, 19 Feb 2019 19:57:03 +0000 (22:57 +0300)]
vfs: Adds example for semihosting VFS driver

5 years agozh_CN translation of HTTP Server API reference
morris [Tue, 19 Mar 2019 10:46:47 +0000 (18:46 +0800)]
zh_CN translation of HTTP Server API reference

5 years agonvs_util: Fix to support write of multiple singlepage big blob data
Shivani Tipnis [Thu, 14 Feb 2019 09:47:57 +0000 (15:17 +0530)]
nvs_util: Fix to support write of multiple singlepage big blob data

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

5 years agoMerge branch 'bugfix/mesh_memory_leak' into 'master'
Jiang Jiang Jian [Wed, 20 Mar 2019 06:57:05 +0000 (14:57 +0800)]
Merge branch 'bugfix/mesh_memory_leak' into 'master'

mesh: fix memory leak and group send

See merge request idf/esp-idf!4438

5 years agoMerge branch 'feature/optimized_gpio_intr_service' into 'master'
Angus Gratton [Wed, 20 Mar 2019 06:19:17 +0000 (14:19 +0800)]
Merge branch 'feature/optimized_gpio_intr_service' into 'master'

driver: Add optimization by speed in ISR functions for gpio, rmt, pcnt

Closes IDF-328

See merge request idf/esp-idf!4241

5 years agoMerge branch 'bugfix/btdm_fix_blufi_prepare_write_crash' into 'master'
Jiang Jiang Jian [Wed, 20 Mar 2019 03:46:15 +0000 (11:46 +0800)]
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash' into 'master'

Component/bt: fix blufi prepare write crash

See merge request idf/esp-idf!4447

5 years agoMerge branch 'bugfix/newlib_misc_cleanups' into 'master'
Anton Maklakov [Wed, 20 Mar 2019 03:08:20 +0000 (11:08 +0800)]
Merge branch 'bugfix/newlib_misc_cleanups' into 'master'

newlib: minor cleanup

See merge request idf/esp-idf!4550

5 years agoMerge branch 'feature/separate_eventloop_from_esp32' into 'master'
Ivan Grokhotkov [Wed, 20 Mar 2019 01:59:17 +0000 (09:59 +0800)]
Merge branch 'feature/separate_eventloop_from_esp32' into 'master'

separate legacy esp_event from esp32 component to esp_event

See merge request idf/esp-idf!4539

5 years agocmake: Set COMPONENT_PATH during early expansion of dependencies
Angus Gratton [Tue, 19 Mar 2019 23:42:29 +0000 (10:42 +1100)]
cmake: Set COMPONENT_PATH during early expansion of dependencies

Works around bug where components/soc/CMakeLists.txt was testing "EXISTS
${COMPONENT_PATH}/${SOC_NAME}" and this test could pass during early
expansion if COMPONENT_PATH was empty and a directory /esp32 exists
on Windows.

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

5 years agoMerge branch 'bugfix/error_in_bootloader_loadprohibited' into 'master'
Angus Gratton [Tue, 19 Mar 2019 23:28:09 +0000 (07:28 +0800)]
Merge branch 'bugfix/error_in_bootloader_loadprohibited' into 'master'

esp_tool: Exclude elf-sha256 from bootloader

Closes IDFGH-690

See merge request idf/esp-idf!4520

5 years agodocs: Upgraded sphinx package version to prevent build failures on readthedocs site...
krzychb [Tue, 19 Mar 2019 15:47:39 +0000 (16:47 +0100)]
docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build.

5 years agolwip, wpa_supplicant: use endianness macros from libc if possible
Ivan Grokhotkov [Tue, 19 Mar 2019 11:58:42 +0000 (19:58 +0800)]
lwip, wpa_supplicant: use endianness macros from libc if possible

5 years agonewlib: remove usage of pre-ANSI defines
Ivan Grokhotkov [Tue, 19 Mar 2019 11:57:20 +0000 (19:57 +0800)]
newlib: remove usage of pre-ANSI defines

5 years agonewlib: enable timeradd, timersub, and similar macros
Ivan Grokhotkov [Fri, 8 Mar 2019 07:16:26 +0000 (15:16 +0800)]
newlib: enable timeradd, timersub, and similar macros

This uses a hack (temporarily defining __rtems__ from a wrapper header
file) to include timeradd, timersub, and similar macros, without
modifying newlib headers.

5 years agoRevert "feat(time): enable the macro timeradd, timersub, timerclear, etc."
Ivan Grokhotkov [Fri, 8 Mar 2019 07:26:04 +0000 (15:26 +0800)]
Revert "feat(time): enable the macro timeradd, timersub, timerclear, etc."

This reverts commit 8f994b9dce3fb563370cc0ed4958b907016ccb57.

5 years agovfs: change fcntl argument to int (instead of va_list), add weak fcntl
Ivan Grokhotkov [Mon, 11 Mar 2019 09:45:31 +0000 (17:45 +0800)]
vfs: change fcntl argument to int (instead of va_list), add weak fcntl

5 years agoMerge branch 'power_management/i2s+i2c' into 'master'
Ivan Grokhotkov [Tue, 19 Mar 2019 09:27:59 +0000 (17:27 +0800)]
Merge branch 'power_management/i2s+i2c' into 'master'

Power management/i2s+i2c

See merge request idf/esp-idf!4338

5 years agoMerge branch 'bugfix/fix_minor_make_build_system_issue' into 'master'
Ivan Grokhotkov [Tue, 19 Mar 2019 09:24:30 +0000 (17:24 +0800)]
Merge branch 'bugfix/fix_minor_make_build_system_issue' into 'master'

make: use `shell` command to extract version string

See merge request idf/esp-idf!4526

5 years agoMerge branch 'test/detect_exception_in_idf_dut' into 'master'
Ivan Grokhotkov [Tue, 19 Mar 2019 09:23:55 +0000 (17:23 +0800)]
Merge branch 'test/detect_exception_in_idf_dut' into 'master'

tiny-test-fw: support detect exception in IDFDUT

See merge request idf/esp-idf!4527

5 years agoesptool: Only insert SHA256 if overwriting zero data
Konstantin Kondrashov [Tue, 19 Mar 2019 05:29:07 +0000 (13:29 +0800)]
esptool: Only insert SHA256 if overwriting zero data

5 years agoesp_tool: Exclude elf-sha256 from bootloader
Konstantin Kondrashov [Fri, 15 Mar 2019 12:02:16 +0000 (20:02 +0800)]
esp_tool: Exclude elf-sha256 from bootloader

Closes: IDFGH-690
5 years agosoc: fix compiling unit tests with CMake
Ivan Grokhotkov [Tue, 19 Mar 2019 03:42:51 +0000 (11:42 +0800)]
soc: fix compiling unit tests with CMake

soc unit tests have not been included when compiling with CMake,
because ../${SOC_NAME}/test was not evaluated relative to the
CMakeLists.txt directory.

Also call register_components() regardless of the presence of test
directory for particular target.

5 years agotest: handle exception by unit test script:
He Yin Ling [Mon, 18 Mar 2019 14:19:30 +0000 (22:19 +0800)]
test: handle exception by unit test script:

unit test script will detect exception, we don't need to let test fail
when exception happened.

5 years agotiny-test-fw: support translate backtrace in IDFDUT
He Yin Ling [Mon, 18 Mar 2019 04:16:24 +0000 (12:16 +0800)]
tiny-test-fw: support translate backtrace in IDFDUT

5 years agotiny-test-fw: support detect exception in IDFDUT
He Yin Ling [Sat, 16 Mar 2019 12:07:52 +0000 (20:07 +0800)]
tiny-test-fw: support detect exception in IDFDUT

5 years agoMerge branch 'bugfix/i2c_driver_release_opt' into 'master'
Ivan Grokhotkov [Tue, 19 Mar 2019 02:59:21 +0000 (10:59 +0800)]
Merge branch 'bugfix/i2c_driver_release_opt' into 'master'

driver/i2c: write i2c command structure to hardware in one operation

See merge request idf/esp-idf!4538

5 years agotools: Create log files from IDF Monitor
Roland Dobai [Mon, 4 Mar 2019 12:11:57 +0000 (13:11 +0100)]
tools: Create log files from IDF Monitor

5 years agoexample:coap_server: Change app task stack size
Jitin George [Thu, 14 Mar 2019 12:15:26 +0000 (17:45 +0530)]
example:coap_server: Change app task stack size

5 years agoexample:coap_client: Change app task stack size
Jitin George [Thu, 14 Mar 2019 12:14:37 +0000 (17:44 +0530)]
example:coap_client: Change app task stack size

5 years agoUpdate component/coap to libcoap version release-4.2.0
Jon Shallow [Fri, 8 Mar 2019 20:22:17 +0000 (20:22 +0000)]
Update component/coap to libcoap version release-4.2.0

This takes the code up to the latest released version of libcoap.

As there have been API changes, coap_client and coap_server in
examples/protocols have been updated to use the new APIs.

Further information on the new libcoap APIs can be found at
https://libcoap.net/doc/reference/4.2.0/

coap_client has been updated to handle BLOCK2 responses from
"coap://californium.eclipse.org"
coap_client has been modified to only send out one request (and wait for
the response)

coap_server has been updated to support Observe subscriptions, and well as
adding in PUT and DELETE handlers to work on the Espressif resource

coap_server and coap_client have had their stack sizes increased.

port/coap_io.c has been added, a copy of libcoap/src/coap_io.c with support
added for systems that do not have RFC 3542 section 20 support.

port/coap_io_socket.c has been removed as a lot of the code is now
replicated in different libcoap files.

Once this PR is place, then adding in DTLS will be a lot simpler (as a
separate PR)

Signed-off-by: Jitin George <jitin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3148

5 years agoseparate legacy esp_event from esp32 component to esp_event
morris [Mon, 18 Mar 2019 11:58:04 +0000 (19:58 +0800)]
separate legacy esp_event from esp32 component to esp_event

5 years agodriver/i2c: write i2c command structure to hardware in one operation
Ivan Grokhotkov [Mon, 18 Mar 2019 10:20:34 +0000 (18:20 +0800)]
driver/i2c: write i2c command structure to hardware in one operation

GCC compiler can generate 8-bit stores when modifying bitfields of
volatile structs (https://github.com/espressif/esp-idf/issues/597).
In the specific case of I2C driver, this resulted in byte_num field
to be written using s8i. However the peripheral requires 32-bit
writes, and ignores 8-bit writes. This change modifies the code to
compose the 32-bit command register value first, and then write the
complete value to the hardware.

5 years agoMerge branch 'bugfix/coredump_fixes' into 'master'
Ivan Grokhotkov [Mon, 18 Mar 2019 10:23:25 +0000 (18:23 +0800)]
Merge branch 'bugfix/coredump_fixes' into 'master'

espcoredump fixes for GCC 8.2

See merge request idf/esp-idf!4528

5 years agomove esp32 chip specific includes to esp32/xxx.h
morris [Mon, 18 Mar 2019 07:46:15 +0000 (15:46 +0800)]
move esp32 chip specific includes to esp32/xxx.h

5 years agomerge esp_flash_data_types into esp_flash_partitions
morris [Thu, 14 Mar 2019 14:03:04 +0000 (22:03 +0800)]
merge esp_flash_data_types into esp_flash_partitions

5 years agoComponent/bt: fix no adv report when scaning with sleep enable
zhiweijian [Mon, 18 Mar 2019 08:35:50 +0000 (16:35 +0800)]
Component/bt: fix no adv report when scaning with sleep enable

5 years agoPM: I2S and I2C added in the Power Management docs
Sachin Parekh [Fri, 22 Feb 2019 14:18:59 +0000 (19:48 +0530)]
PM: I2S and I2C added in the Power Management docs

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agoI2S: Enable Power Management locks
Sachin Parekh [Fri, 22 Feb 2019 12:17:42 +0000 (17:47 +0530)]
I2S: Enable Power Management locks

Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2S if
Power Management Framework is enabled.

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agoI2C: Enable Power Management locks
Sachin Parekh [Fri, 22 Feb 2019 12:14:03 +0000 (17:44 +0530)]
I2C: Enable Power Management locks

Acquires PM_APB_FREQ_MAX lock when carrying any transaction on I2C if
Power Management Framework is enabled.

Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
5 years agomesh: fix memory leak and group send
chenyudong [Mon, 18 Mar 2019 06:43:21 +0000 (14:43 +0800)]
mesh: fix memory leak and group send

fix a bug in group send
fix esp_mesh_set_router when router_t not initialized
fix mesh memory leak with invalid option

5 years agoMerge branch 'bugfix/fix_the_bug_cal_PMK_too_long' into 'master'
Jiang Jiang Jian [Mon, 18 Mar 2019 06:26:48 +0000 (14:26 +0800)]
Merge branch 'bugfix/fix_the_bug_cal_PMK_too_long' into 'master'

wifi: fix the bug that calculate PMK too long

Closes IDFGH-524

See merge request idf/esp-idf!4349

5 years agoComponent/bt: fix build warning when bluedroid disable log
zhiweijian [Fri, 15 Mar 2019 12:59:55 +0000 (20:59 +0800)]
Component/bt: fix build warning when bluedroid disable log

5 years agoespcoredump: fix test with esp32-2018r1 toolchain
Ivan Grokhotkov [Fri, 15 Mar 2019 12:16:37 +0000 (20:16 +0800)]
espcoredump: fix test with esp32-2018r1 toolchain

5 years agoespcoredump: fix test compilation error with GCC 8
Ivan Grokhotkov [Mon, 11 Mar 2019 04:13:01 +0000 (12:13 +0800)]
espcoredump: fix test compilation error with GCC 8

5 years agoheap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC
Angus Gratton [Sun, 10 Mar 2019 23:49:51 +0000 (10:49 +1100)]
heap: Add integer overflow checks on MALLOC_CAP_32BIT & MALLOC_CAP_EXEC

5 years agoldgen: fix library path parsing in windows
Renz Christian Bagaporo [Fri, 15 Mar 2019 10:31:30 +0000 (18:31 +0800)]
ldgen: fix library path parsing in windows

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

5 years agocmake: Allow components to present their own images to flash
Renz Christian Bagaporo [Tue, 22 Jan 2019 03:45:45 +0000 (11:45 +0800)]
cmake: Allow components to present their own images to flash

5 years agomake: use `shell` command to extract version string
Mahavir Jain [Sun, 17 Mar 2019 13:33:22 +0000 (21:33 +0800)]
make: use `shell` command to extract version string

5 years agoMerge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'
Jiang Jiang Jian [Sun, 17 Mar 2019 06:19:11 +0000 (14:19 +0800)]
Merge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'

Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes

See merge request idf/esp-idf!2208

5 years agoMerge branch 'bugfix/suppress_dhcpserver_debug_output' into 'master'
Jiang Jiang Jian [Sun, 17 Mar 2019 06:12:58 +0000 (14:12 +0800)]
Merge branch 'bugfix/suppress_dhcpserver_debug_output' into 'master'

dhcpserver: suppress send_nak debug output

Closes IDFGH-557

See merge request idf/esp-idf!4491

5 years agoMerge branch 'bugfix/esp_prov_ble_rw_except' into 'master'
Angus Gratton [Fri, 15 Mar 2019 13:10:53 +0000 (21:10 +0800)]
Merge branch 'bugfix/esp_prov_ble_rw_except' into 'master'

esp_prov : Catch DBus exception when reading/writing to BLE GATT characteristic

See merge request idf/esp-idf!4503

5 years agowifi: fix the bug that when call set_config before connecting to an encrypted AP...
zhangyanjiao [Fri, 15 Mar 2019 08:28:41 +0000 (16:28 +0800)]
wifi: fix the bug that when call set_config before connecting to an encrypted AP, PMK will be recalculated

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

5 years agoMerge branch 'bugfix/bb_watchdog_reset' into 'master'
Jiang Jiang Jian [Fri, 15 Mar 2019 08:12:30 +0000 (16:12 +0800)]
Merge branch 'bugfix/bb_watchdog_reset' into 'master'

esp32: add WiFi baseband watchdog reset

See merge request idf/esp-idf!4409

5 years agoMerge branch 'feature/confserver_v2' into 'master'
Angus Gratton [Fri, 15 Mar 2019 06:49:05 +0000 (14:49 +0800)]
Merge branch 'feature/confserver_v2' into 'master'

confserver: Add v2 confserver protocol with separate visibility info

See merge request idf/esp-idf!4162

5 years agoMerge branch 'bugfix/esp_sha_signing_sha256' into 'master'
Angus Gratton [Fri, 15 Mar 2019 06:35:38 +0000 (14:35 +0800)]
Merge branch 'bugfix/esp_sha_signing_sha256' into 'master'

secure boot: Fix esp_sha INT WDT, switch to using mbedTLS API

Closes IDFGH-681

See merge request idf/esp-idf!4440

5 years agoMerge branch 'bugfix/make_gcc_version_evaluation' into 'master'
Angus Gratton [Fri, 15 Mar 2019 06:30:48 +0000 (14:30 +0800)]
Merge branch 'bugfix/make_gcc_version_evaluation' into 'master'

make: Ensure that component_project_vars.mk not generated before config

See merge request idf/esp-idf!4474