]> granicus.if.org Git - esp-idf/log
esp-idf
4 years agoMerge branch 'bugfix/revert_optimize_wifi_rx_v4.0' into 'release/v4.0' v4.0-beta1
Jiang Jiang Jian [Fri, 30 Aug 2019 02:59:20 +0000 (10:59 +0800)]
Merge branch 'bugfix/revert_optimize_wifi_rx_v4.0' into 'release/v4.0'

esp_wifi: revert WiFi RX optimization

See merge request espressif/esp-idf!5941

4 years agoesp_wifi: revert WiFi RX optimization
liu zhifu [Wed, 28 Aug 2019 08:36:22 +0000 (16:36 +0800)]
esp_wifi: revert WiFi RX optimization

Revert following commit since it has compatibility issue:
commit 45dd6175cddc5a9103a89566df995a522cbe6703
esp32: optimize wifi rx

4 years agoMerge branch 'bugfix/confgen_msys_path_v4.0' into 'release/v4.0'
Angus Gratton [Thu, 29 Aug 2019 02:15:21 +0000 (10:15 +0800)]
Merge branch 'bugfix/confgen_msys_path_v4.0' into 'release/v4.0'

Fix sdkconfig.rename paths for confgen.py in MSYS (v4.0)

See merge request espressif/esp-idf!5904

4 years agoMerge branch 'bugfix/cmake_src_exclude_issue_v4.0' into 'release/v4.0'
Mahavir Jain [Wed, 28 Aug 2019 06:42:20 +0000 (14:42 +0800)]
Merge branch 'bugfix/cmake_src_exclude_issue_v4.0' into 'release/v4.0'

cmake: fix issue with handling of EXCLUDE_SRCS (v4.0)

See merge request espressif/esp-idf!5900

4 years agoMerge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice_v4.0' into 'relea...
Jiang Jiang Jian [Tue, 27 Aug 2019 10:49:55 +0000 (18:49 +0800)]
Merge branch 'bugfix/btdm_fix_ble_data_loss_and_send_same_pkt_twice_v4.0' into 'release/v4.0'

Component/bt: fix some BLE bugs (backport v4.0)

See merge request espressif/esp-idf!5909

4 years agocomponents/bt: backport 2 BT bugfix about controller
baohongde [Tue, 27 Aug 2019 02:42:40 +0000 (10:42 +0800)]
components/bt: backport 2 BT bugfix about controller

1.Bugfix btdm sleep twice after wakeup request
2.Set the minimum encryption key size to be 7 octects for BR/EDR link for preventing KNOB attack
    This patch is to address the CVE-2019-9506 vulnerability.

4 years agoComponent/bt: fix some BLE bugs
zhiweijian [Mon, 26 Aug 2019 12:29:01 +0000 (20:29 +0800)]
Component/bt: fix some BLE bugs
- fix data loss and send same pkt twice sometimes
- fix adv data error in air sometimes
- fix adv start/stop crash sometimes

4 years agoFix sdkconfig.rename paths for confgen.py in MSYS
Roland Dobai [Wed, 21 Aug 2019 14:45:01 +0000 (16:45 +0200)]
Fix sdkconfig.rename paths for confgen.py in MSYS

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

4 years agocmake: fix issue with handling of EXCLUDE_SRCS
Mahavir Jain [Thu, 22 Aug 2019 07:47:10 +0000 (13:17 +0530)]
cmake: fix issue with handling of EXCLUDE_SRCS

4 years agoMerge branch 'Bugfix/nonblocking_udp_is_zero_for_4.0' into 'release/v4.0'
Jiang Jiang Jian [Fri, 23 Aug 2019 02:50:45 +0000 (10:50 +0800)]
Merge branch 'Bugfix/nonblocking_udp_is_zero_for_4.0' into 'release/v4.0'

fix bug for nonblocking udp is zero for v4.0

See merge request espressif/esp-idf!5855

4 years agofix bug for nonblocking udp is zero for v4.0
xueyunfei [Wed, 21 Aug 2019 09:03:21 +0000 (17:03 +0800)]
fix bug for nonblocking udp is zero for v4.0

