Commit Graph

19785 Commits

Author SHA1 Message Date
Ivan Grokhotkov
e9badf51c7 sdmmc: I/O phase adjustments
1. Fix incorrect meaning of SDMMC.clock bits, synchronize the names
   with the TRM.
2. Choose input and output phases to satisfy typical timing
   requirements.
3. Move use_hold_reg setting into the host driver, since it is related
   to timing.

Closes https://github.com/espressif/esp-idf/issues/8521
Related to https://github.com/espressif/esp-idf/issues/8257
2023-04-14 18:18:54 +08:00
Jakob Hasse
6991a92895 docs: added new C++ language standard 2023-04-14 17:57:01 +08:00
morris
c49c165bca Merge branch 'bugfix/lcd_align_before_cache_write_back' into 'master'
manually align the color buffer before cache write back

See merge request espressif/esp-idf!23143
2023-04-14 16:36:19 +08:00
C.S.M
247cc7dd87 Merge branch 'feature/cache_32M_map' into 'master'
spi_flash: 32M bits address flash cache map

Closes IDF-7119 and IDF-4693

See merge request espressif/esp-idf!23021
2023-04-14 16:01:25 +08:00
chenjianhua
056ae5dd21 Update bt lib for ESP32-C3 and ESP32-S3
- Fixed non-connectable and non-scannable directed adv can't be scanned
2023-04-14 15:44:17 +08:00
Kevin (Lao Kaiyao)
d635fc0f32 Merge branch 'bugfix/i2s_tdm_multi_dev_on_h2' into 'master'
i2s: fixed tdm multi dev test on h2

See merge request espressif/esp-idf!23054
2023-04-14 15:02:31 +08:00
Wu Zheng Hui
98849634b3 Merge branch 'bugfix/fix_wrong_frame_ptr_after_wake_restore' into 'master'
bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore

See merge request espressif/esp-idf!23113
2023-04-14 13:22:24 +08:00
Mahavir Jain
6da2eb97fa Merge branch 'contrib/github_pr_11116' into 'master'
nvs_host_test: replace sprintf with snprintf (GitHub PR)

Closes IDFGH-9781

See merge request espressif/esp-idf!23173
2023-04-14 11:56:29 +08:00
Cao Sen Miao
c7053641bc spi_flash: 32M bits address flash map, (for customer use only) 2023-04-14 11:37:09 +08:00
Aditya Patwardhan
2dd280f126
esp-tls: Added getter/setter function for the conn_state.
* Added the setter function to set the connection sockfd value
Closes https://github.com/espressif/esp-idf/issues/10871
2023-04-13 20:03:50 +05:30
Ivan Grokhotkov
fee3082d88
vfs: VFS_MAX_COUNT should be non-zero even without IO support 2023-04-13 15:37:37 +02:00
Jiang Jiang Jian
7da760dbd3 Merge branch 'bugfix/install_keys_after_successful_4_of_4_tx' into 'master'
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message

Closes WIFI-5678

See merge request espressif/esp-idf!23141
2023-04-13 19:02:20 +08:00
Sonika Rathi
248dadc8c8 Merge branch 'docs/descrive-approach-fatfstools' into 'master'
docs: Describe the approach of fatfsgen.py and fatfsparse.py

Closes IDF-4755

See merge request espressif/esp-idf!19978
2023-04-13 18:48:51 +08:00
Ondrej Kosta
6ed31a98bd Merge branch 'bugfix/eth_driver_cleanup' into 'master'
Ethernet driver and documentation clean-up

Closes IDF-6339

See merge request espressif/esp-idf!23051
2023-04-13 15:07:43 +08:00
Darian Leung
a5b04de565 bt: Remove FreeRTOS static allocation from OSI functions
Previously, the BT OSI would use various FreeRTOS "create static" functions to
ensure that semaphores and queues were always allocated to internal memory.
However, from commit e21ab0332b onwards, all
dynamic memory allocated by FreeRTOS will default to internal RAM.

Thus, the extra "create static" calls can be removed to simply the code.
2023-04-13 15:06:21 +08:00
Guillaume Souchere
48932ce910 Merge branch 'feature/heap-in-flash' into 'master'
heap: Add a configuration that places all the heap component in flash

Closes IDF-7143 and IDF-2853

See merge request espressif/esp-idf!23050
2023-04-13 14:38:15 +08:00
Omar Chebib
a0f8434f93 i2c: fix a bug in sda sample timing
* Closes https://github.com/espressif/esp-idf/issues/9777

This bug prevented SCL line to work properly after a NACK was received in master mode.
2023-04-13 14:37:44 +08:00
Ondrej Kosta
f6715c9c29 esp_eth pytest: increased robustness of the L2 test
Added filtering frames based on MAC address
2023-04-13 08:26:45 +02:00
Radek Tandler
d8b8ab5d43 Merge branch 'feature/wl_host_test_cmake' into 'master'
Storage: Migrate WL host test to CMake

See merge request espressif/esp-idf!23015
2023-04-13 13:16:57 +08:00
Marius Vikhammer
dcb8b719d3 docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations 2023-04-13 10:45:38 +08:00
Jiang Jiang Jian
f5b12684c1 Merge branch 'bugfix/fix_duplicate_scan_cycle_refresh_not_accurate' into 'master'
Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32

Closes BLEQABR23-136

See merge request espressif/esp-idf!23112
2023-04-13 10:22:07 +08:00
Shreyas Sheth
dce0920329 esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message 2023-04-12 18:32:24 +05:30
Adam Múdry
6055674980 Merge branch 'contrib/github_pr_10532' into 'master'
[SDMMC Mount] fix infinite loop when SD card is not responsive (GitHub PR)

Closes IDFGH-9132, IDFGH-9131, and IDFGH-582

