Commit graph

4873 commits

Author SHA1 Message Date
Michael (XIAO Xufeng)
e238cf85a2 spi: fix a possible concurrency issue 2019-06-11 14:22:25 +08:00
Angus Gratton
0dcbe15614 Merge branch 'bugfix/docs_build_failure_on_rtd_v3_0' into 'release/v3.0'
Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide...

See merge request idf/esp-idf!5063
2019-05-27 13:59:43 +08:00
Jiang Jiang Jian
efe2993140 Merge branch 'bugfix/fix_espnow_watchdog_and_wps_crash_v3.0' into 'release/v3.0'
fix_espnow_watchdog_and_wps_crash

See merge request idf/esp-idf!5072
2019-05-24 19:54:25 +08:00
zhangyanjiao
f10d443b38 fix wifi bugs:
1. fix the crash when do WPS with some router
2. fix espnow bug when add node in STA+AP mode
3. fix espnow watchdog when modify peer
2019-05-24 16:01:28 +08:00
Krzysztof
bd86d9fbad Fix Breathe version to avoid docs build failure on ReadTheDocs server. Provide RTD project configuration file to be able to select python version for specific esp-idf release. (backport v3.0) 2019-05-23 20:26:19 +08:00
Jiang Jiang Jian
d0c3730390 Merge branch 'bugfix/scan_fail_when_no_ap_found_v3.0' into 'release/v3.0'
fix the bug when scan fail after STA failed to connect to a nonexistent AP (backport v3.0)

See merge request idf/esp-idf!4916
2019-05-06 10:46:40 +08:00
zhangyanjiao
4a2992aac5 fix the bug when scan fail after STA failed to connect to a nonexistent AP 2019-04-30 17:30:18 +08:00
Jiang Jiang Jian
34efdd1c08 Merge branch 'bugfix/wps_connect_fail_after_reason_code_change_v3.0' into 'release/v3.0'
wifi: fix the bug that WPS fails when AP is encrypted (backport v3.0)

See merge request idf/esp-idf!4899
2019-04-30 14:32:51 +08:00
zhangyanjiao
f399dc7d48 wifi: fix the bug that WPS fails when AP is encrypted 2019-04-29 15:54:02 +08:00
Angus Gratton
b9620410c8 Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff_v3.0' into 'release/v3.0'
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits (v3.0)

See merge request idf/esp-idf!4730
2019-04-16 08:07:28 +08:00
Angus Gratton
5122154dbb efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field
8th bit is not used by hardware.

As reported https://esp32.com/viewtopic.php?f=2&t=7800&p=40895#p40894
2019-04-09 09:59:35 +10:00
Jiang Jiang Jian
edf604188a Merge branch 'bugfix/modify_wifi_reason_code_v3.0' into 'release/v3.0'
wifi: modify wifi reason code (backport v3.0)

See merge request idf/esp-idf!4654
2019-04-08 10:31:22 +08:00
Jiang Jiang Jian
8cc4f17ddf Merge branch 'bugfix/ci_submodule_paths_v3.0' into 'release/v3.0'
CI - Fix the parsing of submodule paths  (backport v3.0)

See merge request idf/esp-idf!4571
2019-04-04 17:58:49 +08:00
Jiang Jiang Jian
dd777b9c64 Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.0' into 'release/v3.0'
bugfix/btdm_allow_a2dp_codec_dynamic_allocated_for_v3.0(backport v3.0)

See merge request idf/esp-idf!4261
2019-04-04 17:56:38 +08:00
wangmengyang
592a2e52ab component/bt: allow dynamic allocation of SBC decoder buffer used in A2DP sink to save internal DRAM 2019-04-02 05:04:29 +00:00
zhangyanjiao
fa69f9b915 wifi: modify wifi reason code 2019-04-02 05:02:15 +00:00
Anton Maklakov
b1d32da750 ci: Fix the parsing of submodule paths 2019-04-02 05:02:04 +00:00
Jiang Jiang Jian
9be6f0c0a6 Merge branch 'ci/retry_submodule_sync_v3.0' into 'release/v3.0'
Ci/retry submodule sync v3.0

