Commit Graph

1697 Commits

Author SHA1 Message Date
Konstantin Kondrashov 1937ef2b13 Merge branch 'fix/fix_coverity_issues' into 'master'
fix(system): Fixes some false-positive coverity issues

Closes IDF-11768, IDF-11760, and IDF-11740

See merge request espressif/esp-idf!35288
2024-12-12 15:47:40 +08:00
Erhan Kurubas a7d5fb698f Merge branch 'fix/coredump-gcc-analyzer-warnings' into 'master'
fix(system): fix GCC-14 analyzer warnings for coredump

Closes GCC-14

See merge request espressif/esp-idf!34809
2024-12-09 21:35:44 +08:00
Konstantin Kondrashov 9d41a098d7 fix(esp_system): Fix structurally dead code in esp_ipc.c ipc_task 2024-12-05 15:10:27 +08:00
morris 1316d7b741 refactor(spi): hal driver doesn't depend on sdkconfig.h 2024-12-04 19:10:57 +08:00
Erhan Kurubas 36ee603be9 fix(espcoredump): prevent null pointer dereference in panic reason handling 2024-12-04 18:43:30 +08:00
Alexey Lapshin 10115792ac fix(espcoredump): fix GCC-14 analyzer warnings for coredump 2024-12-04 18:43:30 +08:00
Armando 339c24ca47 refactor(mspi): added mspi_timing_tuning dir 2024-12-04 09:45:03 +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
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 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 8454aefc25 fix(esp_system): avoid placing sections between ASSERT_SECTIONS_GAP checks 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
Laukik Hase 733741bbac feat(esp_tee): Support for ESP-TEE - esp_system component 2024-12-02 12:20:04 +05:30
Song Ruo Jing 7b852faf66 fix(esp_system): hp periph clk should not be gated on core/system reset 2024-11-29 21:42:06 +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
Jiang Jiang Jian 85dd8c05a8 Merge branch 'fix/incorrect_console_open_and_close_behaviour' into 'master'
fix(storage/vfs_console): stop new console opens from overwriting existing fds

Closes IDFGH-13502

See merge request espressif/esp-idf!32934
2024-11-29 10:31:59 +08:00
Tomáš Rohlínek d5d295cf7a fix(storage/console): fix test configuration 2024-11-28 13:34:25 +01:00
Tomáš Rohlínek f59362266a fix(storage/vfs_console): stop new console opens from overwriting existing fds 2024-11-28 13:12:22 +01:00
Song Ruo Jing 8771607562 Merge branch 'bugfix/warn_rc32k_use_in_kconfig' into 'master'
fix(clk): add an inevitable kconfig option to be selected to use rc32k

See merge request espressif/esp-idf!34417
2024-11-28 14:58:16 +08:00
Armando 1eef2e8c19 feat(mspi): supported flash 120MHz SDR timing tuning on ESP32P4 2024-11-28 14:53:19 +08:00
Song Ruo Jing aa35807198 fix(clk): add an inevitable kconfig option to be selected to use rc32k 2024-11-26 21:20:32 +08:00
Guillaume Souchere 181c903b0b feat(usb_cdc): Add select functionality 2024-11-26 06:12:37 +01:00
Jiang Jiang Jian 1f947551c0 Merge branch 'feat/sleep_retention_expand_module_bitmap' into 'master'
expand the number of sleep retention modules supported on different chips

Closes PM-230

See merge request espressif/esp-idf!33755
2024-11-20 14:50:35 +08:00
Jiang Jiang Jian f5ae64bf2c Merge branch 'fix/fix_modem_module_clock_missing_after_ota' into 'master'
fix(esp_system): deselect all modem modules lp clock source selection before clk initialization

See merge request espressif/esp-idf!34922
2024-11-20 10:55:27 +08:00
Alexey Lapshin 3c5d24e607 fix(system): linker script: free unused .rtc.text memory for esp32c3/esp32s2/esp32s3 2024-11-19 19:46:15 +08:00
Li Shuai 8eea8a8ef3 change(esp_hw_support): update some modules sleep retention init dependency bitmap 2024-11-18 15:40:47 +08:00
wuzhenghui c067e406ce fix(esp_system): deselect all modem modules clk source selection before clk init 2024-11-15 11:00:16 +08:00
morris 83c9cffd2b change(soc): vectorize bitscrambler regsiter layout 2024-11-14 17:26:57 +08:00
Jeroen Domburg ab75a94877 feat(bitscrambler): add hal driver support 2024-11-14 17:26:57 +08:00
Gao Xu bbcfb35d67 Merge branch 'feat/h21_introduce_step1_target' into 'master'
feat(esp32h21): introduce target esp32h21 (stage 1/8) 😐

