Commit Graph

660 Commits

Author SHA1 Message Date
Jiang Jiang Jian
6fd257d4cb Merge branch 'feat/support_esp32c2_eco4_rom_mbedtls_v3.6.0_lts_v5.0' into 'release/v5.0'
feat(mbedtls): support esp32c2 eco4 rom mbedtls v3.6.0 lts v5.0 (backport v5.0)

See merge request espressif/esp-idf!33424
2024-09-25 11:04:09 +08:00
Xiao Xufeng
f1917f4db3 fix(startup): move rtc initialization before MSPI timing tuning to improve stability 2024-09-18 23:46:41 +08:00
Jiang Guang Ming
6d3542194e feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-10 11:13:54 +08:00
wuzhenghui
69bbaec19d
fix(esp_hw_support/sleep): stop TG0/TG1 watchdog if XTAL not power down in lightsleep 2024-05-28 18:09:21 +08:00
wuzhenghui
941193fc03
change(esp_hw_support/sleep): improve esp32c3 systimer stall bug workaround 2024-05-28 18:08:27 +08:00
Li Shuai
3b4d27669d fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-03 10:53:13 +08:00
Jiang Jiang Jian
1bd6dffbef Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug_v5.0' into 'release/v5.0'
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug (v5.0)

See merge request espressif/esp-idf!29650
2024-03-15 11:19:14 +08:00
hongshuqing
44815d75eb fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug 2024-03-14 16:22:39 +08:00
chaijie@espressif.com
9a3a74463a fix: fix sleep fast_mem & slow_mem may lost bug 2024-03-14 15:18:57 +08:00
nilesh.kale
14d7caa921 fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the esp_hmac_disable() API.
2024-03-12 12:24:51 +05:30
KonstantinKondrashov
f6925f12a0 fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-26 12:08:46 +02:00
Mahavir Jain
4b13be6cf0 Merge branch 'bugfix/update_jtag_disabling_api_v5.0' into 'release/v5.0'
fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG (v5.0)

See merge request espressif/esp-idf!28502
2024-01-24 15:07:27 +08:00
nilesh.kale
1cd2bb4b22 fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-16 14:40:09 +05:30
Xiao Xufeng
376be14e1c fix(rtc): fixed bbpll not calibrated from bootloader issue 2024-01-14 02:38:49 +08:00
chaijie@espressif.com
d91c6d0da8 fix(bbpll): fix bbpll calibration may stop early bug(ESP32C2/S3) 2024-01-05 03:36:48 +08:00
Jiang Jiang Jian
2988dbe3a6 Merge branch 'fix/esp_hw_support_remove_unused_include_dirs_v5.0' into 'release/v5.0'
fix(esp_hw_support): Removed nonexistent include directories from cmake (v5.0)

See merge request espressif/esp-idf!27609
2023-12-25 14:06:18 +08:00
Jiang Jiang Jian
5e319c6760 Merge branch 'bugfix/fix_onebyte_watchpoint_setting_v5.0' into 'release/v5.0'
fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting (v5.0 )

See merge request espressif/esp-idf!27216
2023-12-15 19:29:57 +08:00
Jakob Hasse
900ee4e7a6 fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2023-12-04 14:12:18 +08:00
Michael (XIAO Xufeng)
893725dd40 feat(soc): Increase max supported version of C3 to 1.99 2023-11-29 15:52:09 +08:00
Jiang Jiang Jian
a8caeb9af4 Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.0' into 'release/v5.0'
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.0)

See merge request espressif/esp-idf!27208
2023-11-23 14:46:38 +08:00
morris
28224b3af5 Merge branch 'bugfix/fix_wrong_adc_attenuation_name_v5.0' into 'release/v5.0'
fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12 (v5.0)

See merge request espressif/esp-idf!26968
2023-11-23 12:04:24 +08:00
wuzhenghui
ead822e6ee
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-23 10:21:02 +08:00
wuzhenghui
8c34ab0e67 fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting 2023-11-22 03:12:06 +00:00
wuzhenghui
ea8b719288 fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable 2023-11-22 03:06:03 +00:00
muhaidong
3937e35a08 change(hal): remove useless code from periph_ll_wifi_bt_module_enable_clk 2023-11-10 11:43:01 +08:00
Armando
f8500f77b1 fix(adc): rename ADC_ATTEN_DB_11 to ADC_ATTEN_DB_12
By design, it's 12 dB. There're errors among chips, so the actual
attenuation will be 11dB more or less
2023-11-07 14:12:50 +08:00
Jiang Guang Ming
0e99be11f0 fix(esp32c3): Update esp32c3 chip revision 2023-10-30 20:56:57 +08:00
Jiang Jiang Jian
4ba42edafc Merge branch 'bugfix/fix_cpu_switches_freq_bug_s2s3_to_v5.0' into 'release/v5.0'
EspS2/S3: fixed the bug of insufficient voltage when the CPU switches frequency(V5.0)

See merge request espressif/esp-idf!26281
2023-10-25 10:25:14 +08:00
Mahavir Jain
f333925342 Merge branch 'feature/locking_layer_for_ecdsa_v5.0' into 'release/v5.0'
feat(esp_hw_support): Added locking mechanism for the ECC peripheral (v5.0)

