]> granicus.if.org Git - esp-idf/log
esp-idf
4 years agoMerge branch 'docs/update_bootloader_chip_revision_print_v3.1' into 'release/v3.1' release/v3.1
Jiang Jiang Jian [Mon, 21 Oct 2019 02:46:37 +0000 (10:46 +0800)]
Merge branch 'docs/update_bootloader_chip_revision_print_v3.1' into 'release/v3.1'

bootloader_support: fix logging prints around chip revision (v3.1)

See merge request espressif/esp-idf!6339

4 years agoMerge branch 'bugfix/vfs_fat_sdmmc_mount_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 21 Oct 2019 02:43:10 +0000 (10:43 +0800)]
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.1' into 'release/v3.1'

Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.1)

See merge request espressif/esp-idf!6396

4 years agoMerge branch 'bugfix/pm_isr_exit_lock_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 21 Oct 2019 02:43:00 +0000 (10:43 +0800)]
Merge branch 'bugfix/pm_isr_exit_lock_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!6409

4 years agopm: prevent interrupt nesting during esp_pm_impl_isr_hook
Ivan Grokhotkov [Tue, 9 Apr 2019 05:25:24 +0000 (13:25 +0800)]
pm: prevent interrupt nesting during esp_pm_impl_isr_hook

Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.

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

4 years agoFix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
Roland Dobai [Tue, 8 Oct 2019 11:17:34 +0000 (13:17 +0200)]
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()

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

4 years agobootloader_support: fix logging prints around chip revision
Mahavir Jain [Fri, 11 Oct 2019 09:05:22 +0000 (14:35 +0530)]
bootloader_support: fix logging prints around chip revision

4 years agoMerge branch 'refactor/shrink_bootloader_bin_size_3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 18 Oct 2019 05:40:15 +0000 (13:40 +0800)]
Merge branch 'refactor/shrink_bootloader_bin_size_3.1' into 'release/v3.1'

bootloader: shrink bin size (v3.1)

See merge request espressif/esp-idf!6305

4 years agoMerge branch 'bugfix/reset_periph_modules_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 18 Oct 2019 05:33:17 +0000 (13:33 +0800)]
Merge branch 'bugfix/reset_periph_modules_v3.1' into 'release/v3.1'

driver: Add a reset before enabling if a module is off (v3.1)

See merge request espressif/esp-idf!6018

4 years agoMerge branch 'bugfix/alt_exit_idf_monitor_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 14 Oct 2019 13:46:07 +0000 (21:46 +0800)]
Merge branch 'bugfix/alt_exit_idf_monitor_v3.1' into 'release/v3.1'

idf_monitor: Exit with CTRL+X in menu (v3.1)

See merge request espressif/esp-idf!6293

4 years agormt/driver: Add module reset before enabling
Konstantin Kondrashov [Tue, 14 May 2019 12:02:01 +0000 (20:02 +0800)]
rmt/driver: Add module reset before enabling

4 years agopcnt/driver: Add module reset before enabling
Konstantin Kondrashov [Tue, 14 May 2019 12:01:35 +0000 (20:01 +0800)]
pcnt/driver: Add module reset before enabling

4 years agosdmmc_host/driver: Add module reset before enabling
Konstantin Kondrashov [Mon, 13 May 2019 12:39:16 +0000 (20:39 +0800)]
sdmmc_host/driver: Add module reset before enabling

4 years agoi2s/driver: Add module reset before enabling
Konstantin Kondrashov [Mon, 13 May 2019 11:56:41 +0000 (19:56 +0800)]
i2s/driver: Add module reset before enabling

4 years agouart/driver: Add module reset before enabling
Konstantin Kondrashov [Mon, 22 Apr 2019 06:09:24 +0000 (14:09 +0800)]
uart/driver: Add module reset before enabling

This commit prevents infinite restarts caused due to an interrupt flag
was left uncleared.

Closes: https://github.com/espressif/esp-idf/issues/1981
Closes: IDF-188
4 years agobootloader: shrink bin size
suda-morris [Fri, 27 Sep 2019 02:58:30 +0000 (10:58 +0800)]
bootloader: shrink bin size

1. write a bootloader version of "getting chip revision" function.
2. reduce wordy log.

