Commit Graph

1272 Commits

Author SHA1 Message Date
Armando (Dou Yiwen)
11831cc0db Merge branch 'fix/fix_cache_panic_c61_on_psram_board' into 'master'
cache: fixed cache panic init flow on psram board

See merge request espressif/esp-idf!32701
2024-08-13 14:08:17 +08:00
Lou Tianhao
6274040f38 feat(pm): support modem clock for esp32c61 2024-08-13 11:03:21 +08:00
Armando
e58d608034 fix(cache): fixed cache panic init flow on psram board 2024-08-13 09:30:46 +08:00
Marius Vikhammer
69ca6e49a7 test(console): add tests for console with vfs disabled 2024-08-12 10:01:04 +08:00
Ivan Grokhotkov
3577900915
fix(esp_system): sort system init priorities also by filename 2024-08-11 20:21:35 +02:00
Erhan Kurubas
9b38f87781
Revert "Merge branch 'add_openocd_stub_bins' into 'master'"
This reverts merge request !31504
2024-08-09 22:49:43 +02:00
Erhan Kurubas
c7931b0782 feat(esp_system): preload openocd stub binaries and reserve memory for debugging 2024-08-08 23:25:26 +02:00
Mahavir Jain
f477682938 Merge branch 'feature/remove_aes_rsa_ds_hmac_spport_for_c61' into 'master'
feat: remove suppport for AES, RSA, DS and HMAC in esp32c61

Closes IDF-9326, IDF-9328, IDF-9323, and IDF-9325

See merge request espressif/esp-idf!31798
2024-08-08 17:15:06 +08:00
Armando
36f601b459 test(cache): cache panic test app 2024-08-08 10:38:02 +08:00
Armando
7231a6388b feat(cache): supported cache panic on c61 2024-08-08 10:38:02 +08:00
Armando
190ea15839 feat(cache): supported cache panic on c5 2024-08-08 10:38:02 +08:00
nilesh.kale
e74dcb1fab feat: remove support for aes and rsa peripherals in esp32c61 2024-08-06 15:06:16 +05:30
Wu Zheng Hui
82e76abaa8 Merge branch 'bugfix/fix_esp32p4_sleep_psram_access_failure' into 'master'
fix(esp_hw_support): support esp32p4  psram  sleep retention

Closes PM-138, PM-177, PM-187, PM-189, and PM-190

See merge request espressif/esp-idf!32190
2024-08-06 10:49:03 +08:00
wuzhenghui
55219ba7f4
change(esp_hw_support): add case to test PSRAM survives after lightsleep 2024-08-05 13:21:09 +08:00
wuzhenghui
819680ff9b
change(esp_hw_support): reorder light/deep sleep test cases and wrapper with corresponding support macros 2024-08-05 13:21:08 +08:00
Armando (Dou Yiwen)
0dd91afb09 Merge branch 'feat/c61_cache' into 'master'
cache: supported cache on c61

Closes IDF-9253 and DOC-8436

See merge request espressif/esp-idf!32407
2024-08-02 03:37:43 +08:00
Armando
67b8dbb5e5 feat(cache): supported cache on c61 2024-08-01 09:34:18 +08:00
Song Ruo Jing
6db52ffe12 remove(clk): rc32k is removed as a clk source option for lp_slow_clk on C5/C61 2024-07-31 22:41:23 +08:00
Song Ruo Jing
335d39b869 feat(clk): Add basic clock support for esp32c61
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-07-31 22:41:22 +08:00
Igor Udot
b5ab82ce3c Merge branch 'fix/replace_pytest_function' into 'master'
ci: replace pytest function

Closes IDFCI-1693

See merge request espressif/esp-idf!30531
2024-07-31 17:23:56 +08:00
Armando (Dou Yiwen)
23ee0b65ff Merge branch 'feat/cache_msync_c2m_sliced_ops' into 'master'
cache: supported msync c2m sliced ops

Closes IDF-10510 and IDF-10414

See merge request espressif/esp-idf!32155
2024-07-29 11:37:24 +08:00
Armando
23fcfcae8b change(cache): added cache size kconfig macro on s2 2024-07-25 14:25:19 +08:00
C.S.M
931f95068a feat(spiram): Add temperature support for psram adjustment on esp32c5 2024-07-25 13:48:41 +08:00
Roland Dobai
eba71250ca Merge branch 'fix/fix_malformed_kconfigs' into 'master'
fix: fix various errors in Kconfig files

Closes IDF-10356

