]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agowifi changes:
zhangyanjiao [Wed, 13 Feb 2019 09:37:53 +0000 (17:37 +0800)]
wifi changes:
1. make menuconfig can set the WiFi mgmt short buffer num
2. fix several scan bugs

6 years agoMerge branch 'doc/btdm_modem_sleep_EVED_mode_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 27 Feb 2019 10:36:04 +0000 (18:36 +0800)]
Merge branch 'doc/btdm_modem_sleep_EVED_mode_for_v3.1' into 'release/v3.1'

doc/btdm_modem_sleep_EVED_mode_for_v3.1(backport v3.1)

See merge request idf/esp-idf!4361

6 years agoMerge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable_v3.1' into...
Jiang Jiang Jian [Wed, 27 Feb 2019 09:36:55 +0000 (17:36 +0800)]
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable_v3.1' into 'release/v3.1'

esp32: make WiFi IRAM optimization configurable (backport v3.1)

See merge request idf/esp-idf!4041

6 years agocomponent/bt: add more information and description for bluetooth modem sleep
wangmengyang [Wed, 27 Feb 2019 02:51:15 +0000 (10:51 +0800)]
component/bt: add more information and description for bluetooth modem sleep

Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test

6 years agoesp32: make WiFi IRAM optimization configurable
Liu Zhi Fu [Tue, 18 Dec 2018 01:36:50 +0000 (09:36 +0800)]
esp32: make WiFi IRAM optimization configurable

With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.

6 years agoMerge branch 'bugfix/btdm_backport_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 21 Feb 2019 10:24:45 +0000 (18:24 +0800)]
Merge branch 'bugfix/btdm_backport_v3.1' into 'release/v3.1'

component/bt: backport some MRs to v3.1

See merge request idf/esp-idf!4312

6 years agoMerge branch 'bugfix/btdm_fix_connection_params_update_issues_v3.1' into 'release...
Jiang Jiang Jian [Thu, 21 Feb 2019 03:47:58 +0000 (11:47 +0800)]
Merge branch 'bugfix/btdm_fix_connection_params_update_issues_v3.1' into 'release/v3.1'

component/bt:fix connection params update issues (backport v3.1)

See merge request idf/esp-idf!4298

6 years agoComponent/bt: fix get attr value API error
zhiweijian [Tue, 30 Oct 2018 07:00:23 +0000 (15:00 +0800)]
Component/bt: fix get attr value API error

6 years agoComponent/bt: fix ble cannot send or receive packet sometimes
zhiweijian [Tue, 30 Oct 2018 12:01:13 +0000 (20:01 +0800)]
Component/bt: fix ble cannot send or receive packet sometimes

6 years agoComponent/bt: add scan window and interval check when set scan params
zhiweijian [Tue, 30 Oct 2018 03:08:49 +0000 (11:08 +0800)]
Component/bt: add scan window and interval check when set scan params

6 years agoMerge branch 'bugfix/mdns_crash_free_strdup_3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 19 Feb 2019 18:15:51 +0000 (02:15 +0800)]
Merge branch 'bugfix/mdns_crash_free_strdup_3.1' into 'release/v3.1'

mdns: fixed crash on free undefined ptr if strdup is skipped (Backport 3.1)

See merge request idf/esp-idf!4189

6 years agoMerge branch 'bugfix/coex_lc_protect_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Tue, 19 Feb 2019 18:11:29 +0000 (02:11 +0800)]
Merge branch 'bugfix/coex_lc_protect_v3.1' into 'release/v3.1'

component/esp32 : fix coexist lc protect cause memory corrupted

See merge request idf/esp-idf!4266

6 years agocomponent/bt:fix connection params update issues
zwj [Tue, 19 Feb 2019 12:43:28 +0000 (20:43 +0800)]
component/bt:fix connection params update issues

6 years agoMerge branch 'bugfix/btdm_crash_when_inquiry_cancel_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Mon, 18 Feb 2019 12:01:34 +0000 (20:01 +0800)]
Merge branch 'bugfix/btdm_crash_when_inquiry_cancel_v3.1' into 'release/v3.1'

Bugfix/btdm crash when inquiry cancel v3.1

See merge request idf/esp-idf!4278