4 years agoMerge branch 'bugfix/config_panic_gdbstub_build_issue_v4.0' into 'release/v4.0'
Angus Gratton [Tue, 20 Aug 2019 05:11:24 +0000 (13:11 +0800)]
Merge branch 'bugfix/config_panic_gdbstub_build_issue_v4.0' into 'release/v4.0'

esp32_gdbstub: fix build error with esp32-2019r1 toolchain (v4.0)

See merge request espressif/esp-idf!5764

4 years agoMerge branch 'bugfix/vfs_concurrent_select_v4.0' into 'release/v4.0'
Angus Gratton [Tue, 20 Aug 2019 04:49:03 +0000 (12:49 +0800)]
Merge branch 'bugfix/vfs_concurrent_select_v4.0' into 'release/v4.0'

VFS: Support concurrent VFS select calls & improve the documentation (backport v4.0)

See merge request espressif/esp-idf!5797

4 years agoMerge branch 'bugfix/fix_mbedtls_net_sockets_error_handling_v4.0' into 'release/v4.0'
Angus Gratton [Tue, 20 Aug 2019 04:28:56 +0000 (12:28 +0800)]
Merge branch 'bugfix/fix_mbedtls_net_sockets_error_handling_v4.0' into 'release/v4.0'

mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors (v4.0)

See merge request espressif/esp-idf!5768

4 years agoMerge branch 'bugfix/confserver_temporaryfile_windows_v4.0' into 'release/v4.0'
Angus Gratton [Tue, 20 Aug 2019 04:28:16 +0000 (12:28 +0800)]
Merge branch 'bugfix/confserver_temporaryfile_windows_v4.0' into 'release/v4.0'

confserver: Fix NamedTemporaryFile use on Windows (v4.0)

See merge request espressif/esp-idf!5818

4 years agoconfserver: Fix NamedTemporaryFile use on Windows
Angus Gratton [Fri, 16 Aug 2019 09:24:20 +0000 (19:24 +1000)]
confserver: Fix NamedTemporaryFile use on Windows

Can't have the file open twice, so need to close and delete after reopening.

4 years agotools: Support sdkconfig.rename files from outside IDF in confgen.py
Roland Dobai [Tue, 16 Jul 2019 14:39:12 +0000 (16:39 +0200)]
tools: Support sdkconfig.rename files from outside IDF in confgen.py

4 years agoMerge branch 'bugfix/doc_pip_requirements_v4.0' into 'release/v4.0'
Angus Gratton [Fri, 16 Aug 2019 05:16:04 +0000 (13:16 +0800)]
Merge branch 'bugfix/doc_pip_requirements_v4.0' into 'release/v4.0'

Add -r flag to pip install command from file (backport v4.0)

See merge request espressif/esp-idf!5798

4 years agoMerge branch 'feature/dport_eco_revision2_v4.0' into 'release/v4.0'
Angus Gratton [Fri, 16 Aug 2019 05:15:18 +0000 (13:15 +0800)]
Merge branch 'feature/dport_eco_revision2_v4.0' into 'release/v4.0'

make dport workaround depend on chip revision (v4.0)

See merge request espressif/esp-idf!5765

4 years agoMerge branch 'bugfix/hwcrypt_fault_inj_v4.0' into 'release/v4.0'
Angus Gratton [Thu, 15 Aug 2019 21:29:54 +0000 (05:29 +0800)]
Merge branch 'bugfix/hwcrypt_fault_inj_v4.0' into 'release/v4.0'

AES & SHA fault injection checks (backport v4.0)

See merge request espressif/esp-idf!5748

4 years agoAdded -r flag to pip install command from file
Luke Bayes [Sun, 4 Aug 2019 21:05:03 +0000 (17:05 -0400)]
Added -r flag to pip install command from file

Closes https://github.com/espressif/esp-idf/pull/3874
Closes https://github.com/espressif/esp-idf/issues/3915

4 years agodocs: Correct and extend the documentation about VFS select()
Roland Dobai [Wed, 17 Jul 2019 07:59:21 +0000 (09:59 +0200)]
docs: Correct and extend the documentation about VFS select()