See merge request idf/esp-idf!4664
2019-04-02 13:01:16 +08:00
Angus Gratton
b9fdbb9223 ci: Only use "github_sync" tagged runners to talk to GitHub 2019-04-02 14:03:21 +11:00
Angus Gratton
560e920020 ci: Retry submodule sync 2 more times before failing 2019-04-02 14:02:53 +11:00
Ivan Grokhotkov
d512e9ab0f Merge branch 'bugfix/esp_log_level_set_strcmp_v3.0' into 'release/v3.0'
log: fix tag comparison in esp_log_level_set (backport v3.0)

See merge request idf/esp-idf!4509
2019-03-21 18:28:13 +08:00
Jiang Jiang Jian
17e649ecc9 Merge branch 'bugfix/sphinx_build_failure_on_rtd_v3.0' into 'release/v3.0'
docs: Upgraded sphinx package version to prevent build failures on readthedocs…

See merge request idf/esp-idf!4556
2019-03-21 11:45:08 +08:00
David Ashley
bab3825795 log: fix tag comparison in esp_log_level_set
This is a fix for the esp_log_level_set function. The problem is when this
function is called but NOT withe the same 'c' string constant that the LOG*
calls used in each module, the cache check doesn't match, so the cached
entry won't get updated. There's no point in optimizing this function
anyway because it is only called rarely.

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

Closes https://github.com/espressif/esp-idf/pull/2996
2019-03-20 07:08:28 +00:00
Jiang Jiang Jian
1da16ab465 Merge branch 'bugfix/autoip_memoey_leak_debug_v3.0' into 'release/v3.0'
fix the bug in auto Ip memory leak (backport v3.0)

See merge request idf/esp-idf!4432
2019-03-20 11:33:30 +08:00
krzychb
a6e63f71f2 docs: Upgraded sphinx package version to prevent build failures on readthedocs site. Upgraded versions of other packages that are used during documentation build. (backport v3.0) 2019-03-19 20:17:12 +01:00
Jiang Jiang Jian
b0aff183e3 Merge branch 'bugfix/sorting_and_list_of_lib_in_idf_size_v3.0' into 'release/v3.0'
tools: Fix sorting and list of libs in idf_size.py

See merge request idf/esp-idf!4286
2019-03-17 14:46:34 +08:00
Jiang Jiang Jian
11550525c1 Merge branch 'bugfix/wifi_modify_wifi_kconfig_v3.0' into 'release/v3.0'
esp32: modify WiFi Kconfig in order to achieve better compatility and performance (bakcport v3.0)

See merge request idf/esp-idf!4384
2019-03-17 14:13:50 +08:00
Krzysztof Budzynski
dce85b4e58 Merge branch 'feature/upgrade_sphinx_and_breathe_v3.0' into 'release/v3.0'
docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4…

See merge request idf/esp-idf!4382
2019-03-16 00:58:56 +08:00
xiehang
c19bf9ab19 fix the bug in auto Ip memory leak 2019-03-06 21:04:08 +08:00
xiehang
909a780e81 fix the bug in auto Ip memory leak 2019-03-06 20:13:53 +08:00
Konstantin Kondrashov
a9adc920ea tools: Fix sorting and list of libs in idf_size.py
Make the same output as for v3.1, v3.2 and 3.3 for idf_size.py
--archives /path/to/file.map

Closes: TW28774
2019-03-06 06:26:36 +00:00
Jiang Jiang Jian
feb6973aa6 Merge branch 'bugfix/make_get_coreid_volatile_backport_v3.0' into 'release/v3.0'
freertos: Make xPortGetCoreID() volatile (backport v3.0)