4 years agoMerge branch 'bugfix/freertos_xTaskNotifyGive_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 10 Oct 2019 03:25:55 +0000 (11:25 +0800)]
Merge branch 'bugfix/freertos_xTaskNotifyGive_v3.1' into 'release/v3.1'

freertos: remove semicolon in xTaskNotifyGive (v3.1)

See merge request espressif/esp-idf!6272

4 years agoMerge branch 'feature/add_psram_workaround_option_3.1' into 'release/v3.1'
Angus Gratton [Thu, 10 Oct 2019 03:00:56 +0000 (11:00 +0800)]
Merge branch 'feature/add_psram_workaround_option_3.1' into 'release/v3.1'

make psram workaround depend on chip revison (v3.1)

See merge request espressif/esp-idf!6210

4 years agoidf_monitor: Exit with CTRL+X in menu
Per-Olov Jernberg [Sun, 6 Oct 2019 13:03:23 +0000 (15:03 +0200)]
idf_monitor: Exit with CTRL+X in menu

Currently, the only way of exiting the idf_monitor program is to hit the CTRL+] button, if your keyboard doesn't have that key unless you hit another modifier key, it's not super trivial to exit.

This change adds the option to exit with CTRL+T (for menu) then hitting X (or CTRL+X) for exiting.

Closes https://github.com/espressif/esp-idf/pull/4167
Closes https://github.com/espressif/esp-idf/issues/4129

4 years agoMerge branch 'feature/bluedroid_min_encr_key_size_backport_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Oct 2019 08:15:47 +0000 (16:15 +0800)]
Merge branch 'feature/bluedroid_min_encr_key_size_backport_v3.1' into 'release/v3.1'

BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.1)

See merge request espressif/esp-idf!6258

4 years agoBT/Bluedroid : Add support to set min encryption key requirement (Backport v3.1)
Prasad Alatkar [Wed, 9 Oct 2019 08:15:47 +0000 (16:15 +0800)]
BT/Bluedroid : Add support to set min encryption key requirement (Backport v3.1)

- Backport(v3.1) of IDF MR!6122
- Modifies `smp_utils.c` to add check on encryption key size received from
  peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
  size requirement.

4 years agofreertos: remove semicolon in xTaskNotifyGive
suda-morris [Thu, 26 Sep 2019 07:27:48 +0000 (15:27 +0800)]
freertos: remove semicolon in xTaskNotifyGive

4 years agoMerge branch 'bugfix/multi_heap_printf_backport_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 29 Sep 2019 08:17:29 +0000 (16:17 +0800)]
Merge branch 'bugfix/multi_heap_printf_backport_v3.1' into 'release/v3.1'

heap: Fix printf usage in heap poisoning (backport v3.1)

See merge request espressif/esp-idf!6089

4 years agoMerge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.1' into 'release...
Jiang Jiang Jian [Sun, 29 Sep 2019 08:17:05 +0000 (16:17 +0800)]
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.1' into 'release/v3.1'

bugfix/btdm_a2dp_sink_media_suspend_cmd_unack_for_v3.1(backport v3.1)

See merge request espressif/esp-idf!5938

4 years agoMerge branch 'bugfix/btdm_backports_v3.1_0903' into 'release/v3.1'
Jiang Jiang Jian [Sun, 29 Sep 2019 08:16:43 +0000 (16:16 +0800)]
Merge branch 'bugfix/btdm_backports_v3.1_0903' into 'release/v3.1'

components/bt: backports release/v3.1 0903

See merge request espressif/esp-idf!5989

4 years agoMerge branch 'bugfix/fix_cache_disable_access_psram_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 29 Sep 2019 02:35:22 +0000 (10:35 +0800)]
Merge branch 'bugfix/fix_cache_disable_access_psram_v3.1' into 'release/v3.1'

esp_wifi: Put g_promis_buf to IRAM (backport v3.1)

See merge request espressif/esp-idf!6164

4 years agomake psram workaround depend on chip revison
suda-morris [Thu, 26 Sep 2019 09:32:20 +0000 (17:32 +0800)]
make psram workaround depend on chip revison

Since ESP32 revision 3, the PSRAM workaround is not needed.

4 years agoMerge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.1' into ...
Jiang Jiang Jian [Wed, 25 Sep 2019 04:00:41 +0000 (12:00 +0800)]
Merge branch 'bugfix/fix_the_for_smartconfig_send_broadcast_to_phone_v3.1' into 'release/v3.1'

