C.S.M
7927ec44f1
Merge branch 'bugfix/gd25lq255e_unlock' into 'master'
...
spi_flash: fix gd25lq255e unlock mistake
See merge request espressif/esp-idf!24859
2023-07-21 15:29:45 +08:00
Cao Sen Miao
44693a63b4
spi_flash: fix gd25lq255e unlock mistake
2023-07-18 10:12:46 +08:00
Chen Ji Chang
7ec38eb309
Merge branch 'bugfix/update_all_esp32xxx/rom/gpio.h_comments' into 'master'
...
gpio: Update the incorrect comments in rom/gpio.h
Closes IDFGH-10490
See merge request espressif/esp-idf!24487
2023-07-13 19:44:31 +08:00
Chen Jichang
b9c22b126a
bugfix(driver/gpio):update the incorrect comment
...
There are some register description errors in parts of rom/gpio.h
This commit update the incorrect comments in rom/gpio.h And now
esp_rom_gpio.h is recommend instead of rom/gpio.h. So this commit adds
macro SIG_GPIO_OUT_IDX in esp_rom_gpio_connect_out_signal
function and removes the reference to gpio.h in some source files.
Closes https://github.com/espressif/esp-idf/issues/11737
2023-07-13 10:52:50 +08:00
wuzhenghui
d35ba005b8
bugfix: fix bootloader print wrong spi speed mode
2023-06-20 20:02:14 +08:00
Armando
101e6a18eb
esp32p4: introduce the target
...
Add esp32p4 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32p4`
2023-06-13 15:16:11 +08:00
Xiao Xufeng
91fc40cfd9
esp32: stop using deprecated name PICOD2 to avoid confusion
2023-06-08 02:09:12 +08:00
Cao Sen Miao
1ec55b7d1a
spi_flash: Add GD25LQ255E flash support
2023-05-17 18:28:57 +08:00
Marek Matej
d1a447f6c0
bootloader_support: fix register backup
...
By storing the 'user2' register during the early init
we fix the flash access issue, which occurs in the
Zephyr/MCUboot ports for ESP32.
Signed-off-by: Marek Matej <marek.matej@espressif.com>
2023-05-03 15:11:10 +02:00
Almir Okato
8d84a5315a
Merge branch 'fix/bootloader_missing_include' into 'master'
...
bootloader_support: add missing header to bootloader_flash.c
See merge request espressif/esp-idf!23221
2023-04-27 06:26:49 +08:00
laokaiyao
b7053b46ef
esp32h4: remove esp32h4 target from peripherals
2023-04-20 15:19:45 +08:00
Almir Okato
4b910ffa68
bootloader_support: add missing esp_rom_sys.h to bootloader_flash.c bootloader build
...
Missing esp_rom_sys.h header could cause declaration issues.
Signed-off-by: Almir Okato <almir.okato@espressif.com>
2023-04-15 16:49:12 -03:00
Cao Sen Miao
c7053641bc
spi_flash: 32M bits address flash map, (for customer use only)
2023-04-14 11:37:09 +08:00
Song Ruo Jing
5816c47457
spi_flash: Move mspi clock source switch to 64M in 2nd bootloader code from rtc_clk.c to bootloader_flash_config_esp32h2.c
2023-04-04 16:09:47 +08:00
KonstantinKondrashov
88ef0d8aeb
efuse: Fix load_efuses_from_flash when FE is on
...
esp_efuse_utility_load_efuses_from_flash() read emul_efuse
as an encrypted partition, but that is not correct,
this partition was never encrypted.
Need to read it as not encrypted partition.
Fxed the case: If FE is already on then EFUSE VIRT mode can work with it.
Closes https://github.com/espressif/esp-idf/issues/10929
2023-03-23 16:20:43 +08:00
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
Armando
82ee8403b6
mmu: mmu_hal_check_valid_ext_vaddr_region
2023-02-17 13:04:55 +08:00
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
c0d2fcded7
refactor: move bootloader_init_spi_flash to bootloader_flash_config_{target}.c
2023-02-01 17:57:28 +08:00
Cao Sen Miao
4713a9a7f2
ESP32H2: Introduce new chip target esp32h2, hello_world example supported
2022-12-29 12:29:14 +08:00
Armando
d88236678a
bootloader: fix bootloader_sha256_flash_contents mmap issue
2022-12-01 21:39:57 +08:00
Cao Sen Miao
86aa4df5b5
ESP32-H2: Introduce new target for ESP32H2
2022-11-23 14:38:05 +08:00
Kevin (Lao Kaiyao)
5bed8fab49
Merge branch 'refactor/rename_h2_to_h4' into 'master'
...
esp32h2: renaming esp32h2 to esp32h4
Closes IDF-6098
See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
Cao Sen Miao
d9f01ed43c
spi_flash: bringup for esp32c6
2022-11-09 12:50:46 +08:00
laokaiyao
8677216576
esp32h2: renaming esp32h2 to esp32h4
2022-11-08 17:05:33 +08:00
KonstantinKondrashov
1f9260d790
all: Apply new version logic (major * 100 + minor)
2022-11-03 08:36:23 +00:00
Cao Sen Miao
2c9bb4eb7d
spi_flash: Support select flash mode automatically at run time(Quad flash or Octal flash)
2022-10-18 11:25:35 +08:00
wuzhenghui
1c820b0a6d
esp32c6: add bootloader support
2022-09-26 20:24:52 +08:00
Cao Sen Miao
0de699532d
bootloader_flash: Some bootloader flash functions are not put in IRAM
2022-08-29 17:24:05 +08:00
songruojing
304a8f142d
esp32c6: introduce the target
...
Add esp32c6 target to tools and Kconfig
Create directories and files that are essential for `idf.py --preview set-target esp32c6`
2022-08-19 11:13:02 +08:00
Cao Sen Miao
ec6a56ed0c
spi_flash: re-enable the HPM mode on several XMC chips
2022-07-22 09:54:56 +08:00
KonstantinKondrashov
0f8ff5aa15
efuse: Adds major and minor versions and others
2022-07-05 14:38:27 +08:00
Cao Sen Miao
a690a87829
spi_flash: Remove legacy spi_flash drivers
2022-07-01 11:01:34 +08:00
Cao Sen Miao
6589daabb9
MMU: Add configurable mmu page size support on ESP32C2
2022-06-08 19:34:31 +08:00
Cao Sen Miao
6a2d3509dc
spi_flash: Making XMC flash works more stable when brownout detected
2022-06-02 10:38:55 +08:00
Cao Sen Miao
4418a855ba
spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2
2022-04-26 15:22:37 +08:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Armando (Dou Yiwen)
6ed3ffbbf1
Merge branch 'refactor/remove_redundant_rom_cache_dependency' into 'master'
...
cache: remove redundant rom cache dependency in bootloader
Closes IDF-4523
See merge request espressif/esp-idf!17077
2022-03-12 10:11:39 +08:00
Armando
c1cbd7bbf6
cache/mmu: implememnt cache and mmu hal APIs in bootloader
2022-03-11 22:43:11 +08:00
Cao Sen Miao
8dce0cbf6b
spi_flash: Fix bug that in bootloader dummy is 0 when mosi is 0
2022-03-09 18:49:34 +08:00
Cao Sen Miao
85dd785d8d
spi_flash: Building a framework to enable HPM when flash works under high speed mode
2022-03-09 18:49:34 +08:00
laokaiyao
cf049e15ed
esp8684: rename target to esp32c2
2022-01-19 11:08:57 +08:00