See merge request espressif/esp-idf!32125
2024-07-23 16:29:09 +08:00
igor.udot
b0e8ce0111 ci: replace pytest function for linux target 2024-07-23 14:07:31 +08:00
Armando
893bd25c0b fix(psram): corrected psram early stage function name 2024-07-23 10:00:24 +08:00
Jan Beran
01ee296db0 fix: fix various errors in Kconfig files 2024-07-17 11:33:22 +02:00
wanlei
3cf069c7d8 feat(esp32c61): disable unsupported build test 2024-07-16 16:06:19 +08:00
morris
2386e522cb Merge branch 'feat/etm_driver_support_esp32c5' into 'master'
feat(etm): support etm driver on esp32c5

Closes IDF-8693

See merge request espressif/esp-idf!32009
2024-07-15 18:05:49 +08:00
Armando (Dou Yiwen)
2b351233cb Merge branch 'feat/bss_in_psram_p4' into 'master'
psram: bss in psram p4

Closes IDF-7557

See merge request espressif/esp-idf!32018
2024-07-15 15:54:53 +08:00
Armando
8c22cb6c6a feat(psram): support bss on psram on p4 2024-07-15 10:44:13 +08:00
Armando
564b74a9c0 feat(cache): supported cache panic on p4 2024-07-12 12:42:10 +08:00
morris
863344f769 feat(etm): support etm driver on esp32c5 2024-07-12 10:53:12 +08:00
Armando
c880f697da feat(panic): supported more cache error cactch 2024-07-11 15:26:13 +08:00
Jiang Jiang Jian
c6e8c7c02e Merge branch 'fix/fix_stuck_in_bootloader_random_enable' into 'master'
fix(esp_system): fix stuck in bootloader_random_enable after lightsleep

Closes PM-164

See merge request espressif/esp-idf!31889
2024-07-08 14:06:42 +08:00
Marius Vikhammer
41d39a419f fix(pmp): fixed alignment of PMP addr for RTC mem on C5
Also refactored it for C6/H2/C61 to keep the approach consistent between targets
2024-07-04 16:24:46 +08:00
wuzhenghui
aa1ff4e167
fix(esp_system): fix stuck in bootloader_random_enable after lightsleep 2024-07-03 18:03:06 +08:00
Marius Vikhammer
fd18bb608b test(misc): enable misc tests that have been missed during bringup 2024-06-28 13:24:28 +08:00
Marius Vikhammer
2ba6f989b7 fix(wdt): bringup WDTs for CP MP 2024-06-28 09:51:57 +08:00
Armando (Dou Yiwen)
7755ce186e Merge branch 'bugfix/fix_none_iram_code_before_xip_psram' into 'master'
rtc: fixed non-iram rtc code in early stage on p4 leading xip_psram stuck

See merge request espressif/esp-idf!31742
2024-06-26 20:47:10 +08:00
Song Ruo Jing
e5dbbf467c Merge branch 'feature/esp32c5_clock_support' into 'master'
feat(clk): Add basic clock support for esp32c5 mp

Closes IDF-8642 and IDF-9009

See merge request espressif/esp-idf!31514
2024-06-26 19:27:51 +08:00
Mahavir Jain
6669caf4cf Merge branch 'feature/esp32c5_memory_protection' into 'master'
Support memory protection using PMA and PMP for ESP32-C5

Closes IDF-8833

See merge request espressif/esp-idf!31245
2024-06-26 19:18:39 +08:00
Armando
5fe080ea5a fix(rtc): fixed non-iram rtc code in early stage on p4 leading xip_psram stuck 2024-06-26 17:30:59 +08:00
Song Ruo Jing
40f3bc2e57 feat(clk): Add basic clock support for esp32c5 mp
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-06-26 14:26:34 +08:00
Cao Sen Miao
b19f9242d7 fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3 2024-06-26 11:20:19 +08:00
harshal.patil
bd4e48d0d9
feat(cpu): Configure panic exception generation using asm illegal instruction 2024-06-25 11:55:24 +05:30
harshal.patil
84afc6a955
feat(esp_hw_support): Support memory protection using PMA and PMP for ESP32-C5 2024-06-25 11:55:15 +05:30
Wu Zheng Hui
54c4984256 Merge branch 'fix/trigger_system_reset_in_brownout_isr' into 'master'
change(esp_system): trigger digital system reset in brownout isr