See merge request espressif/esp-idf!22081
2023-04-12 19:43:12 +08:00
Darian
4004dff52e Merge branch 'feature/freertos_get_static_buffers' into 'master'
FreeRTOS: Add GetStaticBuffer and CreateWithCaps functions

Closes IDF-5664

See merge request espressif/esp-idf!22859
2023-04-12 18:37:03 +08:00
Ivan Grokhotkov
9924d9f271
esp_system: usb_console support for ESP32-S3
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
8e85fc8571
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst 2023-04-12 11:17:41 +02:00
Ivan Grokhotkov
4a91ccf4ce
esp_rom: implement usb deinit functions added in S3 ROM for S2
This cleans up usb_console.c and prepares it for S3 support.
2023-04-12 11:08:43 +02:00
Ivan Grokhotkov
74fa41f434
esp_rom: add USB_OTG "port" number for S2 and S3 2023-04-12 11:08:42 +02:00
Ivan Grokhotkov
80c9ef7b89
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-04-12 11:07:56 +02:00
Ivan Grokhotkov
141b7356fb
console: minor fixes
- wrong comment
- duplicated setvbuf
2023-04-12 11:07:55 +02:00
morris
ab2c7c48af spi_lcd: test spi lcd io can transfer color data to a fixed window region
also test the io tx_param and tx_color can skip the command phase
2023-04-12 16:56:47 +08:00
morris
640ec57014 spi_lcd: maximum transfer size should respect bus configuration
Also this commit added the SPI_TRANS_CS_KEEP_ACTIVE flag for io_tx_color
2023-04-12 16:55:09 +08:00
Island
cc7517dffa Merge branch 'bugfix/ble_mesh_fix_heartbeat_set' into 'master'
ble_mesh: stack: Update the heartbeat filter entry add/remove handling

See merge request espressif/esp-idf!23047
2023-04-12 14:36:03 +08:00
Guillaume Souchere
110aac240d heap: Add a configuration that places all the heap component and related functionalities in flash when enabled
Add test configuration to run all tests with heap component in the flash.
Add reference to this new configuration in performance section of the documentation.
2023-04-12 08:11:24 +02:00
Anton Maklakov
a1584750c8 Merge branch 'fix/heap-test-h2' into 'master'
heap: remove exclusion of esp32h2 as a target for heap pytest

Closes IDF-6880

See merge request espressif/esp-idf!23075
2023-04-12 13:43:29 +08:00
Darian Leung
fa4491a56b freertos: Add unit tests for ...WithCaps() functions 2023-04-12 12:00:53 +08:00
Darian Leung
4e7cd2e706 freertos: Add wrapper functions to create objects with capabilities
This commit adds various ...WithCaps() functions to create FreeRTOS objects
with specific memory capabilities.
2023-04-12 12:00:53 +08:00
Darian Leung
478e041ce5 freertos: Add GetStaticBuffer functions
This commit adds the various ...GetStaticBuffer() functions from upstream
FreeRTOS. See https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/641 for more
details.
2023-04-12 11:45:06 +08:00
Darian Leung
902d8f392d freertos: Fix idf_additions.h include order error
When building for CONFIG_FREERTOS_SMP, "idf_additions.h" was previously
implicitly included by "task.h" so that other ESP-IDF components still have
access to IDF API additions without needing to include "idf_additions.h"
directly.

However, some FreeRTOS headers (e.g., queue.h) will include task.h before
declaring any types (e.g., QueueHandle_t). Thus if any of those types are used
in idf_additions.h, we get a missing type error.

This commit moves the implicity include of idf_additions.h to FreeRTOS.h
2023-04-12 11:45:06 +08:00
Jiang Jiang Jian
2ea60e3dd1 Merge branch 'bugfix/nan_issues' into 'master'
Fix some NAN Discovery related issues

Closes WIFI-5661, WIFI-5669, WIFI-5667, and WIFI-5363

See merge request espressif/esp-idf!23116
2023-04-12 10:29:15 +08:00
Rocha Euripedes
c8ca1a23d3 Merge branch 'ci/tcp_transport_test_app' into 'master'
ci: Migrate unit test for tcp_transport to unit test app

Closes IDF-5603

See merge request espressif/esp-idf!22842
2023-04-12 02:31:40 +08:00
radek.tandler
0402874d3c host_test: wl migrated to Cmake and linux emulation of esp_partition
- build system changed to CMake
 - host tests changed to use partition api on linux instead of mocked code
 - extended wl flash host tests to cover power off recovery code
2023-04-11 16:16:53 +02:00
radek.tandler
0f842a2ca2 wear_levelling: fixed reinitialization of wl status blocks after power off event 2023-04-11 16:05:22 +02:00
zwj
00501c5b14 Fixed duplicate scan refresh cycle is not accurate after restarting scan on ESP32 2023-04-11 20:44:00 +08:00
Jiang Jiang Jian
4e3a32bc1b Merge branch 'bugfix/bod_glitch_reset_c6' into 'master'
bootloader: fix BOD and glitch reset on C6 and H2

Closes IDF-5990

See merge request espressif/esp-idf!22616
2023-04-11 19:31:02 +08:00
Adam Múdry
381d0fe032 sdmmc: add vTaskDelay to loops to prevent potential WDT trigger
Also change timeout to 120 seconds in fatfs sdcard pytest to prevent failing during formatting.
2023-04-11 11:06:56 +00:00
Chip Weinberger
74d6215b7f [SDMMC] add reasonable timeouts to all while loops
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
Chip Weinberger
a2aa9e3bef [SDMMC Mount] fix infinite loop when SD card is not responsive
Closes: https://github.com/espressif/esp-idf/pull/10532
2023-04-11 11:06:56 +00:00
wangjialiang
ce94cfbeb2 ble_mesh: stack: Update the heartbeat filter entry add/remove handling 2023-04-11 10:57:12 +00:00
Wang Meng Yang
661f5e18e4 Merge branch 'bugfix/bt_diable_enbale_crash' into 'master'
bt:Fixed crash after controller disable and re-enable