See merge request espressif/esp-idf!34542
2024-11-14 10:46:44 +08:00
Erhan Kurubas 97b65d7350 Merge branch 'change/disable_stub_bins' into 'master'
change(esp_system): do not include openocd stub bins by default

See merge request espressif/esp-idf!34755
2024-11-13 14:30:43 +08:00
Marius Vikhammer f8ddcee8cd Merge branch 'refactor/cache_err_panic' into 'master'
refactor(panic): refactor and unify cache panic errors

See merge request espressif/esp-idf!34382
2024-11-13 10:19:38 +08:00
Erhan Kurubas b4f366f56f change(esp_system): do not include openocd stub bins by default 2024-11-12 14:04:17 +01:00
gaoxu 64bbb53b8f feat(esp32h21): introduce target esp32h21(stage 1) 2024-11-12 15:42:27 +08:00
Samuel Obuch 3f46b378bb Merge branch 'feat/esp32p4_unicore_stop_other_core' into 'master'
feat(esp_system): stop other core for unicore esp32p4

See merge request espressif/esp-idf!34753
2024-11-11 17:58:01 +08:00
wuzhenghui 9a41a61dd5 fix(esp_system): writeback L1 Dcache before disable L2 if PSRAM used 2024-11-08 18:44:14 +08:00
Samuel Obuch d2fe62f682 feat(esp_system): stop other core for unicore esp32p4 2024-11-07 14:00:55 +01:00
Marius Vikhammer 9c5dde5536 refactor(panic): refactor and unify cache panic errors 2024-11-07 11:39:40 +08:00
C.S.M 0546805fc5 Merge branch 'fix/bod_p4eco2_fix' into 'master'
fix(bod): Remove config for bod on p4 eco1

See merge request espressif/esp-idf!34589
2024-11-05 14:42:15 +08:00
C.S.M 75aea08703 fix(bod): Remove config for bod on p4 v0.x 2024-11-05 10:39:28 +08:00
Jiang Jiang Jian 1f47975472 Merge branch 'bugfix/idf-11064' into 'master'
fix some issues on esp32c5 eco1

Closes IDF-11064 and IDF-11066

See merge request espressif/esp-idf!34350
2024-11-04 20:46:01 +08:00
Laukik Hase 5976e391ea fix(esp_system): Correct address used to fetch application image header 2024-11-04 09:58:37 +05:30
Li Shuai 45ea08b955 fix(esp_hw_support): fix the issue of wifi rx packet loss when switchng soc root clock source 2024-11-04 11:19:29 +08:00
Wu Zheng Hui cceadc4ce8 Merge branch 'fix/fix_ota_slowclock_switching' into 'master'
fix(esp_hw_support): fix rtc slow clock missing after the OTA app changes the slow clock source

Closes IDF-11424

See merge request espressif/esp-idf!34416
2024-10-29 21:49:03 +08:00
wuzhenghui 7fdfa6c227 fix(esp_hw_support): disable unused clock sources after rtc clock switching complete 2024-10-28 15:57:26 +08:00
laokaiyao ecb52d3af3 refactor(i2s): rename the confusing port number 2024-10-23 18:16:57 +08:00
Erhan Kurubas ffcded5f30 Merge branch 'change/stub_bins_location' into 'master'
change(system): copy stub binaries into build folder

See merge request espressif/esp-idf!34261
2024-10-18 20:46:53 +08:00
Erhan Kurubas 5d1a838f34 change(system): copy stub binaries into build folder 2024-10-18 11:30:36 +02:00
morris 63cf6f93e6 Merge branch 'feat/etm_driver_c61' into 'master'
ETM driver support for esp32c61

Closes IDF-9295, IDF-9964, IDF-9318, and IDF-10373

See merge request espressif/esp-idf!34090
2024-10-18 13:11:35 +08:00