See merge request espressif/esp-idf!30512
2024-06-24 11:15:54 +08:00
Wu Zheng Hui
ee372c4842 Merge branch 'feat/esp32p4eco_sleep_feature_update' into 'master'
feat(esp_hw_support): esp32p4eco1 sleep feature update

Closes IDF-9564

See merge request espressif/esp-idf!30899
2024-06-24 11:15:47 +08:00
Alexey Lapshin
b0ba5689f1 Merge branch 'feature/gcc-fanalyzer' into 'master'
feat(ci): add gnu static analyzer job

See merge request espressif/esp-idf!30902
2024-06-19 19:31:53 +08:00
Alexey Lapshin
ed6e497c6f feat(build): add COMPILER_STATIC_ANALYZER option 2024-06-18 14:25:37 +08:00
Xiao Xufeng
5b71b949be fix(startup): move rtc initialization before MSPI timing tuning to improve stability 2024-06-18 01:16:24 +08:00
Kevin (Lao Kaiyao)
0479494e7a Merge branch 'remove/remove_c5_beta3_support' into 'master'
remove(c5beta3): remove esp32c5 beta3 support

Closes IDF-9197

See merge request espressif/esp-idf!31412
2024-06-18 00:18:00 +08:00
laokaiyao
c731b099ee remove(c5beta3): remove c5 beta3 doxy files 2024-06-17 12:02:15 +08:00
laokaiyao
21f870ecd5 remove(c5beta3): remove c5 beta3 system files 2024-06-17 12:02:15 +08:00
Jakob Hasse
22561ee408 fix(esp_system): properly exclude XTAL32K WDT from other chips
Closes https://github.com/espressif/esp-idf/issues/13955
2024-06-13 19:00:16 +02:00
Armando (Dou Yiwen)
cd1ec8426c Merge branch 'doc/isp_bf_dvp_programming_guide' into 'master'
isp: bf dvp programming guide

Closes IDF-10091 and IDF-10092

See merge request espressif/esp-idf!31361
2024-06-12 14:13:11 +08:00
Armando
615f486791 fix(esp_system): fixed not necessary public require to bootloader_support 2024-06-12 12:13:06 +08:00
Song Ruo Jing
ac6101bf4e feat(clk): support ESP32C5 XTAL 40M/48M selection 2024-06-11 17:42:43 +08:00
Konstantin Kondrashov
023d112cbf feat(esp_common): Support ESP_ERROR_CHECK_ macros on Linux
Closes https://github.com/espressif/esp-idf/issues/13893
2024-06-05 09:00:51 +03:00
wuzhenghui
7a9fb14f90
feat(esp_hw_support): bypass rst_reason override for esp32p4eco1 2024-05-31 14:51:15 +08:00
Tomas Rohlinek
2ccc9bcef9 Merge branch 'fix/unopened_stdout_console' into 'master'
fix(newlib/stdio): incorrect stdout redirect with /dev/console

Closes IDFGH-12416

See merge request espressif/esp-idf!30324
2024-05-29 18:40:09 +08:00
wuzhenghui
ffd08ac41b
change(esp_hw_support): use union retention link priority definiation 2024-05-28 15:19:27 +08:00
wuzhenghui
6a272c7712
ci(esp_system): add task watchdog pd_top sleep retention test case 2024-05-28 15:19:25 +08:00
wuzhenghui
a68668c392
change(esp_hw_support): do timergroup watchdogs retention by needs 2024-05-28 15:17:19 +08:00
Tomáš Rohlínek
a30d27e01e
feat(storage/vfs): add nullfs test cases for vfs 2024-05-28 08:06:33 +02:00
Tomáš Rohlínek
a615f487dd
feat(storage/vfs): add /dev/null for unwanted output redirection 2024-05-28 07:54:35 +02:00
Armando
d988b824d8 change(image): move image_process driver from bootloader_support to esp_system 2024-05-22 15:56:07 +08:00
Armando
10d3912c70 feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
Armando
3e477681ac change(cpu_start): added note about internal ram only stage 2024-05-22 14:13:29 +08:00
Armando
72cb920799 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-22 14:13:29 +08:00
Armando
24895ac93c refactor(cpu_start): move uni/multi core log later 2024-05-22 14:13:29 +08:00
C.S.M
9b3bd13a13 feat(brownout): Add brownout detector support on esp32p4 2024-05-21 15:03:28 +08:00
Lou Tianhao
df8fd000d4 fix(esp_system): fix core1 access cache when core0 close cache during sleep 2024-05-20 14:49:49 +08:00
Alexey Lapshin
2b36636f6f fix(system): print warning if stray section is found while linking 2024-05-17 13:37:42 +04:00
Konstantin Kondrashov
aed84fa818 feat(efuse): Support Linux target 2024-05-15 16:54:45 +03:00
Marius Vikhammer
fc6a068a52 Merge branch 'fix/brownout_crash' into 'master'
fix(brownout): fixed brownout isr crashing if cache disabled