Closes IDFGH-9469

See merge request espressif/esp-idf!23085
2023-04-11 18:09:52 +08:00
Shyamal Khachane
535dac9247 esp_wifi: Update wifi libs
Fix some NAN issues related to followup and matching filters
2023-04-11 14:18:10 +05:30
Euripedes Rocha
6007142628 ci: Migrate unit test for tcp_transport to unit test app 2023-04-11 08:36:24 +00:00
morris
5d2e3c4ee1 lcd: test send color buffers in multiple steps 2023-04-11 16:02:25 +08:00
morris
a5518cea2c i80_lcd: align before cache sync 2023-04-11 16:02:25 +08:00
Zhang Wen Xu
72813017ee Merge branch 'bugfix/set_zone_when_udp_join_leave_group' into 'master'
openthread port: set ipv6 address zone with netif index when udp joining or leaving group

See merge request espressif/esp-idf!23130
2023-04-11 14:53:31 +08:00
Martin Gaňo
024b58604a docs: Describe the approach of fatfsgen.py and fatfsparse.py 2023-04-11 09:41:06 +05:30
xiongweichao
30c87c7a82 bt:Fixed esp32 controller bug
1. Fixed crash after controller disable and re-enable
2. Fixed the crash caused by processing the HCI_Read_Remote_Extented_Features command in the non-connected state

Closes https://github.com/espressif/esp-idf/issues/10835
2023-04-11 12:03:09 +08:00
wuzhenghui
332d6fddb9 esp_pm: check sleep retention frame integrity in ci UT 2023-04-11 11:18:52 +08:00
Xu Xiao
d060392584 Merge branch 'esp32c6/fix_esp32c6_mcs89_power_issue' into 'master'
esp_wifi: update phy_init_data.h for c6 mcs 8 9 power issue

See merge request espressif/esp-idf!23133
2023-04-11 10:38:18 +08:00
Michael (XIAO Xufeng)
bbcc52a620 Merge branch 'docs/sdio_slave_sending_seqdiag' into 'master'
sdio_slave: add some documentation about impl in the source code

See merge request espressif/esp-idf!17572
2023-04-11 10:25:34 +08:00
Xiao Xufeng
63089b1f7e bootloader: enable super WDT and BOD reset on C2 2023-04-11 10:23:21 +08:00
Xiao Xufeng
a2bbbd1c1c bootloader: cleanup ana reset config code 2023-04-11 10:23:21 +08:00
Xiao Xufeng
d586a8aa13 bootloader: fixed super watchdog not enabled issue on C3, S3, H4 2023-04-11 10:23:21 +08:00
Xiao Xufeng
8a926c5b37 bootloader: removed unavailable rtc features 2023-04-11 10:23:20 +08:00
Michael (XIAO Xufeng)
c7b852b7c7 bootloader: fix analog reset on C6 and H2 2023-04-11 10:23:20 +08:00
Jiang Jiang Jian
18af256a84 Merge branch 'bugfix/fix_bleqabr23_138' into 'master'
Bluedroid: report status after clearing the BLE white list

See merge request espressif/esp-idf!23094
2023-04-11 09:59:24 +08:00
Jiang Jiang Jian
6aa6d00cb5 Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker' into 'master'
Bugfix/a2dp source crash connect to bose speaker

Closes BT-1833

See merge request espressif/esp-idf!14967
2023-04-11 09:58:56 +08:00
Jiang Jiang Jian
a624d8d061 Merge branch 'bugfix/fix_chip_broken_bug_in_monitor_mode_S2' into 'master'
ESP32S2/C3/C2: fixed S2 dangerous power parameters in sleep modes and support S2/C3/C2 different sleep mode

Closes IDF-4999, IDFGH-4893, and IDFGH-7938

See merge request espressif/esp-idf!19598
2023-04-11 09:52:02 +08:00
laokaiyao
efff406950 i2s: fixed tdm multi dev test on h2 2023-04-11 01:48:05 +00:00
Sarvesh Bodakhe
41f5be80e8 esp_wifi: Validate softap interface when sending beacon frame 2023-04-10 19:16:47 +08:00
xuxiao
ee0f27142d esp_wifi: update phy_init_data.h for c6 mcs 8 9 power issue 2023-04-10 19:04:19 +08:00
Armando (Dou Yiwen)
f404fe96b1 Merge branch 'refactor/remove_esp_mm_kconfig_as_no_kconfig_option_now' into 'master'
esp_mm: removed empty kconfig files

Closes IDF-6780

See merge request espressif/esp-idf!23122
2023-04-10 18:17:59 +08:00
cje
6c35ee3fc5 fix chip broken bug when run in monitor mode of S2 and modify voltage param to fit all sleep mode of S2/C2/C3 2023-04-10 18:04:24 +08:00
Marius Vikhammer
03c2c8db77 Merge branch 'feature/esp_sys_iram_cleanup' into 'master'
esp-system: move uncessary IRAM functions to flash

Closes IDF-7138 and IDF-7148

See merge request espressif/esp-idf!23121
2023-04-10 17:24:14 +08:00
Xu Si Yu
692cba6059 openthread port: set ipv6 address zone with netif index when udp joining or leaving group 2023-04-10 17:02:38 +08:00
Michael (XIAO Xufeng)
84fded4b08 sdio_slave: add some documentation about impl in the source code 2023-04-10 15:03:16 +08:00
chenjianhua
7ceba49fda bluedroid: fix GATTC cache address save 2023-04-10 14:33:31 +08:00
Alexey Lapshin
b973b15513 Merge branch 'feature/refactor_gdbstub' into 'master'
esp_gdbstub: refactor code