See merge request espressif/esp-idf!26287
2023-10-20 15:57:16 +08:00
Cao Sen Miao
5c692796e8 fix(temperature_snesor): Put clock gate enable/disable in to sar_periph_ctrl together 2023-10-12 14:21:24 +08:00
Roland Dobai
c08f099361 Merge branch 'fix/bp_wp_in_panic_v5.0' into 'release/v5.0'
fix(breakpoint): fix bp/wp logic when debugger is connected (v5.0)

See merge request espressif/esp-idf!25634
2023-10-10 17:57:51 +08:00
harshal.patil
6fdbd027c5
feat(esp_hw_support): Add locking layer for the ECC peripheral 2023-09-29 11:24:34 +05:30
hongshuqing
6ae027eb8b s2s3 cpu sw freq 2023-09-28 15:02:30 +08:00
morris
fcfb16050f fix(intr): always allocate memory from internal ram
Closes https://github.com/espressif/esp-idf/issues/12271
2023-09-27 02:36:01 +00:00
Lou Tianhao
0c09543d65 feat(pm): add internal pull-up/downs option for gpio used for deepsleep wakeup 2023-09-20 17:30:18 +08:00
Linda
9fb3f19e3a docs: Updated wakeup GPIOs for ESP32-S2, ESP32-S3, ESP32-C6 and ESP32-H2 2023-09-12 11:17:07 +08:00
Erhan Kurubas
5577f709b0 fix(breakpoint): fix bp/wp logic when debugger is connected 2023-08-29 12:37:33 +02:00
Jiang Jiang Jian
46f5638847 Merge branch 'bugfix/incorrect_time_after_ota_v5.0' into 'release/v5.0'
esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around (v5.0)

See merge request espressif/esp-idf!24410
2023-08-23 16:34:43 +08:00
Planck (Lu Zeyu)
5a5fae5f1e fix(intr_flags_to_level): fix value returned one more than correct value 2023-08-21 10:09:00 +08:00
Jiang Jiang Jian
7a0e39d5f0 Merge branch 'feature/improve_pd_vddsido_help_doc_v5.0' into 'release/v5.0'
docs(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig (backport v5.0)

See merge request espressif/esp-idf!25235
2023-08-15 21:04:23 +08:00
morris
a55ab7cb5d Merge branch 'feature/usb_host_restrict_ahb_errata_workaround_to_esp32s2_eco0_v5.0' into 'release/v5.0'
USB Host: Restrict ESP32-S2 AHB errata workaround to only ECO0 chips (v5.0)

See merge request espressif/esp-idf!25053
2023-08-08 10:12:42 +08:00
wuzhenghui
cb139b4386 change(esp_hw_support): improve ESP_SLEEP_PSRAM/FLASH_LEAKAGE_WORKAROUND help doc in Kconfig 2023-08-07 11:35:49 +08:00
wuzhenghui
652bc76354 fix(lightsleep): fix access pu_cfg after sleep wakeup which is linked to flash 2023-07-31 21:36:27 +08:00
wuzhenghui
2236c2fd34 fix(lightsleep): suspend cache before goto sleep to avoid cache load wrong data after spi io isolation 2023-07-31 15:35:00 +08:00
Darian Leung
70dde52e91 soc: Move revision MAX/MIN static assert to esp_hw_support
Previously, "soc/chip_revision.h" contained a static assert to check that the
CONFIG_ESP_REV_MIN_FULL <= CONFIG_ESP_REV_MAX_FULL. There are two issues with
this assert:

- Contained in a header file, so it is only compiled if the "chip_revision.h"
is included somewhere
- CONFIG_ESP_REV_MIN_FULL and CONFIG_ESP_REV_MAX_FULL are defined in
"esp_hw_support", which is a G0 component. This creates a reverse dependency
of G0 on G1.

This commit moves the static assert "revision.c" in "esp_hw_support".
2023-07-28 11:36:20 +02:00
Lou Tianhao
3727d56c82 Change: rewrite EXT1 triggle mode all_low to any_low when not esp32 2023-07-25 17:53:33 +08:00
Laukik Hase
38c0475616
fix(esp_hw_support): Fix different signed comparison in esp_ptr_in_drom
- Closes https://github.com/espressif/esp-idf/issues/11653
- Closes https://github.com/espressif/esp-idf/issues/11865
2023-07-14 10:52:32 +05:30
KonstantinKondrashov
031af815da esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around
The commit fixes the case:
If variables in RTC RAM have been moved around by the linker,
they will be filled with garbage data. Any reset other than OTA would work fine
because the variables would still be initialized from the initial bootup.

So now system time will be valid even after OTA.

Closes https://github.com/espressif/esp-idf/issues/9448
2023-07-13 18:30:26 +08:00
Jiang Jiang Jian
c10505f939 Merge branch 'bugfix/fix_esp32s3_psram_access_failed_in_dfs_v5.0' into 'release/v5.0'
esp_pm: fix esp32s3 psram access failed when dfs is enabled (backport v5.0)

See merge request espressif/esp-idf!24199
2023-07-11 12:19:43 +08:00
wuzhenghui
f030c92d05 bugfix: fix adc current leakage by sar_adc on v5.0 2023-06-21 17:43:53 +08:00