Commit Graph

1425 Commits

Author SHA1 Message Date
C.S.M
50cd05c4ac Merge branch 'refactor/move_bod_to_hw_support' into 'master'
refactor(bod): Move brownout handling file from esp_system to esp_hw_support

See merge request espressif/esp-idf!36191
2025-01-09 11:08:05 +08:00
Song Ruo Jing
3fde2017cd refactor(rtcio): update comments for rtc_io header file
Closes https://github.com/espressif/esp-idf/issues/13735
2025-01-08 16:49:34 +08:00
Konstantin Kondrashov
a5bc08fb55 feat(log): Use esp_log func in all LOG macros 2025-01-08 14:46:53 +08:00
C.S.M
5e4fd8ee52 refactor(bod): Move brownout handling file from esp_system to esp_hw_support 2025-01-08 14:41:37 +08:00
Armando
4c869d1f23 feat(mspi): mspi axi disable feature 2025-01-07 16:16:06 +08:00
Armando
14b5db0e87 refactor(mspi): rename to mspi_ll.h 2025-01-07 16:16:06 +08:00
Jan Beran
92abdb88c8 fix: remove duplicit lines from sdkconfig.rename files 2025-01-06 10:17:09 +01:00
Marius Vikhammer
b07761825e Merge branch 'feature/dcache_write_flash_panic' into 'master'
feat(panic): panic immediately on an attempt to write to flash via dcache

See merge request espressif/esp-idf!34190
2025-01-03 10:12:30 +08:00
Armando
784e87a9b2 feat(ocode): supported ocode on esp32c5 2025-01-02 10:12:47 +08:00
Omar Chebib
776049660a Merge branch 'bugfix/esp32p4_linker_script' into 'master'
fix(esp_system): add missing `array` attribute in the ESP32-P4 linker script

Closes IDF-11936

See merge request espressif/esp-idf!36067
2024-12-31 16:19:13 +08:00
Gao Xu
54f501a2fc Merge branch 'feat/h21_introduce_step8' into 'master'
feat(esp32h21): introduce hello world to ESP32H21 (stage8)

See merge request espressif/esp-idf!35874
2024-12-31 10:39:21 +08:00
gaoxu
25731d0c1e feat(esp32h21): finnal introduce hello world support 2024-12-30 20:14:40 +08:00
Omar Chebib
414c7056a2 fix(esp_system): add missing aaray attribute in the ESP32-P4 linker script 2024-12-30 18:36:58 +08:00
Roland Dobai
16ba8b7e4a Merge branch 'feature/add_utf_8_decoding' into 'master'
feat(tools): Enforced utf-8 encoding with Python open() functions

Closes IDF-10654

See merge request espressif/esp-idf!32303
2024-12-30 16:07:29 +08:00
Marius Vikhammer
2e6a6c0dd5 Merge branch 'refactor/rtc_time_header' into 'master'
refactor(hw_support): combine esp_hw_support rtc header to a single file

Closes IDF-11950

See merge request espressif/esp-idf!36029
2024-12-30 12:05:52 +08:00
Marius Vikhammer
34c7d62855 refactor(hw_support): combine esp_hw_support rtc header to a single file 2024-12-30 10:09:34 +08:00
Alexey Lapshin
7f80baa1f6 Merge branch 'feature/esp32c5-esp32c61_enable-panic-tests' into 'master'
feat(panic): support HWSG for esp32c5, esp32c61 and enable testing

Closes IDF-8662 and IDF-9269

See merge request espressif/esp-idf!35816
2024-12-27 19:34:25 +08:00
Marius Vikhammer
096cb409d9 feat(panic): panic immediatly if trying to write to flash through cache on ESP32-S3
Updated S3 to use PMS protection for writing to flash through cache. This means we get
a panic quicker for this illegal behavior than we did before, making the source of the error
easier to track down.
2024-12-27 17:58:33 +08:00
Marek Fiala
2c814ef2fa feat(tools): Enforce utf-8 encoding with open() function 2024-12-27 17:12:21 +08:00
Alexey Lapshin
b58c9a4219 feat(panic): support HWSG for esp32c5, esp32c61 and enable testing 2024-12-26 12:45:17 +07:00
Omar Chebib
4c8056882b fix(esp_system): fix cache error size message 2024-12-26 10:45:42 +08:00
gaoxu
3e30d2e928 feat(esp32h21): ci enable public header check (stage7) 2024-12-24 16:44:08 +08:00
gaoxu
8b2470a4ab feat(lp_timer): add soc caps that lp timer and brownout share intr source 2024-12-20 22:43:11 +08:00
gaoxu
b240defc75 feat(esp32h21): support esp_system, esp_timer and freertos (stage5) 2024-12-20 22:43:10 +08:00
Erhan Kurubas
648a3001ae Merge branch 'fix/esp32p4_unexpected_reset' into 'master'
fix(system): avoid unexcpected hp_sys_wdt reset

See merge request espressif/esp-idf!35584
2024-12-19 16:53:00 +08:00
Armando
63ea6113ba fix(cache): fixed cache hal ctx not initialised in app issue 2024-12-18 16:41:35 +08:00
Erhan Kurubas
88b137c121 fix(system): avoid unexcpected hp_sys_wdt reset 2024-12-17 18:29:45 +03:00
Song Ruo Jing
c5ab71e3db fix(esp_system): still gate hp periph clk on core/system reset for power saving
Leaving only hp periph clk source should not be gated on core/system reset
2024-12-12 20:45:06 +08:00
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