4 years agoVFS: Support concurrent VFS select calls
Roland Dobai [Wed, 10 Jul 2019 12:08:21 +0000 (14:08 +0200)]
VFS: Support concurrent VFS select calls

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

4 years agoMerge branch 'bugfix/idf_tool_default_encoding_v4.0' into 'release/v4.0'
Angus Gratton [Thu, 15 Aug 2019 08:35:58 +0000 (16:35 +0800)]
Merge branch 'bugfix/idf_tool_default_encoding_v4.0' into 'release/v4.0'

idf_tool: fix UnicodeDecodeError (v4.0)

See merge request espressif/esp-idf!5720

4 years agoMerge branch 'bugfix/fix_flash_read_error_in_dio_mode_v4.0' into 'release/v4.0'
Angus Gratton [Thu, 15 Aug 2019 04:08:56 +0000 (12:08 +0800)]
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v4.0' into 'release/v4.0'

bugfix(flash): add spi dio address bitlen configure in psram init (backprot v4.0)

See merge request espressif/esp-idf!5790

4 years agobugfix(flash): add spi dio address bitlen configure in psram init
chenjianqiang [Wed, 14 Aug 2019 12:57:30 +0000 (20:57 +0800)]
bugfix(flash): add spi dio address bitlen configure in psram init

4 years agoMerge branch 'bugfix/fix_ledc_clock_select_bug_v4.0' into 'release/v4.0'
Angus Gratton [Wed, 14 Aug 2019 02:44:39 +0000 (10:44 +0800)]
Merge branch 'bugfix/fix_ledc_clock_select_bug_v4.0' into 'release/v4.0'

driver(ledc): fixed ledc clock selection bug for v4.0

See merge request espressif/esp-idf!5757

4 years agombedtls: use `errno` instead of `SO_ERROR` for getting socket errors
Mahavir Jain [Thu, 8 Aug 2019 08:12:47 +0000 (13:42 +0530)]
mbedtls: use `errno` instead of `SO_ERROR` for getting socket errors

As per upgrade notes of lwIP v2.1.0:
socket API: according to the standard, SO_ERROR now only returns asynchronous errors.
All other/normal/synchronous errors are (and always were) available via 'errno'.
LWIP_SOCKET_SET_ERRNO has been removed - 'errno' is always set - and required!

Refer: https://www.nongnu.org/lwip/2_1_x/upgrading.html

Fixes https://github.com/espressif/esp-azure/issues/51

4 years agoefuse: update the scheme of getting chip revision
suda-morris [Mon, 29 Jul 2019 03:35:00 +0000 (11:35 +0800)]
efuse: update the scheme of getting chip revision

4 years agoesp32_gdbstub: fix build error with esp32-2019r1 toolchain
Mahavir Jain [Wed, 7 Aug 2019 06:19:55 +0000 (11:49 +0530)]
esp32_gdbstub: fix build error with esp32-2019r1 toolchain

Fixes https://github.com/espressif/esp-idf/issues/3866
Closes https://github.com/espressif/esp-idf/issues/3834

4 years agoMerge branch 'ci/disable_nimble_tests_v4.0' into 'release/v4.0'
Angus Gratton [Tue, 13 Aug 2019 02:42:38 +0000 (10:42 +0800)]
Merge branch 'ci/disable_nimble_tests_v4.0' into 'release/v4.0'

ci: Temporarily disable NimBLE tests in CI (v4.0)

See merge request espressif/esp-idf!5754

4 years agoMerge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v4.0' into 'release...
Jiang Jiang Jian [Mon, 12 Aug 2019 15:34:43 +0000 (23:34 +0800)]
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v4.0' into 'release/v4.0'

fix wifi bugs for authmode and multi ssid (backport v4.0)

See merge request espressif/esp-idf!5725

4 years agodriver(ledc): fixed ledc clock selection bug for release/v4.0
kooho [Thu, 1 Nov 2018 04:23:11 +0000 (12:23 +0800)]
driver(ledc): fixed ledc clock selection bug for release/v4.0

4 years agoci: Temporarily disable NimBLE tests in CI
Angus Gratton [Sun, 11 Aug 2019 23:38:44 +0000 (09:38 +1000)]
ci: Temporarily disable NimBLE tests in CI