Closes IDF-6461

See merge request espressif/esp-idf!22929
2023-04-10 14:24:04 +08:00
Kevin (Lao Kaiyao)
93da40da8e Merge branch 'bugfix/i2s_fix_intr_flag_for_pdm_rx' into 'master'
i2s: fix interrupt flag of pdm rx mode

Closes IDFCI-1656

See merge request espressif/esp-idf!23105
2023-04-10 13:58:53 +08:00
Marius Vikhammer
7108ff093d Merge branch 'feature/sram1_iram' into 'master'
system: add kconfig option for using parts of SRAM1 for IRAM

Closes IDFGH-8351 and IDF-942

See merge request espressif/esp-idf!21214
2023-04-10 13:58:40 +08:00
Jin Cheng
b4f6e585d4 fix a2dp source crash when connect to Bose speaker 2023-04-10 05:11:04 +00:00
Armando
2a8617b307 esp_mm: removed empty kconfig files
- MMU configuration related kconfig options will be in soc, or
esp_hw_support
- Cache configuration related kconfig options will be in soc, or
esp_hw_support
- mmap driver and msync driver kconfig options will be still in esp_mm.
As there's no kconfig options for them yet, removed kconfig files
2023-04-10 12:42:52 +08:00
Marius Vikhammer
f7d045ad5c riscv: moved some interrupt functions from IRAM to flash
These functions dont need to be in IRAM.
2023-04-10 12:21:11 +08:00
chenjianhua
3a7dea67eb bluedroid: report status after clearing the BLE white list 2023-04-10 12:12:32 +08:00
Marius Vikhammer
db059b155a esp-system: move uncessary IRAM functions to flash 2023-04-10 11:10:28 +08:00
Marius Vikhammer
1a1b0036a6 Merge branch 'feature/console_repl_test' into 'master'
console: add running repl test in CI

Closes IDF-6611

See merge request espressif/esp-idf!23016
2023-04-10 10:21:28 +08:00
Jiang Jiang Jian
deab8d3455 Merge branch 'mesh/bugfix_fix_heap_corrupt_issue' into 'master'
wifi_mesh: fix heap corrupt issue

Closes IDFGH-9664 and IDFGH-9729

See merge request espressif/esp-idf!23102
2023-04-10 10:13:22 +08:00
Alexey Lapshin
fc9c2d704c esp_gdbstub: refactor code 2023-04-10 09:53:01 +08:00
Yuan Ming Fu
66504f88b8 Merge branch 'bugfix/deinit_ble' into 'master'
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM

See merge request espressif/esp-idf!23055
2023-04-07 23:36:56 +08:00
Sachin Parekh
f8d2c0894c Merge branch 'fix/ecdsa_hal' into 'master'
ecdsa: Support multiple ECDSA keys

Closes IDF-7027 and IDF-7176

See merge request espressif/esp-idf!23023
2023-04-07 21:51:45 +08:00
Yuan Mingfu
cb6f56ffa2 bugfix: deinit ble for specifies ESP_BT_MODE_BTDM 2023-04-07 12:45:33 +00:00
Jiang Jiang Jian
420ebd208a Merge branch 'bugfix/owe_assoc_resp_fail_v5.1' into 'master'
Fix association response processing in OWE

See merge request espressif/esp-idf!23099
2023-04-07 20:06:23 +08:00
Jiang Jiang Jian
796250c63d Merge branch 'bugfix/auto_beacon_recv_fail_enable_light_sleep_after_modem_sleep' into 'master'
fix the issue of failure of receiving beacons in modem state

See merge request espressif/esp-idf!22900
2023-04-07 19:35:12 +08:00
wuzhenghui
b2f6ba87f2 bugfix: fix wrong RvCoreCriticalSleepFrame ptr value after wake restore 2023-04-07 18:55:44 +08:00
Sachin Parekh
39a5604c29 mbedtls/ecdsa: Add ECDSA signature generation test 2023-04-07 14:55:21 +05:30
Sachin Parekh
d634970ed1 ecdsa: Support multiple ECDSA keys
Add provision to choose which efuse block should be used as ECDSA
private key
2023-04-07 14:55:21 +05:30
Sachin Parekh
aa7660c9b4 ecdsa_hal.c: Add missing configuration for signature generation 2023-04-07 14:55:21 +05:30
Darian Leung
b042ed0495 freertos: Uncrustify idf_additions.h 2023-04-07 15:24:34 +08:00
Darian Leung
3d2e674326 freertos: Move private API additions to "freertos_idf_additions_priv.h"
Previously, some IDF FreeRTOS API additions that were meant to be private were
exposed through the same "idf_additions.h" header. This commit moves those
functions to a separate header included via
"esp_private/freertos_idf_additions_priv.h" so that they are not mistaken as
public API by users.

