28152 Commits

Author SHA1 Message Date
Mahavir Jain
fcd706066a Merge branch 'bugfix/http_client_select_read_error' into 'master'
fix(tcp_tranport): Fix handling of select() return value

Closes IDFGH-13821

See merge request espressif/esp-idf!33985
2024-12-04 18:21:34 +08:00
Ivan Grokhotkov
37652904b4 Merge branch 'feature/std_filesystem_supported' into 'master'
storage: make std::filesystem supported

Closes IDFGH-13239, IDFGH-13431, and IDFGH-12755

See merge request espressif/esp-idf!33826
2024-12-04 18:18:54 +08:00
C.S.M
2b1c27feb4 Merge branch 'feat/custom_flash_component' into 'master'
feature(spi_flash): New customized flash drivers framework, including bootloader📡

Closes IDFGH-8624

See merge request espressif/esp-idf!32774
2024-12-04 18:05:58 +08:00
Mahavir Jain
6a4a124d65 Merge branch 'feature/enable_rsa_based_secure_boot_for_c5_eco1' into 'master'
feat(bootloader_support): enabled RSA based secure boot scheme for ESP32C5 ECO1

Closes IDF-10453 and IDF-11441

See merge request espressif/esp-idf!35104
2024-12-04 18:00:34 +08:00
C.S.M
242dd354e8 Merge branch 'fix/i2c_slave_lock' into 'master'
fix(i2c_slave): Fix the wrong semaphore take in isr

See merge request espressif/esp-idf!35417
2024-12-04 16:23:19 +08:00
Island
b6b0758e42 Merge branch 'bugfix/fix_ble_create_conn_params_copy' into 'master'
fix(bt/bluedroid): Fixed connection params copying when creating LE connection

Closes BLERP-1305, BLERP-1304, BLERP-1306, BLERP-1303, and BLERP-1313

See merge request espressif/esp-idf!35376
2024-12-04 14:49:46 +08:00
Mahavir Jain
30dbc69428 Merge branch 'feat/enable_pseudo_rounds_function_in_aes' into 'master'
Enable pseudo rounds function in AES and XTS-AES peripherals

Closes IDF-11305

See merge request espressif/esp-idf!33970
2024-12-04 13:48:09 +08:00
C.S.M
34e48d8517 fix(i2c_slave): Fix the wrong semaphore take in isr 2024-12-04 11:36:49 +08:00
Armando (Dou Yiwen)
0c011032aa Merge branch 'change/mspi_timing_tuning_dir' into 'master'
mspi: added mspi_timing_tuning directory

Closes IDF-11702

See merge request espressif/esp-idf!35299
2024-12-04 11:33:28 +08:00
Armando (Dou Yiwen)
33c2637126 Merge branch 'fix/fix_esp32_pico_v3_psram_not_ignored_issue' into 'master'
psram: fixed esp32p pico-v3 psram init not ignored issue

Closes IDFGH-14168

See merge request espressif/esp-idf!35375
2024-12-04 10:44:05 +08:00
Armando
339c24ca47 refactor(mspi): added mspi_timing_tuning dir 2024-12-04 09:45:03 +08:00
Konstantin Kondrashov
0ea15dcdd2 Merge branch 'feature/logv2_preliminary' into 'master'
feat(log): Some simple changes in log to prepare it for log v2

See merge request espressif/esp-idf!35289
2024-12-04 00:06:41 +08:00
Ivan Grokhotkov
a1042c0cc2
feat(fatfs): add support for a few fcntl commands 2024-12-03 15:32:58 +01:00
Ivan Grokhotkov
684d3e6d01
feat(newlib): add dummy implementations of pathconf, chmod, dirfd
Closes https://github.com/espressif/esp-idf/issues/14174
2024-12-03 15:32:57 +01:00
morris
486fd18d16 Merge branch 'refactor/cp_dma_use_gdma_link' into 'master'
refactor(cp_dma): to use gdma_link driver for descriptor config

