]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agocmake: fix variable scope issues
Renz Christian Bagaporo [Thu, 9 May 2019 09:39:11 +0000 (17:39 +0800)]
cmake: fix variable scope issues

5 years agoMerge branch 'bugfix/http_header_parser_resolution_v3.3' into 'release/v3.3'
Mahavir Jain [Thu, 12 Sep 2019 10:46:22 +0000 (18:46 +0800)]
Merge branch 'bugfix/http_header_parser_resolution_v3.3' into 'release/v3.3'

(backport v3.3) esp_http_server : Bugfix in parsing of empty header values

See merge request espressif/esp-idf!6038

5 years agoMerge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Thu, 12 Sep 2019 02:39:14 +0000 (10:39 +0800)]
Merge branch 'bugfix/lwip_prefer_allocate_memory_in_psram_v3.3' into 'release/v3.3'

l: Try to allocate some L memories in SPIRAM first. If failed, try to allocate in internal RAM then.(Backport v3.3)

See merge request espressif/esp-idf!5671

5 years agoMerge branch 'bugfix/kconfig_no_split_headers_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 10 Sep 2019 23:54:09 +0000 (07:54 +0800)]
Merge branch 'bugfix/kconfig_no_split_headers_v3.3' into 'release/v3.3'

kconfig: Don't create "split" directory structures under build/include/config (v3.3)

See merge request espressif/esp-idf!6000

5 years agolwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate...
Xia Xiaotian [Wed, 31 Jul 2019 13:06:22 +0000 (21:06 +0800)]
lwip: Try to allocate some LWIP memories in SPIRAM first. If failed, try to allocate in internal RAM then.

5 years agokconfig: Don't create "split" directory structures under build/include/config
Angus Gratton [Mon, 15 Apr 2019 04:30:33 +0000 (14:30 +1000)]
kconfig: Don't create "split" directory structures under build/include/config

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

If a config item contains a reserved filename in Windows like _CON_ then an invalid
directory is created.

We don't rely on this feature all, so disable it.

5 years agoesp_http_server : Bugfix in parsing of empty header values
Chinmay [Mon, 9 Sep 2019 06:35:40 +0000 (12:05 +0530)]
esp_http_server : Bugfix in parsing of empty header values

This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.

The issue is was due to asymmetric behavior of `http_parser` library, which in case of:

    non-empty header values : invokes callbacks with the pointer to the start of a value
    empty header values : invokes callbacks with pointer to the start of next header or section

Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.

Closes IDFGH-1539

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

5 years agoMerge branch 'bugfix_kconfig_deps_missing_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:17:29 +0000 (23:17 +0800)]
Merge branch 'bugfix_kconfig_deps_missing_v3.3' into 'release/v3.3'

kconfig: Add -MP option so .d files include empty targets (v3.3)

See merge request espressif/esp-idf!5847

5 years agoMerge branch 'update/cjson_v1_7_12_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:16:25 +0000 (23:16 +0800)]
Merge branch 'update/cjson_v1_7_12_v3.3' into 'release/v3.3'

Update cJSON to v1.7.12 (v3.3)

See merge request espressif/esp-idf!5851

5 years agoMerge branch 'test/use_correct_config_for_nvs_compatible_case_v3.3' into 'release...
Jiang Jiang Jian [Sun, 8 Sep 2019 15:14:29 +0000 (23:14 +0800)]
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.3' into 'release/v3.3'

test: fix nvs compatible case error (backport v3.3)

See merge request espressif/esp-idf!5894

5 years agoMerge branch 'fix/sdio_slave_reset_infloop_leak_3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:13:41 +0000 (23:13 +0800)]
Merge branch 'fix/sdio_slave_reset_infloop_leak_3.3' into 'release/v3.3'

sdio_slave: fix the send_flush infinite loop issue (backport v3.3)

See merge request espressif/esp-idf!5836

5 years agoMerge branch 'feature/move_gettimeofday_in_clock_gettime_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:13:13 +0000 (23:13 +0800)]
Merge branch 'feature/move_gettimeofday_in_clock_gettime_v3.3' into 'release/v3.3'

newlib: Move _gettimeofday_r call in clock_gettime (v3.3)

See merge request espressif/esp-idf!5717