6 years agocomponents/bt: Add precautions for esp_vhci_host_send_packet (backport 3.1)
baohongde [Wed, 23 Jan 2019 10:04:01 +0000 (18:04 +0800)]
components/bt: Add precautions for esp_vhci_host_send_packet (backport 3.1)

6 years agocomponents/bt: Fix crash when inquiry stop (backport 3.1)
baohongde [Thu, 31 Jan 2019 03:47:41 +0000 (11:47 +0800)]
components/bt: Fix crash when inquiry stop (backport 3.1)

6 years agocomponent/esp32 : fix coexist lc protect cause memory corrupted
Tian Hao [Thu, 14 Feb 2019 08:37:56 +0000 (16:37 +0800)]
component/esp32 : fix coexist lc protect cause memory corrupted

The bug will cause memory corrupted (the largest range is from 0x3ffc0000 ~ 0x3ffc8000),
some strange error will happen, like IllegalInstruction, LoadProhibited and .etc.

6 years agoMerge branch 'bugfix/fix_some_wifi_bugs_0131_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 15 Feb 2019 04:15:04 +0000 (12:15 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_0131_v3.1' into 'release/v3.1'

esp32: fix some wifi bugs  (backport v3.1)

See merge request idf/esp-idf!4219

6 years agoMerge branch 'bugfix/backtrace_from_interrupts_backport_v3.1' into 'release/v3.1' v3.1.3
Angus Gratton [Wed, 13 Feb 2019 08:53:39 +0000 (16:53 +0800)]
Merge branch 'bugfix/backtrace_from_interrupts_backport_v3.1' into 'release/v3.1'

Make backtrace work across interrupts (backport v3.1)

See merge request idf/esp-idf!4182

6 years agoMerge branch 'fix/nvs_host_test' into 'release/v3.1'
Angus Gratton [Mon, 4 Feb 2019 06:28:26 +0000 (14:28 +0800)]
Merge branch 'fix/nvs_host_test' into 'release/v3.1'

Fix/nvs host test

See merge request idf/esp-idf!4223

6 years agoMerge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection_v3.1' into 'releas...
Jiang Jiang Jian [Fri, 1 Feb 2019 13:29:15 +0000 (21:29 +0800)]
Merge branch 'bugfix/btdm_fix_write_char_crash_after_disconnection_v3.1' into 'release/v3.1'

Component/bt: fix write char crash after disconnection (backport v3.1)

See merge request idf/esp-idf!4211

6 years agoesp32: fix some WiFi bugs
Liu Zhi Fu [Thu, 31 Jan 2019 10:07:44 +0000 (18:07 +0800)]
esp32: fix some WiFi bugs

Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
   after reset.

6 years agoFix/Nvs host test extra argument passed
Shivani Tipnis [Thu, 31 Jan 2019 13:11:27 +0000 (18:41 +0530)]
Fix/Nvs host test extra argument passed

(cherry picked from commit 7b2cae15ba37420700d19fad55062dadc32241e5)

6 years agoComponent/bt: fix write char crash after disconnection
zhiweijian [Thu, 31 Jan 2019 03:28:55 +0000 (11:28 +0800)]
Component/bt: fix write char crash after disconnection

6 years agoMerge branch 'feature/add_ipv6_related_change_v3.1' into 'release/v3.1'
He Yin Ling [Thu, 31 Jan 2019 06:31:26 +0000 (14:31 +0800)]
Merge branch 'feature/add_ipv6_related_change_v3.1' into 'release/v3.1'

modify test case to support ipv6 (backport v3.1)

See merge request idf/esp-idf!4073

6 years agoMerge branch 'bugfix/tw28445_wps_thread_safe_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 31 Jan 2019 02:44:07 +0000 (10:44 +0800)]
Merge branch 'bugfix/tw28445_wps_thread_safe_v3.1' into 'release/v3.1'

esp32: fix WPS thread-safe (backport v3.1)

See merge request idf/esp-idf!4196

6 years agofreertos: Make backtrace work across interrupts (backport v3.1)
Darian Leung [Fri, 4 Jan 2019 12:38:33 +0000 (20:38 +0800)]
freertos: Make backtrace work across interrupts (backport v3.1)