4 years agomodify WIFI_CONN_0101 case for wrong authmode of AP
zhangyanjiao [Fri, 2 Aug 2019 02:22:46 +0000 (10:22 +0800)]
modify WIFI_CONN_0101 case for wrong authmode of AP

4 years agowifi: fix wifi bugs for authmode and multi ssid
zhangyanjiao [Thu, 8 Aug 2019 07:41:02 +0000 (15:41 +0800)]
wifi: fix wifi bugs for authmode and multi ssid

4 years agosha: Add fault injection checks reading hash digest state
Angus Gratton [Wed, 22 May 2019 00:18:55 +0000 (10:18 +1000)]
sha: Add fault injection checks reading hash digest state

Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.

4 years agoaes: Add fault injection checks when writing key to hardware
Angus Gratton [Tue, 21 May 2019 08:12:42 +0000 (18:12 +1000)]
aes: Add fault injection checks when writing key to hardware

Vulnerability reported by LimitedResults under Espressif Bug Bounty Program.

4 years agoMerge branch 'bugfix/update_example_docs_build_instructions_to_cmake_v4.0' into ...
Angus Gratton [Fri, 9 Aug 2019 05:20:25 +0000 (13:20 +0800)]
Merge branch 'bugfix/update_example_docs_build_instructions_to_cmake_v4.0' into 'release/v4.0'

examples: change default build instructions in docs to CMake (v4.0)

See merge request espressif/esp-idf!5704

4 years agoidf_tool: fix unicode decode error
suda-morris [Thu, 1 Aug 2019 02:40:10 +0000 (10:40 +0800)]
idf_tool: fix unicode decode error

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

4 years agoexamples: change default build instructions in docs to CMake
Mahavir Jain [Fri, 2 Aug 2019 03:31:20 +0000 (09:01 +0530)]
examples: change default build instructions in docs to CMake

4 years agoMerge branch 'move/ble_example_v4.0' into 'release/v4.0'
Mahavir Jain [Mon, 5 Aug 2019 16:32:26 +0000 (00:32 +0800)]
Merge branch 'move/ble_example_v4.0' into 'release/v4.0'

examples/bluetooth: Move the demos to the appropriate locations (v4.0)

See merge request espressif/esp-idf!5687

4 years agoexamples/bluetooth: Move the demos to the appropriate locations (v4.0)
Hrishikesh Dhayagude [Mon, 5 Aug 2019 16:32:25 +0000 (00:32 +0800)]
examples/bluetooth: Move the demos to the appropriate locations (v4.0)

4 years agoMerge branch 'bugfix/fix_the_bug_in_wifi_doc' into 'master'
Ivan Grokhotkov [Tue, 30 Jul 2019 01:42:23 +0000 (09:42 +0800)]
Merge branch 'bugfix/fix_the_bug_in_wifi_doc' into 'master'

docs: fix the bug in wifi doc

Closes IDFGH-1590

See merge request espressif/esp-idf!5647

4 years agoMerge branch 'test/rtc_noinit_wdt_test' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:42:15 +0000 (09:42 +0800)]
Merge branch 'test/rtc_noinit_wdt_test' into 'master'

esp32: verify that RTC_NOINIT_ATTR vars are preserved after WDT reset

See merge request espressif/esp-idf!4936

4 years agoMerge branch 'bugfix/pthread_fixes' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:41:31 +0000 (09:41 +0800)]
Merge branch 'bugfix/pthread_fixes' into 'master'

pthread fixes

Closes IDFGH-1437

See merge request espressif/esp-idf!5646

4 years agoMerge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:41:09 +0000 (09:41 +0800)]
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'

Bugfix/btdm some unallocated memory

See merge request espressif/esp-idf!5629

4 years agoMerge branch 'bugfix/gpio_intr_enable_bug' into 'master'
Angus Gratton [Tue, 30 Jul 2019 01:35:42 +0000 (09:35 +0800)]
Merge branch 'bugfix/gpio_intr_enable_bug' into 'master'

bugfix(GPIO):  Fixed the  GPIO  interrupt  enable  bug

Closes IDFGH-495

See merge request espressif/esp-idf!5571

