Commit Graph

28120 Commits

Author SHA1 Message Date
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
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
Jiang Jiang Jian 795b2995b3 Merge branch 'chip/add_phy_support_for_esp32c5_beta5' into 'master'
feat(wifi): add phy support for esp32c5 beta5

See merge request espressif/esp-idf!35223
2024-12-02 15:33:16 +08:00
Song Ruo Jing 0de04dbaa6 Merge branch 'feature/uart_sleep_retention_support_c5_c61' into 'master'
feat(uart): support uart sleep retention on C5/C61

Closes IDF-10384, IDF-10411, and IDF-11370

See merge request espressif/esp-idf!34883
2024-12-02 15:11:11 +08:00
Laukik Hase 373930655a feat(esp_tee): Support for ESP-TEE - the main component 2024-12-02 12:20:05 +05:30
Laukik Hase e51d2c1da3 feat(esp_tee): Support for ESP-TEE - riscv component 2024-12-02 12:20:04 +05:30
Laukik Hase 733741bbac feat(esp_tee): Support for ESP-TEE - esp_system component 2024-12-02 12:20:04 +05:30
Laukik Hase 54c3f1bae4 feat(esp_tee): Support for ESP-TEE - bootloader_support component 2024-12-02 12:20:03 +05:30
Laukik Hase f254f93594 feat(esp_tee): Support for ESP-TEE - esp_hw_support component 2024-12-02 12:20:03 +05:30
Laukik Hase 05e31e5148 feat(esp_tee): Support for ESP-TEE - mbedtls component 2024-12-02 12:20:02 +05:30
Laukik Hase ba2af7f611 feat(esp_tee): Support for ESP-TEE - hal, soc and freertos components 2024-12-02 12:19:46 +05:30
Wei Yu Han f47baa086e fix(ble): Optimizied the bluetooth build test rules 2024-12-02 14:18:11 +08:00
Laukik Hase 2dee5791a6 feat(esp_tee): Support for ESP-TEE - esptool_py, esp_rom & other components 2024-12-02 11:27:58 +05:30
Laukik Hase 66f880fc1c feat(esp_tee): Support for ESP-TEE - bootloader component 2024-12-02 10:09:53 +05:30
Island 604ccb8f8e Merge branch 'feat/ble_mesh_rpr_opt' into 'master'
Feat/ble mesh rpr opt

Closes BLERP-961, BLERP-962, BLERP-960, BLERP-963, and BLERP-895

See merge request espressif/esp-idf!33082
2024-12-02 10:22:07 +08:00
morris 116ab95a55 Merge branch 'feat/lint_kconfig_in_hal' into 'master'
feat(ci): add ast-grep rules to lint kconfig in the hal

Closes IDF-8791

See merge request espressif/esp-idf!35180
2024-12-01 23:30:30 +08:00
Sumeet Singh e517761187 Merge branch 'feat/pts_changes' into 'master'
feat(nimble): BLE 5.4 PTS Related Features and Fixes

Closes BLERP-1288, BLERP-1289, BLERP-1290, and BLERP-1291

See merge request espressif/esp-idf!34448
2024-11-30 19:16:48 +08:00
morris a8f6776b0f change(hal): remove unused sdkconfig.h 2024-11-29 22:41:12 +08:00
Rocha Euripedes 2deeaece7d Merge branch 'feature/expose_setsockopt_in_transport' into 'master'
feat: Create interface to get underlying socket from transport

Closes IDFGH-13350 and IDFGH-13509

See merge request espressif/esp-idf!32961
2024-11-29 21:36:47 +08:00
Bogdan Kolendovskyy 872ae5211f feat: Expose the function to get socket descriptor from the transport
Closes https://github.com/espressif/esp-protocols/issues/636
Closes https://github.com/espressif/esp-mqtt/issues/282
2024-11-29 12:43:47 +01:00
Aditya Patwardhan f9d64d4db8 feat(esp-tls): Update support for asynchronous server session create
Closes https://github.com/espressif/esp-idf/pull/14493
2024-11-29 17:04:31 +05:30
thetek42 d97e435af9 fix: make esp_tls_server_session_create async compatible 2024-11-29 17:04:31 +05:30
luoxu e3ebb84ede feat(ble_mesh): Remote Provisioning Server UUID Matchs Supported 2024-11-29 19:32:40 +08:00
luoxu a68768e139 fix(ble_mesh): Remote Provisioning Client/Server bugs fixed 2024-11-29 19:32:40 +08:00
David Čermák 1c13798cd4 Merge branch 'fix/lwip_dhcp_timeout_u32' into 'master'
fix(lwip): Fix DHCP lease overlow using u32 type

Closes WIFIBUG-908

See merge request espressif/esp-idf!35280
2024-11-29 18:26:27 +08:00
Aditya Patwardhan 308bad9bf4 Merge branch 'bug/wifi_provisioning_failure_even_after_connecting' into 'master'
fix(esp_wifi_prov): Provisioning App failure on first failed attempt

Closes IDF-11451

See merge request espressif/esp-idf!34411
2024-11-29 17:46:26 +08:00
Alexey Lapshin 9103f3fee5 Merge branch 'fix/gdbinit-rom-path-for-windows' into 'master'
fix(esp_rom): windows: use posix-path generation for gdbinit files

See merge request espressif/esp-idf!35290
2024-11-29 17:28:19 +08:00
wuzhenghui 3ae1929e58 fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group 2024-11-29 16:25:26 +08:00
wangtao@espressif.com 6e509d8ac9 fix(wifi): fix hostap recv unassoc pspoll send deauth issue 2024-11-29 16:10:31 +08:00
C.S.M 2166722fee Merge branch 'fix/ble_i2c' into 'master'
fix(i2c): Fix i2c read from fifo issue when enabling bt/wifi/uart, etc...

Closes IDFGH-11762

See merge request espressif/esp-idf!31917
2024-11-29 13:48:29 +08:00
Marius Vikhammer 184a8aa627 Merge branch 'bugfix/esp_ringbuf_static_analyzer' into 'master'
fix(ringbuf): fixed logic errors when compiling with CONFIG_COMPILER_STATIC_ANALYZER

Closes IDFGH-14094

See merge request espressif/esp-idf!35011
2024-11-29 12:55:17 +08:00
Armando (Dou Yiwen) 4cb18200d5 Merge branch 'feat/120m_flash_p4' into 'master'
flash: 120MHz timing tuning support on ESP32P4 (no merge now)

Closes IDF-11678

See merge request espressif/esp-idf!34995
2024-11-29 11:40:29 +08:00