Commit Graph

24083 Commits

Author SHA1 Message Date
Sudeep Mohanty
e4f167df25 Merge branch 'fix/freertos_optimize_critical_sections' into 'master'
fix(riscv): Updated RISC-V functions to set interrupt threshold for CLIC targets

Closes IDFCI-2033, IDFCI-2034, IDF-8090, and IDF-8117

See merge request espressif/esp-idf!29055
2024-03-01 17:51:14 +08:00
David Čermák
9e0ad656c9 Merge branch 'fix/sntp_getreachability' into 'master'
fix(netif): Add missing SNTP get-reachablitiy API

Closes DOC-7124

See merge request espressif/esp-idf!28659
2024-03-01 16:22:33 +08:00
gaoxu
7075b61a6a docs(uart): update lp uart and p4/c5 uart programming guide 2024-03-01 16:21:22 +08:00
Konstantin Kondrashov
9a5d6c844c Merge branch 'feature/efuse_destroy_block' into 'master'
feat(efuse): Adds destroy_block API

Closes IDF-8354

See merge request espressif/esp-idf!29200
2024-03-01 15:51:20 +08:00
Kevin (Lao Kaiyao)
31437c34a9 Merge branch 'refactor/support_esp32c5_beta3_mp_coexistence' into 'master'
refactor(esp32c5): support esp32c5 beta3 & mp coexistence

See merge request espressif/esp-idf!29248
2024-03-01 15:50:05 +08:00
Armando (Dou Yiwen)
7b414002f6 Merge branch 'change/psram_200m_update' into 'master'
change(psram): update voltage configurations

See merge request espressif/esp-idf!28933
2024-03-01 15:17:24 +08:00
Gao Xu
e1ec760daf Merge branch 'contrib/github_pr_13025' into 'master'
Missing include for rom/uart.h (GitHub PR)

Closes IDFGH-11947

See merge request espressif/esp-idf!28591
2024-03-01 14:33:54 +08:00
laokaiyao
01e3c85322 refactor(esp32c5): change beta3 path in esp_system and bootloader 2024-03-01 11:12:36 +08:00
chenjianhua
2e122313c2 feat(bt/bluedroid): Add ext adv and privacy status check 2024-03-01 11:07:37 +08:00
Jakob Hasse
f9c9e18bca fix(linux): prevent build error on MacOS and optimize buffer usage on Linux 2024-03-01 11:01:15 +08:00
Jakob Hasse
bafaf07c18 refactor(cxx): moved C++ init functions to cxx component
* Also fixed setting the C++ exception emergency pool size
  correctly when C++ exceptions are disabled:
  __cxx_eh_arena_size_get() is now called again even if
  CONFIG_COMPILER_CXX_EXCEPTIONS=n
2024-03-01 11:00:09 +08:00
laokaiyao
db2435fd14 feat(soc_cap_kconfig): support to search recursively 2024-03-01 10:17:17 +08:00
laokaiyao
319e30ac38 refactor(esp32c5): change beta3 path in soc 2024-03-01 10:16:14 +08:00
laokaiyao
3a5d080ec0 refactor(esp32c5): change beta3 path in esp_rom 2024-03-01 10:13:45 +08:00
laokaiyao
1b91e84544 feat(esp32c5): add esp32c5 mp target 2024-03-01 10:13:45 +08:00
Ivan Grokhotkov
293f529cd7 Merge branch 'bugfix/sdspi_acmd41_arg' into 'master'
fix(sdmmc): fixes for card initialization (ACMD41)

Closes IDFGH-4892 and IDFGH-9144

See merge request espressif/esp-idf!29298
2024-03-01 08:42:01 +08:00
C.S.M
3e0a672d91 Merge branch 'feature/jpeg_decoder' into 'master'
feat(jpgd): Add jpeg decode support on esp32p4 🖼️ (goal: Trying to merge in March 🛰️ )

See merge request espressif/esp-idf!28639
2024-02-29 23:43:05 +08:00
David Cermak
c30f2825d5 fix(netif): Add missing SNTP get-reachablitiy API 2024-02-29 23:37:45 +08:00
C.S.M
1360f1b0a9 Merge branch 'feature/i2c_support_esp32c5' into 'master'
feat(i2c): Add I2C support on ESP32C5

Closes IDF-8694 and IDF-8696

See merge request espressif/esp-idf!29196
2024-02-29 21:51:45 +08:00
Mahavir Jain
e18fd01d0d Merge branch 'fix/pmp_idcache_reg_prot' into 'master'
fix(esp_hw_support): Fix the I/DCACHE region PMP protection

See merge request espressif/esp-idf!28525
2024-02-29 21:39:11 +08:00
Mahavir Jain
7adbc9cf4b Merge branch 'fix/fix_key_manager_clock_changes' into 'master'
fix(hal): Fix Key Manager clock changes

See merge request espressif/esp-idf!28890
2024-02-29 21:38:18 +08:00
Mahavir Jain
d62f7aa643 Merge branch 'refactor/protocomm_public_hdr' into 'master'
refactor(protocomm): Make the protocomm `proto-c` headers public

See merge request espressif/esp-idf!29312
2024-02-29 21:38:03 +08:00
Gao Xu
46cd7a393f Merge branch 'feature/esp32c5_uart_support' into 'master'
feat(uart): add HP/LP uart support on ESP32C5

Closes IDF-8722 and IDF-8723

See merge request espressif/esp-idf!28899
2024-02-29 19:37:34 +08:00
Tomas Rezucha
6529f7e3ec Merge branch 'ci/usb_host_add_p4_examples_ci' into 'master'
ci(USB): add ESP32-P4 runners to existing USB CI

Closes IDF-9127

See merge request espressif/esp-idf!28795
2024-02-29 18:43:16 +08:00
Wang Meng Yang
09c504687b Merge branch 'bugfix/incr_coex_request_queue' into 'master'
fix(bt/controller): Fixed some esp32 bt controller bugs in coexistence scheme which affected the allocation of RF

Closes BT-3540

See merge request espressif/esp-idf!29309
2024-02-29 17:55:39 +08:00
Peter Marcisovsky
51d6296fde ci: Added esp32p4 usb tests to CI:
- added new test for usb_host_lib example for all targets
    - CI USB host test are run on esp32p4
    - CI USB device tests temporarily disabled until usb_device runner is fixed
    - hcd and usb_host tests which do not require PHY are run on esp32p4
2024-02-29 10:35:09 +01:00
Cao Sen Miao
d11030ade6 docs(jpeg): Add basic programming guide for jpeg decoder 2024-02-29 17:20:09 +08:00
Alexey Lapshin
fdb7a43752 Merge branch 'feature/esp32p4_concontiguous_mem_mvp' into 'master'
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 on P4

See merge request espressif/esp-idf!28783
2024-02-29 16:28:13 +08:00
Jiang Jiang Jian
83f40382b6 Merge branch 'bugfix/fix_c2_disconnect_reason_code_wrong_issue' into 'master'
fix(wifi): fix esp32c2 disconnect reason code wrong issue

Closes WIFIBUG-435

See merge request espressif/esp-idf!29299
2024-02-29 14:50:21 +08:00
nilesh.kale
152f172367 fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the esp_hmac_disable() API.
2024-02-29 12:01:09 +05:30
gaoxu
1b1e4d2f76 feat(uart): change fifo.byte to fifo.val when uart_ll_write_txfifo 2024-02-29 14:20:10 +08:00
gaoxu
f9109beda2 feat(uart): add HP/LP uart support on ESP32C5 2024-02-29 14:12:51 +08:00
Cao Sen Miao
518c7f5b14 test(jpeg): Add basic test_app for jpeg_decoder 2024-02-29 13:51:21 +08:00
Cao Sen Miao
abc2971d95 feat(jpeg): Add basic jpeg decoder support on esp32p4 2024-02-29 13:51:16 +08:00
Darian
6817e9f07c Merge branch 'fix/console_none_build_issues' into 'master'
fix(console): Fix build issues when CONFIG_ESP_CONSOLE_NONE is enabled

Closes IDFGH-11900