This commit also fixes some missing include and C++ guards in idf_additions.h
2023-04-07 15:24:34 +08:00
Darian Leung
0c21d59716 freertos: Move freertos_tasks_c_additions.h
freertos_tasks_c_additions.h is technically included as source file. This
commit removes the "private_include" directory of "freertos_tasks_c_additions.h"
and treats it as a source file of "esp_additions".
2023-04-07 15:24:34 +08:00
Marius Vikhammer
5cbd311ecf system: add kconfig option for using parts of SRAM1 for IRAM
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM

Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-07 07:12:58 +00:00
Marius Vikhammer
0752227868 console: add running repl test in CI 2023-04-07 07:12:23 +00:00
zhangyanjiao
58defbf453 wifi_mesh: fix the heap corrupt issue in MTXON task 2023-04-07 06:58:22 +00:00
laokaiyao
3e294f7ede i2s: fixed the test case I2S_thread_concurrent_safety_test 2023-04-07 14:29:21 +08:00
laokaiyao
f69b30d6ff i2s: fix interrupt flag of pdm rx mode
Forgot to update in PR https://github.com/espressif/esp-idf/pull/10997
2023-04-07 14:29:21 +08:00
Shyamal Khachane
c046ddd642 wpa_supplicant : Fix association response processing in OWE 2023-04-07 11:45:46 +05:30
Li Shuai
94ebda298a fix the issue of failure of receiving beacons in modem state caused by enabling light sleep in wifi min/max modem sleep mode 2023-04-07 05:57:15 +00:00
Jiang Jiang Jian
a15c36f987 Merge branch 'bugfix/delete_node_during_list_traverse' into 'master'
bugfix/fixed the crash of LoadProhibited caused by taht the nodes are deleted during the traversal of the linked list

Closes IDFGH-3256

See merge request espressif/esp-idf!23090
2023-04-07 13:52:53 +08:00
Song Ruo Jing
44915e4251 Merge branch 'bugfix/ledc_channel_update_regression' into 'master'
ledc: Fix two bugs inside LEDC driver

See merge request espressif/esp-idf!23064
2023-04-06 20:52:23 +08:00
Shu Chen
c0097c127c Merge branch 'feature/openthread-port-spinel-interface' into 'master'
openthread: add SPI support in Radio Co-Processor

See merge request espressif/esp-idf!22368
2023-04-06 20:50:36 +08:00
Sudeep Mohanty
f14e71f8b2 Merge branch 'bugfix/freertos_fix_failing_ci_test' into 'master'
freertos-tests: Fixed failing CI test and added a new test case for vTaskSuspendAll() API

Closes IDFCI-1675

See merge request espressif/esp-idf!23031
2023-04-06 20:31:54 +08:00
Shu Chen
c43b8f9607 Merge branch 'feature/support_c6_single_chip_br' into 'master'
openthread border router: support c6 single chip br

See merge request espressif/esp-idf!22776
2023-04-06 19:57:40 +08:00
Wan Lei
b6d57a26ca Merge branch 'feature/spi_flash_enable_counters_on_esp_flash_driver' into 'master'
spi_flash: support  SPI_FLASH_ENABLE_COUNTERS on esp_flash driver and test this feature

Closes IDF-5623

See merge request espressif/esp-idf!19554
2023-04-06 15:48:42 +08:00
Jiang Jiang Jian
9e4f056483 Merge branch 'bugfix/miss_rm_ld' into 'master'
esp_wifi: rm ppTxFragmentProc rom func for esp32c2

See merge request espressif/esp-idf!23044
2023-04-06 15:02:27 +08:00
Jakob Hasse
9abcd7652c Merge branch 'bufix/increase_esp_system_host_test_timeout' into 'master'
esp_system: increase host test timeout for CI

Closes IDFCI-1677

See merge request espressif/esp-idf!23060
2023-04-06 14:56:19 +08:00
morris
6057f16cfc Merge branch 'feature/set_gdma_priority' into 'master'
gdma: support override default channel priority

See merge request espressif/esp-idf!22676
2023-04-06 14:52:35 +08:00
Liu Ning
51c682ce9e Merge branch 'bugfix/wifi_mac_txqmem_retention_in_light_sleep' into 'master'
bugfix: fix wifi mac txqmem retention in light sleep and esp32c6 coexist throughput issue, esp32 coexist issue

See merge request espressif/esp-idf!22955
2023-04-06 14:38:15 +08:00
Sudeep Mohanty
7f6e9cf786 freertos-tests: Fixed failing CI test and added a new test case for vTaskSuspendAll() API
This commit fixes the failing test - Test vTaskSuspendAll allows
scheduling on other cores.
The commit also adds a new test to test the scenario where in an
unpinned task, when unblocked by an ISR can be scheduled on the core
which has the scheduler running.
2023-04-06 08:26:38 +02:00
Jin Cheng
a7a2e5d407 fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-04-06 14:13:05 +08:00
morris
b5ccdc911d Merge branch 'feature/i80_lcd_allow_skip_command_phase' into 'master'
i80_lcd: allow skip command phase

Closes IDFGH-9426

See merge request espressif/esp-idf!23042
2023-04-06 12:57:33 +08:00
Song Ruo Jing
5070e51dde ledc: Fix two bugs inside LEDC driver
1. Regression introduced when refactoring on clock sources selection (0d07f859).
   If channel configuration is called before timer configuration on C6, PWM signal may not be able to output.
2. Missing the improper fade parameter fix inside ledc_set_duty_and_update() function.
2023-04-06 12:37:33 +08:00
Fu Hanxi
b932b8eb94 Merge branch 'ci/test_idf-build-apps_0.5.0' into 'master'
ci: Update to `idf-build-apps` 0.5.0

See merge request espressif/esp-idf!22896
2023-04-06 12:23:52 +08:00
wanlei
500aab6618 add a test to verify SPI_FLASH_ENABLE_COUNTERS feature 2023-04-06 11:40:40 +08:00
gaoxu
542a61b6cb support SPI_FLASH_ENABLE_COUNTERS feature on esp_flash driver and rename the functions to esp_flash_xx 2023-04-06 11:40:40 +08:00
baohongde
dff3c07e42 components/coexist: Set coex scan status when ble connecting 2023-04-06 11:09:46 +08:00
liuning
0e54382faf esp_coex: fix esp32 wifi schm interrupted by ble suddenly act 2023-04-06 11:09:46 +08:00
Li Shuai
10d02c6c5c power save: add txq memory to mac retention link to fix tx m f null failure 2023-04-06 11:09:46 +08:00
xieqinan
5a1578e692 openthread: add SPI support in Radio Co-Processor 2023-04-06 10:59:06 +08:00
morris
6c19e7b8a7 gdma: avoid manually start/stop when channel is controled by ETM 2023-04-06 10:49:32 +08:00
morris
1429913042 gdma: support override default channel priority 2023-04-06 10:49:32 +08:00
Xu Xiao
033f737205 Merge branch 'feature/esp32c6_itwt_support_light_sleep' into 'master'
esp_wifi: itwt support light sleep