See merge request espressif/esp-idf!35348
2024-12-03 21:36:25 +08:00
nilesh.kale
1e11340061 feat(bootloader_support): enabled RSA based secure boot scheme for ESP32C5 ECO1
This commit enabled RSA based secure boot scheme for ESP32C5 ECO1 module.
This update also adds a check to ensure the selected secure boot scheme is
valid for ECO0 modules.
2024-12-03 16:48:56 +05:30
Konstantin Kondrashov
d9265a3f88 feat(log): Update esp_log_buffer 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov
9f2b892512 feat(log): Move LOG_FORMAT macros out of esp_log.h 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov
fa3b26bbc3 feat(log): Use ESP_LOG_LEVEL_LEN in cache tag_log_level 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov
21f7309a52 feat(esp_rom): Adds esp_rom_cvt func for logging and rom_vprintf 2024-12-03 18:03:06 +08:00
Konstantin Kondrashov
b445e38bf5 feat(log): Move esp_log_write APIs out of esp_log.h 2024-12-03 18:03:06 +08:00
Song Ruo Jing
547fa88a44 Merge branch 'bugfix/periph_clk_init_p4' into 'master'
fix(esp_system): hp periph clk should not be gated on core/system reset

Closes FCS-1638

See merge request espressif/esp-idf!35317
2024-12-03 15:45:28 +08:00
Armando
b626089340 fix(psram): fixed esp32p pico-v3 psram init not ignored issue
Closes https://github.com/espressif/esp-idf/issues/14970
2024-12-03 15:09:34 +08:00
chenjianhua
602b3e59f6 fix(bt/bluedroid): Fixed connection params copying when creating LE connection 2024-12-03 15:06:06 +08:00
harshal.patil
f02dc64ce6
feat(bootloader_support): Permanently enable pseudo rounds function for XTS-AES during start-up 2024-12-03 11:17:54 +05:30
harshal.patil
fba8ab89da
feat(hal/spi_flash_encrypted): Enable pseudo rounds function during XTS-AES operations 2024-12-03 11:17:54 +05:30
harshal.patil
a2d6be9976
feat(hal/crypto): Add XTS-AES peripheral verification tests in the crypto test app 2024-12-03 11:17:54 +05:30
harshal.patil
c6ea979efa
feat(hal/aes): Enable pseudo rounds function during AES operations 2024-12-03 11:17:54 +05:30
Alexey Lapshin
bcd80c92f3 Merge branch 'fix/reduce_rtc_text_size' into 'master'
fix(system): linker script: free unused .rtc.text memory for esp32c3, esp32s2

See merge request espressif/esp-idf!33972
2024-12-03 13:22:45 +08:00
Alexey Lapshin
f297a9d487 Merge branch 'feature/add-picolibc-support' into 'master'
Add picolibc support

Closes IDF-11319

See merge request espressif/esp-idf!33601
2024-12-03 13:12:41 +08:00
Island
a8c822f37e Merge branch 'docs/refactor_ceva_bt_controller_api' into 'master'
docs(ble): Refactored the API reference for esp32/c3/s3 BT controller

See merge request espressif/esp-idf!35319
2024-12-03 11:37:18 +08:00
Wei Yu Han
6f390af3cc docs(ble): Refactored the API reference for esp32/c3/s3 BT controller 2024-12-03 11:37:18 +08:00
Jiang Jiang Jian
b66b601f44 Merge branch 'fix/fix_hostap_recv_noassoc_pspoll' into 'master'
fix(wifi): fix hostap recv unassoc pspoll send deauth issue

Closes WIFIBUG-963

See merge request espressif/esp-idf!35125
2024-12-03 11:27:52 +08:00
morris
6faa3d6605 Merge branch 'bugfix/gdma_burst_config_esp32c5' into 'master'
fix(gdma): burst size should be configurable on esp32c5

See merge request espressif/esp-idf!35322
2024-12-03 11:11:02 +08:00
Wang Tao
bed72dcdc4 Merge branch 'fix/fix_esp32c2eco4_wifi_deinit_crash_issue' into 'master'
fix(wifi): fix esp32c2eco4 wifi deinit crash issue

See merge request espressif/esp-idf!35272
2024-12-03 10:53:13 +08:00
Alexey Lapshin
244c369cd8 fix(xtensa): fix confusing backtrace when PC is invalid
Before this change _invalid_pc_placeholder pointed to address of _init
function from crti.o
This made GDB input a bit confusing:

  0x40080400 in _init ()
  (gdb) bt
  #0  0x40080400 in _init ()
  #1  0x400e519a in test_instr_fetch_prohibited () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_panic.c:271
  #2  0x400d89a7 in app_main () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_app_main.c:116
  #3  0x400e5f22 in main_task (args=0x0) at /home/alex/git/esp-idf/components/freertos/app_startup.c:208
  #4  0x400895a8 in vPortTaskWrapper (pxCode=0x400e5eb0 <main_task>, pvParameters=0x0) at /home/alex/git/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139