See merge request espressif/esp-idf!29295
2024-02-29 12:17:21 +08:00
Cao Sen Miao
ddb0c21d4c feat(i2c): Add I2C support on ESP32C5 2024-02-29 12:13:39 +08:00
Aditya Patwardhan
4636ef946b fix(esp_hw_support): Update key manager locking mechanism 2024-02-29 12:00:30 +08:00
Aditya Patwardhan
3ffb811d18 fix(hal): Fix Key Manager clock changes 2024-02-29 12:00:30 +08:00
Mahavir Jain
afbed25c6f Merge branch 'bugfix/update_crypto_test_apps_for_sha' into 'master'
fix(hal/test_apps): update sha testcases flow

See merge request espressif/esp-idf!29050
2024-02-29 11:58:05 +08:00
Song Ruo Jing
091fe38835 Merge branch 'feature/esp32c5_gdma_support' into 'master'
feat(gdma): add GDMA support for ESP32C5

Closes IDF-8710, IDF-8712, and IDF-8716

See merge request espressif/esp-idf!28968
2024-02-29 11:44:05 +08:00
Ricardo Quesada
f082788957 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-02-29 11:05:50 +08:00
Jin Cheng
cdb2f2c570 fix(bt/controller): Fixed 3 esp32 bt controller bugs
update esp32 bt-lib (952debf4)

1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-02-29 11:02:37 +08:00
Wang Meng Yang
e99abdd6de Merge branch 'bugfix/fix_hci_cmd_status_evt_sent' into 'master'
Fixed HCI command status event send when LLCP busy on ESP32

Closes BLERP-333

See merge request espressif/esp-idf!27858
2024-02-29 10:48:06 +08:00
Armando
62440e5b12 change(psram): update voltage configurations 2024-02-29 10:42:37 +08:00
muhaidong
eb54a4698c fix(wifi): fix esp32c2 disconnect reason code wrong issue 2024-02-29 09:58:24 +08:00
Adam Múdry
35e312c48e feat(fatfs): Allow expanding files with seeking and truncating functions
Closes https://github.com/espressif/esp-idf/issues/13100
2024-02-29 01:01:32 +01:00
C.S.M
0b9b928ce9 Merge branch 'bugfix/fix_flash_encryption_rom_c3' into 'master'
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled

Closes IDF-9192

See merge request espressif/esp-idf!29188
2024-02-29 01:13:20 +08:00
Alexey Lapshin
824c8e0593 feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000
This commit introduce SOC_MEM_NON_CONTIGUOUS_SRAM flag (that enebled for
esp32p4). If SOC_MEM_NON_CONTIGUOUS_SRAM is enabled:

- LDFLAGS+=--enable-non-contiguous-regions
- ldgen.py replaces "arrays[*]" from sections.ld.in with objects under
  SURROUND keyword. (e.g. from linker.lf: data -> dram0_data SURROUND(foo))
- "mapping[*]" - refers to all other data

If SOC_MEM_NON_CONTIGUOUS_SRAM, sections.ld.in file should contain at
least one block of code like this (otherwise it does not make sense):

  .dram0.bss (NOLOAD) :
  {
    arrays[dram0_bss]
    mapping[dram0_bss]
  } > sram_low

  .dram1.bss (NOLOAD) :
  {
    /* do not place here arrays[dram0_bss] because it may be splited
     * between segments */
    mapping[dram0_bss]
  } > sram_high
2024-02-28 19:41:25 +04:00
Jin Cheng
f4f26e94bd feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-02-28 20:30:38 +08:00
Darian Leung
4e4278477d
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:

- vfs_console.c will attempt to register a VFS entry for STDIO console even if
CONFIG_ESP_CONSOLE_NONE is enabled. This results in "undeclared `primary_path`"
error.
- esp_console_repl_chpi.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-28 20:28:27 +08:00
Konstantin Kondrashov
b123f62b78 feat(efuse): Adds destroy_block API 2024-02-28 14:27:08 +02:00
Ondrej Kosta
4ddc947d1c Merge branch 'bugfix/eth_link_reset' into 'master'
fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped

Closes IDF-9195

See merge request espressif/esp-idf!29058
2024-02-28 20:26:29 +08:00
Darian
f5b08b29ea Merge branch 'bugfix/usb_host_usbh_callback_misses_action' into 'master'
fix(usb): Fix bug where usbh_process() misses an event

See merge request espressif/esp-idf!29233
2024-02-28 20:16:25 +08:00
Laukik Hase
379e02ec9c
refactor(protocomm): Make the protocomm proto-c headers public 2024-02-28 14:35:04 +05:30
Island
28b4ad2b53 Merge branch 'bugfix/ble_update_lib_20240223' into 'master'
update lib on master

Closes BLERP-563, BLERP-567, BLERP-548, BLERP-561, BLERP-569, BLERP-542, BLERP-541, BLERP-543, BLERP-540, BLERP-570, BLERP-571, BLERP-572, and BLERP-573

See merge request espressif/esp-idf!29207
2024-02-28 16:54:14 +08:00
Ivan Grokhotkov
fb95daab06
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-02-28 09:33:24 +01:00
Ivan Grokhotkov
47ba4d639a
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-02-28 09:33:23 +01:00
Bogdan Kolendovskyy
f02fadda87 Merge branch 'bugfix/ip101_hw_reset_include' into 'master'
fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver

See merge request espressif/esp-idf!29063
2024-02-28 16:20:35 +08:00
Sudeep Mohanty
f65a55952c Merge branch 'bugfix/ulp_rtc_i2c_doesnt_work_with_interrupts' into 'master'
RTC I2C does not work when interrupts are enabled on ULP RISC-V

See merge request espressif/esp-idf!28844
2024-02-28 16:12:34 +08:00
Jin Cheng
20f2207d5f Merge branch 'bugfix/mem_leak_op_dev_name' into 'master'
fix(bt/bluedroid): Avoided possible memory leak in the module of BT device

See merge request espressif/esp-idf!29141
2024-02-28 15:54:24 +08:00
Sudeep Mohanty
459ff8348f fix(riscv): Added RISC-V functions to set interrupt threshold for CLIC targets
This commit added the RISC-V utility functions to set the interrupt
threshold for CLIC targets by using direct register value writes.
This makes the functions more efficient during run-time.
This is done to improve the critical section enter and exit performance on esp32p4.
2024-02-28 08:51:37 +01:00
Island
5e658f5d10 Merge branch 'bugfix/fix_ble_max_reconnect' into 'master'
fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration

Closes BLERP-568, BLERP-581, and BLERP-582

See merge request espressif/esp-idf!29186
2024-02-28 15:41:02 +08:00
Sudeep Mohanty
7444890a03 fix(esp_system): Updated the conditions for the GDBStub on Panic Kconfig option
This commit updates the Panic handler behavior Kconfig setting to make
the GDBStub on Panic (CONFIG_ESP_SYSTEM_PANIC_GDBSTUB) option to be only
available when esp_gdbstub is part of the component list of the build.

Closes https://github.com/espressif/esp-idf/issues/13218
2024-02-28 08:34:08 +01:00
Rahul Tank
30d5c36aac fix(nimble): Increase range of reattempt connection count 2024-02-28 12:56:57 +05:30
Omar Chebib
c1849df791 refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC 2024-02-28 15:21:10 +08:00
Jiang Guang Ming
73c60401af fix(esp_rom): Update esp32p4lp rom ld files 2024-02-28 14:14:05 +08:00
Jiang Guang Ming
3117659bed fix(esp_rom): Update esp32p4 rom caps 2024-02-28 14:13:16 +08:00
Laukik Hase
366e4ee944
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-02-28 10:54:38 +05:30
Laukik Hase
ff839be31d
fix(esp_hw_support): Fix the I/DCACHE region PMP protection 2024-02-28 10:54:37 +05:30
Song Ruo Jing
98d9f04b00 feat(gdma): add GDMA support for ESP32C5 2024-02-28 12:38:02 +08:00
chenjianhua
7df536d325 fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-02-28 12:09:03 +08:00
Wu Zheng Hui
f3b95059f9 Merge branch 'bugfix/fix_sleep_cache_safe_assertion' into 'master'
fix(esp_hw_support): fix cache safe check function