fix the bugs in smartconfig_ack (backport v3.1)

See merge request espressif/esp-idf!6075

4 years agocomponents/bt: backports release/v3.1 0903
baohongde [Mon, 23 Sep 2019 09:41:58 +0000 (17:41 +0800)]
components/bt: backports release/v3.1 0903

Remove xtensa/xruntime.h
Fix sending Lmp_feature_req_ext in a loop
Fix 2 bugs in r_ld_fm_sket_isr
fix memory leak when set tx power
fix data loss and send same pkt twice sometimes
fix adv data error in air sometimes
fix adv start/stop crash sometimes
bugfix btdm sleep twice after wakeup request
Fix connect fail with some speakers
clear BT/BLE interruots after controller disable

4 years agoMerge branch 'feature/add_chip_min_revision_3.1' into 'release/v3.1'
Angus Gratton [Fri, 20 Sep 2019 10:22:32 +0000 (18:22 +0800)]
Merge branch 'feature/add_chip_min_revision_3.1' into 'release/v3.1'

support esp32 eco revision 2 and 3 (v3.1)

See merge request espressif/esp-idf!6138

4 years agoesp_wifi: Put g_promis_buf to IRAM
xiehang [Thu, 19 Sep 2019 12:37:07 +0000 (20:37 +0800)]
esp_wifi: Put g_promis_buf to IRAM

4 years agosupport esp32 eco revision 2 and 3
suda-morris [Wed, 18 Sep 2019 05:25:50 +0000 (13:25 +0800)]
support esp32 eco revision 2 and 3

4 years agoMerge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.1'...
Angus Gratton [Mon, 16 Sep 2019 07:10:50 +0000 (15:10 +0800)]
Merge branch 'bugfix/bootloader_factory_reset_with_wake_up_from_deep_sleep_v3.1' into 'release/v3.1'

bootloader: Blocking the Factory reset during wake up from deep sleep (v3.1)

See merge request espressif/esp-idf!6025

4 years agoMerge branch 'bugfix/use_local_kconfiglib_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 13 Sep 2019 06:48:16 +0000 (14:48 +0800)]
Merge branch 'bugfix/use_local_kconfiglib_v3.1' into 'release/v3.1'

Use kconfiglib from $IDF_PATH/tools/kconfig_new (v3.1)

See merge request espressif/esp-idf!6082

4 years agoMerge branch 'bugfix/add_flash_config_in_app_startup_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 13 Sep 2019 06:32:02 +0000 (14:32 +0800)]
Merge branch 'bugfix/add_flash_config_in_app_startup_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5925

4 years agobootloader: Factory reset not for deep sleep
KonstantinKondrashov [Wed, 31 Jul 2019 14:31:58 +0000 (22:31 +0800)]
bootloader: Factory reset not for deep sleep

Closes: https://github.com/espressif/esp-idf/issues/3800
Closes: IDFGH-1536
4 years agoheap: Fix printf usage in heap poisoning
Darian Leung [Mon, 9 Sep 2019 13:56:39 +0000 (21:56 +0800)]
heap: Fix printf usage in heap poisoning

This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.

4 years agoMerge branch 'bugfix/coex_bb_reset_lock_v3.1' into 'release/v3.1' v3.1.6
Jiang Jiang Jian [Thu, 12 Sep 2019 02:46:31 +0000 (10:46 +0800)]
Merge branch 'bugfix/coex_bb_reset_lock_v3.1' into 'release/v3.1'

fix bug that wifi start/stop may cause crash

See merge request espressif/esp-idf!6033

4 years agoUse kconfiglib from $IDF_PATH/tools/kconfig_new
Roland Dobai [Wed, 11 Sep 2019 09:18:18 +0000 (11:18 +0200)]
Use kconfiglib from $IDF_PATH/tools/kconfig_new

4 years agofix bug that wifi start/stop may cause crash
Tian Hao [Thu, 22 Aug 2019 12:01:51 +0000 (20:01 +0800)]
fix bug that wifi start/stop may cause crash

1. fix bug bb reset lock flag to avoid bb reset lock unhandle,
   may cause assert in vPortCPUReleaseMutexIntsDisabledInternal.