After the change GDB prints output that contains a hint:

  _invalid_pc_placeholder () at /home/alex/git/esp-idf/components/xtensa/xtensa_vectors.S:2235
  2235	    UNREACHABLE_INSTRUCTION_CHECK_PREVIOUS_FRAMES
  (gdb) bt
  #0  _invalid_pc_placeholder () at /home/alex/git/esp-idf/components/xtensa/xtensa_vectors.S:2235
  #1  0x400e519e in test_instr_fetch_prohibited () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_panic.c:271
  #2  0x400d89ab in app_main () at /home/alex/git/esp-idf/tools/test_apps/system/panic/main/test_app_main.c:116
  #3  0x400e5f26 in main_task (args=0x0) at /home/alex/git/esp-idf/components/freertos/app_startup.c:208
  #4  0x400895a8 in vPortTaskWrapper (pxCode=0x400e5eb4 <main_task>, pvParameters=0x0) at /home/alex/git/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:139
2024-12-02 21:36:00 +07:00
Alexey Lapshin
888b5f7e8d feat(newlib): add picolibc support 2024-12-02 21:35:56 +07:00
Alexey Lapshin
22a38779fb fix(wpa_supplicant): remove duplicated code (endian.h) that exists in newlib component 2024-12-02 20:26:26 +07:00
Alexey Lapshin
8454aefc25 fix(esp_system): avoid placing sections between ASSERT_SECTIONS_GAP checks 2024-12-02 20:26:26 +07:00
Alexey Lapshin
f6c48e2245 fix(ulp): rename putc -> putc_fn in structure to avoid applying "putc" macro 2024-12-02 20:26:26 +07:00
Alexey Lapshin
e9c884cace fix(esp_driver_sdspi): fix test includes 2024-12-02 20:26:26 +07:00
Alexey Lapshin
d0f05cd690 fix(esp_system): fix binary generation error when no eh_frame but TLS
ERROR:
A fatal error occurred: Segment loaded at 0x3c01d150 lands in same 64KB flash
mapping as segment loaded at 0x3c018020. Can't generate binary. Suggest
changing linker script or ELF to merge sections.

Seems binary generator does not handle well empty sections that contains
aligning only. I did not investigate much but this change helped.
2024-12-02 20:26:26 +07:00
Alexey Lapshin
1232759fb7 fix(vfs): fix gcc 14 analyzer warning 2024-12-02 20:26:26 +07:00
Mahavir Jain
030c9957db Merge branch 'contrib/github_pr_14493' into 'master'
Make esp_mbedtls_server_session_create async compatible (GitHub PR)

Closes IDFGH-13606

See merge request espressif/esp-idf!34237
2024-12-02 21:25:22 +08:00
Mahavir Jain
9ee8daf336 Merge branch 'feature/esp_tee' into 'master'
feat(security): Support for ESP-TEE

Closes IDF-6902, IDF-8268, IDF-9389, IDF-10479, IDF-10480, IDF-10482, IDF-10755, and IDF-11438

See merge request espressif/esp-idf!32050
2024-12-02 21:18:06 +08:00
Rahul Tank
2d1a2a7a7e Merge branch 'bugfix/change_hci_cb_logging' into 'master'
fix(nimble): Replace ESP_LOG* with esp_rom_printf in controller context callback

Closes BLERP-1203 and BLERP-1250

See merge request espressif/esp-idf!34701
2024-12-02 18:22:01 +08:00
morris
f47cb027df fix(gdma): burst size should be configurable on esp32c5 2024-12-02 18:04:41 +08:00
C.S.M
af31ec11f1 feat(spi_flash): New customise flash drivers framework, including bootloader 2024-12-02 17:48:40 +08:00
morris
364bbbde68 refactor(cp_dma): to use gdma_link driver for descriptor config 2024-12-02 17:40:13 +08:00
Wu Zheng Hui
1b44d4df3b Merge branch 'fix/fix_tg_retention_failure' into 'master'
fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group

Closes PM-233 and IDFCI-2427

See merge request espressif/esp-idf!35284
2024-12-02 16:44:05 +08:00