Closes IDF-9731

See merge request espressif/esp-idf!30746
2024-05-15 09:13:04 +08:00
Wan Lei
26ff7bb836 Merge branch 'feat/c61_c6lite_rom_freeze_update' into 'master'
feat(esp32c61): update for rom freeze

Closes IDF-9405

See merge request espressif/esp-idf!30737
2024-05-14 15:44:09 +08:00
wanlei
e89e8e0ded feat(esp32c61): update for rom freeze 2024-05-14 12:46:51 +08:00
harshal.patil
3eb6487bb5
fix(bootloader_support): Make esp_flash_encrypt.h independent of spi_flash_mmap.h header 2024-05-13 16:54:45 +05:30
Wang Lei
1ee9f80067 Merge branch 'feat/remove_sdio_rst_for_c5mp_c61' into 'master'
fix(esp_rom): remove sdio rst for c5mp c61

See merge request espressif/esp-idf!30691
2024-05-13 10:40:28 +08:00
wanglei
2e27c22afd fix(esp_system): remove sdio core rst for esp32c61 2024-05-11 14:46:09 +08:00
C.S.M
15cf203632 feature(usb_serial_jtag): add usb serial jtag support for esp32p4 2024-05-11 14:16:57 +08:00
Marius Vikhammer
fdd6aeeba7 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-09 17:50:02 +08:00
Alexey Lapshin
9375348740 fix(system): discard eh_frame sections if disabled in sdkconfig 2024-05-02 22:11:56 +04:00
Konstantin Kondrashov
fdd54ab1bb Merge branch 'feature/print_panic_while_cache_fail' into 'master'
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU

Closes IDF-9813

See merge request espressif/esp-idf!30505
2024-05-01 13:30:32 +08:00
Konstantin Kondrashov
8b418d4b09 feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU 2024-04-30 15:20:58 +03:00
wuzhenghui
6b64b76d2a
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold 2024-04-28 14:40:11 +08:00
wuzhenghui
d7235db04b
change(esp_system): trigger digital system reset in brownout isr 2024-04-26 14:01:40 +08:00
Alexey Lapshin
6f2de1fb23 fix(system): esp32p4: fix mepc when load/store failure occurred 2024-04-18 19:49:19 +04:00
Wu Zheng Hui
2c4097b4d2 Merge branch 'bugfix/fix_esp32p4_light_sleep_issues' into 'master'
fix(esp_hw_support): fix esp32p4 light sleep issues

Closes PM-96, PM-97, and IDF-9569

See merge request espressif/esp-idf!30089
2024-04-18 19:18:56 +08:00
wuzhenghui
270b9d22e4
fix(ci): fix CI unity test cases failure 2024-04-18 18:07:07 +08:00
wuzhenghui
8f33c69c30
fix(esp_hw_support): disable mpll before sleep to avoid mspi module entering an error state 2024-04-18 18:07:02 +08:00
wuzhenghui
f3d963a93b
fix(esp_system): update power domain configuration with slow clock source selection 2024-04-17 15:45:52 +08:00
Marius Vikhammer
4533f16c34 fix(rtc_memory): fix conflict between LP-ROM and RTC reserved 2024-04-17 13:37:56 +08:00
Mahavir Jain
46c453ae1e
feat: add memory protection support using PMA/PMP for P4 target 2024-04-14 21:16:40 +05:30
Mahavir Jain
bf63862c4a Merge branch 'fix/enable_crypto_periphs_before_rom_exec' into 'master'
fix(esp_system): enable crypto periphs before rom execution

See merge request espressif/esp-idf!30116
2024-04-13 00:14:16 +08:00
harshal.patil
6ec486e351
fix(esp_system): Enable crpyto peripherals related clocks for specific ESP32-P4 ECOs 2024-04-12 14:56:53 +05:30
wuzhenghui
e7046e2abf
fix(esp_hw_support): fix bad logic in esp_perip_clk_init 2024-04-12 14:08:07 +08:00
Lou Tianhao
3fb4909483 feat(example): support esp32c5 timer/gpio/uart wakeup 2024-04-10 11:45:04 +08:00