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