Jiang Jiang Jian
fb7cd2a7a7
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp_v3.2' into 'release/v3.2'
...
component/bt: add a option to make report adv data and scan response individually (backport v3.2)
See merge request idf/esp-idf!4157
2019-01-25 13:52:16 +08:00
Ivan Grokhotkov
c208a6b451
Merge branch 'bugfix/mqtt_tests_local_broker_v3.2' into 'release/v3.2'
...
MQTT tests: connect to local broker in CI (Backport 3.2)
See merge request idf/esp-idf!4119
2019-01-24 22:00:26 +08:00
Tian Hao
78511c3cc3
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 14:43:36 +08:00
Jiang Jiang Jian
cd6bbaa727
Merge branch 'bugfix/bootloader_map_size_v3.2' into 'release/v3.2'
...
bootloader: fix incorrect mapping size (backport v3.2)
See merge request idf/esp-idf!4138
2019-01-24 14:09:35 +08:00
Jiang Jiang Jian
55b8f2ea8c
Merge branch 'bugfix/sha_ownership_v3.2' into 'release/v3.2'
...
hwcrypto sha: Allow SHA contexts to be shared between tasks (backport v3.2)
See merge request idf/esp-idf!4143
2019-01-24 14:08:35 +08:00
Jiang Jiang Jian
1ae9a2ae0b
Merge branch 'bugfix/wifi_fix_invalid_csi_data_index_v3.2' into 'release/v3.2'
...
esp32: fix invalid channel state information(CSI) data index (backort v3.2)
See merge request idf/esp-idf!4129
2019-01-23 22:14:04 +08:00
Jiang Jiang Jian
28eb488892
Merge branch 'bugfix/vfs_unregister_nested_v3.2' into 'release/v3.2'
...
vfs: fix unregister removing top level VFS instead of nested (backport v3.2)
See merge request idf/esp-idf!4137
2019-01-23 21:54:50 +08:00
Jiang Jiang Jian
fcf1dba9cd
Merge branch 'bugfix/init_memctl_v3.2' into 'release/v3.2'
...
bootloader, esp32: add workaround for Tensilica erratum 572 (backport v3.2)
See merge request idf/esp-idf!4134
2019-01-23 21:43:58 +08:00
Angus Gratton
94ed7b8298
hwcrypto sha: Use spinlocks instead of semaphores for small state changes
...
Significant performance improvement and smaller RAM footprint.
2019-01-23 18:18:13 +08:00
Angus Gratton
24fab0b7a9
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).
2019-01-23 18:18:13 +08:00
Angus Gratton
c4c1af114e
Update esptool.py to v2.6
2019-01-23 17:02:02 +08:00
Ivan Grokhotkov
b1ee25afde
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:02:02 +08:00
Ivan Grokhotkov
cccaa68467
bootloader: fix IROM and DROM swapped in log messages
2019-01-23 17:02:02 +08:00
Ivan Grokhotkov
6080767379
vfs: fix unregister removing top level VFS instead of nested
...
Credits @neoniousTR.
Fixes https://github.com/espressif/esp-idf/pull/2770
2019-01-23 16:28:48 +08:00
Ivan Grokhotkov
42b6c4953d
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 16:23:56 +08:00
XiaXiaotian
746e831c19
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.
2019-01-22 20:30:05 +08:00
Ivan Grokhotkov
36f9091e03
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2019-01-22 10:15:10 +01:00
David Cermak
00bf376bc3
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-21 06:36:02 +01:00
Jiang Jiang Jian
fe19ea977b
Merge branch 'bugfix/phy_rtc_cache_disabled_v3.2' into 'release/v3.2'
...
Fix PHY/RTC functions called in ISR, but stored in flash
See merge request idf/esp-idf!4114
2019-01-18 10:54:03 +08:00
Tian Hao
a953f73c64
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
2019-01-16 22:04:49 +08:00
Jiang Jiang Jian
bed50a93f0
Merge branch 'bugfix/wifi_fix_incorrect_tx_complete_state_v3.2' into 'release/v3.2'
...
esp32: fix the incorrect tx complete state issue (backport v3.2)
See merge request idf/esp-idf!4105
2019-01-13 00:10:50 +08:00
jack
a80bfc1dcf
esp32: fix the incorrect tx complete state issue
2019-01-12 19:40:52 +08:00
Jiang Jiang Jian
51d846417e
Merge branch 'bugfix/fix_ba_hardware_index_deleting_issue_v3.2' into 'release/v3.2'
...
esp32: fix wrongly deleting hardware BA index bug (backport v3.2)
See merge request idf/esp-idf!4102
2019-01-12 14:23:33 +08:00
Liu Zhi Fu
ca54a5ce2a
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.
2019-01-11 21:46:28 +08:00
Jiang Jiang Jian
7b1777dd30
Merge branch 'bugfix/wifi_defragmentation_only_for_data_frame_v3.2' into 'release/v3.2'
...
esp32: do defragmentation only for data and management frame (backport v3.2)
See merge request idf/esp-idf!4090
2019-01-11 21:25:19 +08:00
Ivan Grokhotkov
64b46ff1d9
Merge branch 'bugfix/check_dependencies_msys_v3.2' into 'release/v3.2'
...
tools: Be more helpful to MSYS32 users with package installation & check if current python is inside virtual environment (backport v3.2)
See merge request idf/esp-idf!4063
2019-01-11 15:42:20 +08:00
Sergei Silnov
c355d8a88e
python: Add check if current python is inside virtual environment
2019-01-10 09:37:21 +01:00
Roland Dobai
977af32d0f
tools: Be more helpful to MSYS32 users with package installation
2019-01-10 09:37:02 +01:00
XiaXiaotian
f0a6432717
esp32: do defragmentation only for data and management frame
...
Check frame type before defragmentation. Only data and management frame
can do defragmentation.
2019-01-10 14:17:21 +08:00
Jiang Jiang Jian
c18e86a826
Merge branch 'bugfix/coex_unforce_wifi_if_no_data_buffered_in_beacon_v3.2' into 'release/v3.2'
...
esp32: unforce wifi if receiving beacon with no data buffered in dream (backport v3.2)
See merge request idf/esp-idf!4036
2019-01-10 14:11:02 +08:00
Jiang Jiang Jian
b5d53a0eff
Merge branch 'bugfix/timer_delete_dispatch_race_v3.2' into 'release/v3.2'
...
esp_timer: do not allow deleting timers while callbacks are dispatched (backport v3.2)
See merge request idf/esp-idf!4062
2019-01-10 13:44:15 +08:00
XiaXiaotian
10afc3de77
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.
2019-01-09 14:13:08 +08:00
Jiang Jiang Jian
545878d4e9
Merge branch 'bugfix/ignore_windows_conf_tools_v32' into 'release/v3.2'
...
gitignore: Add mconf-idf.exe and conf-idf.exe (v3.2)
See merge request idf/esp-idf!4071
2019-01-09 13:57:54 +08:00
Jiang Jiang Jian
ec7909956d
Merge branch 'bugfix/fix_mbox_thread_safe_issue_v3.2' into 'release/v3.2'
...
tcpip: fix mbox thread-safe issue (backport v3.2)
See merge request idf/esp-idf!4005
2019-01-09 10:21:22 +08:00
Ivan Grokhotkov
d9c3a08813
Merge branch 'bugfix/mdns_udp_send_protected_backport3.2' into 'release/v3.2'
...
mdns networking udp send protected (Backport 3.2)
See merge request idf/esp-idf!4020
2019-01-08 12:04:23 +08:00
Ivan Grokhotkov
eb9a93f9b7
Merge branch 'bugfix/mdns_crash_when_query_backport3.2' into 'release/v3.2'
...
mdns crash when query (backport 3.2)
See merge request idf/esp-idf!3950
2019-01-08 12:03:52 +08:00
Jiang Jiang Jian
710019a47f
Merge branch 'bugfix/fix_the_country_code_bug_v3.2' into 'release/v3.2'
...
wifi: fix the bug that STA can scan the channel out of the country regdomain range (backport v3.2)
See merge request idf/esp-idf!4068
2019-01-07 20:33:02 +08:00
Ivan Grokhotkov
2d27358f61
Merge branch 'feature/i2s_tx_descriptor_auto_clear_backport_v3.2' into 'release/v3.2'
...
i2s: add (optional) support to clear tx descriptor in underflow case (backport v3.2)
See merge request idf/esp-idf!4056
2019-01-07 16:34:01 +08:00
zhangyanjiao
b80eba8d5a
wifi: fix the bug that STA can scan the channel out of the country regdomain range
2019-01-04 14:34:36 +08:00
Angus Gratton
7832db7bb3
gitignore: Add mconf-idf.exe and conf-idf.exe
...
Problem since f6cd55d2ac
Closes https://github.com/espressif/esp-idf/issues/2751
2019-01-04 10:09:35 +11:00
Liu Zhi Fu
efa70bc8e3
lwip: fix mbox thread-safe issue
...
Fix a mbox free thread-safe issue that can lead to crash in sys_arch_mbox_fetch.
2019-01-02 22:48:19 +08:00
Ivan Grokhotkov
31b7db5c38
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.
2019-01-02 20:06:06 +11:00
Mahavir Jain
8d02ccd2f7
examples: enable option to auto clear I2S tx descriptor on underflow
...
Closes: https://github.com/espressif/esp-idf/issues/1945
(cherry picked from commit 1751607adf
)
2018-12-31 13:43:34 +05:30
Mahavir Jain
62eb0f4c12
i2s: add (optional) support to clear tx descriptor in underflow case
...
It has been observed that, in case of underflow (data unavailability) in
I2S transmission, previously filled up tx descriptors continue to get
transmitted on line, causing noise in case of audio use case.
This change adds optional `tx_desc_auto_clear` field during I2S driver intialization
than can zero initialize tx descriptor in case of underflow situation in
interrupt handler itself.
Closes: https://github.com/espressif/esp-idf/issues/1789
(cherry picked from commit 765bf674d0
)
2018-12-31 13:42:26 +05:30
Jiang Jiang Jian
155f034b1e
Merge branch 'feature/freemodbus_move_rs485_mode_control_v3.2' into 'release/v3.2'
...
examples: freemodbus port serial slave move uart mode settings into example (backport v3.2)
See merge request idf/esp-idf!4015
2018-12-29 10:28:27 +08:00
Jiang Jiang Jian
47dea73b03
Merge branch 'doc/btdm_modem_sleep_EVED_mode_for_v3.2' into 'release/v3.2'
...
doc/btdm_modem_sleep_EVED_mode_for_v3.2(backport v3.2)
See merge request idf/esp-idf!4016
2018-12-29 10:27:52 +08:00
Jiang Jiang Jian
28fdf96828
Merge branch 'bugfix/ota_magic_byte_issue_v3.2' into 'release/v3.2'
...
Bugfix/ota magic byte issue v3.2(backport v3.2)
See merge request idf/esp-idf!4004
2018-12-29 10:24:24 +08:00
Jiang Jiang Jian
3969fe0dad
Merge branch 'bugfix/lwip_add_hostname_option_in_dhcp_discover_v3.2' into 'release/v3.2'
...
add hostname option in dhcp discover (backport v3.2)
See merge request idf/esp-idf!3938
2018-12-29 10:07:50 +08:00
Jiang Jiang Jian
c70c25afd0
Merge branch 'mesh/bugfix_v3.2' into 'release/v3.2'
...
mesh: when no parent is found, send probe request
See merge request idf/esp-idf!3940
2018-12-28 14:02:23 +08:00
Jiang Jiang Jian
d59d9eef4f
Merge branch 'bugfix/bbpll_wakeup_reset_v3.2' into 'release/v3.2'
...
BBPLL reset fixes (backport v3.2)
See merge request idf/esp-idf!4011
2018-12-24 18:16:47 +08:00