See merge request espressif/esp-idf!29246
2024-02-28 10:50:52 +08:00
Cao Sen Miao
44e16a6401 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-02-28 10:07:53 +08:00
zwl
7b8b85e140 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 23:28:25 +08:00
zwl
093bc1a4f5 ble(update):
Update c2 lib to 79be7ec9
Update h2 lib to c6f7cb08
Update c6 lib to c6f7cb08
2024-02-27 23:28:25 +08:00
C.S.M
7cf8cc79a1 Merge branch 'fix/ci_i2c_sleep_retention' into 'master'
fix(i2c): Modify the test memory leak check threshold and add more file pattern

See merge request espressif/esp-idf!29290
2024-02-27 23:00:29 +08:00
Joshua
09503600f2 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 2024-02-27 22:32:14 +08:00
thekurtovic
3e74922c9e fix(bt/bluedroid): Fixed "reprot" typo in esp_ble_gap_ext_adv_reprot_t 2024-02-27 22:32:14 +08:00
zhanghaipeng
3eec662473 fix(ble/bluedroid): Update maximum BLE reconnection attempts configuration 2024-02-27 22:03:37 +08:00
Tomas Rezucha
7f22c235db refactor(esp_hid): Format the code with astyle 2024-02-27 14:48:43 +01:00
morris
5d812b5ae5 Merge branch 'feature/mipi_dpi_multi_frame_buffer' into 'master'
feat(mipi_dsi): support multiple frame buffers

See merge request espressif/esp-idf!28862
2024-02-27 21:29:36 +08:00
Darian Leung
3887441b37
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-27 18:22:48 +08:00
Bogdan Kolendovskyy
eb8985886d fix(esp_eth): explicitly include FreeRTOS headers into ip101 driver to ensure availability of vTaskDelay 2024-02-27 18:13:07 +08:00
morris
cf20dfee1d feat(mipi_dsi): support multiple frame buffers 2024-02-27 17:49:04 +08:00
morris
f0342d6b59 feat(dw_gdma): support change link list item connection
by dw_gdma_lli_set_next
2024-02-27 17:49:04 +08:00
Cao Sen Miao
28a0548c67 fix(i2c): Modify the test memory leak check threshold and add more file pattern 2024-02-27 17:30:59 +08:00
wuzhenghui
4e731e8612 fix(esp_hw_support): fix cache safe check function 2024-02-27 17:29:24 +08:00
gaoxu
e9ce63532b feat(gpio): add gpio fun sellect api 2024-02-27 17:01:53 +08:00
Marius Vikhammer
3c9463bc75 fix(linux_target): fix esp_err_to_name failing to compile on linux 2024-02-27 16:55:43 +08:00
Jiang Jiang Jian
be7fe58971 Merge branch 'feature/improve_coex_connect_compatibility' into 'master'
feat(coex): improve Wi-Fi connecting compatibility at coexistence

Closes WIFI-6362, WIFI-6320, WIFIBUG-216, FCC-60, and FCC-59

See merge request espressif/esp-idf!28195
2024-02-27 16:53:21 +08:00
Konstantin Kondrashov
11d44e82eb Merge branch 'feature/efuse_esp32p4_add_new' into 'master'
feat(efuse): Adds new efuses for esp32p4

See merge request espressif/esp-idf!29085
2024-02-27 15:37:39 +08:00
Marius Vikhammer
f2fe408b99 refactor(core): reformat newlib and pthread with astyle 2024-02-27 10:00:06 +08:00
liuning
7440e302be feat(coex): improve Wi-Fi connecting compatibility at coexistence 2024-02-27 09:43:00 +08:00
Martin Vychodil
4cb3a75436 Merge branch 'bugfix/nvs_lock_initi_and_multipage_blob' into 'master'
Bugfix/nvs Improved handling of BLOB during unreliable power environment and concurrent data access scenarios

Closes IDF-8839

See merge request espressif/esp-idf!28843
2024-02-27 04:50:56 +08:00
Erhan Kurubas
b71dabf08b Merge branch 'register_gcov_tick_hook_once' into 'master'
fix(gcov): avoid multiple tick hook registration

See merge request espressif/esp-idf!29087
2024-02-26 20:47:46 +08:00
morris
82c0e18dd8 Merge branch 'refactor/astyle_driver' into 'master'
change(driver): reformat driver component with astyle_py

See merge request espressif/esp-idf!29217
2024-02-26 18:36:31 +08:00
Tomas Rezucha
5863a27bd2 feat(usb/host): Add missing sync types from USB specification 2024-02-26 10:50:20 +01:00
Shu Chen
cda92ca0e9 Merge branch 'fix/openthread_alarm_timer_overflow' into 'master'
fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue

See merge request espressif/esp-idf!29146
2024-02-26 17:25:42 +08:00
morris
c65fbbdf71 change(driver): reformat driver component with astyle_py 2024-02-26 11:47:05 +08:00
Mahavir Jain
603bc0536c Merge branch 'fix/support_gcm_soft_fallback_for_non_aes_ciphers' into 'master'
fix(mbedtls/gcm): Add support for software fallback for non-AES ciphers in a GCM operation

Closes IDF-8494

See merge request espressif/esp-idf!28007
2024-02-26 11:18:11 +08:00
radek.tandler
fc6951e193 fix(nvs): Improved lockig mechanism for initialization phase 2024-02-24 07:55:32 +01:00
radek.tandler
635e6b154e fix(nvs): eraseMultiPageBlob to robustly delete all related BLOB_DATA records and respect VER_ANY 2024-02-24 07:55:32 +01:00
radek.tandler
cad09ea461 fix(nvs): corrected findItem to return BLOB_DATA when chunkIndex = CHUNK_ANY 2024-02-24 07:55:22 +01:00
C.S.M
2302dd5a91 Merge branch 'feature/i2c_sleep' into 'master'
feat(i2c): Support i2c sleep retention on esp32c6/h2

Closes IDF-8458

See merge request espressif/esp-idf!28885
2024-02-24 09:58:35 +08:00
Wang Meng Yang
e265484084 Merge branch 'change/reduce_usage_of_iram_when_bt_in_single_mode' into 'master'
change(bt/bluedroid): reset the app  redirected functions in controller based on the bluetooth mode

Closes BT-3546

See merge request espressif/esp-idf!28040
2024-02-23 17:59:34 +08:00
Lin Rui Hao
00df222cdf Merge branch 'docs/rf_coexistence_api_guides_support_esp32c2' into 'master'
Docs: RF coexistence api guides support esp32c2

Closes BT-3582

See merge request espressif/esp-idf!28780
2024-02-23 15:20:45 +08:00
Jin Cheng
a288640655 fix(bt/bluedroid): Avoided possible memory leak in the module of BT device 2024-02-23 14:14:50 +08:00
harshal.patil
a21a16f34f
ci(mbedtls/gcm): Added test to verify software fallback for non-AES cipher GCM operations 2024-02-23 10:47:30 +05:30
harshal.patil
8977be856d
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-23 10:47:30 +05:30
Mahavir Jain
98373a3c2a Merge branch 'bugfix/encrypted_flash_write_safe_addr' into 'master'
fix(spi_flash): check for safe write address in encrypted flash API

See merge request espressif/esp-idf!29043
2024-02-23 12:30:30 +08:00
Cao Sen Miao
27b2f7a10b feat(i2c): Add test cases for i2c sleep retention with 802154 2024-02-23 11:28:17 +08:00
Cao Sen Miao
cf521b60ea feat(i2c): Support i2c sleep retention on esp32c6/h2 2024-02-23 11:28:14 +08:00
Zhi Wei Jian
76c4cfc834 Merge branch 'feature/add_api_to_send_vendor_hci_cmd' into 'master'
Add api to send vendor hci command

Closes BLERP-546

See merge request espressif/esp-idf!28855
2024-02-23 10:29:42 +08:00
Rahul Tank
c5e92ac4ce Merge branch 'bugfix/move_count' into 'master'
fix(nimble): Fix compilation issue in nimble for -O2 flag