4 years agoMerge branch 'bugfix/ws_client_fix_static_analysis_warnings' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:25:30 +0000 (19:25 +0800)]
Merge branch 'bugfix/ws_client_fix_static_analysis_warnings' into 'master'

ws_client: fix double delete issue in ws client initialization

See merge request espressif/esp-idf!5309

4 years agoMerge branch 'feature/move_gettimeofday_in_clock_gettime' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:25:11 +0000 (19:25 +0800)]
Merge branch 'feature/move_gettimeofday_in_clock_gettime' into 'master'

newlib: Move _gettimeofday_r call in clock_gettime

Closes IDFGH-1525

See merge request espressif/esp-idf!5562

4 years agoMerge branch 'fix/esp_flash_compatible_with_rom' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:18:20 +0000 (19:18 +0800)]
Merge branch 'fix/esp_flash_compatible_with_rom' into 'master'

esp_flash: fix a compatibility issue working with the ROM

See merge request espressif/esp-idf!5462

4 years agoMerge branch 'feature/idf_tools_installer_ci' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:16:18 +0000 (19:16 +0800)]
Merge branch 'feature/idf_tools_installer_ci' into 'master'

Build Windows tools installer in CI

Closes IDF-201

See merge request espressif/esp-idf!5583

4 years agobugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
kooho [Thu, 18 Jul 2019 03:34:49 +0000 (11:34 +0800)]
bugfix(GPIO): Fixed the bug that GPIO enables interrupts on one core,
              but registers interrupt service routines on another core

closes https://github.com/espressif/esp-idf/issues/2808
closes https://github.com/espressif/esp-idf/issues/2845

4 years agoMerge branch 'feat/sdmmc_io_cis_parse' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:05:30 +0000 (19:05 +0800)]
Merge branch 'feat/sdmmc_io_cis_parse' into 'master'

sdmmc_io: support to print CIS information

See merge request espressif/esp-idf!5515

4 years agoMerge branch 'bugfix/export_macos' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:01:50 +0000 (19:01 +0800)]
Merge branch 'bugfix/export_macos' into 'master'

tools: export.sh: fix ESP-IDF path detection on macos

See merge request espressif/esp-idf!5644

4 years agoMerge branch 'bugfix/make_link_libc_psram' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:01:12 +0000 (19:01 +0800)]
Merge branch 'bugfix/make_link_libc_psram' into 'master'

esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS

See merge request espressif/esp-idf!5643

4 years agoMerge branch 'bugfix/partition_tables_update_note' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:00:44 +0000 (19:00 +0800)]
Merge branch 'bugfix/partition_tables_update_note' into 'master'

global: update note in the partition tables

See merge request espressif/esp-idf!5636

4 years agoMerge branch 'nimble/submodule_update_fix' into 'master'
Angus Gratton [Mon, 29 Jul 2019 11:00:21 +0000 (19:00 +0800)]
Merge branch 'nimble/submodule_update_fix' into 'master'

NimBLE: Update submodule to fix bug in delete bond procedure

See merge request espressif/esp-idf!5605

4 years agoNimBLE: Update submodule to fix bug in delete bond procedure
Prasad Alatkar [Mon, 29 Jul 2019 11:00:21 +0000 (19:00 +0800)]
NimBLE: Update submodule to fix bug in delete bond procedure

- Fixes bug in `get_nvs_db_attribute` related to getting correct index while
  deleting bond in NVS.
- MR raised on esp-nimble branch: https://gitlab.espressif.cn:6688/espressif/esp-nimble/merge_requests/12

4 years agoMerge branch 'bugfix/examples_stale_options' into 'master'
Ivan Grokhotkov [Mon, 29 Jul 2019 11:00:04 +0000 (19:00 +0800)]
Merge branch 'bugfix/examples_stale_options' into 'master'

examples: remove non-existent options from sdkconfig.defaults

See merge request espressif/esp-idf!5633

4 years agodocs: fix the bug in wifi doc
zhangyanjiao [Mon, 29 Jul 2019 06:55:17 +0000 (14:55 +0800)]
docs: fix the bug in wifi doc