5 years agoMerge branch 'bugfix/fix_wifi_stack_can_freeze_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:11:57 +0000 (23:11 +0800)]
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.3' into 'release/v3.3'

esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM (v3.3)

See merge request espressif/esp-idf!5617

5 years agoMerge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.3' into...
Jiang Jiang Jian [Sun, 8 Sep 2019 15:11:18 +0000 (23:11 +0800)]
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error_v3.3' into 'release/v3.3'

component/bt: fix unpack hci enhance connection complete event error(backport v3.3)

See merge request espressif/esp-idf!5281

5 years agoMerge branch 'bugfix/pm_isr_exit_lock_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:10:02 +0000 (23:10 +0800)]
Merge branch 'bugfix/pm_isr_exit_lock_v3.3' into 'release/v3.3'

pm: prevent interrupt nesting during esp_pm_impl_isr_hook (backport v3.3)

See merge request espressif/esp-idf!4970

5 years agoMerge branch 'test/detect_exception_in_idf_dut_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:09:48 +0000 (23:09 +0800)]
Merge branch 'test/detect_exception_in_idf_dut_v3.3' into 'release/v3.3'

tiny-test-fw: support detect exception in IDFDUT (backport v3.3)

See merge request espressif/esp-idf!4542

5 years agoMerge branch 'bugfix/btdm_mem_leak_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Sun, 8 Sep 2019 15:09:24 +0000 (23:09 +0800)]
Merge branch 'bugfix/btdm_mem_leak_v3.3' into 'release/v3.3'

components/bt: Fix memory leak about rfcomm

See merge request espressif/esp-idf!5622

5 years agoMerge branch 'bugfix/flash_encryption_disable_plaintext_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 5 Sep 2019 00:00:39 +0000 (08:00 +0800)]
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.3' into 'release/v3.3'

flash encryption: Add config option to disable any plaintext reflashes (3.3)

See merge request espressif/esp-idf!5280

5 years agoMerge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 3 Sep 2019 05:36:54 +0000 (13:36 +0800)]
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.3' into 'release/v3.3'

Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.

See merge request espressif/esp-idf!5899

5 years agoMerge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.3' into 'release...
Angus Gratton [Tue, 3 Sep 2019 05:34:54 +0000 (13:34 +0800)]
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.3' into 'release/v3.3'

esp32: Dis interrupts up to 5 lvl for DPORT (v3.3)

See merge request espressif/esp-idf!5713

5 years agoMerge branch 'bugfix/httpd_sess_close_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 3 Sep 2019 01:57:37 +0000 (09:57 +0800)]
Merge branch 'bugfix/httpd_sess_close_v3.3' into 'release/v3.3'

httpd_sess_close: Check for session validity before closing (v3.3)

See merge request espressif/esp-idf!5743

5 years agoMerge branch 'bugfix/add_flash_config_in_app_startup_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 2 Sep 2019 00:50:38 +0000 (08:50 +0800)]
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.3' into 'release/v3.3'

bugfix(flash): add flash config in app startup (backport v3.3)

See merge request espressif/esp-idf!5928

