Zim Kalinowski
7c090d9a42
Merge branch 'bugfix/bootloader-ignored-warnings' into 'master'
...
bootloader: fix and re-enable no-format warnings
Closes IDF-6789
See merge request espressif/esp-idf!22715
2023-03-16 19:57:58 +08:00
Wan Lei
3b62bf59c4
Merge branch 'bugfix/fix_deep_sleep_crash_when_psram_high_freq' into 'master'
...
mspi: turn down freq to fix crash when sleep
Closes IDF-6881
See merge request espressif/esp-idf!22491
2023-03-16 14:11:21 +08:00
wanlei
d0c70aa7ac
mspi: turn down freq to fix crash when sleep
2023-03-15 11:26:34 +08:00
Armando
bae6680207
mmu: hal function to init, and hal function to unmap all
2023-03-15 10:59:20 +08:00
Armando
929b7717ff
system: fixed ram app cannot use mmu correctly issue
2023-03-15 10:59:20 +08:00
Zim Kalinowski
f6453b7938
bootloader: fix and re-enable no-format warnings
2023-03-15 00:28:31 +01:00
Cao Sen Miao
bc655a6890
spi_flash: Allow clock frequency up to 64M, and make it default on ESP32H2
2023-03-10 11:39:53 +08:00
Mahavir Jain
d4ccdd48f6
esp32h2: add secure boot feature support
...
Closes IDF-6281
2023-03-06 16:57:45 +05:30
Armando
89fa53f1c0
mmu: support configurable mmu page size
2023-03-04 02:48:40 +00:00
Konstantin Kondrashov
bfd2f6ed7c
Merge branch 'feature/adds_more_efuse_logs' into 'master'
...
efuse: Add more logging for virtual efuses
Closes IDFGH-9137
See merge request espressif/esp-idf!22399
2023-02-22 19:25:58 +08:00
KonstantinKondrashov
f3394c488a
efuse: Add support for esp32h2
2023-02-21 08:18:14 +00:00
Song Ruo Jing
987fd3208a
Merge branch 'feature/esp32h2_clock_basic_support' into 'master'
...
clk: Add basic clock support for esp32h2
Closes IDF-6265 and IDF-5973
See merge request espressif/esp-idf!21943
2023-02-21 16:16:05 +08:00
Jing Li
75a82988f1
Merge branch 'refactor/wdt_use_unified_type' into 'master'
...
wdt: refactor wdt codes to use unified type
Closes IDF-5653
See merge request espressif/esp-idf!22378
2023-02-21 09:46:06 +08:00
Song Ruo Jing
2c2a62e323
clk_tree: Add basic clock support for esp32h2
...
- 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 for esp32h2
2023-02-20 17:15:02 +08:00
Armando
82ee8403b6
mmu: mmu_hal_check_valid_ext_vaddr_region
2023-02-17 13:04:55 +08:00
Chip Weinberger
c7a12dd34b
efuse: Add more logging for virtual efuses
...
Closes https://github.com/espressif/esp-idf/pull/10536
2023-02-16 00:10:08 +08:00
Sachin Parekh
774f0ef636
Merge branch 'esp32c6/ecdsa_secure_boot_support' into 'master'
...
ESP32C6: Enable ECDSA secure boot
Closes IDF-5357 and IDF-5931
See merge request espressif/esp-idf!21058
2023-02-15 16:03:35 +08:00
jingli
9c37441b17
wdt: refactor wdt codes to use unified type
2023-02-15 12:08:55 +08:00
Sachin Billore
120fcec026
apm: added support for APM on esp32h2
...
Closes IDF-6277 IDF-6278 and IDF-5909
2023-02-14 10:43:49 +00:00
Marius Vikhammer
f9c1a2b791
Merge branch 'feature/core_c6_component_tests' into 'master'
...
ci: update idf-core related tests for C6
Closes IDF-6888
See merge request espressif/esp-idf!22282
2023-02-14 16:47:52 +08:00
Sachin Parekh
2bb9499a7e
esp32c6: Enable ECDSA based secure boot
...
- Updated documentation for C6
2023-02-13 13:02:11 +05:30
Marius Vikhammer
25abc7f6d8
ci: update idf-core related tests for C6
2023-02-13 13:01:57 +08:00
Sachin Parekh
a3c341384f
esp32c6: Remove assert check on len for SHA calculation
2023-02-13 09:45:55 +05:30
Cao Sen Miao
0d37436f36
spi_flash: Support flash wrap (burst read), flash driver side
2023-02-13 11:10:15 +08:00
Armando
d6844051fc
esp_mm: new virtual memory mapping apis via mmu
2023-02-07 20:23:52 +08:00
Armando
af15b6d885
mmu: simplify mmu vaddr region macro on esp32c2
...
ESP32C2 mmu vaddr region macros, and related mask macros in
ext_mem_defs.h depends on mmu page size.
2023-02-07 20:23:51 +08:00
wuzhenghui
146b9b047b
soc: add modem regs and force enable i2c_ana_mst clock
2023-02-06 21:43:26 +08:00
morris
753eab91ee
Merge branch 'feature/usj_support_h2' into 'master'
...
USJ console support on esp32h2
Closes IDF-6239
See merge request espressif/esp-idf!22156
2023-02-02 17:07:19 +08:00
Wu Zheng Hui
04987ac201
Merge branch 'feature/add_ram_loadable_app_support' into 'master'
...
feature: add ram loadable app support
See merge request espressif/esp-idf!19465
2023-02-02 10:28:13 +08:00
wuzhenghui
db61945537
bugfix: dual core chip haven't started the pro cpu in the bootloader, so no workaround is needed
2023-02-01 17:57:28 +08:00
wuzhenghui
c0d2fcded7
refactor: move bootloader_init_spi_flash to bootloader_flash_config_{target}.c
2023-02-01 17:57:28 +08:00
wuzhenghui
44df5b31af
feature: add ram loadable app support
2023-02-01 17:57:22 +08:00
wuzhenghui
cd9d914ba0
codeclean: clean esp32c6 rtc_sleep related code
2023-01-31 22:12:58 +08:00
cje
0fb408cc68
pmu active state ICG map initialize and modify i2c master force enable to enable
2023-01-31 22:12:27 +08:00
morris
b7799ec84d
rom: patch uart function to switch buffer
2023-01-31 13:11:32 +08:00
Guillaume Souchere
a26ecafa0d
Merge branch 'fix/malloc_cap_exec_on_esp32c6' into 'master'
...
heap: Fix allocation issue when trying to allocate in IRAM on esp32c6
Closes IDF-6306
See merge request espressif/esp-idf!22077
2023-01-26 17:45:23 +08:00
KonstantinKondrashov
73d756d073
bootloader_support(esp32c2): Fix esp_secure_boot_cfg_verify_release_mode API
...
When FE and SB keys are set then:
- 128 low bits are read protected
- 128 hi bits are readable
2023-01-24 18:16:19 +08:00
Guillaume Souchere
a5d6f62e7e
heap: Prevent alloc from IRAM to call dram_alloc_to_iram() on esp32c6 target
...
Since DRAM and IRAM are superposed on esp32c6 it is not necessary to convert a freshly allocated
DRAM addr to its IRAM equivalent when MALLOC_CAP_EXEC is passed to heap_caps_malloc(). Instead,
proceed with a default allocation since the address returned by multi_heap_malloc() already belongs
to the IRAM region.
Applies for esp32c6 and every boards with superposed DRAM and IRAM addresses.
2023-01-23 07:42:20 +01:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Mahavir Jain
fd34bdb70a
Merge branch 'feature/secure_features_are_enabled_correctly' into 'master'
...
security: Adds new APIs to check that all eFuse security features are enabled correctly
Closes IDF-1814
See merge request espressif/esp-idf!19532
2023-01-13 15:09:55 +08:00
KonstantinKondrashov
df662c30e4
bootloader_support(esp32c2): Fix WR_DIS_RD_DIS burn for secure boot key
...
SB key is left readable, the corresponding bit in RD_DIS is unset.
We set write-protection for RD_DIS to ensure that the SB key is always readable.
2023-01-10 23:35:13 +08:00
KonstantinKondrashov
696f7495a0
security: Adds new APIs to check that all eFuse security features are enabled correctly
2023-01-10 23:35:13 +08:00
morris
f7fdba7f39
apm: disable permission control temporarily for esp32h2
...
Access Protection Mode is not yet configured globally, disable the APM
functionality temporarily for esp32h2 and esp32c6
2023-01-10 16:37:01 +08:00
Wu Zheng Hui
61a04e2257
Merge branch 'bugfix/workaround_for_esp32c6_bad_mspi_freq_on_hs_mode_reset' into 'master'
...
bugfix: workaround for esp32c6 bad mspi freq on hs mode reset
See merge request espressif/esp-idf!21851
2023-01-04 13:38:32 +08:00
wuzhenghui
77f6b70a52
workaround: workaround_for_esp32c6 bad mspi freq on hs mode reset
2022-12-30 19:20:30 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Chip Weinberger
9e02682097
bootloader_support: Adds better logs for virtual efuses
...
Close https://github.com/espressif/esp-idf/pull/10383
2022-12-21 18:03:41 +08:00
Song Ruo Jing
182e937c5a
clk_tree: Add basic clock support for esp32c6
...
- 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 for esp32c6
2022-12-13 19:18:34 +08:00
Armando
d88236678a
bootloader: fix bootloader_sha256_flash_contents mmap issue
2022-12-01 21:39:57 +08:00
Konstantin Kondrashov
7bc15f78a5
Merge branch 'feature/efuse_remove_warnings_for_memcpy' into 'master'
...
all: Remove warnings for memcpy/memset
Closes IDF-6298
See merge request espressif/esp-idf!21164
2022-12-01 16:03:29 +08:00