Song Ruo Jing
1dfa4011f0
Merge branch 'feature/esp32p4_clock_support' into 'master'
...
feat(clk): add basic clock support for esp32p4
Closes IDF-7526 and IDF-7569
See merge request espressif/esp-idf!27950
2023-12-29 12:34:12 +08:00
Darian
1da17fce18
Merge branch 'refactor/rename_hal_usb_phy_to_fsls' into 'master'
...
USB HAL: Change name of usb_phy HAL files to usb_fsls_phy
See merge request espressif/esp-idf!28158
2023-12-29 11:42:11 +08:00
Song Ruo Jing
7f2b85b82b
feat(clk): add basic clock support for esp32p4
...
- Support CPU frequency 360MHz
- Support SOC ROOT clock source switch
- Support LP SLOW clock source switch
- Support clock calibration
2023-12-29 00:37:26 +08:00
Darian Leung
d74b4f6730
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2023-12-28 11:48:54 +08:00
Darian Leung
b26472af29
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2023-12-28 11:48:34 +08:00
laokaiyao
fcc9293f66
change(esp32c5): update soc files for esp32c5 beta3
2023-12-28 10:23:15 +08:00
Marius Vikhammer
1606d60c07
Merge branch 'ci/enable_bootloader_sup_tests' into 'master'
...
change(bootloader-support): enable tests for P4 and QEMU
Closes QEMU-149 and IDF-8114
See merge request espressif/esp-idf!28018
2023-12-20 10:59:47 +08:00
Marius Vikhammer
5b36225162
change(bootloader): enable tests for P4 and QEMU
2023-12-20 09:27:18 +08:00
harshal.patil
42943845e4
feat(bootloader_support): Encrypt only the app image instead of the whole partition
...
Currently, when flash encryption is enabled, the whole partition gets encrypted.
This can be optimised by encrypting only the app image instead of encrypting the whole partition.
Closes https://github.com/espressif/esp-idf/issues/12576
2023-12-18 17:10:17 +05:30
harshal.patil
cb169cb02f
fix(bootloader_support): Fix image_length calculation when secure boot v1 is enabled
...
Fixed the value of the image_length field of the image metadata populated by esp_image_verfiy()
to include the size of the signature sector when Secure Boot V1 is enabled.
2023-12-18 17:08:11 +05:30
harshal.patil
fe293dfd83
feat(bootloader_support): Make esp_secure_boot_verify_sbv2_signature_block()
function public
...
Closes https://github.com/espressif/esp-idf/issues/12717
2023-12-11 18:50:55 +05:30
Mahavir Jain
25c2cc5f03
Merge branch 'feature/esp32p4_enable_flash_encryption' into 'master'
...
Enable Flash Encryption for ESP32P4
Closes IDF-7545
See merge request espressif/esp-idf!26959
2023-12-05 21:42:18 +08:00
Aditya Patwardhan
a84234c23f
feat(security): Enable Flash encryption for ESP32P4
2023-12-05 13:10:55 +05:30
Darian
cc34c4fc08
Merge branch 'contrib/github_pr_12481' into 'master'
...
Many places in the ESP_SYSTEM are using CONFIG_FREERTOS_UNICORE instead of CONFIG_ESP_SYSTEM_SINGLE_CORE_MODE (GitHub PR)
Closes IDFGH-11333
See merge request espressif/esp-idf!27435
2023-12-01 19:33:19 +08:00
Kevin (Lao Kaiyao)
cd9d321062
Merge branch 'feature/introduce_target_esp32c5' into 'master'
...
feat(esp32c5): introduce target esp32c5 (stage 1)
See merge request espressif/esp-idf!27299
2023-11-29 20:31:34 +08:00
laokaiyao
7fa0d61c35
refactor(build_test_rules): invert the logic to avoid involving preview target
...
Only set enable condition for the app will introduce the preview target in README.md
Replace with disable logic instead
2023-11-28 16:14:17 +08:00
laokaiyao
bb0879b3f8
feat(esp32c5): introduce target esp32c5
2023-11-28 16:14:17 +08:00
fl0wl0w
d149c1b26f
Use configuration option instead of in components not related to FreeRTOS
...
Mergeshttps://github.com/espressif/esp-idf/pull/12481
2023-11-28 07:49:20 +00:00
Marius Vikhammer
b96f93b879
ci(system): fixed and enabled misc system build tests
2023-11-28 14:00:16 +08:00
wuzhenghui
0ab0d2182e
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-11 13:00:55 +08:00
Song Ruo Jing
46d33e46ef
fix(console): enable to select UART1 port for console output
...
This feature was only enabled for esp32, esp32s2, esp32s3 previously.
Now, enabling this feature for all targets.
2023-11-09 22:32:49 +08:00
Xiao Xufeng
cc28674686
refactor(bootloader_flash): make cache enable more obvious
2023-11-01 02:01:45 +08:00
Xiao Xufeng
28f19cf0e6
fix(ram_app): Fixed issue ram_app can't use the SPI Flash
...
1st bootloader won't help to initialize the MSPI & cache properly as it
usually do when loading from flash. And the ram app doesn't have valid
headers.
Since there is no enough space in 2nd bootloader, we replace the
`bootloader_init_spi_flash` in the ram_app (!pure_ram_app), with an
customized alternative of it for the ram_app.
This alternative helps to initialize the MSPI & cache properly, without
the help of 1st bootloader or image headers.
2023-11-01 02:01:45 +08:00
Ivan Grokhotkov
cbb6fa0507
Merge branch 'bugfix/esp32s3_usb_otg_console_without_efuse' into 'master'
...
fix(console): switch USB PHY to OTG when OTG is used for console
Closes IDFGH-11281
See merge request espressif/esp-idf!26653
2023-10-27 20:09:09 +08:00
Ivan Grokhotkov
a8e175364a
fix(console): switch USB PHY to OTG when OTG is used for console
...
On ESP32-S3 with the default efuse settings, USB PHY is connected to
the USB_SERIAL_JTAG peripheral. If USB OTG peripheral is used for the
console, we need to additionally switch the PHY to USB OTG, otherwise
we won't get any output.
Closes https://github.com/espressif/esp-idf/issues/12437
2023-10-24 13:29:15 +02:00
Xiao Xufeng
1f5fb3f921
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart
2023-10-24 10:38:08 +08:00
Erhan Kurubas
6cd8030160
Merge branch 'check_debug_aware_config' into 'master'
...
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality
Closes IDF-5881
See merge request espressif/esp-idf!26533
2023-10-21 15:20:26 +08:00
Armando
05c147c3e8
fix(rng): only build bootloader_random apis once
2023-10-19 16:15:52 +08:00
Zim Kalinowski
fa1a3ce0b5
Merge branch 'refactor/components_linux_compatible' into 'master'
...
Exclude all currently incompatible components from Linux build
Closes IDF-8318 and IDF-5996
See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00
Erhan Kurubas
2d55270006
fix(esp_hw_support): re-enable CONFIG_ESP_DEBUG_OCDAWARE functionality
2023-10-18 08:48:45 +02:00
Mahavir Jain
2407813a67
Merge branch 'feature/update_esp32c6-h2_apm_api' into 'master'
...
apm: updated APM HAL/LL APIs.
See merge request espressif/esp-idf!26368
2023-10-18 12:26:38 +08:00
Sachin Billore
c106f5caf6
apm: updated APM HAL/LL APIs.
2023-10-17 18:20:36 +05:30
Armando
17063b51e0
feat(soc): added flash operation range macros in ext_mem_defs.h
2023-10-16 17:19:04 +08:00
Jakob Hasse
548022fbe6
refactor(linux): excluded all non-Linux components from build
...
* All components which won't build (yet) on Linux are excluded.
This enables switching to Linux in an application without
explicitly setting COMPONENTS to main in the main
CMakeLists.txt.
* ESP Timer provides headers for Linux now
* automatically disabling LWIP in Kconfig if it is not available
doc(linux): brought section
"Component Linux/Mock Support Overview" up to date
2023-10-16 17:06:54 +08:00
Mahavir Jain
eea2536dc4
Merge branch 'feature/conservative_key_revocation_in_secure_boot_v2' into 'master'
...
feat: Add API to verify the bootloader and application image before revoking...
Closes IDF-7078
See merge request espressif/esp-idf!24572
2023-10-16 12:42:49 +08:00
Mahavir Jain
1501aef1b3
Merge branch 'feature/enable_secure_boot_esp32p4' into 'master'
...
feat(secure_boot): add secure boot support for esp32p4
Closes IDF-7544 and IDF-7745
See merge request espressif/esp-idf!26335
2023-10-16 11:07:14 +08:00
Cao Sen Miao
6cea72b76b
fix(ota): Fixed OTA fail on octal flash with 32MB memory,
...
Closes https://github.com/espressif/esp-idf/issues/11903
2023-10-13 12:01:26 +08:00
Harshit Malpani
1df186d4e1
feat: Add API to verify the bootloader and app image
...
Added an API to verify the bootloader and app image before revoking the key in Secure Boot V2.
This will help in preventing the device to be bricked if the bootloader/application cannot be
verified by any other keys in efuse
2023-10-12 14:53:57 +05:30
harshal.patil
f46a93e565
feat(secure_boot): add secure boot support for esp32p4
2023-10-12 10:12:54 +05:30
Adam Múdry
ab1eb37fe8
feat(partition_table): Add read-only partition flag and functionality
2023-10-11 00:01:05 +02:00
gaoxu
4541ad134d
feat(uart): add RCC atomic block to uart/lp-uart peripheral
2023-10-08 10:10:02 +08:00
Harshit Malpani
5d9ebd2473
Merge branch 'bugfix/fix_condition_to_verify_when_no_SB' into 'master'
...
fix(bootloader_support): Fix condition for checking signature in the application
See merge request espressif/esp-idf!26026
2023-09-26 14:38:08 +08:00
Armando (Dou Yiwen)
b58a2ea6a6
Merge branch 'feature/support_cache_p4' into 'master'
...
cache: support cache driver on esp32p4
Closes IDF-7516
See merge request espressif/esp-idf!25490
2023-09-25 15:21:46 +08:00
Harshit Malpani
c19e1b8f72
fix(bootloader_support): Fix condition for SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
...
Fix the condition to verify the image when SECURE_SIGNED_APPS_ECDSA_V2_SCHEME and
SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT are selected.
2023-09-25 12:02:58 +05:30
Armando
ec27891af6
change(cache): swap cache hal arg 'type' and 'level'
2023-09-22 14:19:41 +08:00
Armando
ea38a2e9a4
feat(cache): support cache driver on esp32p4
2023-09-22 14:19:41 +08:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Marius Vikhammer
e58becec0a
feat(esp-system): support reset reasons on P4
2023-09-15 08:11:34 +08:00
Armando
7dace60861
feat(rom): updated to esp32p4 image 12.0.0
2023-09-07 07:01:00 +00:00
Armando (Dou Yiwen)
bdfa91ab66
Merge branch 'change/delete_not_used_mmu_macros' into 'master'
...
mm: delete not used mmu macros and added soc_ prefix
Closes IDF-7686
See merge request espressif/esp-idf!25663
2023-09-06 11:59:03 +08:00