See merge request espressif/esp-idf!29035
2024-02-23 09:14:47 +08:00
Darshan Dobariya
e6bf35b3c9 fix(nimble): Change 'move_count' to uint8_t type 2024-02-22 21:34:11 +05:30
Jiang Jiang Jian
8e06aedcb3 Merge branch 'bugfix/fix_dhcp_offer_and_dhcp_ack_use_ampdu_lead_dhcp_easy_fail_issue' into 'master'
fix(wifi): fixed dhcp offer and dhcp ack data rates

Closes WIFIBUG-142, AUD-5080, FCS-1347, and WIFI-6385

See merge request espressif/esp-idf!27459
2024-02-23 00:01:50 +08:00
Rahul Tank
2bec5d70b6 Merge branch 'bugfix/remove_namespace_variable_name' into 'master'
fix(nimble): update variable name to avoid using keyword

See merge request espressif/esp-idf!28972
2024-02-22 23:31:38 +08:00
Adam Múdry
8d3e79971e feat(fatfs): Add f_expand function as esp_vfs_fat_create_contiguous_file
Add esp_vfs_fat_test_contiguous_file to test it
2024-02-22 16:05:28 +01:00
muhaidong
41ce6211d3 fix(wifi): fix lmac_stop_hw_txq issue 2024-02-22 22:56:02 +08:00
muhaidong
e7625eb189 fix(wifi): fix some wifi issues
1. fix qos encapsulated eapol issue
2. fixed dhcp offer and dhcp ack data rates
2024-02-22 22:56:02 +08:00
Martin Vychodil
0b4f451470 Merge branch 'fix/undeprecate_esp_vfs_fat_register' into 'master'
fix(fatfs): temp remove deprecated attribute from esp_vfs_fat_register

Closes IDFCI-2045

See merge request espressif/esp-idf!29168
2024-02-22 22:54:13 +08:00
radek.tandler
d879ec5248 fix(nvs): added check and erase of mismatched BLOB_DATA on init 2024-02-22 15:15:10 +01:00
Ivan Grokhotkov
5b53fb07fb fix(nvs): prevent out of bounds write if blob data is inconsistent 2024-02-22 15:15:10 +01:00
Jiang Jiang Jian
c7a02cbe55 Merge branch 'c6_auto_dbias_master_hsq' into 'master'
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage

See merge request espressif/esp-idf!27696
2024-02-22 19:12:28 +08:00
Konstantin Kondrashov
0d90a91e12 Merge branch 'bugfix/esp_intr_free' into 'master'
fix(esp_hw_support): Fix esp_intr_free when task has no core affinity

See merge request espressif/esp-idf!27328
2024-02-22 18:58:10 +08:00
zhiweijian
7ea7f1536f feat(bt/bluedroid): add api to setnd vendor hci command 2024-02-22 18:00:30 +08:00
Marius Vikhammer
af6657b43b fix(fatfs): temp remove deprecated attribute from esp_vfs_fat_register
Causes build-errors internally in CI, should deprecate after external
components have been upgraded
2024-02-22 17:48:32 +08:00
Rahul Tank
dd38f2406b fix(nimble): update variable name to avoid using keyword 2024-02-22 15:14:33 +05:30
Mahavir Jain
b44387fd9b Merge branch 'feature/enable_ecc_support_for_c5' into 'master'
feat: added ecc peripheral support for esp32c5

Closes IDF-8625

See merge request espressif/esp-idf!29053
2024-02-22 16:36:30 +08:00
Wu Zheng Hui
3560d20a2e Merge branch 'docs/add_description_for_pd_top_gpio_configuration' into 'master'
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep

Closes IDFGH-12085 and IDFGH-13186

See merge request espressif/esp-idf!29097
2024-02-22 16:11:47 +08:00
Konstantin Kondrashov
b8e2342bf8 Merge branch 'bugfix/bootloader_flash_update_size' into 'master'
fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips

Closes IDFGH-12123

See merge request espressif/esp-idf!29049
2024-02-22 15:49:22 +08:00
Island
6790a5f79f Merge branch 'bugfix/ble_mesh_pb_adv_compile_error' into 'master'
fix(ble_mesh): Fix compiling error when PB-ADV is disabled

Closes IDFGH-12147

See merge request espressif/esp-idf!29126
2024-02-22 11:33:59 +08:00
Marius Vikhammer
c3ecd6d1f7 Merge branch 'bugfix/reset_reasons' into 'master'
Update reset reasons for C6, H2, P4 and C5

Closes IDF-5719 and IDF-8660

See merge request espressif/esp-idf!28999
2024-02-22 11:02:29 +08:00
Jiang Jiang Jian
2a6b3df49f Merge branch 'feature/support_DPP_AKM_v1' into 'master'
Add support of Network Introduction Protocol in DPP.

Closes WIFI-6171 and WIFIBUG-156

See merge request espressif/esp-idf!20856
2024-02-22 10:35:07 +08:00
Rahul Tank
9c0714fae7 Merge branch 'bugfix/missing_controller_disabled_guard' into 'master'
fix(nimble): Fixes related to nimble host only

See merge request espressif/esp-idf!29034
2024-02-22 02:02:18 +08:00
Adam Múdry
b13f414be7 Merge branch 'feature/vfs_fat_config_register' into 'master'
feat(storage/fatfs): Switch to a config struct for VFS FAT registration

Closes IDF-9174

See merge request espressif/esp-idf!28977
2024-02-21 23:39:56 +08:00
Guillaume Souchere
3fa2450b2c Merge branch 'fix/esp32c2-rom-patch-kconfig' into 'master'
fix(heap): Hide check patch config if no tlsf rom used

Closes IDF-9196

See merge request espressif/esp-idf!29071
2024-02-21 21:30:11 +08:00
Lin Rui Hao
6c9f50343d Merge branch 'bugfix/fix_coex_lib_circular_dependency' into 'master'
fix(esp_coex): fix circular dependency issue on esp32

Closes IDFGH-12049

See merge request espressif/esp-idf!29099
2024-02-21 19:04:28 +08:00
Sudeep Mohanty
1c015a3f0d feat(ulp-riscv): Added unit test for RTC I2C
This commit adds a unit-test for RTC I2C operation on the ULP RISC-V.
2024-02-21 11:46:19 +01:00
Konstantin Kondrashov
281031e24d feat(efuse): Adds new efuses for esp32p4 2024-02-21 12:45:31 +02:00
Sudeep Mohanty
993c8d4f0e fix(ulp-riscv): Wrapped all RTC I2C and UART operations in critical sections
This commit adds a workaround for a bug where the RTC I2C operations
result in a Bus Error when interrupts are enabled. The commit also adds
a critical section protection for UART print operations.
2024-02-21 11:45:06 +01:00
Sudeep Mohanty
d352ec615a feat(ulp-riscv): Added utility functions for atomicity
This commit adds utility functions to enter and exit critical sections
in the code flow by disabling and enabling interrupts.
2024-02-21 11:45:06 +01:00
Sudeep Mohanty
bc74cf808d feat(ulp-riscv): Added Kconfig option to enable ULP RISC-V interrupts
This commit adds a Kconfig option, CONFIG_ULP_RISCV_INTERRUPT_ENABLE, to
enable interrupts on the ULP RISC-V core on the esp32s2 and esp32s3.
2024-02-21 11:45:06 +01:00
nilesh.kale
747ee60dd5 feat: added ecc peripheral support for esp32c5
This commits adds support for ECC peripheral for ESP32C5
This is tested on mbedtls and hal testapps.
2024-02-21 14:52:56 +05:30
linruihao
1d34bb5e8a fix(esp_coex): add support_coexistence soc_caps for esp32c2 and esp32h2 2024-02-21 16:38:46 +08:00
wuzhenghui
d688492fe9
docs(gpio): add description for gpio_force_hold_all & gpio_force_unhold_all
Closes https://github.com/espressif/esp-idf/issues/13186
2024-02-21 16:21:03 +08:00
wuzhenghui
cfd8c6fb94
docs(esp_pm): Adding notes on configuring GPIOs when using PD_TOP sleep
Closes https://github.com/espressif/esp-idf/issues/13143
2024-02-21 16:20:59 +08:00
aditi_lonkar
90cc61588e feat(esp_wifi): Add support of Network Introduction Protocol in DPP 2024-02-21 12:47:32 +05:30
Jiang Jiang Jian
03d6b092c0 Merge branch 'bugfix/fix_task_wdt_in_mplen_clear_rebase_master' into 'master'
fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode

Closes WIFIBUG-401 and WIFI-6358

See merge request espressif/esp-idf!29120
2024-02-21 15:13:28 +08:00
xiaqilin
4d7e86eeb6 fix(openthread): fix openthread alarm timer calculation remaining_us overflow issue 2024-02-21 15:09:36 +08:00
KonstantinKondrashov
eeeebdf1cd 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-21 14:54:32 +08:00
Roshan Bangar
167c663542 fix(nimble): fixed missing controller disabled guard in esp_nimble_deinit 2024-02-21 11:55:41 +05:30
Rahul Tank
01bc97ab04 Merge branch 'bugfix/signed_write_fix' into 'master'
fix(nimble): Message to be signed is corrected in signed write

See merge request espressif/esp-idf!28816
2024-02-21 14:19:01 +08:00
Mahavir Jain
d99a715568
test: add encrypted flash write test for dangerous regions 2024-02-21 10:31:27 +05:30
Marius Vikhammer
4ce4af61ad fix(system): update reset reasons for P4 and C5 2024-02-21 11:59:28 +08:00
Gao Xu
a0532e1dce Merge branch 'bugfix/workaround_reset_eof_counter_c3' into 'master'
fix(adc): workaround to fix adc continuous get less results on c3

See merge request espressif/esp-idf!27414
2024-02-21 11:55:25 +08:00
yinqingzhao
8b8d0f886d fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode 2024-02-21 11:18:39 +08:00
Kapil Gupta
3a2e0dcbfb Merge branch 'bugfix/mbo_api_flag' into 'master'
fix(wpa_supplicant):Add CONFIG_MBO flag for mbo apis.

Closes WIFIBUG-390

See merge request espressif/esp-idf!28560
2024-02-21 10:54:46 +08:00
Omar Chebib
345bf79b4e Merge branch 'bugfix/esp32p4_remove_fence' into 'master'
fix(riscv): Remove the memory barrier when changing interrupt threshold

Closes IDF-7898

See merge request espressif/esp-idf!29119
2024-02-21 10:49:18 +08:00
Jiang Jiang Jian
e1a5633e18 Merge branch 'bugfix/bootloader_custom_rtc_data_crc_master' into 'master'
fix(bootloader): add legacy retained memory CRC calculation

Closes IDFGH-11747

See merge request espressif/esp-idf!28934
2024-02-21 10:39:14 +08:00
Gao Xu
9c14a3345f Merge branch 'feature/esp32p4_gpio_support' into 'master'
feat(gpio): add gpio support on ESP32C5

Closes IDF-8717

See merge request espressif/esp-idf!28669
2024-02-21 10:26:34 +08:00
Marius Vikhammer
ffd62352de Merge branch 'ci/test_limit_main_cleanup' into 'master'
ci(test_apps): limit dependencies for misc test_apps

See merge request espressif/esp-idf!29088
2024-02-21 09:26:25 +08:00
Erhan Kurubas
5f42493573 Merge branch 'astyle_format_coredump' into 'master'
refactor(espcoredump): format coredump component with astyle

See merge request espressif/esp-idf!29114
2024-02-20 17:59:23 +08:00
Island
41ee4ad23f Merge branch 'bugfix/fix_ble_free_all_crash_issue' into 'master'
fix(ble): Fixed the free_all crash on esp32c6 and esp32h2

Closes BLERP-565

See merge request espressif/esp-idf!29107
2024-02-20 17:56:54 +08:00
Chen Jian Xing
90035d3588 Merge branch 'bugfix/update_scan_ap_num_when_clear_ap_list' into 'master'
fix(wifi): fixed scan and home channel change issues

Closes WIFI-6456 and IDFGH-11976

See merge request espressif/esp-idf!28895
2024-02-20 17:14:19 +08:00
Mahavir Jain
277c925e6a Merge branch 'bugfix/anti_rollback_check_regression' into 'master'
fix(bootloader_support): check the secure version only for app image

See merge request espressif/esp-idf!29102
2024-02-20 17:13:12 +08:00
Konstantin Kondrashov
1253ab6e27 Merge branch 'feature/move_esp_timer_related_inits_into_component' into 'master'
feat(esp_timer): Move esp_timer-related init steps into the component

Closes IDF-8755

See merge request espressif/esp-idf!28664
2024-02-20 16:49:31 +08:00
Liu Linyan
2d25ef62d1 fix(ble_mesh): Fix compiling error when PB-ADV is disabled
Closes https://github.com/espressif/esp-idf/issues/13203
2024-02-20 16:40:30 +08:00
Sudeep Mohanty
9605f9be3f Merge branch 'contrib/github_pr_12800' into 'master'
feat(freertos): Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES

Closes IDFGH-11693 and IDF-8785

See merge request espressif/esp-idf!28505
2024-02-20 15:21:47 +08:00
linruihao
6604417b45 fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-20 15:12:20 +08:00
gaoxu
3ac736bc95 feat(gpio): add gpio support on ESP32C5 2024-02-20 14:57:25 +08:00
nilesh.kale
7ce39ffa8a fix(hal/test_apps): update sha testcases flow
This commit updates the flow of sha testcases.
Previously, DMA test cases were still executed even after disabling the related feature.
2024-02-20 11:53:58 +05:30
Guillaume Souchere
7938ac4104 fix(heap): Hide check patch config if no tlsf rom used
HEAP_TLSF_CHECK_PATCH needs to be hiden in menuconfig if
HEAP_TLSF_USE_ROM_IMPL is not enabled.
2024-02-20 06:47:42 +01:00
SumeetSingh19
14221b74f4 fix(nimble): message to be signed is corrected in signed write 2024-02-20 11:14:53 +05:30
morris
0a25176282 Merge branch 'feat/gptimer_support_esp32c5' into 'master'
feat(gptimer): basic driver support on esp32c5

Closes IDF-8705

See merge request espressif/esp-idf!29096
2024-02-20 13:33:15 +08:00
Marius Vikhammer
c0a2043562 fix(system): update reset reasons for C6 and H2 2024-02-20 12:27:09 +08:00
Omar Chebib
2217854092 fix(riscv): Remove the memory barrier when changing interrupt threshold 2024-02-20 12:19:08 +08:00
gongyantao
112ad700fc change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-20 10:24:59 +08:00
Erhan Kurubas
f4acf0b378 refactor(espcoredump): format coredump component with astyle 2024-02-19 21:57:28 +01:00
Adam Múdry
5f961537cc feat(storage/fatfs): Switch to a config struct for VFS FAT registration 2024-02-19 14:05:50 +01:00
ShenWeilong
d200f0f0e4 fix(ble): Fixed the free_all crash on esp32c6 and esp32h2 2024-02-19 20:00:29 +08:00
Konstantin Kondrashov
49ba674fb5 feat(esp_timer): Move esp_timer-related init steps into the component 2024-02-19 19:21:40 +08:00
Darshan Dobariya
169ee08c04 feat(nimble): Authorize or deauthorize a BLE device for a connection 2024-02-19 18:54:41 +08:00
Island
10f14d5cca Merge branch 'bugfix/ble_update_lib_20240207' into 'master'
update lib on master

See merge request espressif/esp-idf!28969
2024-02-19 18:11:19 +08:00
Mahavir Jain
c33b9e1426
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-19 14:54:17 +05:30
zhangyanjiao
8bfab29f8d 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-19 14:57:41 +08:00
hongshuqing
15629e30ee fix: fix s3 bbpll cali fail bug 2024-02-19 14:33:40 +08:00
gaoxu
2eccde88f3 fix(adc): workaround to fix adc continuous get less results on c3 2024-02-19 10:34:54 +08:00
morris
49e7228be9 feat(gptimer): basic driver support on esp32c5 2024-02-19 10:27:18 +08:00
Marius Vikhammer
1f7c666701 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-18 16:01:58 +08:00
Armando (Dou Yiwen)
6b278ac406 Merge branch 'change/remove_idf7890_todo' into 'master'
change(memory): remove `IDF-7890` todo

Closes IDF-7890