4 years agoci: add jobs to build idf_exe, cmdlinerunner, tools installer
Ivan Grokhotkov [Thu, 18 Jul 2019 15:34:36 +0000 (17:34 +0200)]
ci: add jobs to build idf_exe, cmdlinerunner, tools installer

4 years agoesp_flash: fix a compatibility issue working with the ROM
Michael (XIAO Xufeng) [Sun, 7 Jul 2019 10:11:02 +0000 (18:11 +0800)]
esp_flash: fix a compatibility issue working with the ROM

The esp_flash API has a side effects: it modifies the clock control
registers, and this makes the clock inconsistent with the ROM variable
`g_rom_spiflash_dummy_len_plus`.

This commit helps the ROM to get the correct dummy cycles required by
the latest clock settings. Every device on the SPI1 bus will update the
ROM variable when it modifies the clock registers.

4 years agoMerge branch 'bugfix/ws_transport_revert_masked_after_sending' into 'master'
Angus Gratton [Mon, 29 Jul 2019 03:00:05 +0000 (11:00 +0800)]
Merge branch 'bugfix/ws_transport_revert_masked_after_sending' into 'master'

tcp_transport: websocket layer modifies in-buffer data (for masked transports)....

See merge request espressif/esp-idf!5546

4 years agoexamples: remove non-existent options from sdkconfig.defaults
Ivan Grokhotkov [Fri, 26 Jul 2019 12:36:21 +0000 (14:36 +0200)]
examples: remove non-existent options from sdkconfig.defaults

4 years agoMerge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:57:20 +0000 (10:57 +0800)]
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa' into 'master'

esp32: Dis interrupts up to 5 lvl for DPORT

Closes IDF-728

See merge request espressif/esp-idf!5344

4 years agoMerge branch 'bugfix/get-started-legacy-links' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:56:01 +0000 (10:56 +0800)]
Merge branch 'bugfix/get-started-legacy-links' into 'master'

docs: getting-started: fix broken links

See merge request espressif/esp-idf!5549

4 years agopthread: remove ESP32_ prefix from Kconfig options
Ivan Grokhotkov [Sun, 28 Jul 2019 09:22:51 +0000 (11:22 +0200)]
pthread: remove ESP32_ prefix from Kconfig options

pthread implementation is not chip-specific, so this prefix is not
needed.

4 years agopthread: force linking pthread implementation from IDF
Ivan Grokhotkov [Sun, 28 Jul 2019 09:22:08 +0000 (11:22 +0200)]
pthread: force linking pthread implementation from IDF

Force linking pthread implementation from IDF, instead of the weak
functions provided by gthread library. Previously this would either
work or not depending on the linking order.

Thanks @bpietsch for suggesting the fix.

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

4 years agoMerge branch 'bugfix/add_flash_config_in_app_startup' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:42:27 +0000 (10:42 +0800)]
Merge branch 'bugfix/add_flash_config_in_app_startup' into 'master'

bugfix(flash): add flash config in app startup

See merge request espressif/esp-idf!5459

4 years agosdmmc_io: support to print CIS information
Michael (XIAO Xufeng) [Fri, 12 Jul 2019 05:20:04 +0000 (13:20 +0800)]
sdmmc_io: support to print CIS information

Currently only ESP slaves can be parsed correctly.

4 years agoMerge branch 'feature/gcc_reorder_blocks' into 'master'
Angus Gratton [Mon, 29 Jul 2019 02:16:49 +0000 (10:16 +0800)]
Merge branch 'feature/gcc_reorder_blocks' into 'master'

build system: add -freorder-blocks option for release config

See merge request espressif/esp-idf!3990

4 years agotools: export.sh: fix ESP-IDF path detection on macos
Ivan Grokhotkov [Sun, 28 Jul 2019 08:04:36 +0000 (10:04 +0200)]
tools: export.sh: fix ESP-IDF path detection on macos

The argument passed to the function is in $1; $0 contains `-bash`.
Before this fix, IDF_PATH would be set to $PWD instead of the correct
path.

4 years agoesp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS
Ivan Grokhotkov [Sun, 28 Jul 2019 05:48:21 +0000 (07:48 +0200)]
esp32: also add -mfix-esp32-psram-cache-issue to LDFLAGS

