Erhan Kurubas
5ba3b99f2b
feat(coredump): use SHA ROM functions for all targets except ESP32
...
For ESP32, continue using mbedtls due to a required ROM patch for the SHA implementation.
For other targets, we can now leverage the ROM functions.
2024-03-06 13:08:09 +01:00
Marius Vikhammer
57249447a7
Merge branch 'bugfix/esp_intr_free_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): Fix esp_intr_free when task has no core affinity (v5.2)
See merge request espressif/esp-idf!29193
2024-03-06 19:58:30 +08:00
Mahavir Jain
8c6ce09982
Merge branch 'fix/pmp_idcache_reg_prot_v5.2' into 'release/v5.2'
...
fix(esp_hw_support): Fix the I/DCACHE region PMP protection (v5.2)
See merge request espressif/esp-idf!29356
2024-03-06 19:55:11 +08:00
Mahavir Jain
c83dc69938
Merge branch 'refactor/protocomm_public_hdr_v5.2' into 'release/v5.2'
...
refactor(protocomm): Make the protocomm `proto-c` headers public (v5.2)
See merge request espressif/esp-idf!29358
2024-03-06 19:54:25 +08:00
Mahavir Jain
00f130621f
Merge branch 'bugfix/encrypted_flash_write_safe_addr_v5.2' into 'release/v5.2'
...
fix(spi_flash): check for safe write address in encrypted flash API (v5.2)
See merge request espressif/esp-idf!29204
2024-03-06 19:53:53 +08:00
Marius Vikhammer
93ec3acfce
Merge branch 'fix/console_none_build_issues_v5.2' into 'release/v5.2'
...
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled (v5.2)
See merge request espressif/esp-idf!29338
2024-03-06 19:52:20 +08:00
Marius Vikhammer
eb8e894147
Merge branch 'staging/espcoredump_move_strings_flash_v5.2' into 'release/v5.2'
...
change(espcoredump): save RAM space by placing constants in flash (backport v5.2)
See merge request espressif/esp-idf!29190
2024-03-06 19:51:21 +08:00
Darian Leung
c15484ec58
change(freertos): Test tick and idle hooks in options test
...
Add CONFIG_FREERTOS_USE_TICK_HOOK and CONFIG_FREERTOS_USE_IDLE_HOOK to
sdkconfig.ci.freertos_options to ensure those options are tested.
2024-03-06 13:52:51 +08:00
Darian Leung
e4eaa28b82
fix(freertos/idf): Fix build error when CONFIG_FREERTOS_USE_TICK_HOOK is enabled
...
Closes https://github.com/espressif/esp-idf/issues/13297
2024-03-06 13:52:13 +08:00
Roland Dobai
a322e6bdad
change(version): Update version to 5.2.1
2024-03-05 16:58:26 +01:00
Tomas Rezucha
e3f811b5b8
feat(usb/host): Update ISOC scheduler for HS endpoints
...
USB-OTG uses 'sched_info' field of HCTSIZ register to schedule transactions
in USB microframes.
2024-03-04 10:00:35 +01:00
Markus Ebner
05ff8169f7
fix(esp_lcd): Flush rgb lcd PSRAM framebuffers after allocation
...
Flush PSRAM framebuffers after allocation to avoid visual corruption.
Merges https://github.com/espressif/esp-idf/pull/13294
Closes https://github.com/espressif/esp-idf/issues/13293
2024-03-04 15:55:04 +08:00
xiaqilin
b98b548f01
fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue
2024-03-04 15:14:08 +08:00
Cao Sen Miao
194b616c36
fix(usb_serial_jtag): Fix issue that boot failed on esp32c3,
...
Closes https://github.com/espressif/esp-idf/issues/13197
2024-03-04 10:19:47 +08:00
Ivan Grokhotkov
f8dde8cebf
fix(sdmmc): extend the maximum number of retries of ACMD41
...
According to the application note in SD Card Physical Specification:
> The host shall set ACMD41 timeout more than 1 second to abort repeat
of issuing ACMD41 when the card does not indicate ready. The timeout
count starts from the first ACMD41 which is set voltage window
in the argument.
Previously, the timeout was exactly one second, and this caused
certain larger-capacity cards to "time out", because they couldn't
finish initialization process in time.
2024-03-01 10:49:44 +01:00
Ivan Grokhotkov
516a4ba28d
fix(sdmmc): use correct argument for ACMD41 in SPI mode
...
ACMD41 argument is different between SD mode and SPI mode.
In SPI mode, the only non-zero bit may be the HCS bit. Unlike the SD
mode, the bits reflecting the host's OCR should be zero.
Previously, we used to set these bits the same way as for the SD mode.
This has caused certain cards to fail initializing, apparently their
controllers have checked the ACMD41 argument more strictly and refused
to finish initialization, resulting in an error such as
sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
(Note that this error may have other causes than the one fixed in
this commit. For example, if the card doesn't have a sufficient and
stable power supply, it may also fail to complete the internal
initialization process, and will never clear the busy flag in R1
response.)
Closes https://github.com/espressif/esp-idf/issues/6686
Closes https://github.com/espressif/esp-idf/issues/10542
2024-03-01 10:49:43 +01:00
Ricardo Quesada
206f843e82
fix(uart): add missing include for rom/uart.h
...
Without this include it fails to compile with this error:
```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
262 | status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```
Merges https://github.com/espressif/esp-idf/pull/13025
2024-03-01 14:36:43 +08:00
Laukik Hase
8582b27f1d
refactor(protocomm): Make the protocomm proto-c
headers public
2024-03-01 10:26:23 +05:30
Laukik Hase
68442ecaa0
refactor(esp_hw_support): Remove redundant PMP entry for ROM region
...
- The ROM text and data sections share the address range
(see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
- Initially, we had two PMP entries for this address range - one marking the
region as RX and the other as R.
- However, the latter entry is redundant as the former locks the PMP settings.
- We can divide the ROM region into text and data sections later when we
define boundaries marking these regions from the ROM.
2024-03-01 10:25:07 +05:30
Laukik Hase
a56fc41215
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
2024-03-01 10:25:07 +05:30
Cao Sen Miao
355df44822
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
...
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-03-01 10:38:27 +08:00
muhaidong
d005e71acd
fix(wifi): fix esp32c2 disconnect reason code wrong issue
2024-02-29 19:21:18 +08:00
Rahul Tank
c410322070
fix(nimble): Increase range of reattempt connection count
2024-02-29 15:57:28 +05:30
Darian Leung
1f73689c50
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled
...
This commit fixes the following build issues when CONFIG_ESP_CONSOLE_NONE is
enabled:
- esp_console_repl.c will have 'defined but unused' warnings on various console
functions.
- esp_console_repl.c does not use "TAG" when CONFIG_ESP_CONSOLE_NONE is
enabled, leading to a "defined by not used" warning.
Closes https://github.com/espressif/esp-idf/issues/12984
2024-02-29 17:36:41 +08:00
Darian Leung
50282f1e7a
fix(usb): Fix bug where usbh_process() misses an event
...
This commit fixes a bug where if multiple concurrent USBH API calls trigger
multiple events on the same device, some events will be lost. As a result,
those lost events don't get processed by the subsequent usbh_process() call.
2024-02-29 16:02:30 +08:00
Ondrej Kosta
ed304d5173
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped
2024-02-28 15:47:56 +01:00
radek.tandler
c4eaf86516
fix(nvs): Improved lockig mechanism for initialization phase
2024-02-28 12:37:21 +01:00
radek.tandler
e51277fbc7
fix(nvs): eraseMultiPageBlob to robustly delete all related BLOB_DATA records and respect VER_ANY
2024-02-28 12:37:21 +01:00
radek.tandler
7938bbf3c0
fix(nvs): corrected findItem to return BLOB_DATA when chunkIndex = CHUNK_ANY
2024-02-28 12:37:21 +01:00
radek.tandler
2fc1fabcee
fix(nvs): added check and erase of mismatched BLOB_DATA on init
2024-02-28 12:37:21 +01:00
Ivan Grokhotkov
4746554954
fix(nvs): prevent out of bounds write if blob data is inconsistent
2024-02-28 12:37:21 +01:00
Erhan Kurubas
1bebd2d8d2
fix(gcov): avoid multiple tick hook registration
2024-02-26 13:56:33 +01:00
wuzhenghui
df6a32f305
fix(esp_hw_support): fix cache safe check function
2024-02-26 17:42:14 +08:00
harshal.patil
0f7c9a29a2
ci(mbedtls/gcm): Added test to verify software fallback for non-AES cipher GCM operations
2024-02-26 14:29:20 +05:30
harshal.patil
ca4f560f2b
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation
...
- Even if the config MBEDTLS_HARDWARE_AES is enabled, we now support fallback
to software implementation of GCM operations when non-AES ciphers are used.
2024-02-26 14:29:18 +05:30
gongyantao
c365c5db2a
change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode
2024-02-23 18:57:53 +08:00
zwl
a055ee6da6
bugfix(ble) : fixed some ble issues on ESP32-C2
2024-02-23 18:02:57 +08:00
linruihao
3d5852131b
fix(esp_coex): add support_coexistence soc_caps for esp32c2 and esp32h2
2024-02-23 16:15:45 +08:00
zhanghaipeng
4521a50db5
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration
2024-02-23 15:57:45 +08:00
zwl
f04e4f99e6
ble(update):
...
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-23 14:08:03 +08:00
Mahavir Jain
72ba89f191
fix(spi_flash): check for safe write address in encrypted flash API
2024-02-23 12:42:31 +08:00
Jiang Jiang Jian
a328e1a08f
Merge branch 'bugfix/fixed_some_wifi_bugs_240222_v5.2' into 'release/v5.2'
...
fix(wifi): fixed some wifi bugs 240222 v5.2 (Backport v5.2)
See merge request espressif/esp-idf!29185
2024-02-23 00:18:45 +08:00
Darshan Dobariya
80a1f5e18c
fix(nimble): Fix compilation issue in nimble for -O2 flag (v5.2)
2024-02-22 21:36:12 +05:30
Rahul Tank
e573b7cee1
Merge branch 'bugfix/remove_namespace_variable_name_v5.2' into 'release/v5.2'
...
fix(nimble): update variable name to avoid using keyword (v5.2)
See merge request espressif/esp-idf!28973
2024-02-22 23:58:10 +08:00
Lou Tianhao
f0ae83d056
change(pm): use old ext1 api for pytest
2024-02-22 20:06:28 +08:00
Jiang Jiang Jian
8e1cd38970
Merge branch 'c6_auto_dbias_master_hsq_v5.2' into 'release/v5.2'
...
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage (v5.2)
See merge request espressif/esp-idf!28729
2024-02-22 20:04:08 +08:00
KonstantinKondrashov
2f707291eb
fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
...
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-22 13:00:34 +02:00
Omar Chebib
f10d734f30
change(espcoredump): save RAM space by placing constants in flash
...
All the log messages of espcoredump component used to be in DRAM, which would
lower the available RAM space for the user application. Since the cache is always
enabled after an exception, constants can be put in flash.
2024-02-22 18:45:52 +08:00
Jiang Jiang Jian
2fc023ef95
Merge branch 'bugfix/cannot_jump_range_v5.2' into 'release/v5.2'
...
fix(temperature_sensor): Cannot switch the range smmothly on esp32h2(backport v5.2)
See merge request espressif/esp-idf!29152
2024-02-22 16:53:41 +08:00
muhaidong
20a3c78034
fix(wifi): fixed some wifi issues
...
1. fix(wifi/mesh): wait for child disconnect when mesh deinit
2. fix(wifi): fix wifi stop cost too much time
3. fix(clk): clear all lpclk source at clk init
4. fix(wifi): fixed scan and home channel change issues
5. fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode
6. fix(wifi): fix qos encapsulated eapol issue
7. fix(wifi): fixed dhcp offer and dhcp ack data rates
8. fix(wifi): fix lmac_stop_hw_txq issue
2024-02-22 15:36:14 +08:00
Jiang Jiang Jian
3f730f2453
Merge branch 'feature/add_fall_back_dns_config_in_menuconfig_v5.2' into 'release/v5.2'
...
feat(lwip): add fall back dns config in menuconfig (v5.2)
See merge request espressif/esp-idf!29154
2024-02-22 15:21:51 +08:00
muhaidong
1aca617c33
fix(wifi): fix some wifi issues
...
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-02-22 15:11:10 +08:00
zhangyanjiao
8a6c2fe68f
fix(wifi): fixed scan and home channel change issues
...
1. update scan ap number when clear scan ap records
2. fixed the old_snd filed error in WIFI_EVENT_HOME_CHANNEL_CHANGE event
Closes https://github.com/espressif/esp-idf/issues/13051
2024-02-22 15:09:09 +08:00
liuning
27e3d41026
fix(clk): clear all lpclk source at clk init
2024-02-22 15:07:59 +08:00
hongshuqing
b3a73d5b63
feat(pmu): set fix voltage to different mode for esp32c6
2024-02-22 14:49:01 +08:00
Marius Vikhammer
e930ff0b1f
fix(system): update reset reasons for C6 and H2
2024-02-22 12:37:49 +08:00
Jiang Jiang Jian
77f5391037
Merge branch 'feat/add_test_api_for_sec_v5.2' into 'release/v5.2'
...
Feat/add test api for sec v5.2
See merge request espressif/esp-idf!29169
2024-02-22 12:20:47 +08:00
Jiang Jiang Jian
9dcc8c9e7d
Merge branch 'bugfix/update_spp_doc_v5.2' into 'release/v5.2'
...
docs(bt/bluedroid): update API documents of SPP (v5.2)
See merge request espressif/esp-idf!29170
2024-02-22 12:20:12 +08:00
Jiang Jiang Jian
12ae1c19d2
Merge branch 'bugfix/fix_coex_lib_circular_dependency_v5.2' into 'release/v5.2'
...
fix(esp_coex): fix circular dependency issue on esp32 (v5.2)
See merge request espressif/esp-idf!29155
2024-02-22 11:45:50 +08:00
Island
95b5f1290e
Merge branch 'bugfix/ble_mesh_pb_adv_compile_error_v5.2' into 'release/v5.2'
...
fix(ble_mesh): Fix compiling error when PB-ADV is disabled (v5.2)
See merge request espressif/esp-idf!29151
2024-02-22 11:34:02 +08:00
Jiang Jiang Jian
b0fc0210df
Merge branch 'bugfix/fix_ble_free_all_crash_issue_5.2' into 'release/v5.2'
...
fix(ble): Fixed the free_all crash on esp32c6 and esp32h2
See merge request espressif/esp-idf!29161
2024-02-22 11:33:22 +08:00
Abhik Roy
2d03df48b0
fix(lwip): Fixed debug format, added ci test config
...
Detailed description of the changes:
- lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549 )
- dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7 )
2024-02-22 11:30:39 +08:00
morris
56c7df9fbd
Merge branch 'feat/usb_host_set_device_config_v5.2' into 'release/v5.2'
...
USB Host: Add enumeration callback filter (backport v5.2)
See merge request espressif/esp-idf!28550
2024-02-22 11:07:43 +08:00
Jiang Jiang Jian
1cd164b8fa
Merge branch 'bugfix/fix_some_wifi_bugs_240221_v5.2' into 'release/v5.2'
...
fix(lwip): fixed some wifi bugs(Backport v5.2)
See merge request espressif/esp-idf!29147
2024-02-22 11:06:56 +08:00
Jiang Jiang Jian
527ce5eb3b
Merge branch 'bugfix/spi_eth_recv_alloc_v5.2' into 'release/v5.2'
...
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling (v5.2)
See merge request espressif/esp-idf!29081
2024-02-22 11:05:26 +08:00
Jiang Jiang Jian
4bf00b2ce2
Merge branch 'bugfix/one_byte_receive_v5.2' into 'release/v5.2'
...
fix(i2c_master): Fix bug on esp32 that read one byte data fails(backport v5.2)
See merge request espressif/esp-idf!28634
2024-02-22 10:57:52 +08:00
Jin Cheng
5b6fbea041
docs(bt/bluedroid): update API documents of SPP
2024-02-22 09:52:53 +08:00
Jin Cheng
7560b70244
feat(bt/bluedroid): Added an event to notify the encryption mode to applicaiton layer
2024-02-22 09:51:48 +08:00
Jin Cheng
fdd1f41836
feat(bt/bluedroid): Added report for the type of link key in ESP_BT_GAP_AUTH_CMPL_EVT
2024-02-22 09:51:48 +08:00
Roland Dobai
61db22a55a
Merge branch 'feature/esp32p4_coredump_support_v5.2' into 'release/v5.2'
...
feat(coredump): add esp32p4 chip support and doc update (v5.2)
See merge request espressif/esp-idf!28391
2024-02-22 02:41:58 +08:00
Rahul Tank
e6d7705a67
fix(nimble): update variable name to avoid using keyword (v5.2)
2024-02-21 23:40:18 +05:30
Rahul Tank
a707ab946f
Merge branch 'bugfix/missing_controller_disabled_guard_v5.2' into 'release/v5.2'
...
fix(nimble): Fixes related to nimble host only (v5.2)
See merge request espressif/esp-idf!29138
2024-02-22 02:08:42 +08:00
Erhan Kurubas
fdc6099961
feat(esp-coredump): add esp32p4 chip support and doc update
2024-02-21 21:26:39 +08:00
Jiang Jiang Jian
34ec96ef23
Merge branch 'feature/spi_eth_no_int_v5.2' into 'release/v5.2'
...
feat(esp_eth): added SPI Ethernet module polling mode (v5.2)
See merge request espressif/esp-idf!29044
2024-02-21 20:43:46 +08:00
Jiang Jiang Jian
6e7029016f
Merge branch 'bugfix/bunch_tsens_v5.2' into 'release/v5.2'
...
fix(temperature_sensor): Fix the value is incorrect if disable and enable again (backport v5.2)
See merge request espressif/esp-idf!28626
2024-02-21 20:33:38 +08:00
Jiang Jiang Jian
001b8ff92d
Merge branch 'fix/fatfs_sdmmc_triming_v5.2' into 'release/v5.2'
...
fix(storage/fatfs): check whether sdcard supports trimming (v5.2)
See merge request espressif/esp-idf!28335
2024-02-21 20:26:22 +08:00
Michael (XIAO Xufeng)
db3aa57a9b
Merge branch 'bugfix/workaround_reset_eof_counter_c3_v5.2' into 'release/v5.2'
...
fix(adc): workaround to fix adc continuous get less results on c3 (v5.2)
See merge request espressif/esp-idf!29136
2024-02-21 20:08:57 +08:00
ShenWeilong
03da41e7d7
fix(ble): Fixed the free_all crash on esp32c6 and esp32h2
2024-02-21 20:05:48 +08:00
Peter Marcisovsky
d786f187e9
feat(us/host): set device cfg during enumeration
...
- user callback funciton to set device configuration
as a part of usb_host_install
- callback provides device descriptor of a device being enumerated
- user can set which cfg descriptor the USB device will be set with
- user can filter device enumeration
- Kconfig menu to enable callback function
- usb_host_lib example demonstration
2024-02-21 12:34:04 +01:00
Roshan Bangar
821185d6ec
fix(nimble): fixed missing controller disabled guard in esp_nimble_deinit
2024-02-21 16:59:58 +05:30
Rahul Tank
9feab17051
Merge branch 'bugfix/signed_write_fix_v5.2' into 'release/v5.2'
...
fix(nimble): message to be signed is corrected in signed write (v5.2)
See merge request espressif/esp-idf!29121
2024-02-21 19:22:00 +08:00
linruihao
b5a2054070
fix(esp_coex): fix circular dependency issue on esp32
...
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-21 19:14:53 +08:00
xueyunfei
aa21e87cd9
feat(lwip): add fall back dns config in menuconfig
2024-02-21 19:07:01 +08:00
Cao Sen Miao
4df78f9cff
fix(temperature_sensor): Cannot switch the range smmothly on esp32h2
2024-02-21 18:51:29 +08:00
Liu Linyan
63ba58e9a8
fix(ble_mesh): Fix compiling error when PB-ADV is disabled
...
Closes https://github.com/espressif/esp-idf/issues/13203
2024-02-21 18:46:49 +08:00
Cao Sen Miao
715ee3576e
fix(i2c_master): Fix bug on esp32 that read one byte data fails
2024-02-21 18:42:21 +08:00
Ondrej Kosta
4df9fa5b50
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling
2024-02-21 10:07:12 +01:00
muhaidong
d0afffe8c9
fix(wifi): fix esp_wifi_scan_start memory leakage issue
...
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-21 16:32:31 +08:00
muhaidong
ffd01bf73b
fix(lwip): fix log format resulting in compilation failue issue
...
Closes https://github.com/espressif/esp-idf/issues/12982
2024-02-21 16:32:14 +08:00
Jiang Jiang Jian
4a3f224fe1
Merge branch 'bugfix/esp32c2_eap_auth_v5.2' into 'release/v5.2'
...
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.2)
See merge request espressif/esp-idf!28824
2024-02-21 14:31:32 +08:00
Sumeet Singh
2e1e17524e
fix(nimble): message to be signed is corrected in signed write (v5.2)
2024-02-21 11:45:55 +05:30
gaoxu
94ef39472b
fix(adc): workaround to fix adc continuous get less results on c3
2024-02-21 13:38:46 +08:00
Cao Sen Miao
c5759b6d2b
fix(tsens): 300us delay in phy cause extra power consumption
2024-02-21 11:58:30 +08:00
Cao Sen Miao
b69ac0fb27
fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
...
Closes https://github.com/espressif/esp-idf/issues/12921
2024-02-21 11:58:26 +08:00
Cao Sen Miao
84e44e230b
fix(temperature_sensor): Fix the value is incorrect if disable and enable again
...
Closes https://github.com/espressif/esp-idf/issues/12864
2024-02-21 11:58:22 +08:00
Mahavir Jain
c05940a0fb
Merge branch 'ci/test_limit_main_cleanup_v5.2' into 'release/v5.2'
...
ci(test_apps): limit dependencies for misc test_apps (v5.2)
See merge request espressif/esp-idf!29135
2024-02-21 11:44:05 +08:00
Jiang Jiang Jian
7e9a9b35ea
Merge branch 'bugfix/mbo_api_flag_v5.2' into 'release/v5.2'
...
fix(wpa_supplicant):Add MBO config flag for mbo apis(v5.2)
See merge request espressif/esp-idf!28698
2024-02-21 11:08:09 +08:00
Jiang Jiang Jian
8a0132aacf
Merge branch 'bugfix/ble_mesh_ble_advtype_v5.2' into 'release/v5.2'
...
ble_mesh: update ble mesh ble adv type(backport v5.2)
See merge request espressif/esp-idf!28916
2024-02-21 11:05:21 +08:00
Jiang Jiang Jian
62dbf69c0a
Merge branch 'bugfix/ble_mesh_deinit_reinit_v5.2' into 'release/v5.2'
...
feat: ble mesh: improve ble mesh deinit when nimble enable(backport v5.2)
See merge request espressif/esp-idf!28926
2024-02-21 11:04:04 +08:00
Jiang Jiang Jian
7a9b686174
Merge branch 'bugfix/struct_init_order_blemesh_v5.2' into 'release/v5.2'
...
ble_mesh: example: fix the structure init order to meet C++ requirements(backport v5.2)
See merge request espressif/esp-idf!28928
2024-02-21 11:01:01 +08:00
Marius Vikhammer
f1561c6bc9
Merge branch 'contrib/github_pr_12867_v5.2' into 'release/v5.2'
...
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR) (v5.2)
See merge request espressif/esp-idf!29111
2024-02-21 11:00:38 +08:00
Jiang Jiang Jian
3c7c5829b7
Merge branch 'h2_auto_dbias_master_hsq_v5.2' into 'release/v5.2'
...
ESP32H2: Active & sleep dbias get from efuse to fix the voltage (v5.2)
See merge request espressif/esp-idf!28714
2024-02-21 10:49:16 +08:00
Marius Vikhammer
da6412b216
Merge branch 'bugfix/bootloader_custom_rtc_data_crc_v5.2' into 'release/v5.2'
...
fix(bootloader): add legacy retained memory CRC calculation (backport v5.2)
See merge request espressif/esp-idf!28937
2024-02-21 10:43:50 +08:00
Lou Tianhao
901c5624d3
change(pm): change CMakeLists for wakeup pytest
2024-02-21 10:42:39 +08:00
Lou Tianhao
229a974252
change(pm): change test_io_wakeup
2024-02-21 10:42:39 +08:00
Lou Tianhao
0cdaf0008d
feat(pm): add test_io_wakeup
2024-02-21 10:42:39 +08:00
Marius Vikhammer
bab0fa8a03
ci(test_apps): limit dependencies for misc test_apps
...
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-21 09:34:29 +08:00
Aditya Patwardhan
546e9e0b6e
Merge branch 'bugfix/anti_rollback_check_regression_v5.2' into 'release/v5.2'
...
fix(bootloader_support): check the secure version only for app image (v5.2)
See merge request espressif/esp-idf!29127
2024-02-20 23:30:04 +08:00
Simon H
7e9fdf598e
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
...
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.
Closes https://github.com/espressif/esp-idf/pull/12867
[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-20 19:43:12 +08:00
morris
7fafe4a9f4
Merge branch 'feature/usb_host_collective_backport_v5.2' into 'release/v5.2'
...
USB Host: Collective backport to v5.2
See merge request espressif/esp-idf!28095
2024-02-20 18:51:26 +08:00
Marius Vikhammer
08a50af080
Merge branch 'bugfix/heap_task_includes_v5.2' into 'release/v5.2'
...
fix(heap): fixed missing include in esp_heap_task_info.h (v5.2)
See merge request espressif/esp-idf!29116
2024-02-20 18:24:30 +08:00
Mahavir Jain
b2cdc06789
fix(bootloader_support): check the secure version only for app image
...
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.
Regression introduced in recent commit-id: 3305cb4d
Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 14:45:27 +05:30
Shu Chen
dbbe2cf173
Merge branch 'backport5.2/openthread_backport' into 'release/v5.2'
...
some openthread changes backport to release/v5.2
See merge request espressif/esp-idf!28637
2024-02-20 17:01:36 +08:00
Marius Vikhammer
cb270eebd6
Merge branch 'bugfix/remove_o0_bootloader_v5.2' into 'release/v5.2'
...
fix(build): remove CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE option from c6, h2 and p4 (v5.2)
See merge request espressif/esp-idf!28752
2024-02-20 16:52:33 +08:00
Jiang Jiang Jian
5cb1e9f6f4
Merge branch 'feat/support_get_bluedroid_status_v5.2' into 'release/v5.2'
...
Support get status of bluedroid host (backport v5.2)
See merge request espressif/esp-idf!28881
2024-02-20 14:33:46 +08:00
aditi_lonkar
a3ba6b299d
fix(wpa_supplicant):Add MBO config flag for mbo apis
2024-02-20 13:54:20 +08:00
Rahul Tank
768bd4750d
Merge branch 'feat/ble_gap_dev_auth_v5.2' into 'release/v5.2'
...
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)
See merge request espressif/esp-idf!29079
2024-02-20 12:38:35 +08:00
Marius Vikhammer
6b1413c3e9
fix(heap): fixed missing include in esp_heap_task_info.h
...
Would fail to compile if esp_heap_task_info.h was included without/before freertos includes
2024-02-20 12:04:45 +08:00
morris
1156370c00
Merge branch 'bugfix/fix_adc_reset_issue_on_legacy_v5.2' into 'release/v5.2'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk(legacy) (v5.2)
See merge request espressif/esp-idf!28332
2024-02-20 11:25:00 +08:00
zwx
fff9980a5b
feat(openthread): disable the rx on when idle in coex scenario
2024-02-20 10:41:10 +08:00
zwx
cb04df5ddf
fix(openthread): fix RCP handle timeout crashing issue
...
* update openthread upstream
2024-02-20 10:41:00 +08:00
zwx
a64744883d
fix(openthread): support uart ISR in IRAM
2024-02-20 10:32:10 +08:00
zwx
3a9bf62ed6
fix(802154): fix pending tx will be delayed issue
2024-02-20 10:32:00 +08:00
Shu Chen
c923dd4df4
feat(ieee802154): make the receive done handler feature mandatory
2024-02-20 10:31:29 +08:00
Shu Chen
1085fece61
feat(ieee802154): remove the ieee802154 lib submodule
2024-02-20 10:31:29 +08:00
zwx
51bc01b557
feat(openthread): support openthread radio caps rx on when idle
2024-02-20 10:31:29 +08:00
xiaqilin
dfb75ff2ac
fix(ieee802154): add next operation in ieee802154 test when rx abort by tx ack coex
2024-02-20 10:31:29 +08:00
zwx
f978fc10c0
feat(802.15.4): introduce pending tx while rx feature
2024-02-20 10:31:29 +08:00
zwx
4184b48aa8
feat(openthread): integrate console command with ot command
2024-02-20 10:31:29 +08:00
Xu Si Yu
06cca86017
feat(openthread): add menuconfig for openthread address query
2024-02-20 10:31:29 +08:00
Xu Si Yu
4ddb253788
fix(openthread): set spinel frame buffer to member variables
2024-02-20 10:31:29 +08:00
Xu Si Yu
936bba8073
feat(openthread): support esp openthread radio spinel
2024-02-20 10:31:29 +08:00
Darshan Dobariya
d9de786520
feat(nimble): Authorize or deauthorize a BLE device for a connection (v5.2)
2024-02-19 16:27:45 +05:30
Rahul Tank
e0944287f3
Merge branch 'bugfix/backport_ble_nimble_fixes_5.2' into 'release/v5.2'
...
fix(nimble) : Bugfix/backport ble nimble fixes 5.2
See merge request espressif/esp-idf!29098
2024-02-19 18:04:35 +08:00
Darian Leung
471fe41828
refactor(soc): Remove soc/usb_types.h
...
This header has been removed for the following reasons:
- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-02-19 15:45:04 +08:00
Darian Leung
b07a43e630
refactor(soc): Rename usb_otg_periph to usb_dwc_periph
...
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-02-19 15:45:04 +08:00
Darian Leung
50b3a35c52
refactor(soc): Deprecate usb pin mappings
...
usb_pins.h and usb_periph.h/c lists mappings of USB DWC signals to GPIOs used
to connect to external FSLS PHYs. However, those signals can be routed to any
GPIOs via the GPIO matrix. Thus, these mapping are meaningless and have been
deprecated.
2024-02-19 15:45:03 +08:00
Darian Leung
86fb02efa4
refactor(hal): Remove usb_hal and usb_ll
...
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-02-19 15:45:03 +08:00
Tomas Rezucha
f57ef07e14
feat(usb/host): Calculate FIFO sizes based on USB configuration
2024-02-19 15:45:02 +08:00
Darian Leung
2f6e45c79b
refactor(usb): Deprecate CONFIG_USB_OTG_SUPPORTED, use SOC_USB_OTG_SUPPORTED instead
...
Previously, USB build dependencies used the CONFIG_USB_OTG_SUPPORTED. However,
they could depend on `soc_caps.h` instead.
2024-02-19 15:45:02 +08:00
Darian Leung
f0219b73f9
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-19 15:45:02 +08:00
Darian Leung
f2ede42191
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-19 15:45:01 +08:00
Darian Leung
c1f0823795
refactor(hal/usb): Remove usage of old USB OTG config macros
2024-02-19 15:45:01 +08:00
Darian Leung
d08b90c5cc
refactor(soc/host): Update USB OTG struct fields
...
This commit updates the "*_struct.h" files for the USB OTG peripheral:
- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-19 15:45:00 +08:00
Darian Leung
bf9706dc31
refactor(hal/usb): Fix USB OTG compilation dependency
...
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2024-02-19 15:45:00 +08:00
Darian Leung
3964fb2d04
refactor(usb/host): reformat code with astyle_py
2024-02-19 15:45:00 +08:00
Tomas Rezucha
1e2c271bd0
fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
...
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2024-02-19 15:44:59 +08:00
Tomas Rezucha
0ce4aa114e
fix(usb/host): Correctly parse MPS fields in HighSpeed EP descriptors
...
Bits [11,12] in HighSpeed periodic endpoints specify
the number of additional transaction opportunities per microframe
2024-02-19 15:44:59 +08:00
Island
1c2a6712e3
Merge branch 'bugfix/ble_update_lib_20240125_v5.2' into 'release/v5.2'
...
Bugfix/ble update lib 20240125 v5.2
See merge request espressif/esp-idf!28710
2024-02-19 15:29:25 +08:00
Island
d4dd0d4201
Merge branch 'bugfix/fix_some_ble_issue_v5.2' into 'release/v5.2'
...
Bugfix/fix some ble issue v5.2(backport v5.2)
See merge request espressif/esp-idf!28617
2024-02-19 15:19:24 +08:00