5 years agoMerge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.3' into... v3.3
Jiang Jiang Jian [Fri, 30 Aug 2019 11:09:02 +0000 (19:09 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.3' into 'release/v3.3'

components/bt: set the minimum encryption key size to be 7 octects for BR/EDR link

See merge request espressif/esp-idf!5872

5 years agoMerge branch 'bugfix/test_esp_efuse_table_on_host_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 30 Aug 2019 08:28:07 +0000 (16:28 +0800)]
Merge branch 'bugfix/test_esp_efuse_table_on_host_v3.3' into 'release/v3.3'

CI: Fix path in the Efuse table test (v3.3)

See merge request espressif/esp-idf!5954

5 years agoMerge branch 'bugfix/pr_3250_v3.3' into 'release/v3.3'
Mahavir Jain [Thu, 29 Aug 2019 10:40:15 +0000 (18:40 +0800)]
Merge branch 'bugfix/pr_3250_v3.3' into 'release/v3.3'

(backport v3.3) Fix: Lost username when setting new URL with a path.

See merge request espressif/esp-idf!5665

5 years agoFix path in the Efuse table test
Roland Dobai [Tue, 27 Aug 2019 09:58:45 +0000 (11:58 +0200)]
Fix path in the Efuse table test

5 years agoBugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.
redchenjs [Mon, 1 Jul 2019 11:48:47 +0000 (19:48 +0800)]
Bugfix(i2s): fixed i2s left/right channels swapped issue for release/v3.3.

The right channel data is in the high position, so the I2S_TX_MSB_RIGHT & I2S_RX_MSB_RIGHT bits should be set.

5 years agoesp_http_client: fix CI issues & return value
Roland Dobai [Wed, 28 Aug 2019 10:47:28 +0000 (16:17 +0530)]
esp_http_client: fix CI issues & return value

5 years agoFix: Lost username when setting new URL with a path.
Nguyễn Hồng Quân [Mon, 8 Apr 2019 16:15:04 +0000 (23:15 +0700)]
Fix: Lost username when setting new URL with a path.

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

5 years agohttpd_sess_close: Check for session validity before closing
Piyush Shah [Tue, 6 Aug 2019 14:00:58 +0000 (19:30 +0530)]
httpd_sess_close: Check for session validity before closing

If httpd_sess_trigger_close() gets called twice for the same socket,
the first httpd_sess_close() cb closes the correct socket, but the second
invocation closes the wrong socket which was just accepted and added to
the socket db. Checking for the lru counter will help identify this as the
counter is set only for requests actually served.

5 years agocomponents/bt: set the minimum encryption key size to be 7 octects for BR/EDR link...
wangmengyang [Fri, 23 Aug 2019 00:28:41 +0000 (08:28 +0800)]
components/bt: 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.

5 years agobugfix(flash): add flash config in app startup
chenjianqiang [Fri, 5 Jul 2019 12:21:36 +0000 (20:21 +0800)]
bugfix(flash): add flash config in app startup

We fixed some flash bugs in bootloader, but for the users used the old
vrsion bootloader, they can not fix these bugs via OTA, the solution is
add these updates in app startup.

These updates include:
1. SPI flash gpio matrix and drive strength configuration
2. SPI flash clock configuration
3. SPI flash read dummy configuration
4. SPI flash cs timing configuration
5. Update flash id of g_rom_flashchip

5 years agotest: fix nvs compatible case error:
He Yin Ling [Sun, 25 Aug 2019 06:09:17 +0000 (14:09 +0800)]
test: fix nvs compatible case error:

nvs compatible test case uses new test env and app. update test config
file.

5 years agoMerge branch 'bugfix/reduce_ci_config_file_size_v3.3' into 'release/v3.3'
He Yin Ling [Tue, 27 Aug 2019 02:47:42 +0000 (10:47 +0800)]
Merge branch 'bugfix/reduce_ci_config_file_size_v3.3' into 'release/v3.3'

CI: use parallel attribute in CI config file

See merge request espressif/esp-idf!5895

5 years agoApply suggestion to tools/ci/build_examples_cmake.sh
He Yin Ling [Mon, 26 Aug 2019 03:00:46 +0000 (11:00 +0800)]
Apply suggestion to tools/ci/build_examples_cmake.sh

5 years agoApply suggestion to tools/ci/build_examples.sh
He Yin Ling [Mon, 26 Aug 2019 03:00:33 +0000 (11:00 +0800)]
Apply suggestion to tools/ci/build_examples.sh

5 years agoCI: use parallel attribute in CI config file
He Yin Ling [Sun, 28 Apr 2019 07:29:05 +0000 (15:29 +0800)]
CI: use parallel attribute in CI config file

5 years agoesp32: Add UTs for DPORT and Hi-interrupt
Konstantin Kondrashov [Fri, 28 Jun 2019 05:34:19 +0000 (13:34 +0800)]
esp32: Add UTs for DPORT and Hi-interrupt

5 years agoesp32: Dis interrupts up to 5 lvl for DPORT
Konstantin Kondrashov [Tue, 25 Jun 2019 11:23:10 +0000 (19:23 +0800)]
esp32: Dis interrupts up to 5 lvl for DPORT

Disable interrupts for both DPORT workarounds up to 5 lvl.

Closes: https://esp32.com/viewtopic.php?f=2&t=10981&sid=d125cec233070ed4d2c5410bf5d3d74a
Closes: IDF-728
5 years agoUpdate cJSON to v1.7.12
Angus Gratton [Wed, 14 Aug 2019 00:03:27 +0000 (10:03 +1000)]
Update cJSON to v1.7.12

Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354

5 years agokconfig: Add -MP option so .d files include empty targets
Angus Gratton [Mon, 19 Aug 2019 01:42:39 +0000 (11:42 +1000)]
kconfig: Add -MP option so .d files include empty targets

Prevents make-level errors when switching IDF versions, as headers may be removed.

Similar to some mentioned here:
https://github.com/espressif/esp-idf/issues/712

5 years agoMerge branch 'bugfix/improve_spi_timing_for_flash_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Tue, 20 Aug 2019 08:33:57 +0000 (16:33 +0800)]
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.3' into 'release/v3.3'

bugfix(flash): improve spi cs timing settings for flash (backport v3.3)

See merge request espressif/esp-idf!5514

5 years agosdio_slave: fix the send_flush infinite loop issue
Michael (XIAO Xufeng) [Thu, 27 Jun 2019 03:28:24 +0000 (11:28 +0800)]
sdio_slave: fix the send_flush infinite loop issue

Also add some helper functions.

5 years agoMerge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 19 Aug 2019 05:03:54 +0000 (13:03 +0800)]
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.3' into 'release/v3.3'

bugfix(flash): add spi dio address bitlen configure in psram init (backport v3.3)

See merge request espressif/esp-idf!5788

5 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

5 years agoMerge branch 'feature/dport_eco_revision2_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 16 Aug 2019 05:14:49 +0000 (13:14 +0800)]
Merge branch 'feature/dport_eco_revision2_v3.3' into 'release/v3.3'

make dport workaround depend on chip revision (v3.3)

See merge request espressif/esp-idf!5766

5 years agoMerge branch 'bugfix/link_test_components_to_executable_directly' into 'release/v3.3'
Angus Gratton [Thu, 15 Aug 2019 06:59:56 +0000 (14:59 +0800)]
Merge branch 'bugfix/link_test_components_to_executable_directly' into 'release/v3.3'

cmake: link test components to executable directly

See merge request espressif/esp-idf!5739

5 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

5 years agoMerge branch 'bugfix/xTaskIncrementTick_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 13 Aug 2019 05:42:26 +0000 (13:42 +0800)]
Merge branch 'bugfix/xTaskIncrementTick_v3.3' into 'release/v3.3'

freertos: Fix xTaskIncrementTick for unwind the Tick for CPU1 (v3.3)

See merge request espressif/esp-idf!5034

5 years agoMerge branch 'bugfix/gpio_intr_enable_bug_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 12 Aug 2019 05:00:15 +0000 (13:00 +0800)]
Merge branch 'bugfix/gpio_intr_enable_bug_v3.3' into 'release/v3.3'

bugfix(GPIO):  Fixed GPIO interrupt bug for v3.3

See merge request espressif/esp-idf!5650

5 years agoMerge branch 'bugfix/cmake_extra_component_dirs_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 12 Aug 2019 04:44:19 +0000 (12:44 +0800)]
Merge branch 'bugfix/cmake_extra_component_dirs_v3.3' into 'release/v3.3'

CI: additional CMake build system tests wrt EXTRA_COMPONENT_DIRS (v3.3)

See merge request espressif/esp-idf!5109

5 years agoMerge branch 'bugfix/hwcrypt_fault_inj_v3.3' into 'release/v3.3'
Angus Gratton [Sun, 11 Aug 2019 06:04:36 +0000 (14:04 +0800)]
Merge branch 'bugfix/hwcrypt_fault_inj_v3.3' into 'release/v3.3'

AES & SHA fault injection checks (backport v3.3)

See merge request espressif/esp-idf!5710

5 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.

5 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.

5 years agocmake: link test components to executable directly
Renz Christian Bagaporo [Fri, 9 Aug 2019 07:18:06 +0000 (15:18 +0800)]
cmake: link test components to executable directly

5 years agonewlib: Move _gettimeofday_r call in clock_gettime
raldone01 [Tue, 16 Jul 2019 15:52:04 +0000 (17:52 +0200)]
newlib: Move _gettimeofday_r call in clock_gettime

Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3789

5 years agohwcrypto: Add AES fault injection check
Angus Gratton [Fri, 17 May 2019 19:54:40 +0000 (03:54 +0800)]
hwcrypto: Add AES fault injection check

Hardware AES-CBC performance changes:

Release config 11.0MB/sec -> 10.8MB/sec
Debug config 9.4MB/sec -> 9.8MB/sec

(Unrolling the loop to optimize the check improves
performance at -Og, even with the fault check.)

5 years agoMerge branch 'bugfix/sec_boot_ota_fail_v33' into 'release/v3.3'
Angus Gratton [Tue, 6 Aug 2019 06:51:06 +0000 (14:51 +0800)]
Merge branch 'bugfix/sec_boot_ota_fail_v33' into 'release/v3.3'

Bugfix: ota fails with secure boot on for image size greater than 3.2MB (backport v3.3)

See merge request espressif/esp-idf!5581

5 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 for release/v3.3

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://github.com/espressif/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://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
5 years agoMerge branch 'bugfix/btdm_sleep_twice_v3.3' into 'release/v3.3' v3.3-rc
Jiang Jiang Jian [Sun, 4 Aug 2019 07:51:36 +0000 (15:51 +0800)]
Merge branch 'bugfix/btdm_sleep_twice_v3.3' into 'release/v3.3'

bugfix btdm sleep twice after wakeup request

See merge request espressif/esp-idf!5638

5 years agoMerge branch 'doc/resolve-pdf-building-issues_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 1 Aug 2019 06:09:57 +0000 (14:09 +0800)]
Merge branch 'doc/resolve-pdf-building-issues_v3.3' into 'release/v3.3'

(backport v3.3) Replace gif images on EN and zh_CN index pages with identical png images for...

See merge request espressif/esp-idf!5655

5 years agoMerge branch 'bugfix/libsodium_test_timeouts_v3.3' into 'release/v3.3'
Angus Gratton [Tue, 30 Jul 2019 18:18:50 +0000 (02:18 +0800)]
Merge branch 'bugfix/libsodium_test_timeouts_v3.3' into 'release/v3.3'

test: Set timeout of libsodium ed25519_convert test to 60s (v3.3)

See merge request espressif/esp-idf!5554

5 years agoflash encryption: Add config option to disable any plaintext reflashes
Angus Gratton [Wed, 12 Jun 2019 01:03:42 +0000 (11:03 +1000)]
flash encryption: Add config option to disable any plaintext reflashes

Enabled by default when Secure Boot is on, so Flash Encryption protection
is always available in case of a Secure Boot bypass.

5 years agoReplace gif images on EN and zh_CN index pages with identical png images for successf...
Kirill Chalov [Tue, 30 Jul 2019 07:36:58 +0000 (15:36 +0800)]
Replace gif images on EN and zh_CN index pages with identical png images for successful building of PDFs on ReadTheDocs.

5 years agotest: Set timeout of libsodium ed25519_convert test to 60s
Angus Gratton [Wed, 17 Jul 2019 02:24:29 +0000 (12:24 +1000)]
test: Set timeout of libsodium ed25519_convert test to 60s

Test takes 28s-29s to run in some configs, can fail in CI.

5 years agoMerge branch 'bugfix/docs_recover_some_build_time_v3.3' into 'release/v3.3'
Angus Gratton [Mon, 29 Jul 2019 11:16:46 +0000 (19:16 +0800)]
Merge branch 'bugfix/docs_recover_some_build_time_v3.3' into 'release/v3.3'

docs: Remove building of zipped HTML docs from build process and consequently...

See merge request espressif/esp-idf!5639

5 years agodocs: Remove building of zipped HTML docs from build process and consequently from...
krzychb [Sat, 27 Jul 2019 23:16:47 +0000 (01:16 +0200)]
docs: Remove building of zipped HTML docs from build process and consequently from Downloads as many users don't use that. We are still providing PDF documentation for people who prefer viewing docs off-line. Removal of this build step is expected to save almost 10 minutes of build time and resolve issue of build failures because of hitting 40 min build time limit on Read The Docs.

5 years agobugfix btdm sleep twice after wakeup request
Tian Hao [Sat, 27 Jul 2019 09:03:55 +0000 (17:03 +0800)]
bugfix btdm sleep twice after wakeup request

This problem may cause HCI send command timeout.

When host call VHCI api to do btdm_wakeup_request, then controller
wakeup process will be handled in ISR and controller task context.
As host task priority is lower than controller task and ISR,
it will cause an incorrect behavior that before VHCI take the
rx_flow_on_semaphore, controller sleep again, then VHCI cannot take
the semaphore and has to wait the automatic wakeup.

5 years agoMerge branch 'bugfix/fix_mcpwm_example_memory_bug_v3.3' into 'release/v3.3'
Angus Gratton [Sat, 27 Jul 2019 09:27:41 +0000 (17:27 +0800)]
Merge branch 'bugfix/fix_mcpwm_example_memory_bug_v3.3' into 'release/v3.3'

Bugfix(example):  Fixed MCPWM example bug for release/v3.3

See merge request espressif/esp-idf!5544

5 years agoMerge branch 'bugfix/esp_event_add_missing_include_v3.3' into 'release/v3.3'
Mahavir Jain [Fri, 26 Jul 2019 11:44:32 +0000 (19:44 +0800)]
Merge branch 'bugfix/esp_event_add_missing_include_v3.3' into 'release/v3.3'

esp_event: add missing header include (v3.3)

See merge request espressif/esp-idf!5632

5 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.

5 years agoMerge branch 'bugfix/tcp_transport_http_client' into 'release/v3.3'
Mahavir Jain [Thu, 25 Jul 2019 11:43:27 +0000 (19:43 +0800)]
Merge branch 'bugfix/tcp_transport_http_client' into 'release/v3.3'

Minor bugfixes in esp_http_client and tcp_transport (backport v3.3)

See merge request espressif/esp-idf!5218

5 years agocomponents/bt: Fix memory leak about rfcomm
baohongde [Thu, 25 Jul 2019 08:22:50 +0000 (16:22 +0800)]
components/bt: Fix memory leak about rfcomm

5 years agoesp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM
xiehang [Thu, 25 Jul 2019 06:37:20 +0000 (14:37 +0800)]
esp_wifi: ESP32_WIFI_RX_BA_WIN should be less than ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM

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 agotcp_transport: Fix case sensitive header comparison
Jitin George [Tue, 12 Mar 2019 13:16:04 +0000 (18:46 +0530)]
tcp_transport: Fix case sensitive header comparison

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

5 years agoesp_http_client: Fix header sent event bug
Jitin George [Thu, 14 Mar 2019 05:50:02 +0000 (11:20 +0530)]
esp_http_client: Fix header sent event bug

5 years agoMerge branch 'bugfix/app_update_tests_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 18 Jul 2019 10:25:01 +0000 (18:25 +0800)]
Merge branch 'bugfix/app_update_tests_v3.3' into 'release/v3.3'

app_update: Add [timeout=90] for UTs (v3.3)

See merge request espressif/esp-idf!5564

5 years agoMerge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.3' into 'release...
Jiang Jiang Jian [Thu, 18 Jul 2019 02:44:31 +0000 (10:44 +0800)]
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.3' into 'release/v3.3'

fix the watchdog bug during WiFi scan and BLE scan(v3.3)

See merge request espressif/esp-idf!5506

5 years agoapp_update: Add [timeout=90]
KonstantinKondrashov [Wed, 17 Jul 2019 02:28:50 +0000 (10:28 +0800)]
app_update: Add [timeout=90]

5 years agoMerge branch 'bugfix/i2s_apll_clock_fix_v3.3' into 'release/v3.3'
Ivan Grokhotkov [Wed, 17 Jul 2019 06:33:59 +0000 (14:33 +0800)]
Merge branch 'bugfix/i2s_apll_clock_fix_v3.3' into 'release/v3.3'

driver/i2s: fix apll_clock_rate for different sample rates (v3.3)

See merge request espressif/esp-idf!5448

5 years agoMerge branch 'bugfix/spi_flash_mmap_stale_data_issue_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 17 Jul 2019 06:26:33 +0000 (14:26 +0800)]
Merge branch 'bugfix/spi_flash_mmap_stale_data_issue_v3.3' into 'release/v3.3'

spi_flash: fix stale read issue for memory mapped partition (v3.3)

See merge request espressif/esp-idf!5435

5 years agoMerge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.3' into 'release/v3.3'
Jiang Jiang Jian [Tue, 16 Jul 2019 10:41:57 +0000 (18:41 +0800)]
Merge branch 'bugfix/fix_flash_read_error_in_dio_26MHz_mode_v3.3' into 'release/v3.3'

bugfix(flash): fix flash read error in DIO/26MHz mode (backport v3.3)

See merge request espressif/esp-idf!5532

5 years agoFixed the bug that the malloc memory size is smaller than the actual required.
Ramesh [Wed, 10 Jul 2019 03:25:36 +0000 (08:55 +0530)]
Fixed the bug that the malloc memory size is smaller than the actual required.

5 years agofix the watchdog bug during WiFi scan and BLE scan
zhangyanjiao [Tue, 16 Jul 2019 02:31:19 +0000 (10:31 +0800)]
fix the watchdog bug during WiFi scan and BLE scan

5 years agobugfix(flash): improve spi cs timing settings for flash
chenjianqiang [Thu, 9 May 2019 07:26:24 +0000 (15:26 +0800)]
bugfix(flash): improve spi cs timing settings for flash

cs setup time is recomemded to be 1.5T, and cs hold time is recommended to be 2.5T.
(cs_setup = 1, cs_setup_time = 0; cs_hold = 1, cs_hold_time = 1)

5 years agobugfix(flash): fix flash read error in DIO/26MHz mode
chenjianqiang [Thu, 27 Jun 2019 12:19:26 +0000 (20:19 +0800)]
bugfix(flash): fix flash read error in DIO/26MHz mode

5 years agoMerge branch 'bugfix/cmake_project_vars_not_set_by_redefinition_v3.3' into 'release...
Angus Gratton [Fri, 12 Jul 2019 07:01:32 +0000 (15:01 +0800)]
Merge branch 'bugfix/cmake_project_vars_not_set_by_redefinition_v3.3' into 'release/v3.3'

cmake: set variables set by project call (backport v3.3)

See merge request espressif/esp-idf!5487

5 years agoMerge branch 'bugfix/windows_detection_on_make_v3.3' into 'release/v3.3'
Angus Gratton [Fri, 12 Jul 2019 07:00:30 +0000 (15:00 +0800)]
Merge branch 'bugfix/windows_detection_on_make_v3.3' into 'release/v3.3'

Windows detection on Makefiles cleanup (backport v3.3)

See merge request espressif/esp-idf!5490

5 years agoMerge branch 'bugfix/fix_uart_wait_done_bug_v3.3' into 'release/v3.3'
Angus Gratton [Thu, 11 Jul 2019 06:56:14 +0000 (14:56 +0800)]
Merge branch 'bugfix/fix_uart_wait_done_bug_v3.3' into 'release/v3.3'

bugfix(UART): fixed two UART issues for release/v3.3

See merge request espressif/esp-idf!5481

5 years agospi_flash: add test case for stale read issue on memory mapped partition
Mahavir Jain [Fri, 8 Mar 2019 05:37:10 +0000 (11:07 +0530)]
spi_flash: add test case for stale read issue on memory mapped partition

5 years agospi_flash: fix stale read issue for memory mapped partition
Mahavir Jain [Fri, 8 Mar 2019 05:30:49 +0000 (11:00 +0530)]
spi_flash: fix stale read issue for memory mapped partition

On flash program operation (either erase or write), if corresponding address has
cache mapping present then cache is explicitly flushed (for both pro and app cpu)

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

5 years agocmake: refactor finding components
Renz Christian Bagaporo [Wed, 10 Jul 2019 08:28:44 +0000 (16:28 +0800)]
cmake: refactor finding components

5 years agoci: additional Cmake tests for EXTRA_COMPONENT_DIRS
Renz Christian Bagaporo [Thu, 30 May 2019 10:23:00 +0000 (18:23 +0800)]
ci: additional Cmake tests for EXTRA_COMPONENT_DIRS

Tests from
https://gitlab.espressif.cn:6688/idf/esp-idf/merge_requests/4253

5 years agoMerge branch 'bugfix/supplicant_security_fixes_v3.3' into 'release/v3.3'
Angus Gratton [Wed, 10 Jul 2019 04:31:37 +0000 (12:31 +0800)]
Merge branch 'bugfix/supplicant_security_fixes_v3.3' into 'release/v3.3'

wpa_supplicant: Fix sprintf security bugs. (v3.3)

See merge request espressif/esp-idf!5464