This commit adds the ability for backtracing to trace from the itnerrupt to the
task stack, and across nested interrupts. Test cases have also been added.

See merge request !4084
Note: "Test backtrace from abort" reset reason modified by removing abort as a reason.

6 years agoesp32: fix WPS thread-safe
Liu Zhi Fu [Wed, 30 Jan 2019 05:48:15 +0000 (13:48 +0800)]
esp32: fix WPS thread-safe

Fix WPS thread-safe bug

6 years agoMerge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 30 Jan 2019 04:02:12 +0000 (12:02 +0800)]
Merge branch 'bugfix/coex_update_phy_to_fix_interrupt_wdt_v3.1' into 'release/v3.1'

esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at the same time and both enable modem sleep (backport v3.1)

See merge request idf/esp-idf!4193

6 years agomdns: fixed crash on free undefined ptr after skipped strdup
David Cermak [Fri, 25 Jan 2019 16:19:13 +0000 (17:19 +0100)]
mdns: fixed crash on free undefined ptr after skipped strdup

Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory.
Fixes https://ezredmine.espressif.cn:8765/issues/28465

6 years agoesp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
XiaXiaotian [Tue, 29 Jan 2019 03:10:05 +0000 (11:10 +0800)]
esp32: update libphy.a to fix interrupt watchdog when WiFi and BT run at
the same time and both enable modem sleep

6 years agomodify test case to support ipv6
huchaoru [Tue, 17 Apr 2018 08:28:00 +0000 (16:28 +0800)]
modify test case to support ipv6

6 years agoMerge branch 'bugfix/btdm_fix_crash_adv_scan_coex_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 25 Jan 2019 04:04:55 +0000 (12:04 +0800)]
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex_v3.1' into 'release/v3.1'

fix crash when adv and scan coex and optimize duplicate scan

See merge request idf/esp-idf!4147

6 years agoMerge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 25 Jan 2019 03:53:27 +0000 (11:53 +0800)]
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.1' into 'release/v3.1'

component/bt: add a option to make report adv data and scan response individually (backport v3.1)

See merge request idf/esp-idf!4132

6 years agocomponent/bt: add a option to make report adv data and scan response individually
Tian Hao [Wed, 23 Jan 2019 06:11:56 +0000 (14:11 +0800)]
component/bt: add a option to make report adv data and scan response individually

Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.

6 years agofix crash when adv and scan coex and optimize duplicate scan
zhiweijian [Wed, 23 Jan 2019 12:00:25 +0000 (20:00 +0800)]
fix crash when adv and scan coex and optimize duplicate scan

6 years agoMerge branch 'bugfix/i2c_master_clear_bus_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 24 Jan 2019 06:53:00 +0000 (14:53 +0800)]
Merge branch 'bugfix/i2c_master_clear_bus_v3.1' into 'release/v3.1'

i2c/fix i2c_master_clear_bus (backport v3.1)

See merge request idf/esp-idf!4128

6 years agoMerge branch 'bugfix/idfpy_monitor_msys_v3.1' into 'release/v3.1'
Angus Gratton [Thu, 24 Jan 2019 06:50:47 +0000 (14:50 +0800)]
Merge branch 'bugfix/idfpy_monitor_msys_v3.1' into 'release/v3.1'

tools: fix idf.py monitor for MSYS (backport v3.1)

See merge request idf/esp-idf!3897

6 years agoMerge branch 'bugfix/bootloader_map_size_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:09:58 +0000 (14:09 +0800)]
Merge branch 'bugfix/bootloader_map_size_v3.1' into 'release/v3.1'

bootloader: fix incorrect mapping size (backport v3.1)

See merge request idf/esp-idf!4139

6 years agoMerge branch 'bugfix/sha_ownership_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Thu, 24 Jan 2019 06:08:35 +0000 (14:08 +0800)]
Merge branch 'bugfix/sha_ownership_v3.1' into 'release/v3.1'

hwcrypto sha: Allow SHA contexts to be shared between tasks (backport v3.1)

See merge request idf/esp-idf!4144

6 years agoMerge branch 'bugfix/rom_export_functions_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 23 Jan 2019 13:58:58 +0000 (21:58 +0800)]
Merge branch 'bugfix/rom_export_functions_v3.1' into 'release/v3.1'