xtensa-esp32-elf-gcc selects among the multilib configurations based
on the presence of -mfix-esp32-psram-cache-issue flag. Pass this flag
in LDFLAGS so that the correct libraries are linked.

Reported in https://github.com/espressif/esp-idf/issues/3624

4 years agotools: idf_tools.py: allow downloading for a different platform
Ivan Grokhotkov [Thu, 18 Jul 2019 15:20:40 +0000 (17:20 +0200)]
tools: idf_tools.py: allow downloading for a different platform

4 years agobuild_system: add -freorder-blocks option for release config
Dmitry Plotnikov [Thu, 4 Jul 2019 07:02:20 +0000 (11:02 +0400)]
build_system: add -freorder-blocks option for release config

4 years agoMerge branch 'bugfix/malloc_warnings_rtc' into 'master'
Angus Gratton [Sat, 27 Jul 2019 09:27:24 +0000 (17:27 +0800)]
Merge branch 'bugfix/malloc_warnings_rtc' into 'master'

rtc: fix minor malloc issues found by static analyzer

See merge request espressif/esp-idf!5144

4 years agoMerge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master'
Angus Gratton [Sat, 27 Jul 2019 09:25:25 +0000 (17:25 +0800)]
Merge branch 'bugfix/mdns_fix_discard_packet_on_invalid_name' into 'master'

mdns: fix ignoring mdns packet if contained an invalid name entries in question field

See merge request espressif/esp-idf!5307

4 years agoglobal: update note in the partition tables
Ivan Grokhotkov [Sat, 27 Jul 2019 08:27:38 +0000 (10:27 +0200)]
global: update note in the partition tables

The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.

4 years agoMerge branch 'bugfix/esp_event_add_missing_include' into 'master'
Mahavir Jain [Fri, 26 Jul 2019 10:30:34 +0000 (18:30 +0800)]
Merge branch 'bugfix/esp_event_add_missing_include' into 'master'

esp_event: add missing header include

See merge request espressif/esp-idf!5630

4 years agoMerge branch 'feature/ext_flash_example' into 'master'
Ivan Grokhotkov [Fri, 26 Jul 2019 08:30:37 +0000 (16:30 +0800)]
Merge branch 'feature/ext_flash_example' into 'master'

examples: add FATFS in external Flash example

See merge request espressif/esp-idf!5579

4 years agoesp_event: add missing header include
Mahavir Jain [Tue, 9 Jul 2019 06:38:31 +0000 (12:08 +0530)]
esp_event: add missing header include

Required header was indirectly getting resolved through lwip includes,
apparently does not work if application is not using lwip networking stack.

4 years agocomponent/bt: Fix BLE SMP free without init
baohongde [Fri, 26 Jul 2019 03:18:42 +0000 (11:18 +0800)]
component/bt: Fix BLE SMP free without init

4 years agocomponent/bt: Avoid A2DP demo to use unallocated memory
baohongde [Fri, 26 Jul 2019 03:17:06 +0000 (11:17 +0800)]
component/bt: Avoid A2DP demo to use unallocated memory

4 years agocomponent/bt: Avoid PLC to use unallocated memory
baohongde [Fri, 26 Jul 2019 06:39:50 +0000 (14:39 +0800)]
component/bt: Avoid PLC to use unallocated memory

Closes https://github.com/espressif/esp-idf/pull/3799

4 years agoexamples: add FATFS in external Flash example
Ivan Grokhotkov [Thu, 18 Jul 2019 13:25:06 +0000 (15:25 +0200)]
examples: add FATFS in external Flash example

Demonstrates the usage of the new spi_bus_add_flash_device,
esp_flash_init, esp_partition_register_external functions.

4 years agoMerge branch 'bugfix/mesh_scan_done_crash' into 'master'
Jiang Jiang Jian [Thu, 25 Jul 2019 10:01:47 +0000 (18:01 +0800)]
Merge branch 'bugfix/mesh_scan_done_crash' into 'master'

Bugfix: mesh scan done crash caused by uint8_t overflow

See merge request espressif/esp-idf!5590

