Wang Meng Yang
a77aaf296a
Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
...
Fix timer collision in role switch
Closes IDFGH-5464
See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
Omar Chebib
32067f9b6b
Merge branch 'feature/freertos_snapshot_extraction' into 'master'
...
freertos: take tasks snapshot out of tasks.c source code
Closes IDF-3334
See merge request espressif/esp-idf!14675
2021-08-16 11:04:51 +00:00
xiongweichao
ba7252d2ea
Fix that when EXT CRYS is configured but not detected, light sleep is still allowed to be used
2021-08-16 16:51:54 +08:00
Wang Meng Yang
bdd4b45f6a
Merge branch 'bugfix/btdm_auto_update_PPCP_attribute_value' into 'master'
...
component/bt: fix bluedroid host auto update PPCP attribute value
See merge request espressif/esp-idf!14746
2021-08-16 07:25:50 +00:00
Wang Meng Yang
3e4f147c26
Merge branch 'bugfix/btdm_ble_connection_will_crash_durning_erase_flash' into 'master'
...
component/bt: Fixed ble conn will crash durning erase flash
See merge request espressif/esp-idf!14794
2021-08-16 07:00:50 +00:00
Jiacheng Guo
f20fb57871
vfs: fix select return value when non-permanent fd closed
2021-08-16 10:49:31 +08:00
Omar Chebib
83c9e1b223
freertos: take tasks snapshot out of tasks.c source code
2021-08-16 10:29:36 +08:00
jincheng
a523dd3ede
fix timer collision in role switch
...
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
Michael (XIAO Xufeng)
a0d2efe1be
Merge branch 'bugfix/xmc_overerase' into 'master'
...
bootloader: add xmc spi_flash startup flow to improve reliability
See merge request espressif/esp-idf!13895
2021-08-13 15:27:48 +00:00
Alex Lisitsyn
5944433424
Merge branch 'bugfix/modbus_allow_master_slave_work_simultaneously' into 'master'
...
freemodbus: fix issues when modbus master and slave work simultaneously
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master (https://github.com/espressif/esp-idf/issues/4699 )
Closes IDF-3012 and IDFGH-2619
See merge request espressif/esp-idf!12961
2021-08-13 14:46:17 +00:00
Alex Lisitsyn
9693ef4918
freemodbus: fix issues when modbus master and slave work simultaneously
...
fix slave destroy bug when master and slave init simultaneously
add additional timer group options for master
fix master and slave use the same timer group index (https://github.com/espressif/esp-idf/issues/4699 )
2021-08-13 22:46:09 +08:00
xiewenxiang
2e5f44afa3
component/bt: Fixed ble conn will crash durning erase flash
2021-08-13 17:57:33 +08:00
Jakob Hasse
7029f0537e
[build system]: Fixed common requirement for Linux
2021-08-13 16:50:29 +08:00
Marius Vikhammer
53975c444c
Merge branch 'update_copyright_notice_esp_hw_support_5' into 'master'
...
esp_hw_support: update copyright notice 5
See merge request espressif/esp-idf!14729
2021-08-13 08:40:47 +00:00
Marius Vikhammer
465830312b
Merge branch 'update_copyright_notice_esp_hw_support_4' into 'master'
...
esp_hw_support: update copyright notice 4
See merge request espressif/esp-idf!14728
2021-08-13 08:40:15 +00:00
Sachin Parekh
f430e86c0f
secure_boot/esp32(s2,c3): Disable read protecting of efuses
...
When secure boot is enabled, disable the ability to read protect
efuses that contain the digest.
2021-08-13 13:41:59 +05:30
Jakob Hasse
8750034c19
Merge branch 'feature/hmac_s3' into 'master'
...
[esp_hw_support]: HMAC upstream support for S3
See merge request espressif/esp-idf!14629
2021-08-13 06:44:49 +00:00
Konstantin Kondrashov
92ce4a8054
Merge branch 'bugfix/unicore_systimer_generate_rtos_tick' into 'master'
...
freertos: Fix settings of systimer for SysTicks in case Unicore
Closes IDF-3692
See merge request espressif/esp-idf!14735
2021-08-13 04:12:28 +00:00
Jakob Hasse
1c3be690ed
[esp_hw_support]: HMAC upstream support for S3
2021-08-13 12:01:06 +08:00
Alex Lisitsyn
a20df743f1
Merge branch 'bugfix/modbus_fix_compiler_err_when_tcp_is_disabled' into 'master'
...
Bugfix/modbus fix compiler err when tcp is disabled
Closes IDFGH-5019 and IDFGH-5376
See merge request espressif/esp-idf!13010
2021-08-12 14:39:26 +00:00
Alex Lisitsyn
1aa7f27468
add compile time checks for MB_MASTER_TCP_ENABLED
...
Signed-off-by: AshUK <github.AshUK@outlook.com>
2021-08-12 22:39:21 +08:00
Alex Lisitsyn
5981aa9cc2
Merge branch 'bugfix/modbus_fix_invalid_error_handling_for_duplicate_param_key' into 'master'
...
freemodbus: fix invalid error handling for duplicate param_key
Closes IDFGH-5641
See merge request espressif/esp-idf!14715
2021-08-12 13:01:26 +00:00
Mahavir Jain
c511f23254
Merge branch 'fix/warning_in_wifi_prov_mgr' into 'master'
...
provisioning: fix wifi warning in wifi_prov_mgr application
Closes IDF-3682
See merge request espressif/esp-idf!14720
2021-08-12 12:05:28 +00:00
Roland Dobai
26bc4971ac
Merge branch 'bugfix/idf_size_wrong_memory_calculations' into 'master'
...
Tools: Fix memory calculations of idf_size.py
Closes IDF-3246 and IDF-2434
See merge request espressif/esp-idf!14347
2021-08-12 11:36:36 +00:00
Michael (XIAO Xufeng)
dd40123129
bootloader: add xmc spi_flash startup flow to improve reliability
2021-08-12 17:22:42 +08:00
Jiang Jiang Jian
eb1a66e7c9
Merge branch 'bugfix/pmf_bcast_deauth_fix' into 'master'
...
Fix some PMF and FTM issues
Closes WIFI-3987
See merge request espressif/esp-idf!14611
2021-08-12 09:00:27 +00:00
KonstantinKondrashov
263c10cee1
freertos: Fix settings of systimer for SysTicks in case Unicore
...
systimer was stopped because the option SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN is set by default 1, it blocks counting.
For Unicore should be:
SYSTIMER_TIMER_UNIT1_CORE0_STALL_EN 1
SYSTIMER_TIMER_UNIT1_CORE1_STALL_EN 0
2021-08-12 12:30:52 +05:00
Omar Chebib
4e3f5573c4
uart: cleaner way of handling error in a critical section
...
Some critical sections have also been added, making the code more
symetric accross the similar functions.
Closes https://github.com/espressif/esp-idf/pull/6396
2021-08-12 10:52:16 +08:00
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
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
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
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
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
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
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
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
Zim Kalinowski
afc77dbc5a
freertos: Sync safe changes from Amazon SMP branch
2021-08-10 05:13:43 +08:00
aleks
60ac95a6b2
freemodbus: fix invalid error handling for duplicate param_key
2021-08-09 14:32:22 +02:00
Roland Dobai
03b361c5a6
Merge branch 'update_copyright_notice_esp_hw_support_2' into 'master'
...
esp_hw_support: update copyright notice 2
See merge request espressif/esp-idf!14678
2021-08-09 07:50:26 +00:00
Wang Meng Yang
8652b1d576
Merge branch 'bugfix/btdm_esp32_ble_white_list_connection_fail' into 'master'
...
Fixed ESP32 BLE can't resolve the peer address when enable white list
See merge request espressif/esp-idf!14348
2021-08-09 06:46:08 +00:00
Yang Zhao
d1f4b74812
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-09 13:13:51 +08:00
Jakob Hasse
69ea35ffac
Merge branch 'feature/freertos_mock' into 'master'
...
[freertos] Freertos mock
See merge request espressif/esp-idf!14493
2021-08-09 02:52:55 +00:00
Marius Vikhammer
4b07fcca65
Merge branch 'bugfix/crypto_gdma_transfer_ability' into 'master'
...
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
Closes IDF-3676
See merge request espressif/esp-idf!14665
2021-08-09 01:15:36 +00:00
Ivan Grokhotkov
95699a9260
Merge branch 'bugfix/libsodium_build_with_gnu_make' into 'master'
...
libsodium: fix build issues with GNU Make
Closes IDF-3673
See merge request espressif/esp-idf!14661
2021-08-08 07:20:02 +00:00
Mahavir Jain
83956ebbae
Merge branch 'feature/update_efuses_for_esp32s2' into 'master'
...
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
Closes IDF-3263
See merge request espressif/esp-idf!13644
2021-08-06 14:24:20 +00:00
Jiang Jiang Jian
6e1f8a68b9
Merge branch 'feature/support_esp32s3_wifi_lightsleep' into 'master'
...
support esp32s3 wifi lightsleep
Closes IDF-1781
See merge request espressif/esp-idf!14569
2021-08-06 12:51:46 +00:00
Roland Dobai
7384149780
Merge branch 'update_copyright_notice_esp32s2_esp32s3' into 'master'
...
esp32s2, esp32s3: update copyright notice
See merge request espressif/esp-idf!13831
2021-08-06 10:36:07 +00:00
Jakob Hasse
84d184bdb0
Merge branch 'bugfix/nvs_corrupted_storage_crashes_app' into 'master'
...
[NVS]: fix crashes from entry state 1
See merge request espressif/esp-idf!14548
2021-08-06 09:14:21 +00:00
Jakob Hasse
c9984faaef
[mocks]: freertos mock
...
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Wang Fang
59aa60d52a
Merge branch 'docs/provide_apb_clock_frequency_in_api-reference_timers' into 'master'
...
docs: provide APB clock frequency in api-reference/timers
Closes DOC-1689
See merge request espressif/esp-idf!14593
2021-08-06 06:50:26 +00:00
Roland Dobai
9c934e87f3
Merge branch 'update_copyright_notice_esp_hw_support_1' into 'master'
...
esp_hw_support: update copyright notice
See merge request espressif/esp-idf!14677
2021-08-06 06:17:37 +00:00
morris
dbeb4bdb84
uart: support alloc driver object in SRAM
...
If CONFIG_UART_ISR_IN_IRAM is on, which means user hope the uart
interrupt can still be serviced even when cache is diabled (e.g.
writing to flash). In that case, the driver should make sure to
put the all related objects into SRAM, avoid putting them in the PSRAM.
Closes https://github.com/espressif/esp-idf/issues/7044
Closes https://github.com/espressif/esp-idf/pull/7355
2021-08-06 13:37:40 +08:00
morris
62d9109eb5
uart: format driver code by astyle
2021-08-06 13:36:57 +08:00
KonstantinKondrashov
3cf4fbc150
efuse(esp32s2): Added flash_ver, psram_ver, pkg_ver efuses
2021-08-06 13:14:54 +08:00
Mahavir Jain
7b5f731cce
Merge branch 'esp32c3/override_assert' into 'master'
...
newlib: Override __assert and __assert_func
Closes IDF-3196 and IDFGH-5473
See merge request espressif/esp-idf!13740
2021-08-06 05:02:00 +00:00
Michael (XIAO Xufeng)
18e681ce2f
Merge branch 'bugfix/spi_master_crash_cache_disabled' into 'master'
...
spi_master: fix the crash when using interrupt mode when cache is disabled
Closes IDFGH-4992
See merge request espressif/esp-idf!14660
2021-08-06 03:37:26 +00:00
Wang Fang
0ba73ee7e2
docs: provide APB clock frequency in api-reference/timers
2021-08-06 11:05:32 +08:00
Wang Meng Yang
8fc30ece07
Merge branch 'component_bt/add_spp_faq' into 'master'
...
Component_bt/Add FAQ in SPP Demo README
Closes FCS-611
See merge request espressif/esp-idf!12586
2021-08-06 02:28:14 +00:00
Jan Brudný
83bd078eb4
esp_hw_support: update copyright notice
2021-08-05 17:38:43 +02:00
Jan Brudný
db41f2efdd
esp_hw_support: update copyright notice
2021-08-05 16:30:10 +02:00
Jan Brudný
7fa88a49d4
esp32s2: update copyright notice in signature test
2021-08-05 15:01:26 +02:00
Jan Brudný
562ce4d009
esp32s2, esp32s3: update copyright notice
2021-08-05 15:01:26 +02:00
SalimTerryLi
e5ddc12a08
MCPWM/capture: API workflow optimization
...
deprecate isr_register to introduce new callback based API, with framework managed interrupt routine
new HC-SR04 example
2021-08-05 19:12:58 +08:00
xiewenxiang
95c35288bc
component/bt: add local irk to controller
2021-08-05 17:32:08 +08:00
Jakob Hasse
9bb2fc2afd
Merge branch 'feature/esp_common_linux_in_host_tests' into 'master'
...
[nvs]: use real esp_common on host tests
See merge request espressif/esp-idf!14408
2021-08-05 08:31:21 +00:00
Sachin Parekh
6582f7070e
Update tests for assert and abort
...
- Place panic_abort in IRAM
- Added abort, assert test case in case of cache disabled
- Expect assert instead of abort in a freertos_mutex test
2021-08-05 11:09:22 +05:30
Sachin Parekh
41973b761e
newlib: Override __assert and __assert_func
...
Default assert implementation calls fiprintf, which tries to acquire a
lock and fails if it is executing in critical section or ISR
2021-08-05 11:09:22 +05:30
Konstantin Kondrashov
1e8d1344a1
Merge branch 'feature/doc_sbv2_key_not_read_protected' into 'master'
...
secure_boot_v2(doc): secure_boot_v2 key/s must be readable
See merge request espressif/esp-idf!14619
2021-08-05 05:20:36 +00:00
Mahavir Jain
a2111ce2b5
libsodium: fix source directory names to address build issues with Make
2021-08-05 12:28:09 +08:00
Michael (XIAO Xufeng)
947980ecac
Merge branch 'bugfix/uart_set_pin_use_iomux' into 'master'
...
uart: uart_set_pin function will now use IOMUX whenever possible
Closes IDF-3183
See merge request espressif/esp-idf!14318
2021-08-05 04:17:29 +00:00
Michael (XIAO Xufeng)
de0f24e373
spi_master: fix the crash when using interrupt mode when cache is disabled
...
Closes https://github.com/espressif/esp-idf/issues/6529
Closes https://github.com/espressif/esp-idf/issues/6781
Closes https://github.com/espressif/esp-idf/issues/7368
2021-08-05 12:04:39 +08:00
Marius Vikhammer
bf21cf0c99
aes/sha: change gdma transfer ability for sram to be 1 byte aligned
...
Previously GDMA transfer ability was set to 4 bytes, but buffers might
be not fulfill these requirements
2021-08-05 11:02:17 +08:00
yuanjm
e9dab3203e
ping_sock: Fix esp_ping_new_session may return ESP_OK when the error occured
...
Closes https://github.com/espressif/esp-idf/issues/7363
2021-08-05 10:38:38 +08:00
xiewenxiang
1cc0f6aac5
Fixed ESP32 BLE can't resolve the peer address when enable white list
2021-08-04 22:00:38 +08:00
Li Shuai
df93733e56
light sleep: wifi sleep parameter optimize for esp32s3
2021-08-04 21:58:35 +08:00
Li Shuai
d73a09cd8b
light sleep: add wifi mac sleep support for esp32s3
2021-08-04 21:58:33 +08:00