esp32, bootloader: fix issues related to linking order (backport v3.1)

See merge request idf/esp-idf!4135

6 years agoMerge branch 'bugfix/vfs_unregister_nested_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 23 Jan 2019 13:54:04 +0000 (21:54 +0800)]
Merge branch 'bugfix/vfs_unregister_nested_v3.1' into 'release/v3.1'

vfs: fix unregister removing top level VFS instead of nested (backport v3.1)

See merge request idf/esp-idf!4136

6 years agoMerge branch 'bugfix/init_memctl_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 23 Jan 2019 13:44:11 +0000 (21:44 +0800)]
Merge branch 'bugfix/init_memctl_v3.1' into 'release/v3.1'

bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.1)

See merge request idf/esp-idf!4133

6 years agohwcrypto sha: Use spinlocks instead of semaphores for small state changes
Angus Gratton [Fri, 21 Dec 2018 05:16:16 +0000 (16:16 +1100)]
hwcrypto sha: Use spinlocks instead of semaphores for small state changes

Significant performance improvement and smaller RAM footprint.

6 years agohwcrypto sha: Allow SHA contexts to be shared between tasks
Angus Gratton [Fri, 21 Dec 2018 04:37:57 +0000 (15:37 +1100)]
hwcrypto sha: Allow SHA contexts to be shared between tasks

Previously, hardware SHA engine "locks" were mutex semaphores. This meant that the task which
started a particular SHA session (in hardware) needed to finalise that session, or an invalid
FreeRTOS state was created.

Replace with binary semaphore which can be shared between tasks.

Includes a unit test, but unit test doesn't crash even without this fix
(some other unknown condition is required).

6 years agoUpdate esptool.py to v2.6
Angus Gratton [Wed, 9 Jan 2019 07:11:41 +0000 (23:11 -0800)]
Update esptool.py to v2.6

6 years agobootloader: account for load address when mapping cache pages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:15:20 +0000 (18:15 +0800)]
bootloader: account for load address when mapping cache pages

Bootloader used to calculate the number of cache pages assuming that
load address was aligned, while in reality load address for DROM and
IROM was offset by 0x20 bytes from the start of 64kB page. This
caused the bootloader to map one less page if the size of the image
was 0x4..0x1c less than a multiple of 64kB.

Reported in https://esp32.com/viewtopic.php?f=13&t=6952.

6 years agobootloader: fix IROM and DROM swapped in log messages
Ivan Grokhotkov [Mon, 3 Sep 2018 10:10:46 +0000 (18:10 +0800)]
bootloader: fix IROM and DROM swapped in log messages

6 years agovfs: fix unregister removing top level VFS instead of nested
Ivan Grokhotkov [Thu, 6 Dec 2018 11:30:05 +0000 (19:30 +0800)]
vfs: fix unregister removing top level VFS instead of nested

Credits @neoniousTR.

Fixes https://github.com/espressif/esp-idf/pull/2770

6 years agoesp32: remove ROM functions redefined in IDF from LD script
Ivan Grokhotkov [Wed, 26 Sep 2018 12:46:15 +0000 (20:46 +0800)]
esp32: remove ROM functions redefined in IDF from LD script

In some cases, linker could choose to use ROM functions instead of the
ones defined in IDF.
For functions used in ROM stub table, this would lead to infinite
recursion when the corresponding function was called from ROM.
For crypto functions, some of these were modified in IDF, and
incompatible with ROM counterparts.

6 years agobootloader_support: exclude bootloader_init.c when building app
Ivan Grokhotkov [Sun, 30 Sep 2018 04:27:06 +0000 (12:27 +0800)]
bootloader_support: exclude bootloader_init.c when building app

Depending on link order of libraries, bootloader implementation of
__assert_func could be linked instead of the one provided by newlib.

6 years agobootloader, esp32: add workaround for Tensilica erratum 572
Ivan Grokhotkov [Thu, 1 Nov 2018 03:30:48 +0000 (11:30 +0800)]
bootloader, esp32: add workaround for Tensilica erratum 572

If zero-overhead loop buffer is enabled, under certain rare conditions
when executing a zero-overhead loop, the CPU may attempt to execute an invalid instruction. Work around by disabling the buffer.

