Laukik Hase
3fc637c9cc
fix(esp_system): Skip populating and checking the image header for pure RAM apps
2025-02-14 16:24:40 +05:30
Aditya Patwardhan
17836ba0f3
fix(security): Fixed the force constant time ecc mode
...
A regression was added through !36587 in which
the force constant time ecc mode was not added appropriately
The option gave compile time errors when enabled.
2025-02-10 21:19:38 +05:30
Aditya Patwardhan
09ded7787f
fix(hal): Make the ECDSA countermeasure dynamically applicable
...
This commit makes the ECDSA countermeasure dynamically applicable
across different revisions of the ESP32H2 SoC.
2025-01-24 09:13:24 +05:30
Mahavir Jain
58e5f48368
feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5
2025-01-23 22:10:21 +05:30
laokaiyao
39279e589d
refactor(lpperi): improve compatibility solution
2025-01-15 17:16:19 +08:00
laokaiyao
dce7c47e72
refactor(lpperi): compatible refactor for H2 ECO5
2025-01-15 11:49:42 +08:00
Song Ruo Jing
9026c0905e
fix(clk): add an inevitable kconfig option to be selected to use rc32k
2024-12-25 20:08:56 +08:00
Armando
218947014c
fix(cache): fixed cache hal ctx not initialised in app issue
2024-12-20 10:35:11 +08:00
wuzhenghui
88e3e21a9f
fix(esp_system): deselect all modem modules clk source selection before clk init
2024-11-15 11:05:21 +08:00
Jiang Jiang Jian
3a24b91c8e
Merge branch 'fix/fix_ota_slowclock_switching_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): fix rtc slow clock missing after the OTA app changes the slow clock source (v5.1)
See merge request espressif/esp-idf!34471
2024-11-12 19:26:09 +08:00
Laukik Hase
8dee18faae
fix(esp_system): Correct address used to fetch application image header
2024-11-04 14:12:25 +05:30
wuzhenghui
b6076491ee
fix(esp_hw_support): disable unused clock sources after rtc clock switching complete
2024-10-28 19:59:15 +08:00
Jiang Jiang Jian
a13ab34101
Merge branch 'refactor/rtc_init_before_mspi_tuning_v5.1' into 'release/v5.1'
...
fix(startup): move rtc initialization before MSPI timing tuning to improve stability (v5.1)
See merge request espressif/esp-idf!32555
2024-09-21 15:01:16 +08:00
Xiao Xufeng
7d4d6ae5fd
fix(MMU): fixed mmap deadlock when using multicore app with unicore bootloader
...
Closes https://github.com/espressif/esp-idf/issues/11617
2024-09-18 19:31:33 +08:00
Xiao Xufeng
dbed93dce8
fix(startup): move rtc initialization before MSPI timing tuning to improve stability
2024-09-18 19:30:22 +08:00
wuzhenghui
563683f471
change(esp_system): trigger digital system reset in brownout isr
2024-06-24 12:07:30 +08:00
morris
d7c75b92d1
Merge branch 'bugfix/check_c3_efuse_error_on_ram_app_condition_v5.1' into 'release/v5.1'
...
bugfix(cpu_start): check c3 efuse error log on ram app condition (v5.1)
See merge request espressif/esp-idf!31046
2024-05-27 15:43:21 +08:00
Armando
bb51330aa6
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:56:08 +08:00
Marius Vikhammer
39074c031e
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-05-22 10:19:10 +08:00
wuzhenghui
6e1659c233
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold
2024-04-30 11:47:18 +08:00
liuning
cb0fd9010b
fix(clk): clear all lpclk source at clk init
2024-03-15 10:49:18 +08:00
Jiang Jiang Jian
ffd34ba04a
Merge branch 'bugfix/bod_threshold_v5.1' into 'release/v5.1'
...
fix(bod): Fix BOD threshold value on ESP32H2(backport v5.1)
See merge request espressif/esp-idf!28624
2024-02-27 19:58:51 +08:00
Marius Vikhammer
d9a6158700
fix(system): update reset reasons for C6 and H2
2024-02-22 12:36:09 +08:00
Cao Sen Miao
bba56bc016
fix(bod): Fix BOD threshold value on ESP32H2
2024-01-23 10:13:33 +08:00
Xiao Xufeng
a055fcbda4
fix(rtc): fixed bbpll not calibrated from bootloader issue
2024-01-05 10:19:20 +08:00
morris
1b78d57496
Merge branch 'bugfix/bod_reset_c6_h2_v5.1' into 'release/v5.1'
...
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again(backport v5.1)
See merge request espressif/esp-idf!27723
2023-12-14 11:05:55 +08:00
wuzhenghui
4a7d9dd387
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-12-08 14:22:36 +08:00
Cao Sen Miao
9dd90e2d9b
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again
2023-12-07 10:33:58 +08:00
Ivan Grokhotkov
6ec4937cec
esp_system: usb_console support for ESP32-S3
...
Closes https://github.com/espressif/esp-idf/issues/8879
Closes https://github.com/espressif/esp-idf/issues/8738
2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
6d1f573945
esp_rom: implement usb deinit functions added in S3 ROM for S2
...
This cleans up usb_console.c and prepares it for S3 support.
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
228dbe103f
esp_rom: add USB_OTG "port" number for S2 and S3
2023-11-21 17:33:29 +01:00
wuzhenghui
b31a07bc67
fix(esp_system): increase esp32h2 slow clock calibration timeout watchdog threshold
2023-11-03 19:03:48 +08:00
Shen Weilong
ea06b047c2
feat(bt): Frees BLE memory when no longer in use
...
It will free libble.a & libbt all txt, data and bss segment memory.
This memory is combined into one large memory and put into the heap
pool.
2023-10-19 14:52:29 +08:00
Lou Tianhao
8aaa256aa9
Power Management: support RC32K or Crystal32K powered down
2023-07-11 14:52:35 +08:00
Lou Tianhao
356fa3ab4b
Power Management: support DFS and PMU feature for esp32h2
2023-07-11 12:02:39 +08:00
laokaiyao
e90a2d50c4
adc_cali: supported channel compensation of adc calibration on esp32c6
2023-07-05 12:48:11 +08:00
Paul Guyot
ee7554c1c4
esp_system: Fix a race-condition in esp_ipc_isr (in QEMU env)
...
The race condition is very unlikely on real hardware but can be observed with
qemu under heavy load.
Also add missing `memw` instructions which are generated by the C compiler but
absent in the assembly code.
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/11447
Closes https://github.com/espressif/esp-idf/issues/11433
2023-06-13 08:10:00 +00:00
Jakob Hasse
a6cbf68991
compiler: replaced noreturn by __noreturn__ in header files
...
* noreturn may be replaced by third-party macros,
rendering it ineffective
* Closes https://github.com/espressif/esp-idf/issues/11339
2023-05-18 12:49:40 +08:00
Marius Vikhammer
e0b91b748e
esp-system: fixed int WDT reset reason being reported as task WDT on C2
2023-05-16 05:22:07 +00:00
morris
236d601e98
mcpwm: reset peripheral in restart, panic and halt
...
mcpwm is commonly used in power eletronic area, when restart happens,
make sure the mcpwm generator is not working.
closes https://github.com/espressif/esp-idf/issues/11324
2023-05-09 18:30:46 +08:00
laokaiyao
954a6a2cff
esp32h4: removed esp32h4 related codes
2023-04-26 18:53:12 +08:00
laokaiyao
cae47ce37e
esp32h4: removed esp32h4 related files
2023-04-26 18:53:12 +08:00
Marius Vikhammer
92965cd124
Merge branch 'feature/sram1_iram_v5.1' into 'release/v5.1'
...
system: add kconfig option for using parts of SRAM1 for IRAM (v5.1)
See merge request espressif/esp-idf!23370
2023-04-25 11:35:08 +08:00
Marius Vikhammer
b07a534984
esp-system: move uncessary IRAM functions to flash
2023-04-24 10:27:31 +08:00
Marius Vikhammer
6bb4dc35ab
docs: update CONFIG_ESP_SYSTEM_ESP32_SRAM1_REGION_AS_IRAM docs to better reflect the limitations
2023-04-24 09:55:00 +08:00
Marius Vikhammer
34fea0d38f
system: add kconfig option for using parts of SRAM1 for IRAM
...
Using parts of SRAM1 for IRAM allows apps with more statically allocated IRAM
Closes https://github.com/espressif/esp-idf/issues/9824
2023-04-24 09:54:47 +08:00
Konstantin Kondrashov
6c5a7da77c
Merge branch 'feature/unicore_bootloader_can_run_multicore_app' into 'master'
...
esp_system: Fix case when multicore app can not be run if bootloader is unicore
Closes IDFGH-9336
See merge request espressif/esp-idf!22664
2023-03-29 21:56:26 +08:00
Zim Kalinowski
ce9d466324
Merge branch 'bugfix/esp-system-ignored-warnings' into 'master'
...
esp_system: fixed and reenable no-format warnings
Closes IDF-6801
See merge request espressif/esp-idf!22710
2023-03-29 20:18:14 +08:00
Marius Vikhammer
2608c1ec1e
system: remove unused C2 cache kconfig option
2023-03-29 10:06:13 +08:00
KonstantinKondrashov
975c138fad
esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app
...
It makes multicore app runnable by unicore bootloader
Closes https://github.com/espressif/esp-idf/issues/10714
2023-03-28 23:17:16 +08:00