2. fix bug wifi reset mac cause task watch dog timeout
3. fix bug wifi reset mac position

4 years agoesp32: cpu_start: read binary image header via cache
chenjianqiang [Wed, 11 Sep 2019 07:53:46 +0000 (15:53 +0800)]
esp32: cpu_start: read binary image header via cache

When flash encryption is enabled, reading via cache also decrypts the
data, whereas spi_flash_read does not.

4 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

4 years agosmartconfig_ack.c:
zhangyanjiao [Wed, 11 Sep 2019 06:18:26 +0000 (14:18 +0800)]
smartconfig_ack.c:
1. fix the bug that ESP32 sends broadcast to phone after smartconfig is done
2. fix the declaration of remote_ip in sc_ack_send_task()

4 years agoMerge branch 'bugfix/flash_encryption_disable_plaintext_v3.1' into 'release/v3.1'
Angus Gratton [Wed, 11 Sep 2019 04:10:18 +0000 (12:10 +0800)]
Merge branch 'bugfix/flash_encryption_disable_plaintext_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!6049

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

4 years agoMerge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.1' into 'release...
Jiang Jiang Jian [Tue, 10 Sep 2019 01:49:01 +0000 (09:49 +0800)]
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail_v3.1' into 'release/v3.1'

fix the bug for WPA_WPA2_PSK connection fail (backport v3.1)

See merge request espressif/esp-idf!6011

4 years agodocs: Added more wordings to capture secure boot and flash encryption dependency.
Sagar Bijwe [Tue, 7 Aug 2018 11:59:11 +0000 (17:29 +0530)]
docs: Added more wordings to capture secure boot and flash encryption dependency.

4 years agofix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
zhangyanjiao [Fri, 6 Sep 2019 06:17:51 +0000 (14:17 +0800)]
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP

4 years agoMerge branch 'bugfix/revert_optimize_wifi_rx_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 30 Aug 2019 02:59:37 +0000 (10:59 +0800)]
Merge branch 'bugfix/revert_optimize_wifi_rx_v3.1' into 'release/v3.1'

esp32: revert WiFi RX optimization (backport v3.1)

See merge request espressif/esp-idf!5942

4 years agoesp32: revert WiFi RX optimization
liu zhifu [Wed, 28 Aug 2019 05:51:16 +0000 (13:51 +0800)]
esp32: revert WiFi RX optimization

Revert following commit since it has compatibility issue:
commit 71f1b7f4243dfc88228b22bdd2ad7f0b8e3cbdfd
esp32: optimize wifi rx

4 years agobugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an...
wangmengyang [Tue, 27 Aug 2019 07:34:42 +0000 (15:34 +0800)]
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink

4 years agoMerge branch 'bugfix_kconfig_deps_missing_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 27 Aug 2019 06:04:18 +0000 (14:04 +0800)]
Merge branch 'bugfix_kconfig_deps_missing_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5849

4 years agoMerge branch 'test/use_correct_config_for_nvs_compatible_case_v3.1' into 'release...
Angus Gratton [Tue, 27 Aug 2019 05:30:35 +0000 (13:30 +0800)]
Merge branch 'test/use_correct_config_for_nvs_compatible_case_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5892

4 years agoMerge branch 'update/cjson_v1_7_12_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 26 Aug 2019 10:29:52 +0000 (18:29 +0800)]
Merge branch 'update/cjson_v1_7_12_v3.1' into 'release/v3.1'

Update cJSON to v1.7.12 (v3.1)

See merge request espressif/esp-idf!5853

4 years agoMerge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 26 Aug 2019 10:29:37 +0000 (18:29 +0800)]
Merge branch 'bugfix/fix_i2s_channels_swapped_issue_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5897

4 years agoMerge branch 'bugfix/fix_the_bug_for_softap_set_authmode_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 26 Aug 2019 10:29:18 +0000 (18:29 +0800)]
Merge branch 'bugfix/fix_the_bug_for_softap_set_authmode_v3.1' into 'release/v3.1'

wifi: fix the bug for softAP set authmode (backport v3.1)

See merge request espressif/esp-idf!5827

4 years agoMerge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.1' into...
Jiang Jiang Jian [Mon, 26 Aug 2019 10:01:51 +0000 (18:01 +0800)]
Merge branch 'bugfix/btdm_security_vulnerability_on_encryption_key_size_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5874