See merge request espressif/esp-idf!22772
2023-04-06 10:46:33 +08:00
Xu Xiao
2f20406202 esp_wifi: itwt support light sleep 2023-04-06 10:46:32 +08:00
Xu Si Yu
f0c934c7a8 openthread border router: support c6 single chip br 2023-04-06 10:32:35 +08:00
Jakob Hasse
dac64725af esp_system, heap: increase host test timeout for CI 2023-04-06 10:23:44 +08:00
Jiang Jiang Jian
badf267022 Merge branch 'bugfix/block9_can_not_be_used_for_fe' into 'master'
efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)

Closes IDF-7175

See merge request espressif/esp-idf!23052
2023-04-06 10:17:07 +08:00
Fu Hanxi
21c2cd8616 ci: skip build default app if config rules matched, add missing files 2023-04-06 09:18:58 +08:00
Michael (XIAO Xufeng)
c2887c25dd Merge branch 'bugfix/himem_map_range_block' into 'master'
himem: fixed incorrect out_ptr when range_offset is given non-zero.

Closes IDFGH-3713

See merge request espressif/esp-idf!23072
2023-04-06 01:31:57 +08:00
Shu Chen
9352a576df Merge branch 'support/esp32h2_phy_fix_long_term_rx' into 'master'
esp_phy: fix esp32h2 rx long term

See merge request espressif/esp-idf!23039
2023-04-05 21:15:52 +08:00
David Cermak
7d6241e761 esp_netif: Make esp_netif_receive() return value configurable 2023-04-05 12:18:21 +02:00
David Cermak
8855ddf044 esp_netif: Report error if esp_netif_receive() fails
Closes https://github.com/espressif/esp-idf/issues/10770
2023-04-05 12:18:21 +02:00
Guillaume Souchere
f94bbe1eff Merge branch 'feature/heap-trace-hash-map' into 'master'
heap: Add hash map mechanism to lower the access time to trace records

Closes IDFGH-9425

See merge request espressif/esp-idf!22564
2023-04-05 16:46:23 +08:00
Guillaume Souchere
c42c93758f heap: remove exclusion of esp32h2 as a target for no/light/comprehensive_poisoning tests 2023-04-05 09:19:39 +02:00
Zim Kalinowski
ab18f98423 Merge branch 'feature/update_efuse_tables_for_s2_s3_c3_c2' into 'master'
efuse: Update efuses for esp32 esp32c2 esp32c3 esp32s2 esp32s3

See merge request espressif/esp-idf!22406
2023-04-05 15:17:59 +08:00
Song Ruo Jing
857b37f2f8 Merge branch 'refactor/mspi_clk_src_switch_h2' into 'master'
spi_flash: Small code refactor on MSPI clock source switch at bootloader

See merge request espressif/esp-idf!22763
2023-04-05 14:55:55 +08:00
Guillaume Souchere
14fa303bbc heap: Use linked list in hashmap table to reduce collision, RAM usage and speed up the code 2023-04-05 07:44:29 +02:00
Guillaume Souchere
bdfc348ab3 heap: Add trace hash map config
- and place all added functions and vairables related to the hashmap in RAM
when the config is enabled only.

- add number of hash map entry as a Kconfig value and remove the hash map init function.
This prevents the user from allocating the hash map in flash and pass the pointer to the
init function (as the heap trace manipulate the hash map from functions placed in IRAM).

- add max linear value to the KConfig to make it configurable by the users.

- protect access to static variable "tracing"

- remove unecessary field in heap_trace_hashmap_entry_t
2023-04-05 07:44:29 +02:00
Chip Weinberger
b699033ab3 [Heap Trace] Perf: use hash map to speed up leaks mode 2023-04-05 07:44:29 +02:00
Xiao Xufeng
ef4db26eca himem: Fixed incorrect out_ptr when calling esp_himem_map range_offset non-zero
Closes: https://github.com/espressif/esp-idf/issues/5639
2023-04-05 01:29:34 +08:00
KonstantinKondrashov
5b00d1f396 efuse: Update efuses for esp32 esp32c2 esp32c3 esp32s2 esp32s3 2023-04-04 22:32:32 +08:00
Sudeep Mohanty
9d607c069b Merge branch 'feature/esp_ringbuf_place_functions_in_flash' into 'master'
esp_ringbuf: Added functions to linker.lf file which can be placed in Flash

Closes IDF-7136

See merge request espressif/esp-idf!23032
2023-04-04 21:17:09 +08:00
Isha Pardikar
cb79b1e202 Merge branch 'bugfix/esp_nimble_config' into 'master'
NimBLE : Fixed config options in esp_nimble_cfg.h

See merge request espressif/esp-idf!23019
2023-04-04 20:08:16 +08:00
chenjianxing
03b4b58841 esp_wifi: rm ppTxFragmentProc rom func for esp32c2 2023-04-04 11:53:58 +00:00
Ondrej Kosta
3d66a10114 Ethernet driver and documentation clean-up 2023-04-04 11:33:08 +00:00
KonstantinKondrashov
3d695b9768 efuse: Prevent burning XTS_AES and ECDSA keys into BLOCK9 (BLOCK_KEY5)
eFuse module has a hardware bug.
It is related to ESP32-C3, C6, S3, H2 chips:
    - BLOCK9 (BLOCK_KEY5) can not be used by XTS_AES keys.