See merge request idf/esp-idf!4377
2019-03-05 14:27:19 +08:00
Jiang Jiang Jian
4e3b482838 Merge branch 'bugfix/fix_some_wifi_bugs_0301_v3.0' into 'release/v3.0'
esp32: fix some WiFi bugs (backport v3.0)

See merge request idf/esp-idf!4403
2019-03-05 10:36:40 +08:00
Liu Zhi Fu
6d70432c7b esp32: fix some WiFi bugs
Fix following WiFi bugs:
1. Fix the bug that STA incorrectly deletes BA when receiving DelBA request
2. Add out of memory check
3. Fix the bug that STA incorrectly receives packets when scanning in connected status
2019-03-01 12:53:55 +08:00
XiaXiaotian
7593ca5997 esp32: modify WiFi Kconfig in order to achieve better compatility
and performance
2019-02-28 10:02:29 +08:00
krzychb
a7cd3f3ae2 docs: Preparation for upgrade of Sphinx and Breathe packages to versions 1.8.4 and 4.11.1. Updated check of Sphinx warnings to account for the filename instead of the whole path, that for the same errors may be different between English and Chinese docs. (backport v3.0) 2019-02-27 23:45:11 +01:00
Darian Leung
5bbb991c90 freertos: Make xPortGetCoreID() volatile
When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.

Closes #3093
2019-02-27 21:29:22 +08:00
Jiang Jiang Jian
59b4091fe5 Merge branch 'bugfix/wrong_connect_in_all_channel_scan_v3.0' into 'release/v3.0'
Wifi: bug fix of may connect to wrong AP in all channel scan (backport v3.0)

See merge request idf/esp-idf!4273
2019-02-22 11:13:22 +08:00
Jiang Jiang Jian
1b1053c863 Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.0' into 'release/v3.0'
component/bt: add a option to make report adv data and scan response individually (backport v3.0)

See merge request idf/esp-idf!4158
2019-02-20 11:15:27 +08:00
Deng Xin
71e4d231c6 Wifi: bug fix of may connect to wrong AP in all channel scan
1. enable threshold in all channel scan
2. bug fix of may connect to an open AP even set password in all channel scan
2019-02-15 12:41:18 +08:00
Jiang Jiang Jian
863131435f Merge branch 'bugfix/fix_some_wifi_bugs_0131_v3.0' into 'release/v3.0'
esp32: fix some WiFi bugs (backport v3.0)

See merge request idf/esp-idf!4220
2019-02-15 12:15:11 +08:00
Liu Zhi Fu
a774044688 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.
2019-01-31 21:22:09 +08:00
Jiang Jiang Jian
e04cb97187 Merge branch 'bugfix/i2c_hardware_filter_default_enable_v3.0' into 'release/v3.0'
driver(i2c): enable I2C master hardware filter by default (backport v3.0)

See merge request idf/esp-idf!3817
2019-01-25 13:54:49 +08:00
Tian Hao
4c0236e61e 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.
2019-01-24 18:38:36 +08:00
Jiang Jiang Jian
799f5b7a49 Merge branch 'bugfix/bootloader_map_size_v3.0' into 'release/v3.0'
bootloader: fix incorrect mapping size (backport v3.0)

See merge request idf/esp-idf!4140
2019-01-24 14:15:13 +08:00
Jiang Jiang Jian
6ca6cd4ef5 Merge branch 'bugfix/init_memctl_v3.0' into 'release/v3.0'
bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.0)

See merge request idf/esp-idf!4141
2019-01-23 22:14:21 +08:00
Ivan Grokhotkov
0ee46b6321 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.
2019-01-23 17:20:56 +08:00
Angus Gratton
42140822d5 Update esptool.py to v2.6 2019-01-23 17:15:06 +08:00
Ivan Grokhotkov
b6113eb73b 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.
2019-01-23 17:13:30 +08:00
Ivan Grokhotkov
3a88249180 bootloader: fix IROM and DROM swapped in log messages 2019-01-23 17:11:08 +08:00