See merge request espressif/esp-idf!28766
2024-02-18 14:08:06 +08:00
Wang Meng Yang
28ff8e3788 Merge branch 'feat/add_test_api_for_sec' into 'master'
Feat/add test api for sec

Closes BT-3578 and BT-3579

See merge request espressif/esp-idf!28191
2024-02-18 09:57:37 +08:00
Erhan Kurubas
59cab6dd40 fix(gcov): avoid multiple tick hook registration 2024-02-18 00:10:18 +01:00
Ondrej Kosta
1ae315e1ed fix(esp_eth): Fixed Ethernet link reset when Ethernet is stopped 2024-02-16 16:36:26 +01:00
Ondrej Kosta
dee34c2a48 Merge branch 'bugfix/spi_eth_recv_alloc' into 'master'
fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling

Closes IDF-8601

See merge request espressif/esp-idf!29040
2024-02-16 19:52:48 +08:00
Martin Vychodil
db56ade0f5 Merge branch 'fix/cleanup_storage_sdkconfigs' into 'master'
fix(storage): cleanup storage examples/test_apps sdkconfigs

See merge request espressif/esp-idf!28998
2024-02-16 19:28:37 +08:00
Bogdan Kolendovskyy
c11e12c8c4 Merge branch 'bugfix/mmd_access_use_uint32' into 'master'
fix(esp_eth): Use uint32_t in mmd access functions

See merge request espressif/esp-idf!29036
2024-02-16 19:12:09 +08:00
harshal.patil
f4581d7103
docs(secure_boot_v2): Specify the workflow to disable revocation of unused key digests slots 2024-02-15 14:31:41 +05:30
Konstantin Kondrashov
9ffafd53b2 fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips
Closes https://github.com/espressif/esp-idf/issues/13179
2024-02-14 17:41:20 +02:00
Ondrej Kosta
b0259f59c2 fix(esp_eth): improved SPI Ethernet _alloc_recv_buf error handling 2024-02-14 12:40:04 +01:00
Harshit Malpani
3e1a95a0a7
feat(esp_https_server): Get the error codes on https_server error
Closes https://github.com/espressif/esp-idf/issues/12026
2024-02-14 14:36:14 +05:30
Harshit Malpani
9274e3e620
fix(esp-tls): capture errors in error handle 2024-02-14 14:36:14 +05:30
Mahavir Jain
58efbf4894
fix(spi_flash): check for safe write address in encrypted flash API 2024-02-14 13:45:11 +05:30
Konstantin Kondrashov
07980dba2f Merge branch 'feature/secure_boot_dev_approach' into 'master'
feat(bootloader_support): Support SB-on app can do OTA on SB-off chip

Closes IDFGH-12079

See merge request espressif/esp-idf!29027
2024-02-14 15:11:52 +08:00
Bogdan Kolendovskyy
748c215c63 fix(esp_eth): Use uint32_t in mmd access functions 2024-02-13 12:53:11 +01:00
Mahavir Jain
4d90eedb6e Merge branch 'feature/add_dma_suppport_for_aes_and_sha' into 'master'
feat(hal/testapps): Added AES and SHA testcases with DMA support

Closes IDF-7986 and IDF-7987

See merge request espressif/esp-idf!26497
2024-02-13 16:12:07 +08:00
Laukik Hase
70b1ebe948 Merge branch 'refactor/move_esp_app_format_init_to_component' into 'master'
refactor(esp_app_format): Move esp_app_format-related init steps into the component

Closes IDF-8753

See merge request espressif/esp-idf!28896
2024-02-13 14:57:54 +08:00
Konstantin Kondrashov
9b0eefee73 feat(bootloader_support): Support SB-on app can do OTA on SB-off chip
Closes: https://github.com/espressif/esp-idf/issues/13139
2024-02-12 17:27:50 +02:00
Adam Múdry
7e7b1fc65f Merge branch 'fix/suppress_c++11_invalid_suffix_on_literal' into 'master'
fix: Fix PRI inttypes error due to C++ invalid suffix on literal in SPIFFS

Closes IDF-9000

See merge request espressif/esp-idf!28772
2024-02-12 18:25:50 +08:00
sonika.rathi
f7e4b9a132 fix(storage): cleanup storage examples/test_apps sdkconfigs 2024-02-12 10:57:46 +01:00
Tomas Rezucha
c24dcd02c1 Merge branch 'feature/esp_hid_usb_preparation' into 'master'
refactor(esp_hid): Prepare for USB transport layer

See merge request espressif/esp-idf!28472
2024-02-12 16:29:12 +08:00
Omar Chebib
6d045937d3 Merge branch 'feat/ulp_add_cycle_function' into 'master'
feat(lp_core): add a public function to get the timer cycle count

Closes IDFGH-12036

See merge request espressif/esp-idf!28910
2024-02-12 14:19:17 +08:00
Laukik Hase
5430e2ff4c
refactor(esp_app_format): Move esp_app_format-related init steps into the component 2024-02-12 11:12:37 +05:30
Marius Vikhammer
4b5b064caf Merge branch 'bugfix/heap_task_includes' into 'master'
fix(heap): fixed missing include in esp_heap_task_info.h

See merge request espressif/esp-idf!29007
2024-02-10 14:37:27 +08:00
Marius Vikhammer
a8d39ab4e4 Merge branch 'bugfix/missing_linux_include' into 'master'
fix(linux_target): added missing include file when CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS

See merge request espressif/esp-idf!29008
2024-02-10 11:44:51 +08:00
Marius Vikhammer
b8e6b4601c fix(linux_target): added missing include file when CONFIG_HEAP_ABORT_WHEN_ALLOCATION_FAILS 2024-02-09 16:58:06 +08:00
nilesh.kale
aab3f604ec feat(hal/testapps): Added AES and SHA testcases with DMA support 2024-02-09 14:23:06 +05:30
Omar Chebib
5a32ca10ad feat(lp_core): add a public function to get the timer cycle count
Closes https://github.com/espressif/esp-idf/issues/13101
2024-02-09 16:50:02 +08:00
Omar Chebib
75eb489105 fix(bootloader): add legacy retained memory CRC calculation
* Closes https://github.com/espressif/esp-idf/issues/12849

In former versions of ESP-IDF, the user custom memory data in the retained memory
was taken into account during the CRC calculation. This was changed in a later
commit, the custom memory was ignored, therefore this can seen as a breaking change.
This commit gives the possibility to choose between the former (legacy) or
new way of calculating the CRC.
2024-02-09 16:49:56 +08:00
Bogdan Kolendovskyy
91630fab36 Merge branch 'bugfix/ip101_reset_timing' into 'master'
fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet

Closes IDF-9160

See merge request espressif/esp-idf!28906
2024-02-09 16:44:24 +08:00
fl0wl0w
90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Marius Vikhammer
51ceeca03b 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-09 15:52:08 +08:00
Mahavir Jain
34723ad12c Merge branch 'bugfix/ota_anti_rollback_checks_2' into 'master'
feat(bootloader_support): Read secure_version under sha256 protection

Closes IDF-9013

See merge request espressif/esp-idf!28740
2024-02-08 23:10:08 +08:00
Ondrej Kosta
5df5f0cf80 Merge branch 'feature/spi_eth_no_int' into 'master'
feat(esp_eth): added SPI Ethernet module polling mode

Closes IDFGH-11561

See merge request espressif/esp-idf!28782
2024-02-08 22:34:47 +08:00
Adam Múdry
88e4fd9ac1 fix(vfs): Add missing lock release in vfs_fat_truncate 2024-02-08 14:16:19 +01:00
Kirill Chalov
a55a0354e6 Merge branch 'docs/rewrite-api-ref-esp-timers' into 'master'
docs(rewrite): Rewrite esp_timer api ref and related docs

See merge request espressif/esp-idf!27034
2024-02-08 14:13:08 +08:00
Marius Vikhammer
6afb652626 Merge branch 'refactor/decouple_esp_system_pthread' into 'master'
refactor(pthread): decouple pthread_init from esp_system

Closes IDF-8757

See merge request espressif/esp-idf!28909
2024-02-08 13:30:59 +08:00
Jakob Hasse
c3aaebd366 Merge branch 'feature/add_bsd_fls' into 'master'
feat(linux): added fls() on Linux