6 years agoMerge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 23 Jan 2019 08:08:02 +0000 (16:08 +0800)]
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.1' into 'release/v3.1'

esp32: fix invalid channel state information(CSI) data index (backport v3.1)

See merge request idf/esp-idf!4130

6 years agoesp32: fix invalid channel state information(CSI) data index
XiaXiaotian [Thu, 27 Dec 2018 13:06:58 +0000 (21:06 +0800)]
esp32: fix invalid channel state information(CSI) data index

    Due to a hardware limitation in ESP32, the first four bytes of some
    CSI data is invalid, not the last four bytes.

    Correct a mistake of CSI sub-carrier index in documentation.

6 years agobugfix(i2c): reduce speed of I2C master bus reset routine and release SDA
Wangjialin [Wed, 28 Nov 2018 07:41:46 +0000 (15:41 +0800)]
bugfix(i2c): reduce speed of I2C master bus reset routine and release SDA

closes https://github.com/espressif/esp-idf/issues/2494
closes https://github.com/espressif/esp-idf/pull/2493
closes https://github.com/espressif/esp-idf/pull/2496

1. Change bus reset to handle interrupted READ sequences.
2. Slow down I2C to 100khz during reset
3. If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.
If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH. So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.

6 years ago1. Slow down I2C to 100khz During Reset
chuck todd [Sun, 30 Sep 2018 20:47:05 +0000 (14:47 -0600)]
1. Slow down I2C to 100khz During Reset

I am stealing this delay coding from @jeremyherbert #2493 pr.

2. Change Bus Reset to handle interrupted READ sequences.

The current code does not handle interrupted READ cycles.

 If a SLAVE device was in a read operation when the bus was interrupted, the SLAVE device is controlling SDA.

The only bit during the 9 clock cycles of a byte READ the MASTER(ESP32) is guaranteed control over, is during the ACK bit period.

If the SLAVE is sending a stream of ZERO bytes, it will only release SDA during the ACK bit period. The master(ESP32) cannot generate a STOP unless SDA is HIGH.

So, this reset code synchronizes the bit stream with, Either, the ACK bit, Or a 1 bit.

3. fix typo

correct `sda_id` to `sda_io` in `i2c_master_clear_bus()` @ryan-ma found it.  This typo was generated when I manually edited this patch on GitHub, I should have done a Copy/Paste operation!

6 years agoreduce speed of i2c master bus reset routine and release sda
jeremy [Sun, 30 Sep 2018 09:26:09 +0000 (19:26 +1000)]
reduce speed of i2c master bus reset routine and release sda

6 years agoMerge branch 'bugfix/phy_rtc_cache_disabled_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Fri, 18 Jan 2019 02:54:11 +0000 (10:54 +0800)]
Merge branch 'bugfix/phy_rtc_cache_disabled_v3.1' into 'release/v3.1'

Fix PHY/RTC functions called in ISR, but stored in flash

See merge request idf/esp-idf!4113

6 years agoFix some bugs in phy
Tian Hao [Sun, 13 Jan 2019 08:05:12 +0000 (16:05 +0800)]
Fix some bugs in phy

1. fix bug PHY/RTC functions called in ISR (update phy to v4007)
2. add UnitTest to test it
3. fix task watchdog bug when wifi change channel
4. disable/enable agc to mac deinit/init
5. add UnitTest Job

6 years agoMerge branch 'bugfix/wifi_fix_incorrect_tx_complete_state_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 12 Jan 2019 11:57:40 +0000 (19:57 +0800)]
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state_v3.1' into 'release/v3.1'

esp32: fix the incorrect tx complete state issue (backport v3.1)

See merge request idf/esp-idf!4106

6 years agoesp32: fix the incorrect tx complete state issue
jack [Sat, 12 Jan 2019 07:38:30 +0000 (15:38 +0800)]
esp32: fix the incorrect tx complete state issue

6 years agoMerge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Sat, 12 Jan 2019 05:56:40 +0000 (13:56 +0800)]
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.1' into 'release/v3.1'

esp32: fix wrongly deleting hardware BA index bug (backport v3.1)

See merge request idf/esp-idf!4103