For H2 chips, the BLOCK9 (BLOCK_KEY5) can not be used by ECDSA keys.
S2 does not have such a hardware bug.
2023-04-04 18:45:48 +08:00
Zim Kalinowski
ab5d8d0008 Merge branch 'refactor/esp_partition_host_test_build_dir' into 'master'
esp_partition: partition_linux.c does not use hard-coded file anymore

Closes IDF-6644

See merge request espressif/esp-idf!22759
2023-04-04 18:35:24 +08:00
zhangwenxu
32acc034e7 esp_phy: fix esp32h2 rx long term 2023-04-04 08:40:10 +00:00
Zim Kalinowski
6e67c54a92 Merge branch 'feature/replace_some_efuses_for_c6' into 'master'
efuse(esp32c6): Replace PKG_VERSION BLK_VERSION_MINOR BLK_VERSION_MAJOR

Closes IDF-7174

See merge request espressif/esp-idf!22775
2023-04-04 16:34:29 +08:00
morris
e73d8166aa i80_lcd: support skip command phase
Closes https://github.com/espressif/esp-idf/issues/10794
2023-04-04 08:31:41 +00:00
Song Ruo Jing
5816c47457 spi_flash: Move mspi clock source switch to 64M in 2nd bootloader code from rtc_clk.c to bootloader_flash_config_esp32h2.c 2023-04-04 16:09:47 +08:00
Cody P Schafer
cbe906e53c
nvs_host_test: replace sprintf with snprintf
With some libc impls (ie: Xcode 13.1), sprintf is marked as deprecated
and causes the build with `-Werror` to fail. Switch the `sprintf` usage
in test_nvs.cpp to use `snprintf` to allow builds to complete without
warning.
2023-04-03 16:33:57 -04:00
Cody P Schafer
630343e4b9
test_nvs_host: fix asan reported bugs
- Use of `sizeof(uint32_t *)` instead of `sizeof(uint32_t)` in
   arguments
 - Use of `memcmp` without checking that length agreed (add `memeq`)
2023-04-03 16:30:02 -04:00
Jason
9d1c8f4f18 Fix usb enumeration stage error for some device 2023-04-03 21:03:07 +08:00
Jiang Jiang Jian
d0a29ada57 Merge branch 'bugfix/fix_cert_test_block_issue' into 'master'
cert_test: example: Fix cert_test blocking issue

See merge request espressif/esp-idf!22847
2023-04-03 19:38:45 +08:00
Armando (Dou Yiwen)
ebaf987dc8 Merge branch 'feature/experimental_feature_mspi_120_ddr' into 'master'
mspi: experimental feature mspi 120 mhz ddr

Closes IDF-7073

See merge request espressif/esp-idf!22952
2023-04-03 18:03:58 +08:00
morris
bcbe8fec39 Merge branch 'bugfix/lcd_edma_buffer_align_check' into 'master'
esp_lcd: propagate the error on cache sync failure

Closes IDF-6955

See merge request espressif/esp-idf!23022
2023-04-03 17:49:43 +08:00
Jiang Jiang Jian
262149246d Merge branch 'bugfix/invalid_pmkid_in_eapol_1_of_4' into 'master'
wpa_supplicant: bugfix invalid pmkid in eapol 1 of 4

Closes WIFI-5636

See merge request espressif/esp-idf!23033
2023-04-03 17:24:29 +08:00
Mahavir Jain
4ee6eda12e Merge branch 'feature/esp_http_server_on_linux' into 'master'
Feature/esp http server on linux

Closes IDF-6608

See merge request espressif/esp-idf!21960
2023-04-03 16:48:19 +08:00
Sudeep Mohanty
dac48f2a40 esp_ringbuf: Added functions to linker.lf file which can be placed in Flash
This commit adds symbols from the ringbuf.c file which can be placed in
Flash in order to free up IRAM space.
2023-04-03 08:57:56 +02:00
Shreyas Sheth
38e9c8b474 wpa_supplicant: Bugfix sending invalid PMKID by softAP in EAPOL message 1 of 4 2023-04-03 12:00:23 +05:30
morris
126a1b2631 Merge branch 'bugfix/lcd_spi_acquire_bus' into 'master'
spi_lcd: don't release bus if acquire failed

Closes IDFGH-9604

See merge request espressif/esp-idf!22990
2023-04-03 13:13:56 +08:00
Jiang Jiang Jian
c46188a726 Merge branch 'bugfix/apsta_pmf_concurrency_issue' into 'master'
esp_wifi: handle SA-Query bug in AP-STA concurrent mode

Closes WIFI-5560

See merge request espressif/esp-idf!22860
2023-04-03 11:20:45 +08:00
Armando
739b3f03fb kconfig: make 120 MSPI DDR as experimental feature 2023-04-03 10:30:50 +08:00
Armando
6d4c0bb3aa mspi: support 120M DDR flash and psram on S3 (experimental) 2023-04-03 10:30:50 +08:00
Wu Zheng Hui
0026f73dcb Merge branch 'bugfix/fix_deepsleep_saradc_leakage' into 'master'
bugfix: fix deepsleep saradc current leakage

Closes WIFI-5608 and IDFGH-9205

See merge request espressif/esp-idf!22984
2023-04-02 20:28:28 +08:00
Sarvesh Bodakhe
96a2ae937c esp_wifi: handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled 2023-03-31 18:20:28 +05:30
Jiang Jiang Jian
6987644d67 Merge branch 'fix/supplicant_coverity_issues' into 'master'
esp_wifi: Move  connection related wpa_supplicant event handlers into callbacks and other improvements