See merge request espressif/esp-idf!28807
2024-02-08 13:06:57 +08:00
kirill.chalov
8154150188 docs(esp_timer): Rewrite esp_timer api ref and related docs 2024-02-08 12:13:18 +08:00
Song Ruo Jing
d556fee5c4 Merge branch 'feature/esp32c5_clock_preliminary_support' into 'master'
Feature/esp32c5 clock preliminary support

See merge request espressif/esp-idf!28808
2024-02-08 11:54:35 +08:00
Marius Vikhammer
2bb16ed45b refactor(pthread): decouple pthread_init from esp_system 2024-02-08 09:40:46 +08:00
Erhan Kurubas
4c6f3fbf23 Merge branch 'feature/move_espcordump_init_into_component' into 'master'
feat(coredump): move esp_core_dump_init into component

Closes IDF-8766

See merge request espressif/esp-idf!28665
2024-02-08 06:17:52 +08:00
David Čermák
403b4fdcfe Merge branch 'fix/esp_netif_sntp' into 'master'
fix(esp_netif): Prevent running esp_netif_sntp_init() multiple times

Closes IDFGH-11754

See merge request espressif/esp-idf!28338
2024-02-08 00:12:03 +08:00
Adam Múdry
a5630c8277 fix: PRI inttypes error due to C++ invalid suffix on literal in SPIFFS 2024-02-07 23:52:49 +08:00
Mahavir Jain
3305cb4d23 fix(ota): additional checks for secure version in anti-rollback case
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).

- Read secure_version under sha256 protection

- First check has been added in the bootloader to ensure correct secure
  version after application verification and loading stage. This check
  happens before setting up the flash cache mapping and handling over
  the final control to application. This check ensures that application
  was not swapped (e.g., to lower security version but valid image) just
  before the load stage in bootloader.

- Second check has been added in the application startup code to ensure
  that currently booting app has higher security version than the one
  programmed in the eFuse for anti-rollback scenario. This will ensure
  that only the legit application boots-up on the device for
  anti-rollback case.
2024-02-07 22:23:10 +08:00
Song Ruo Jing
2a585f58a0 Merge branch 'refactor/add_lp_uart_test' into 'master'
Refactor/add lp uart test

See merge request espressif/esp-idf!28681
2024-02-07 20:02:46 +08:00
Erhan Kurubas
0d22b99946 feat(coredump): move esp_core_dump_init into component 2024-02-07 19:39:36 +08:00
Roland Dobai
1a80217af5 Merge branch 'bugfix/kconcheck_file_checks' into 'master'
bugfix: Fixed KConfig files that were not succesfully checked

Closes IDF-9028 and IDF-9027

See merge request espressif/esp-idf!28385
2024-02-07 19:12:25 +08:00
Bogdan Kolendovskyy
222f67f043 fix(esp_eth): ip101-specific reset_hw to match reset timings from datasheet
IP101 requires 10ms reset assertion time and 10ms post-reset delay to properly initialize.
2024-02-07 11:24:17 +01:00
Ondrej Kosta
fd0a1dc53c feat(esp_eth): added SPI Ethernet module polling mode
Closes https://github.com/espressif/esp-idf/issues/12682
2024-02-07 11:21:57 +01:00
chaijie@espressif.com
17ac4cd909 fix: fix sleep fast_mem & slow_mem may lost bug 2024-02-07 18:06:04 +08:00
Jakob Hasse
48d121653b feat(linux): added fls() on Linux 2024-02-07 17:56:16 +08:00
Jiang Jiang Jian
170b46e331 Merge branch 'bugfix/fix_coex_wifi_restart_issue' into 'master'
fix(coex): fix wifi issue after coex restart

Closes FCS-1380, FCW-169, and WIFI-6265

See merge request espressif/esp-idf!28565
2024-02-07 17:48:50 +08:00
luomanruo
b037585852 ble(update):
Update h2 lib to eb112893
Update c6 lib to eb112893
2024-02-07 17:29:25 +08:00
David Cermak
feef14b43b fix(esp_netif): Prevent running esp_netif_sntp_init() multiple times
Closes https://github.com/espressif/esp-idf/issues/12854
2024-02-07 09:09:59 +01:00
Tomas Rezucha
6f30198ca3 feat(esp_hid): Add Connection Request event
This event is useful for situations where the HID device
requests connection. Typically in USB transport.
2024-02-07 15:34:55 +08:00
Tomas Rezucha
f7bff8b1fc refactor(esp_hid): Create new esp_hid_addr_t type 2024-02-07 15:34:55 +08:00
Tomas Rezucha
56a159a7d5 refactor(esp_hid): Move header files to esp_private directory
esp_hidd_private.h and esp_hidh_private.h are required by components
that extend esp_hid with a new transport layer, such as USB
2024-02-07 15:34:55 +08:00
Wang Meng Yang
4fb231088d Merge branch 'bugfix/fix_dangling_pointer_in_remove_bond_list_section' into 'master'
fix(bt/bluedroid): fix dangling pointer issue when logging removed section

See merge request espressif/esp-idf!28734
2024-02-07 14:51:17 +08:00
Song Ruo Jing
95133c179f feat(clk): preliminary clock tree support for ESP32C5 2024-02-07 14:38:15 +08:00
Song Ruo Jing
5276cd4f1d refactor(uart): add support to be able to test LP_UART port
Increase LP_UART_EMPTY_THRESH_DEFAULT value to 4. The original value
could cause the FIFO become empty before filling next data into the FIFO
when the buadrate is high. TX_DONE interrupt would raise before actual
transmission complete in such case.
2024-02-07 14:37:48 +08:00
Song Ruo Jing
dce27c3b09 change(clk_tree): add LP_DYN_FAST_CLK to soc_module_clk_t 2024-02-07 14:37:48 +08:00
liuning
42a0128d9c fix(wifi): fix wifi stop cost too much time 2024-02-07 13:49:18 +08:00
liuning
3fa9c578f9 fix(clk): clear all lpclk source at clk init 2024-02-07 13:49:18 +08:00
Marius Vikhammer
a2e5770bce Merge branch 'bugfix/c5_bringup_rtc_error' into 'master'
fix(system): fixed rtc_sleep not being placed in IRAM

Closes IDFCI-2022

See merge request espressif/esp-idf!28912
2024-02-07 13:16:03 +08:00
Mahavir Jain
e0dd917d31 Merge branch 'bugfix/update_incorrect_refereing_of_function_esp_https_ota_get_img_desc' into 'master'
fix(esp_https_ota): fix incorrect references of API esp_https_ota_get_img_desc()

See merge request espressif/esp-idf!28891
2024-02-07 12:05:58 +08:00
Marius Vikhammer
bca642f330 Merge branch 'refactor/astyle_timer' into 'master'
refactor(system): reformated esp_timer, linux and log comp with astyle

See merge request espressif/esp-idf!28876
2024-02-07 10:13:03 +08:00
Marius Vikhammer
2d8d87b396 fix(system): fixed rtc_sleep not being placed in IRAM 2024-02-07 09:47:23 +08:00
Martin Vychodil
590ebd3a79 Merge branch 'fix/diskio_format_error_codes_as_hex' into 'master'
fix: diskio format all error message codes to hex

Closes IDFGH-11071

See merge request espressif/esp-idf!28773
2024-02-06 20:23:42 +08:00
Armando (Dou Yiwen)
042cf231a7 Merge branch 'change/esp_driver_cam' into 'master'
change(cam): renamed to esp_driver_cam

See merge request espressif/esp-idf!28889
2024-02-06 19:19:51 +08:00
Sudeep Mohanty
7acc152f1c Merge branch 'bugfix/rtc_i2c_not_in_od_mode' into 'master'
fix(ulp_riscv): Updated RTC I2C to use open-drain IOs

See merge request espressif/esp-idf!28799
2024-02-06 15:40:24 +08:00
Rahul Tank
1741705517 Merge branch 'bugfix/fix_out_of_order_messages_causing_dos' into 'master'
fix(nimble): Out of order messages during SMP causing DOS vulerability

Closes BLERP-498