6 years agoesp32: fix wrongly deleting hardware BA index bug
Liu Zhi Fu [Fri, 11 Jan 2019 08:48:58 +0000 (16:48 +0800)]
esp32: fix wrongly deleting hardware BA index bug

Fix the bug that hardware BA index will be wrongly removed in
WiFi mode WIFI_MODE_APSTA.

6 years agoMerge branch 'bugfix/idf_monitor_without_toolchain_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 11 Jan 2019 07:43:18 +0000 (15:43 +0800)]
Merge branch 'bugfix/idf_monitor_without_toolchain_v3.1' into 'release/v3.1'

tools: Print useful error message from idf_monitor when toolchain isn't available (backport v3.1)

See merge request idf/esp-idf!3948

6 years agoMerge branch 'bugfix/mdns_udp_send_protected_backport3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 11 Jan 2019 07:36:57 +0000 (15:36 +0800)]
Merge branch 'bugfix/mdns_udp_send_protected_backport3.1' into 'release/v3.1'

mdns networking udp send protected (Backport 3.1)

See merge request idf/esp-idf!4021

6 years agoMerge branch 'bugfix/mdns_query_failed_after_init_v3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 11 Jan 2019 03:26:28 +0000 (11:26 +0800)]
Merge branch 'bugfix/mdns_query_failed_after_init_v3.1' into 'release/v3.1'

Fixed: mdns query failed after init (Backport v3.1)

See merge request idf/esp-idf!3730

6 years agoMerge branch 'bugfix/mdns_crash_when_query_backport3.1' into 'release/v3.1'
Ivan Grokhotkov [Fri, 11 Jan 2019 03:26:02 +0000 (11:26 +0800)]
Merge branch 'bugfix/mdns_crash_when_query_backport3.1' into 'release/v3.1'

mdns crash when query (backport 3.1)

See merge request idf/esp-idf!4019

6 years agoMerge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.1' into 'release...
Jiang Jiang Jian [Fri, 11 Jan 2019 02:36:22 +0000 (10:36 +0800)]
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.1' into 'release/v3.1'

esp32: do defragmentation only for data and management frame (backport v3.1)

See merge request idf/esp-idf!4091

6 years agoesp32: do defragmentation only for data and management frame
XiaXiaotian [Fri, 4 Jan 2019 03:17:53 +0000 (11:17 +0800)]
esp32: do defragmentation only for data and management frame

    Check frame type before defragmentation. Only data and management frame can do
    defragmentation.

6 years agoMerge branch 'bugfix/coex_unforce_wifi_if_no_data_buffered_in_beacon_v3.1' into ...
Jiang Jiang Jian [Wed, 9 Jan 2019 09:06:11 +0000 (17:06 +0800)]
Merge branch 'bugfix/coex_unforce_wifi_if_no_data_buffered_in_beacon_v3.1' into 'release/v3.1'

esp32: unforce wifi if receiving beacon with no data buffered in dream (backport v3.1)

See merge request idf/esp-idf!4035

6 years agoMerge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.1' into...
Jiang Jiang Jian [Wed, 9 Jan 2019 05:57:07 +0000 (13:57 +0800)]
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.1' into 'release/v3.1'

Component/bt: fix auth_mode error when reconnection in SMP(backport V3.1)

See merge request idf/esp-idf!3956

6 years agoMerge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond_v3.1' into 'release...
Jiang Jiang Jian [Wed, 9 Jan 2019 05:56:28 +0000 (13:56 +0800)]
Merge branch 'bufix/btdm_fix_save_key_when_auth_mode_without_bond_v3.1' into 'release/v3.1'

Component/bt: fix save keys when auth mode without bond (backport v3.1)

See merge request idf/esp-idf!3958

6 years agoMerge branch 'feature/illegal_instruction_panic_info_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 05:55:48 +0000 (13:55 +0800)]
Merge branch 'feature/illegal_instruction_panic_info_v3.1' into 'release/v3.1'

panic: dump some instruction memory on IllegalInstruction exception (backport v3.1)

See merge request idf/esp-idf!3959

6 years agoMerge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 05:53:28 +0000 (13:53 +0800)]
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.1' into 'release/v3.1'