4 years agoMerge branch 'bugfix/dont_rerun_reconfig_on_tests' into 'master'
Ivan Grokhotkov [Thu, 25 Jul 2019 04:24:03 +0000 (12:24 +0800)]
Merge branch 'bugfix/dont_rerun_reconfig_on_tests' into 'master'

Don't re-run reconfig on tests executed with same parameters

Closes IDF-732

See merge request espressif/esp-idf!5335

4 years agoMerge branch 'bugfix/tools_installer_fixes' into 'master'
Ivan Grokhotkov [Thu, 25 Jul 2019 04:20:28 +0000 (12:20 +0800)]
Merge branch 'bugfix/tools_installer_fixes' into 'master'

tools: fixes for idf_tools.py and Windows tools installer

Closes IDFGH-1545 and IDFGH-1544

See merge request espressif/esp-idf!5595

4 years agoMerge branch 'bugfix/fix_WiFi_stack_can_freeze' into 'master'
Jiang Jiang Jian [Thu, 25 Jul 2019 02:42:54 +0000 (10:42 +0800)]
Merge branch 'bugfix/fix_WiFi_stack_can_freeze' into 'master'

esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM

Closes IDFGH-1383

See merge request espressif/esp-idf!5576

4 years agoesp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
xiehang [Fri, 19 Jul 2019 07:32:05 +0000 (15:32 +0800)]
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM

4 years agomesh: fix scan done crash caused by uint8_t overflow
chenyudong [Fri, 19 Jul 2019 12:02:09 +0000 (20:02 +0800)]
mesh: fix scan done crash caused by uint8_t overflow

4 years agotools: installer: allow changing installation path
Ivan Grokhotkov [Wed, 24 Jul 2019 04:44:30 +0000 (06:44 +0200)]
tools: installer: allow changing installation path

Installation path can now be changed in a subsequent install,
without uninstalling and logging out.
The default value of the installation path is set to
IDF_TOOLS_PATH environment variable, if it was already set by the
previous installation, or by the user.

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

4 years agoMerge branch 'bugfix/ethernet_apll_clock_config' into 'master'
Angus Gratton [Wed, 24 Jul 2019 03:28:10 +0000 (11:28 +0800)]
Merge branch 'bugfix/ethernet_apll_clock_config' into 'master'

fix ethernet apll clock config and other optimization

Closes IDFGH-1432, IDFGH-1503, and IDFGH-1504

See merge request espressif/esp-idf!5499

4 years agoidf_ext.py: don't rerun reconfig for tests when possible
Sergei Silnov [Fri, 21 Jun 2019 08:45:13 +0000 (10:45 +0200)]
idf_ext.py: don't rerun reconfig for tests when possible

4 years agoMerge branch 'doc/resolve-pdf-building-issues' into 'master'
Krzysztof Budzynski [Tue, 23 Jul 2019 09:45:42 +0000 (17:45 +0800)]
Merge branch 'doc/resolve-pdf-building-issues' into 'master'

Doc/resolve pdf building issues

See merge request espressif/esp-idf!5566

4 years agoReplace gif images on EN and zh_CN index pages with identical png images for successf...
Kirill Chalov [Tue, 23 Jul 2019 09:45:41 +0000 (17:45 +0800)]
Replace gif images on EN and zh_CN index pages with identical png images for successful building of PDFs on ReadTheDocs.

4 years agotools: tools.json: don't require ulp-binutils and openocd on x86 Linux
Ivan Grokhotkov [Tue, 23 Jul 2019 04:57:36 +0000 (06:57 +0200)]
tools: tools.json: don't require ulp-binutils and openocd on x86 Linux

Fixes https://esp32.com/viewtopic.php?f=13&t=11540

4 years agotools: idf_tools.py: improve error message when no downloads found
Ivan Grokhotkov [Tue, 23 Jul 2019 04:55:30 +0000 (06:55 +0200)]
tools: idf_tools.py: improve error message when no downloads found

...for the given platform.
Previously would raise AssertionError.

4 years agotools: install.bat: bail out if idf_tools.py call fails
Ivan Grokhotkov [Tue, 23 Jul 2019 04:20:52 +0000 (06:20 +0200)]
tools: install.bat: bail out if idf_tools.py call fails

Makes installation errors easier to spot.