Marius Vikhammer
a0ba8c9e1d
Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.2' into 'release/v5.2'
...
fix(panic_handler): Updated panic handler to use RTC WDT (v5.2)
See merge request espressif/esp-idf!37121
2025-03-12 09:58:59 +08:00
Sudeep Mohanty
ed720503fb
fix(panic_handler): Updated panic handler to use RTC WDT
...
This commit updates the following:
- Updates the panic handler to use only the RTC WDT to reset the system.
- Refactors some of the panic handler code.
- Updates Bluetooth files where in they now feed the WDTs instead of
reconfiguring them.
- Removes some unnecessary configuration of WDTs from various files.
- Added a unit test to verify that the system does not lock up when the
panic handler is stuck.
- Updates the memprot unit tests to work with the refactored panic
handler.
Closes https://github.com/espressif/esp-idf/issues/15166
Closes https://github.com/espressif/esp-idf/issues/15018
Closes https://github.com/espressif/esp-idf/issues/10110
2025-03-06 09:06:53 +01:00
Jan Beran
e12ecc375c
fix(esp_system): Remove unnecessary select from esp_system/Kconfig
2025-03-05 15:09:36 +01:00
Jiang Jiang Jian
2bde2d8e30
Merge branch 'fix/usb-cdc-non-blocking-read_v5.2' into 'release/v5.2'
...
fix(esp_vfs_console): USB CDC read when non blocking (backport v5.2)
See merge request espressif/esp-idf!36748
2025-03-04 11:01:27 +08:00
Mahavir Jain
1beb0bcd79
Merge branch 'fix/fetch_image_hdr_v5.2' into 'release/v5.2'
...
fix(esp_system): Correct address used to fetch application image header (v5.2)
See merge request espressif/esp-idf!34629
2025-02-28 21:34:33 +08:00
wuzhenghui
5e81eb6cf7
fix(esp_hw_support): add timer wakeup sleep duration check
...
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-17 19:57:11 +08:00
Laukik Hase
b216535f73
fix(esp_system): Correct address used to fetch application image header
2025-02-14 16:38:56 +05:30
Aditya Patwardhan
1c9146f0c2
fix(hal): Make the ECDSA countermeasure dynamically applicable
...
This commit makes the ECDSA countermeasure dynamically applicable
across different revisions of the ESP32H2 SoC.
2025-02-10 21:24:58 +05:30
Guillaume Souchere
567469dd27
fix(esp_vfs_console): USB CDC read when non blocking
...
In non blocking mode, the read function is expected
to return weather data is available for reading or not.
In case data are available but the size does not match
the expected size, the function read should return whatever
data is available.
Previously, the function was returning -1 with errno set
to EWOULDBLOCK even if the size of data in the buffer was
less than the requested size. It would only return the
available data if the size in the buffer was greater or equal
to the requested size.
The implementation of cdcacm_read is modified to return the avilable
data from the buffer even is the size is lesser than the requested
size.
2025-02-06 08:57:38 +01:00
Mahavir Jain
84d2a8818c
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5
2025-02-06 08:14:50 +05:30
Marius Vikhammer
0fc594154a
Merge branch 'feature/efuse_update_for_esp32h2_eco5_v5.2' into 'release/v5.2'
...
feat(efuse): Adds efuses for esp32h2 eco5 (v5.2)
See merge request espressif/esp-idf!36246
2025-01-16 17:50:54 +08:00
laokaiyao
43ad52ee95
refactor(lpperi): improve compatibility solution
2025-01-15 20:42:44 +08:00
laokaiyao
be89694353
refactor(lpperi): compatible refactor for H2 ECO5
2025-01-15 20:42:44 +08:00
Jiang Jiang Jian
fe262a71f0
Merge branch 'change/change_pm_slp_iram_opt_dependence_v5.2' into 'release/v5.2'
...
change(esp_pm): change pm_slp_iram_opt dependence(backport v5.2)
See merge request espressif/esp-idf!33869
2025-01-09 11:43:40 +08:00
Konstantin Kondrashov
c827c83fee
feat(espefuse): Adds efuses for esp32h2 eco5
...
- Support efuses that are not present in the main efuse table
2025-01-08 12:18:34 +02:00
Michael (XIAO Xufeng)
b3b14bdf43
Merge branch 'bugfix/warn_rc32k_use_in_kconfig_v5.2' into 'release/v5.2'
...
fix(clk): add an inevitable kconfig option to be selected to use rc32k (v5.2)
See merge request espressif/esp-idf!35966
2025-01-07 15:49:51 +08:00
Marek Fiala
3cca3da1d5
feat(tools): Enforce utf-8 encoding with open() function
2025-01-02 16:12:47 +01:00
Song Ruo Jing
47c9382cc2
fix(clk): add an inevitable kconfig option to be selected to use rc32k
2024-12-25 20:07:26 +08:00
Armando
80abc301bd
fix(cache): fixed cache hal ctx not initialised in app issue
2024-12-19 15:16:05 +08:00
Lou Tianhao
7a750a55f8
change(esp_pm): change pm_slp_iram_opt dependence
2024-12-11 10:15:56 +08:00
Erhan Kurubas
1011ab5f6d
fix(espcoredump): prevent null pointer dereference in panic reason handling
2024-12-09 15:19:43 +01:00
wuzhenghui
6e1c4f8971
fix(esp_system): deselect all modem modules clk source selection before clk init
2024-11-15 13:46:28 +08:00
wuzhenghui
b8e796cb67
fix(esp_hw_support): disable unused clock sources after rtc clock switching complete
2024-10-28 19:57:56 +08:00
Jiang Jiang Jian
ad32630480
Merge branch 'fix/keep-got-sections-for-riscv_v5.2' into 'release/v5.2'
...
feat(esp_system): drop .got* sections and add hint (v5.2)
See merge request espressif/esp-idf!33371
2024-10-17 10:46:49 +08:00
Jiang Jiang Jian
35d88960c0
Merge branch 'bugfix/riscv_task_wdt_cleanup_v5.2' into 'release/v5.2'
...
fix(wdt): changed register dump on task WDT to be more descriptive (v5.2)
See merge request espressif/esp-idf!33106
2024-10-17 10:44:23 +08:00
Marius Vikhammer
a6cce532f5
fix(wdt): changed register dump on non panic task WDT to be more descriptive
...
Closes https://github.com/espressif/esp-idf/issues/14400
2024-09-14 10:11:10 +08:00
Alexey Lapshin
b746f6d6ef
feat(esp_system): drop .got* sections and add hint
...
Closes https://github.com/espressif/esp-idf/issues/14296
2024-09-06 18:48:39 +07:00
Chen Jichang
3efad30654
feat(psram): add psram noinit segment support on S2/S3/P4/C5
...
Closes https://github.com/espressif/esp-idf/issues/14253
2024-09-03 17:42:09 +08:00
Jakob Hasse
3b330b4f2f
fix(esp_system): properly exclude XTAL32K WDT from other chips
...
Closes https://github.com/espressif/esp-idf/issues/13955
2024-08-28 10:40:39 +08:00
Jiang Jiang Jian
f2f31efa26
Merge branch 'feature/print_panic_while_cache_fail_v5.2' into 'release/v5.2'
...
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU (v5.2)
See merge request espressif/esp-idf!31131
2024-08-23 14:34:25 +08:00
Jiang Jiang Jian
6facff8091
Merge branch 'fix/mmu_multicore_app_bl_v5.2' into 'release/v5.2'
...
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader (v5.2)
See merge request espressif/esp-idf!32897
2024-08-23 13:45:04 +08:00
Xiao Xufeng
52066307ed
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader
...
Closes https://github.com/espressif/esp-idf/issues/11617
2024-08-16 11:52:11 +08:00
Xiao Xufeng
1a111187fa
fix(startup): move rtc initialization before MSPI timing tuning to improve stability
2024-08-15 20:55:11 +08:00
Konstantin Kondrashov
271c611485
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU
2024-08-07 19:17:52 +08:00
Jiang Jiang Jian
af7124f815
Merge branch 'bugfix/check_c3_efuse_error_on_ram_app_condition_v5.2' into 'release/v5.2'
...
bugfix(cpu_start): check c3 efuse error log on ram app condition (v5.2)
See merge request espressif/esp-idf!31045
2024-07-09 10:51:38 +08:00
Marius Vikhammer
2fa4d4e0b7
Merge branch 'fix/brownout_crash_v5.2' into 'release/v5.2'
...
fix(brownout): fixed brownout isr crashing if cache disabled (v5.2)
See merge request espressif/esp-idf!30832
2024-07-04 10:34:36 +08:00
Jiang Jiang Jian
abf8ffac59
Merge branch 'feature/ipc_noblocking_call_v5.2' into 'release/v5.2'
...
feat(ipc): Adds a new no blocking IPC call (v5.2)
See merge request espressif/esp-idf!28442
2024-07-03 21:00:10 +08:00
wuzhenghui
c239c68373
change(esp_system): trigger digital system reset in brownout isr
2024-06-24 12:03:03 +08:00
Marius Vikhammer
1c4cdfe4b7
fix(brownout): fixed brownout isr crashing if cache disabled
...
If a brownout ISR was triggered while cache was disabled the system would panic.
This was due to a print accessing a string stored in flash
2024-06-04 16:30:05 +08:00
Armando
b5073b1e3f
bugfix(cpu_start): check c3 efuse error log on ram app condition
...
Prior to this commit, esp_efuse_check_errors() is only called when it's
2nd stage btld app.
This commit moves this error check so under all conditions (including
ram app, pure ram app) will check this efuse error
2024-05-23 15:53:53 +08:00
Alexey Lapshin
5320ec20f9
fix(system): place idf's stray sections while linking
2024-05-20 14:07:06 +04:00
Marius Vikhammer
f8319f08cc
Merge branch 'fix/reduce-binary-size_v5.2' into 'release/v5.2'
...
Reduce binary size (v5.2)
See merge request espressif/esp-idf!30656
2024-05-09 15:41:59 +08:00
Alexey Lapshin
1f3f65b40e
fix(system): discard eh_frame sections if disabled in sdkconfig
2024-05-07 21:03:04 +04:00
wuzhenghui
a3c20bde5d
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold
2024-04-30 11:48:03 +08:00
KonstantinKondrashov
cbba78ee76
feat(ipc): Adds a new no blocking IPC call
2024-04-17 11:45:39 +03:00
Laukik Hase
17ffe58051
fix(esp_hw_support): Fix the flash I/DROM region PMP protection
2024-04-03 15:48:46 +05:30
Konstantin Kondrashov
00f2e33008
fix(esp_system): Fix build when ANTI_ROLLBACK=y and PANIC_SILENT_REBOOT=y
...
Fix a case when two options are set as
CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK=y
CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT=y
Closes https://github.com/espressif/esp-idf/issues/13417
2024-03-20 22:08:47 +02:00
Jiang Jiang Jian
1d526b4d10
Merge branch 'coredump_refactoring_v5.2' into 'release/v5.2'
...
Coredump refactoring (v5.2)
See merge request espressif/esp-idf!29501
2024-03-12 10:58:07 +08:00
Jiang Jiang Jian
20762c4524
Merge branch 'pytest/support_io_wakeup_test_v5.2' into 'release/v5.2'
...
Pytest/support io wakeup test (backport v5.2)
See merge request espressif/esp-idf!28657
2024-03-11 10:39:22 +08:00
Erhan Kurubas
ba28b5a599
refactor(espcoredump): simplify uart/flash write flow
2024-03-08 09:28:07 +01:00