Bugfix/btdm modem sleep cowork with dfs for v3.1(backport v3.1)

See merge request idf/esp-idf!3964

6 years agoMerge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 05:51:07 +0000 (13:51 +0800)]
Merge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.1' into 'release/v3.1'

components/bt: Fix two bugs about pairing(backport 3.1)

See merge request idf/esp-idf!3996

6 years agoMerge branch 'bugfix/ota_magic_byte_issue_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 04:00:57 +0000 (12:00 +0800)]
Merge branch 'bugfix/ota_magic_byte_issue_v3.1' into 'release/v3.1'

Bugfix/ota magic byte issue v3.1 (backport v3.1)

See merge request idf/esp-idf!4003

6 years agoMerge branch 'bugfix/fix_mbox_thread_safe_issue_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 03:23:21 +0000 (11:23 +0800)]
Merge branch 'bugfix/fix_mbox_thread_safe_issue_v3.1' into 'release/v3.1'

fix mbox thread-safe issue (backport v3.1)

See merge request idf/esp-idf!4006

6 years agoMerge branch 'bugfix/ignore_windows_conf_tools_v31' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 03:21:39 +0000 (11:21 +0800)]
Merge branch 'bugfix/ignore_windows_conf_tools_v31' into 'release/v3.1'

gitignore: Add mconf-idf.exe and conf-idf.exe (v3.1)

See merge request idf/esp-idf!4070

6 years agoMerge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 03:01:27 +0000 (11:01 +0800)]
Merge branch 'bugfix/fix_uart_read_bug_when_using_dual_core_v3.1' into 'release/v3.1'

driver(uart): fixed uart read error bug when using dual core  (backport v3.1)

See merge request idf/esp-idf!3814

6 years agoMerge branch 'test/add_case_to_detect_ds2ds_issue_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 02:57:26 +0000 (10:57 +0800)]
Merge branch 'test/add_case_to_detect_ds2ds_issue_v3.1' into 'release/v3.1'

test: add test case to receive ds2ds packet (backport v3.1)

See merge request idf/esp-idf!3850

6 years agoMerge branch 'bugfix/uart_select_buffer_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 02:54:16 +0000 (10:54 +0800)]
Merge branch 'bugfix/uart_select_buffer_v3.1' into 'release/v3.1'

VFS: select() on UART should return immediately when data is buffered (backport v3.1)

See merge request idf/esp-idf!3830

6 years agoMerge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 02:37:19 +0000 (10:37 +0800)]
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.1' into 'release/v3.1'

Component/bt: fix accept specified sec auth error(backport V3.1)

See merge request idf/esp-idf!3837

6 years agoMerge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.1' into...
Jiang Jiang Jian [Wed, 9 Jan 2019 02:35:05 +0000 (10:35 +0800)]
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.1' into 'release/v3.1'

Component/bt: fix receive adv pkt when enable duplicate scan (backport v3.1)

See merge request idf/esp-idf!3943

6 years agoMerge branch 'bugfix/bbpll_wakeup_reset_v3.1' into 'release/v3.1'
Jiang Jiang Jian [Wed, 9 Jan 2019 02:31:50 +0000 (10:31 +0800)]
Merge branch 'bugfix/bbpll_wakeup_reset_v3.1' into 'release/v3.1'

BBPLL reset fixes (backport v3.1)

See merge request idf/esp-idf!4013

6 years agoesp32: unforce wifi if receiving beacon with no data buffered in dream
XiaXiaotian [Thu, 27 Dec 2018 09:40:56 +0000 (17:40 +0800)]
esp32: unforce wifi if receiving beacon with no data buffered in dream
state and reduce force receiving broadcast data time

    1. If receiving beacon which indicates that there is no data
    buffered, do not force to receive WiFi data.
    2. If receiving beacon which indicates that there is broadcast data
    buffered, reduce the time to force receiving broadcast data.

6 years agoMerge branch 'bugfix/fix_the_country_code_bug_v3.1' into 'release/v3.1'
Wu Jian Gang [Fri, 4 Jan 2019 03:57:53 +0000 (11:57 +0800)]
Merge branch 'bugfix/fix_the_country_code_bug_v3.1' into 'release/v3.1'