4 years agotest: fix integration test jobs not executed:
He Yin Ling [Mon, 26 Aug 2019 06:00:44 +0000 (14:00 +0800)]
test: fix integration test jobs not executed:

naming rule for parallel test job config file is different.
rename test job config file to make it unified.

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

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

4 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:

use new env tag for nvs compatible test case and update test config
file.

4 years agowifi: fix the bug for softAP set authmode
zhangyanjiao [Fri, 23 Aug 2019 08:40:40 +0000 (16:40 +0800)]
wifi: fix the bug for softAP set authmode

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

4 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

4 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

4 years agoMerge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.1' into 'release/v3.1'
Wang Jia Lin [Wed, 21 Aug 2019 08:18:53 +0000 (16:18 +0800)]
Merge branch 'bugfix/fix_flash_read_error_in_dio_mode_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5784

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/supplicant_security_fixes_v3.1' into 'release/v3.1'
Angus Gratton [Tue, 13 Aug 2019 01:28:33 +0000 (09:28 +0800)]
Merge branch 'bugfix/supplicant_security_fixes_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5466

4 years agowpa_supplicant: Fix sprintf security bugs.
Sagar Bijwe [Wed, 19 Jun 2019 14:03:34 +0000 (19:33 +0530)]
wpa_supplicant: Fix sprintf security bugs.

Revert back to using os_snprintf instead of sprintf.

Closes WIFI-624

4 years agoMerge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.1' into 'release...
Jiang Jiang Jian [Sun, 11 Aug 2019 09:07:48 +0000 (17:07 +0800)]
Merge branch 'bugfix/fix_wifi_bugs_for_authmode_and_multi_ssid_v3.1' into 'release/v3.1'

fix wifi bugs for authmode and multi ssid (backport v3.1)

See merge request espressif/esp-idf!5730

4 years agoMerge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.1' into 'release...
Jiang Jiang Jian [Sun, 11 Aug 2019 08:55:39 +0000 (16:55 +0800)]
Merge branch 'bugfix/dis_interrupts_up_to_6_level_for_dport_wa_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5715

4 years agoMerge branch 'bugfix/cmake_extra_component_dirs_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 11 Aug 2019 08:55:11 +0000 (16:55 +0800)]
Merge branch 'bugfix/cmake_extra_component_dirs_v3.1' into 'release/v3.1'

ci: additional Cmake tests for EXTRA_COMPONENT_DIRS (backport v3.1)

See merge request espressif/esp-idf!5493

4 years agoMerge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.1' into 'release...
Jiang Jiang Jian [Fri, 9 Aug 2019 06:06:03 +0000 (14:06 +0800)]
Merge branch 'bugfix/fix_the_watchdog_during_WiFi_scan_BLE_scan_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5542

4 years agomodify WIFI_CONN_0101 case for wrong authmode of AP
zhangyanjiao [Thu, 8 Aug 2019 09:45:28 +0000 (17:45 +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 09:44:14 +0000 (17:44 +0800)]
wifi: fix wifi bugs for authmode and multi ssid

4 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

4 years agoMerge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 7 Aug 2019 12:49:04 +0000 (20:49 +0800)]
Merge branch 'bugfix/add_wifi_internal_ioctl_declared_v3.1' into 'release/v3.1'

esp_wifi: add esp_wifi_internal_ioctl declared (v3.1)

See merge request espressif/esp-idf!5706

4 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
4 years agoesp_wifi: add esp_wifi_internal_ioctl declared
xiehang [Wed, 7 Aug 2019 03:14:18 +0000 (11:14 +0800)]
esp_wifi: add esp_wifi_internal_ioctl declared

4 years agoMerge branch 'bugfix/fix_wifi_stack_can_freeze_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sun, 4 Aug 2019 07:58:46 +0000 (15:58 +0800)]
Merge branch 'bugfix/fix_wifi_stack_can_freeze_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5619

4 years agoMerge branch 'bugfix/improve_spi_timing_for_flash_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 31 Jul 2019 15:39:19 +0000 (23:39 +0800)]
Merge branch 'bugfix/improve_spi_timing_for_flash_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5512

4 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)

