Luca Burelli
e41e67f2f1
uart: Add missing critical section wrappers around rx_buffered_len
...
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.
Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>
Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
Omar Chebib
339454ff19
bootloader: Kconfig files in bootloader_components is now part of menuconfig
...
It is now possible to configure the options (Kconfig) of bootloader components
directly from the menuconfig
2021-08-12 10:43:00 +08:00
simon.chupin
294f9783fc
Tools: Fix memory calculations of idf_size.py
2021-08-11 17:51:51 +02:00
Shu Chen
48b98214ae
openthread: enable ot_cli on esp32h2
2021-08-11 17:51:50 +02:00
Michael (XIAO Xufeng)
064f12cb90
idf_size.py: fixed diram counted twice issue, and improve display
...
Currently static RAM usage are listed under corresponding physical
memory.
ld: fix linker script for C3 and S3
2021-08-11 17:51:50 +02:00
Roland Dobai
2c49af9e75
Merge branch 'feature/docker_shallow_clone' into 'master'
...
docker: Use Ubuntu version 20.04
See merge request espressif/esp-idf!14662
2021-08-11 13:58:39 +00:00
Tomas Rezucha
57b243a699
Update Ubuntu to v20.04
2021-08-11 20:34:02 +08:00
Wang Meng Yang
6dbe0da178
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Bugfix/fix deep sleep miss bug mr master
See merge request espressif/esp-idf!14734
2021-08-11 11:46:08 +00:00
Nachiket Kukade
09ab053ea1
esp_wifi: Fix some PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Jiacheng Guo
76ec76c12c
mdns: add more mdns result attributes
2021-08-11 19:02:05 +08:00
Jiang Jiang Jian
b1c3ee71c5
Merge branch 'bugfix/wpa_supplicant_fixes' into 'master'
...
Merge wpa_supplicant github PRs
Closes IDFGH-5524, IDFGH-5510, IDFGH-5503, and IDFGH-5644
See merge request espressif/esp-idf!14636
2021-08-11 10:51:41 +00:00
Li Shuai
d3b5f97573
system: fix pm lock issue in dual core mode
2021-08-11 16:00:07 +08:00
Zim Kalinowski
32ee0bdb29
Merge branch 'refactor/move_mocks_to_tools' into 'master'
...
[mocks]: move mocks dir to tools/
Closes IDF-3675
See merge request espressif/esp-idf!14719
2021-08-11 06:27:19 +00:00
Yang Zhao
931da79804
1.Update the esp32 bt lib.The last update is still the old one,so update it again.
...
2.The controller may miss the sleep time caculated before. So it will stuck
in the loop to get the deep sleep HW flag. Then the watchdog issue happen.
2021-08-11 14:05:45 +08:00
Marius Vikhammer
85b107bf54
Merge branch 'bugfix/rename_ext_mem_bss_section' into 'master'
...
ld: rename .ext_ram.noinit to .ext_ram_noinit
See merge request espressif/esp-idf!14717
2021-08-11 05:51:00 +00:00
Chen Yi Qun
fbd25c3837
I2C: add conf_update for esp32c3 i2c
2021-08-11 13:39:07 +08:00
Cao Sen Miao
2f5c0355fe
I2C: Fix i2c write fake timeout and WDT triggered
2021-08-11 13:39:07 +08:00
Axel Lin
20d0891e1e
wpa_supplicant: Trivial typo fix for setting spp_sup.require
...
No functional change since both SPP_AMSDU_CAP_ENABLE and SPP_AMSDU_REQ_ENABLE
are defined as 1.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7366
2021-08-11 13:07:31 +08:00
Axel Lin
cd68b93e3b
esp_supplicant: Make esp_rrm_send_neighbor_rep_request return proper error
...
Current code always return 0 even though wpas_rrm_send_neighbor_rep_request()
fails. Return proper error so the caller can know what's wrong.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7233
2021-08-11 13:07:31 +08:00
Axel Lin
2a5d5c02b4
wpa_supplicant: Fix clear WLAN_FC_STYPE_ACTION bit in esp_register_action_frame
...
It should clear WLAN_FC_STYPE_ACTION bit intead of WLAN_FC_STYPE_ACTION.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7252
2021-08-11 13:07:31 +08:00
Axel Lin
e144a60206
wpa_supplicant: Fix memory leak in esp_issue_scan error paths
...
Fix memory leak when allocate memory for params->ssid / params->bssid fails.
Fixes: 27101f9454
("wpa_supplicant: Add initial roaming support")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Sagar Bijwe <sagar@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/7240
2021-08-11 13:07:31 +08:00
Harshit Malpani
baa2faa94b
provisioning: fix wifi warning in wifi_prov_mgr application
...
Scan configuration parameters should not modify in co-existence mode.
2021-08-11 09:54:37 +05:30
Dai Zi Yan
9998e88ada
Merge branch 'docs/add_GPIO_list_for_each_chip' into 'master'
...
docs:add GPIO reference list for chip ESP32,ESP32-S2 , ESP32-C3 and ESP32-S3
Closes DOC-1540
See merge request espressif/esp-idf!14281
2021-08-11 04:10:02 +00:00
daiziyan
454f027f51
docs:add GPIO reference list for chip ESP32,ESP32-S2, ESP32-C3 and ESP32-S3
2021-08-11 10:53:20 +08:00
Li Shuai
de28280fd3
Merge branch 'bugfix/sleep_rtc_bus_isolate_issue' into 'master'
...
fix rtc register read error and add workaround for rtc bus isolate issue
Closes WIFI-3896
See merge request espressif/esp-idf!14721
2021-08-11 02:13:40 +00:00
morris
69cdc7fe7d
Merge branch 'example/add_s3_support_blink' into 'master'
...
Added support for the ESP32-S3 in the blink example
See merge request espressif/esp-idf!13035
2021-08-10 16:10:26 +00:00
Roland Dobai
37cde5bf4b
Merge branch 'update_copyright_notice_esp_hw_support_3' into 'master'
...
esp_hw_support: update copyright notice 3
See merge request espressif/esp-idf!14727
2021-08-10 15:37:16 +00:00
Ondrej Kosta
a37e4b18c6
phy_lan87xx: extended Vendor Specific Registers definition
...
Extended Vendor Specific Registers definition to include definitions for LAN8740A/LAN8741A/LAN8742A
Closes https://github.com/espressif/esp-idf/pull/7269
2021-08-10 15:54:32 +02:00
morris
6fdc5877cd
lcd: support i80 LCD on esp32/s2/s3
2021-08-10 21:06:59 +08:00
morris
3bcd9278fa
i2s: expose resource object to other component
2021-08-10 21:06:59 +08:00
morris
1656cee69d
i2s: correct soc info
...
1. remove non-exist I2S instance
2. update soc_caps.h, i2s_ll.h
2021-08-10 21:06:59 +08:00
Jan Brudný
5195b6a237
esp_hw_support: update copyright notice 5
2021-08-10 13:32:08 +02:00
Jan Brudný
f51e20d814
esp_hw_support: update copyright notice 4
2021-08-10 13:31:53 +02:00
Jan Brudný
7f50818a99
esp_hw_support: update copyright notice 3
2021-08-10 13:30:57 +02:00
Wang Meng Yang
189ccc5493
Merge branch 'bugfix/fix_deep_sleep_miss_bug_mr_master' into 'master'
...
Fixed missing the sleep time
See merge request espressif/esp-idf!14550
2021-08-10 11:15:55 +00:00
Michael (XIAO Xufeng)
e37873f285
Merge branch 'bugfix/uart_driver_obj_into_sram' into 'master'
...
uart: put driver object into sram
Closes IDFGH-5281 and IDFGH-5634
See merge request espressif/esp-idf!13606
2021-08-10 09:35:36 +00:00
morris
56760c9669
pcnt: refactor hal driver
2021-08-10 17:19:21 +08:00
suda-morris
9920271c21
pcnt: update pcnt soc data for all targets
2021-08-10 17:19:21 +08:00
XieWenxiang
30ccfdb3b9
component/bt: fix bluedroid host auto update PPCP attribute value
2021-08-10 17:18:49 +08:00
Nachiket Kukade
ae4bf5bdac
Merge branch 'docs/wifi_security_and_dpp' into 'master'
...
docs: Separate section for WiFi security, added DPP Doc
See merge request espressif/esp-idf!9082
2021-08-10 09:06:10 +00:00
Ivan Grokhotkov
25ab0aeee6
ci: don't download artifacts for docker build job
2021-08-10 11:29:25 +03:00
morris
f0fab687ad
pid_ctrl: abstract into example common component
2021-08-10 15:32:06 +08:00
pedro.minatel
50adfe8eab
Added support for the ESP32-S3 in the blink example
2021-08-10 15:32:02 +08:00
laokaiyao
b6c5a6ee8b
mcpwm: DC motor PID control example
2021-08-10 15:31:45 +08:00
Nachiket Kukade
f38b18f046
docs: Separate Doc on WiFi security, added DPP Doc
...
1. Add new Doc on WiFi security
2. Add DPP related Doc under WiFi
3. Add Supplicant public headers in Doxyfile
2021-08-10 12:35:43 +05:30
Jakob Hasse
88eb4fa6a6
[mocks]: moved mocks dir to tools/
2021-08-10 14:45:42 +08:00
Li Shuai
a82f33c9b5
fix rtc register read error and add workaround for rtc bus isolate issue
2021-08-10 12:01:29 +08:00
Marius Vikhammer
6a2f7b6f88
ld: rename .ext_ram.noinit to .ext_ram_noinit
...
Older versions of the coredump utility tool do not correctly
handle this nameing scheme. Rename to keep forward compatibility.
2021-08-10 11:13:54 +08:00
morris
768af636a6
mcpwm: updated brushed dc example
2021-08-10 10:42:12 +08:00
Zim Kalinowski
0f0bd29f8f
Merge branch 'zims-freertos-sync-1' into 'master'
...
freertos: Sync safe changes from Amazon SMP branch
See merge request espressif/esp-idf!14699
2021-08-09 21:13:51 +00:00