wifi: fix the bug that STA can scan the channel out of the country regdomain range (backport v3.1)

See merge request idf/esp-idf!4064

6 years agogitignore: Add mconf-idf.exe and conf-idf.exe
Angus Gratton [Wed, 28 Nov 2018 01:05:29 +0000 (12:05 +1100)]
gitignore: Add mconf-idf.exe and conf-idf.exe

Problem since f6cd55d2ac

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

6 years agowifi: fix the bug that STA can scan the channel out of the country regdomain range
zhangyanjiao [Thu, 3 Jan 2019 06:30:40 +0000 (14:30 +0800)]
wifi: fix the bug that STA can scan the channel out of the country regdomain range

6 years agolwip: fix mbox thread-safe issue
Liu Zhi Fu [Thu, 20 Dec 2018 07:26:52 +0000 (15:26 +0800)]
lwip: fix mbox thread-safe issue

Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.

6 years agoMerge branch 'bugfix/timer_delete_dispatch_race_v3.1' into 'release/v3.1' v3.1.2
Angus Gratton [Wed, 2 Jan 2019 12:42:45 +0000 (20:42 +0800)]
Merge branch 'bugfix/timer_delete_dispatch_race_v3.1' into 'release/v3.1'

esp_timer: do not allow deleting timers while callbacks are dispatched (backport v3.1)

See merge request idf/esp-idf!3993

6 years agoesp_timer: do not allow deleting timers while callbacks are dispatched
Ivan Grokhotkov [Wed, 19 Dec 2018 07:53:50 +0000 (15:53 +0800)]
esp_timer: do not allow deleting timers while callbacks are dispatched

timer_process_alarm function of esp_timer holds a spinlock for the
entire duration of its operation, except for the time when timer
callback function is called. It is possible that when
timer_process_alarm releases the spinlock, a higher priority task may
run and delete the timer. Then the execution will return to
timer_process_alarm, and this will either cause a crash, or undesired
execution of callback after the timer has been stopped or deleted.

To solve this problem, add a mutex which will prevent deletion of timers
while callbacks are being dispatched.

6 years agonewlib: Fix UT adjtime
Konstantin Kondrashov [Thu, 1 Nov 2018 12:34:39 +0000 (20:34 +0800)]
newlib: Fix UT adjtime

6 years agounit tests: Only initialise tcpip_adapter() when needed by the test
Angus Gratton [Wed, 26 Sep 2018 00:17:46 +0000 (10:17 +1000)]
unit tests: Only initialise tcpip_adapter() when needed by the test

Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.

6 years agospiffs: increase timeout in readdir test
Ivan Grokhotkov [Tue, 13 Nov 2018 03:41:19 +0000 (11:41 +0800)]
spiffs: increase timeout in readdir test

Timeout of 15 seconds is not sufficient if SPIFFS partition needs to
be formatted, on some of the boards.

6 years agotiny-test-fw: invoke expect callbacks in order of appearance
Ivan Grokhotkov [Wed, 8 Aug 2018 12:55:33 +0000 (15:55 +0300)]
tiny-test-fw: invoke expect callbacks in order of appearance

Previously the callbacks were invoked in the same order as the list of
patterns to be matched.

6 years agotest: fix merge error when backport junit report
He Yin Ling [Tue, 4 Dec 2018 01:19:07 +0000 (09:19 +0800)]
test: fix merge error when backport junit report

6 years agofix the bug that multi device's dut can't detect case
houchenyao [Mon, 3 Sep 2018 10:33:05 +0000 (18:33 +0800)]
fix the bug that multi device's dut can't detect case

6 years agobugfix:fix the multi device stop thread bug
houchenyao [Mon, 20 Aug 2018 11:21:10 +0000 (19:21 +0800)]
bugfix:fix the multi device stop thread bug

6 years agotest: add test case to receive ds2ds packet
He Yin Ling [Wed, 28 Nov 2018 13:53:06 +0000 (21:53 +0800)]
test: add test case to receive ds2ds packet

6 years agomdns: fix networking running udp_sendif from lwip thread
David Cermak [Fri, 14 Dec 2018 10:23:19 +0000 (11:23 +0100)]
mdns: fix networking running udp_sendif from lwip thread