4 years agoMerge branch 'bugfix/btdm_mem_leak_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 30 Jul 2019 15:41:44 +0000 (23:41 +0800)]
Merge branch 'bugfix/btdm_mem_leak_v3.1' into 'release/v3.1'

components/bt: Fix memory leak about rfcomm

See merge request espressif/esp-idf!5624

4 years agoMerge branch 'bugfix/docs_recover_some_build_time_v3.1' into 'release/v3.1'
Angus Gratton [Mon, 29 Jul 2019 11:17:36 +0000 (19:17 +0800)]
Merge branch 'bugfix/docs_recover_some_build_time_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5641

4 years agodocs: Remove building of zipped HTML docs from build process and consequently from...
krzychb [Sat, 27 Jul 2019 23:35:45 +0000 (01:35 +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.

4 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

4 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

4 years agofix the watchdog bug during WiFi scan and BLE scan
zhangyanjiao [Fri, 19 Jul 2019 07:04:26 +0000 (15:04 +0800)]
fix the watchdog bug during WiFi scan and BLE scan

4 years agoMerge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.1' into 'release...
Jiang Jiang Jian [Thu, 18 Jul 2019 10:37:12 +0000 (18:37 +0800)]
Merge branch 'bugfix/btdm_fix_rxwinsz_assert_in_wifi_ble_coex_v3.1' into 'release/v3.1'

component/bt: fix rxwinsz assert in ble and wifi coex(backport v3.1)

See merge request espressif/esp-idf!5451

4 years agoMerge branch 'bugfix/backport_some_wifi_bugs_201907_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 18 Jul 2019 10:37:09 +0000 (18:37 +0800)]
Merge branch 'bugfix/backport_some_wifi_bugs_201907_v3.1' into 'release/v3.1'

Backport some wifi bugs 201907 v3.1 (backport v3.1)

See merge request espressif/esp-idf!5524

4 years agoMerge branch 'bugfix/libsodium_test_timeouts_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 18 Jul 2019 07:29:56 +0000 (15:29 +0800)]
Merge branch 'bugfix/libsodium_test_timeouts_v3.1' into 'release/v3.1'

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

See merge request espressif/esp-idf!5556

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

4 years agoWiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF
xiehang [Mon, 8 Jul 2019 03:26:18 +0000 (11:26 +0800)]
WiFi: Modify the wifi_country struct in VNC to keep it consistent with IDF

1. Modfy wifi_country struct
2. Add md5 check esp_wifi_types.h
3. Add md5 check esp_wifi.h

4 years agoesp32: fix wifi stop bug
liu zhifu [Wed, 17 Jul 2019 01:55:01 +0000 (09:55 +0800)]
esp32: fix wifi stop bug

Fix the bug that WiFi stop causes esp_wifi_internal_reg_rxcb() fails.

4 years agoesp32: fix WPS/WPA2-Enterprise memory leak
liu zhifu [Sun, 14 Jul 2019 05:05:14 +0000 (13:05 +0800)]
esp32: fix WPS/WPA2-Enterprise memory leak

Fix WPS and WPA2-Enterprise memory leak bug.

4 years agoesp32: optimize wifi rx
liu zhifu [Sun, 14 Jul 2019 04:59:08 +0000 (12:59 +0800)]
esp32: optimize wifi rx

Optimize WiFi receiving performance.

4 years agoesp32: fix smartconfig crash when no AP is found
liu zhifu [Sun, 14 Jul 2019 04:50:25 +0000 (12:50 +0800)]
esp32: fix smartconfig crash when no AP is found

Fix the bug that smartconfig crashes when no AP is found during smartconfig scan.

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

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

See merge request espressif/esp-idf!5503

4 years agoMerge branch 'bugfix/error_on_unknown_component_v3.1' into 'release/v3.1'
Angus Gratton [Fri, 12 Jul 2019 07:01:45 +0000 (15:01 +0800)]
Merge branch 'bugfix/error_on_unknown_component_v3.1' into 'release/v3.1'

cmake: error out when component is not found (backport 3.1)

See merge request espressif/esp-idf!5489

4 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

4 years agocmake: refactor finding components
Renz Christian Bagaporo [Wed, 10 Jul 2019 09:40:13 +0000 (17:40 +0800)]
cmake: refactor finding components

4 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