Closes WIFI-5440

See merge request espressif/esp-idf!22459
2023-03-31 19:52:17 +08:00
Jiang Jiang Jian
08b4bd2ecd Merge branch 'feature/add_interface_for_ble_QA_test' into 'master'
BLE: Add interface for QA test

Closes EBLE50Y23-69

See merge request espressif/esp-idf!22976
2023-03-31 19:43:54 +08:00
Harshit Malpani
7c68b67295
esp_http_server: Update to support build for Linux 2023-03-31 16:42:05 +05:30
morris
1fed9badf1 esp_lcd: check edma buffer alignment properly 2023-03-31 19:06:33 +08:00
Jiang Jiang Jian
1e7f9c8f72 Merge branch 'support/fix_coex_esp32h2_unused_macro' into 'master'
coex: fix unused macro on esp32h2

Closes TZ-86

See merge request espressif/esp-idf!22849
2023-03-31 19:03:49 +08:00
isha.pardikar@espressif.com
810f719ee1 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-03-31 16:21:44 +05:30
Jiang Jiang Jian
5898953156 Merge branch 'doc/update_doc_for_pd_periph_config' into 'master'
esp_pm: update help doc  for PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP

See merge request espressif/esp-idf!22888
2023-03-31 18:11:41 +08:00
Armando (Dou Yiwen)
4cb6f36df3 Merge branch 'test/add_build_test_for_esp32_psram_2t_mode' into 'master'
psram: fixed esp32 2t mode fail issue

Closes IDF-6904

See merge request espressif/esp-idf!22963
2023-03-31 17:50:53 +08:00
xiehang
33e9d8c18f esp_phy: Update phy lib
* esp32s3: phy_version: 600, 8dd0147, Mar 31 2023, 16:34:12
* esp32c3: phy_version: 960, 7392adf, Mar 31 2023, 16:27:13
2023-03-31 17:45:08 +08:00
Zhang Xiao Yan
5d70620956 Merge branch 'docs/update_brief_of_uart_set_wakeup_threshold' into 'master'
update brief of uart_set_wakeup_threshold

See merge request espressif/esp-idf!22886
2023-03-31 17:28:16 +08:00
wuzhenghui
bd80be3b83 bugfix: fix deepsleep saradc leakage 2023-03-31 15:49:43 +08:00
Aditya Patwardhan
7c8e8557a6 Merge branch 'bugfix/esp_tls_coverity_warning' into 'master'
Fix coverity warning in esp-tls component

See merge request espressif/esp-idf!22934
2023-03-31 15:22:58 +08:00
Jakob Hasse
5327fd89b5 spiffs: test is using configurable build dir 2023-03-31 15:07:07 +08:00
Jakob Hasse
f67bcc669a esp_partition: partition_linux.c and its test do not use hard-coded file anymore 2023-03-31 15:07:07 +08:00
Sarvesh Bodakhe
b89a851645 esp_wifi: Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
Executing supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED handlers in event-handler context can lead to concurrency issues.
Moving the functionality into 'wpa_sta_connected_cb' and 'wpa_sta_disconnected_cb' callbacks and execute in ppTask context.
2023-03-31 12:34:03 +05:30
Sarvesh Bodakhe
7fb6f3b9e3 esp_wifi: remove unnecessary code under SAE-PK configuration 2023-03-31 12:34:03 +05:30
Laukik Hase
1c30854d48 Merge branch 'contrib/github_pr_11079' into 'master'
Fix preprocessor condition in esp_tls_mbedtls (GitHub PR)

Closes IDFGH-9746

See merge request espressif/esp-idf!23017
2023-03-31 14:48:51 +08:00
Jiang Jiang Jian
2ffd3cef70 Merge branch 'bugfix/fix_logs_information_messages_at_warning_level_issue' into 'master'
esp_wifi: fix logs information messages at warning level issue

Closes WIFI-5441 and WIFI-5497

See merge request espressif/esp-idf!22433
2023-03-31 14:34:09 +08:00
Jiang Jiang Jian
6ede152d87 Merge branch 'bugfix/unhandle_unsniff_req_disconnect' into 'master'
bt: Fixed disconnection due to not handling lmp_unsniff_req in LC_WAIT_SNIFF_SUB_RSP state

Closes BTQABR2023-25 and BT-3208

See merge request espressif/esp-idf!22941
2023-03-31 12:07:14 +08:00
muhaidong
a33b9f9101 esp_wifi: fix logs information messages at warning level issue
1. fix logs information messages at warning level issue
2. fix set inactive time crash issue
2023-03-31 11:41:18 +08:00
Jiang Jiang Jian
c3e0e36703 Merge branch 'bugfix/improve_tx_robust' into 'master'
esp_wifi: improve tx robust for c2/c3/s3

Closes WIFI-5663

See merge request espressif/esp-idf!23006
2023-03-31 11:02:36 +08:00
Linda
cafd3ab4c1 update brief of uart_set_wakeup_threshold 2023-03-31 10:58:02 +08:00
Jiang Jiang Jian
70c3cdc4f2 Merge branch 'bugfix/fix_softap_qos_null_issue' into 'master'
esp_wifi: fix softap qos null issue

Closes WIFI-5543

See merge request espressif/esp-idf!22889
2023-03-30 21:56:21 +08:00
chenjianxing
8d2e2ef2aa esp_wifi: improve tx robust for c2/c3/s3 2023-03-30 21:36:35 +08:00
Mahavir Jain
7fb16bcb55 Merge branch 'fix/esp_https_ota_check_max_authorization_retries' into 'master'
esp_https_ota: Set user configurable ota authorization retries

Closes IDF-7126

See merge request espressif/esp-idf!22938
2023-03-30 21:31:23 +08:00