See merge request espressif/esp-idf!28544
2024-02-06 12:40:12 +08:00
Jiang Jiang Jian
fe2a5adc93 Merge branch 'contrib/github_pr_12867' into 'master'
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR)

Closes IDFGH-11769

See merge request espressif/esp-idf!28903
2024-02-06 11:57:14 +08:00
Jiang Jiang Jian
88317ed300 Merge branch 'bugfix/wait_for_child_disconnect_when_mesh_deinit' into 'master'
fix(wifi/mesh): wait for child disconnect when mesh deinit

Closes WIFIBUG-194

See merge request espressif/esp-idf!28736
2024-02-06 11:28:24 +08:00
Marius Vikhammer
db65efe0bd Merge branch 'feature/lp_core_lp_timer_p4' into 'master'
feat(lp_core): add support for lp timer and lp gpio on P4

Closes IDF-7536, IDF-7532, and IDF-8986

See merge request espressif/esp-idf!28871
2024-02-06 11:14:24 +08:00
morris
4472422358 Merge branch 'contrib/github_pr_13103' into 'master'
Remove validation of pins for LCD output. (GitHub PR)

Closes IDFGH-12038

See merge request espressif/esp-idf!28888
2024-02-06 10:16:41 +08:00
zhangyanjiao
7e6295fd75 fix(wifi/mesh): wait for child disconnect when mesh deinit 2024-02-06 09:49:09 +08:00
Marius Vikhammer
dff1e5df88 feat(lp_core): add support for lp timer and lp gpio on P4 2024-02-06 09:41:20 +08:00
Jiang Jiang Jian
b4fe434d2e Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue' into 'master'
fix(wifi): fix esp_wifi_scan_start memory leakage issue

Closes IDFGH-9313

See merge request espressif/esp-idf!28869
2024-02-05 19:23:33 +08:00
Kevin (Lao Kaiyao)
1458e13b50 Merge branch 'ci/enable_hello_world_build_on_esp32c5' into 'master'
ci(esp32c5): enable template app & hello world build on ci

See merge request espressif/esp-idf!28776
2024-02-05 18:25:37 +08:00
Simon H
4b08c8b000 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-05 17:21:55 +08:00
nilesh.kale
3da0aa2d82 fix(esp_https_ota): fix incorrectly reference of API esp_https_ota_get_img_desc()
esp_https_ota_get_img_desc() is incorrectly referred to as esp_https_ota_read_img_desc()
in some error messages.So, this MR updates related references

Closes https://github.com/espressif/esp-idf/issues/13065
2024-02-05 13:55:42 +05:30
Island
37f0447961 Merge branch 'bugfix/fix_dtm_tx_count' into 'master'
fix(ble/controller): Fixed tx count in direct test mode

Closes BLERP-537, BLERP-549, and BLERP-550

See merge request espressif/esp-idf!28781
2024-02-05 14:45:05 +08:00
Mahavir Jain
14a54c5ead Merge branch 'feature/update_mbedtls_v3.5.2' into 'master'
feat(mbedtls): updated mbedtls version from 3.5.0 to 3.5.2

Closes IDF-9143

See merge request espressif/esp-idf!28827
2024-02-05 14:19:59 +08:00
laokaiyao
ea14b24048 ci(esp32c5): fix the build of the template app 2024-02-05 12:39:35 +08:00
laokaiyao
c0c6af99e9 fix(esp32c5): fixed the lack of crosscore ll on c5 2024-02-05 12:39:35 +08:00
SumeetSingh19
78a46316f1 fix(nimble): Out of order messages during SMP causing DOS vulerability 2024-02-05 09:30:55 +05:30
Jiang Jiang Jian
1bfd5cd5c5 Merge branch 'feature/add_api_to_get_controller_status_on_esp32' into 'master'
feat(ble/controller): Add API to get BLE controller status on ESP32

Closes BLERP-549

See merge request espressif/esp-idf!28875
2024-02-05 11:07:07 +08:00
Jiang Jiang Jian
289de9d872 Merge branch 'bugfix/fix_xQueueSemaphoreTask_assert_when_deinit_host' into 'master'
Fixed xQueueSemaphoreTask assert when deinit host during scan

Closes BLERP-536 and BLERP-552

See merge request espressif/esp-idf!28767
2024-02-05 11:03:12 +08:00
Armando
cfe06a7517 change(cam): renamed to esp_driver_cam 2024-02-05 10:30:54 +08:00
Shu Chen
ac76d44a9b Merge branch 'bugfix/fix_tx_pending_issue' into 'master'
fix(openthread): fix some openthread issues related to 5.1.3 release test

Closes TZ-605 and TZ-606

See merge request espressif/esp-idf!28818
2024-02-05 10:16:51 +08:00
gongyantao
3f205d4d85 fix(bt/bluedroid): fix dangling pointer issue when logging remove section 2024-02-05 10:01:44 +08:00
Hello1024
77029676d1 fix(rgb_lcd): remove validation of pins for LCD output
There are a bunch of cases you might want some pins not exposed.

Eg.

  * Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins

 * Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).

 * Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.

Removing this validation makes these cases work.

Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-05 10:00:35 +08:00
Armando (Dou Yiwen)
116c9494c7 Merge branch 'feat/csi_driver' into 'master'
feat(csi): added csi driver

See merge request espressif/esp-idf!28751
2024-02-05 09:59:35 +08:00
Wu Zheng Hui
5454d37d49 Merge branch 'feature/support_gdma_retention' into 'master'
feature: support gdma retention in pd_top lightsleep

Closes IDF-7704 and IDFGH-11389

See merge request espressif/esp-idf!27246
2024-02-04 20:17:02 +08:00
Jiang Jiang Jian
e00429d691 Merge branch 'feat/wifi_remote' into 'master'
feat(esp_wifi): Add dependency on wifi_remote for chips with no wifi

See merge request espressif/esp-idf!26217
2024-02-04 19:11:05 +08:00
Armando
f918079e8e feat(csi): added csi driver 2024-02-04 19:06:11 +08:00
Island
24aba63c5b Merge branch 'feat/support_get_bluedroid_status' into 'master'
feat(bt/bluedroid): Support get status of bluedroid host

Closes BLERP-468

See merge request espressif/esp-idf!28555
2024-02-04 16:00:42 +08:00
Marius Vikhammer
77dcb6d46e refactor(system): reformated esp_timer, linux and log comp with astyle 2024-02-04 14:50:54 +08:00
zhiweijian
307b2507f3 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-04 14:16:40 +08:00
hongshuqing
35918b89a9 feat(pmu): set fix voltage to different mode for esp32c6 & c6 modify brownout rst2 2024-02-04 14:13:23 +08:00
zwx
970626ec2f feat(openthread): disable the rx on when idle in coex scenario 2024-02-04 13:59:47 +08:00
zwx
ba2350dde8 fix(openthread): fix RCP handle timeout crashing issue
* update openthread upstream
2024-02-04 13:59:47 +08:00
zwx
eb60726c44 fix(openthread): support uart ISR in IRAM 2024-02-04 13:59:47 +08:00
zwx
dcc52cd975 fix(802154): fix pending tx will be delayed issue 2024-02-04 13:59:47 +08:00
Armando
dd5843f490 change(memory): remove IDF-7890 todo 2024-02-04 12:54:13 +08:00
zhanghaipeng
eb92ea3461 fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 11:49:47 +08:00
Island
adc49dfed7 Merge branch 'bugfix/fix_some_ble_bugs_2401' into 'master'
FIxed some BLE bugs 2401 on ESP32C3(91980c2)

Closes BLERP-513, BLERP-514, BLERP-515, BLERP-516, BLERP-517, BLERP-518, BLERP-519, BLERP-520, BLERP-521, BLERP-522, BLERP-523, BLERP-524, BLERP-525, BLERP-526, and BLERP-527

See merge request espressif/esp-idf!28691
2024-02-04 10:49:23 +08:00
muhaidong
d278ffc501 fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-03 16:32:09 +08:00
Rahul Tank
c769dfa7dc Merge branch 'bugfix/nimble_host_clean_up_api' into 'master'
fix(nimble): Added API to get current stack operation status

Closes BLERP-461

See merge request espressif/esp-idf!28476
2024-02-03 01:54:55 +08:00