Commit Graph
100 Commits
Author SHA1 Message Date
JiangGuangMingandCursor b7ce090780 feat(docs): update docs for usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
JiangGuangMingandCursor 5099acf16e feat(usb): add usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
JiangGuangMingandCursor 0252365360 feat(esp_hal_usb): add usb suspend wakeup status in ll layer
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
JiangGuangMingandCursor 4625335d93 feat(sleep/usb): support usb as wakeup source from light sleep
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
Jiang Guang Ming cdfbee61a9 fix(mbedtls): make threading implementation exclusive
Ensure the pthread and alternate threading implementations cannot be enabled at the same time.
2026-05-25 11:13:51 +08:00
Jiang Guang Ming 1ac137860c feat(mbedtls): enable PSA threading alt with ROM mbedTLS 2026-05-20 14:15:23 +08:00
Jiang Guang Ming 42674c2f95 fix(mbedtls): support ROM mbedTLS crypto in bootloader 2026-05-20 14:15:22 +08:00
Jiang Guang Ming 48418f58a2 feat(esp_rom): merge rom.mbedtls.ld to rom.mbedtls.eco4.ld 2026-05-20 14:15:22 +08:00
Jiang Guang Ming d827bbd085 docs(mbedtls): update docs with CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL 2026-05-20 14:15:22 +08:00
Jiang Guang Ming d5a712f1f8 feat(mbedtls): enable ROM mbedTLS pytest with esp32c2 rev2.0 2026-05-20 14:15:19 +08:00
Jiang Guang Ming 5d5b8200dc feat(mbedtls): enable ESP32-C2(Rev2.0) ROM crypto for PSA 2026-05-20 14:10:14 +08:00
Jiang Guang Ming 2117d959bf Merge branch 'feat/enable_esp_flash_rom_impl_test_c5_c61' into 'master'
test(spi_flash): Enable esp_flash rom impl test on c5 c61

See merge request espressif/esp-idf!33820
2025-01-14 21:02:05 +08:00
Jiang Guang Ming 642340616e test(spi_flash): Enable esp_flash rom impl test on c5 c61 2025-01-14 17:18:12 +08:00
Jiang Guang Ming 642ffec9ed ci: Enabled https_request example pytest with config esp32c2_rom_mbedtls 2024-12-23 17:30:06 +08:00
Jiang Guang Ming c97b7f68cf fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues 2024-09-29 16:53:30 +08:00
JiangGuangMing ee9a072c82 feat(mbedtls): bringup rom mbedtls feature to formal 2024-09-13 16:40:20 +08:00
Jiang Guang Ming 5bb93061a3 feat(mbedtls): support rom mbedtls threading layer 2024-09-06 19:27:57 +08:00
Jiang Guang Ming d0ec6fc04d fix(mbedtls): MBEDTLS_CMAC_C not effective when MBEDTLS_USE_CRYPTO_ROM_IMPL enabled 2024-09-06 09:55:27 +08:00
Jiang Guang Ming d74ff5224c feat(mbedtls): support ROM mbedtls v3.6.0 on C2 rev2.0(ECO4) 2024-09-06 09:55:27 +08:00
Jiang Guang Ming 4955a199a8 feat(esp_rom): include rom.mbedtls.eco4.ld with C2 rev2.0(ECO4) select 2024-09-06 09:55:27 +08:00
Jiang Guang Ming d7ea73ad66 feat(esp_rom): update esp32c2.rom.mbedtls.eco4.ld 2024-09-06 09:55:27 +08:00
Jiang Guang Ming f3eaa7abae feat(esp_rom): support esp32c2 rev2.0(ECO4) rom systimer hal 2024-09-05 11:04:42 +08:00
Jiang Guang Ming 53272f7d11 feat(esp_rom): Add esp32c2.rom.eco4.ld 2024-09-03 17:50:39 +08:00
Jiang Guang Ming 7d2752dacd feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-03 17:50:39 +08:00
Jiang Guang Ming 6cfd5967e0 Merge branch 'fix/esp_rom_cmakelists_cleanup' into 'master'
fix(esp_rom): cleanup esp_rom CMakeList.txt

See merge request espressif/esp-idf!31756
2024-07-02 17:16:25 +08:00
Jiang Guang Ming 1f2100fc4d fix(esp_rom): cleanup esp_rom CMakeList.txt 2024-06-27 11:45:23 +08:00
Jiang Guang Ming 38560ac0e7 fix(esp_rom): support flash mmap with ROM APIs on c5 2024-06-26 13:07:45 +08:00
Jiang Guang Ming 9ee667eb15 fix(soc): add the missing mmu.h header file on c5 2024-06-26 13:04:22 +08:00
Jiang Guang Ming 5e283e03b8 feat(newlib): add test case for printf float 2024-05-24 17:44:59 +08:00
Jiang Guang Ming e829cee2fd fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG 2024-05-24 17:40:34 +08:00
Jiang Guang Ming 60894143d7 Merge branch 'bugfix/update_esp32p4lp_rom_ld_files' into 'master'
fix(esp_rom): Update esp32p4lp rom ld files

See merge request espressif/esp-idf!28966
2024-03-06 20:40:53 +08:00
Jiang Guang Ming 73c60401af fix(esp_rom): Update esp32p4lp rom ld files 2024-02-28 14:14:05 +08:00
Jiang Guang Ming 3117659bed fix(esp_rom): Update esp32p4 rom caps 2024-02-28 14:13:16 +08:00
Jiang Guang Ming a3efe503e8 docs: Update COPYRIGHT.rst since mbedtls supported in C2 ROM 2023-10-23 13:10:44 +08:00
Jiang Guang Ming ff17d16821 docs: add the description of CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL 2023-10-23 13:10:44 +08:00
Jiang Guang Ming e882782f0d feat(mbedtls): add new option CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for mbedtls pytest 2023-10-23 13:10:44 +08:00
Jiang Guang Ming 37ec1cc592 feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM 2023-10-23 13:10:44 +08:00
Jiang Guang Ming 5f00b8a4d5 fix(esp32c3): Update esp32c3 chip revision 2023-10-20 11:01:07 +08:00
Jiang Guang Ming d1fbec028c feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720 2023-10-20 11:01:07 +08:00
Jiang Guang Ming 7d0c434e2c Merge branch 'bugfix/esp32h2_update_desc_ecdsa_workmode' into 'master'
fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE

See merge request espressif/esp-idf!25736
2023-09-05 09:20:22 +08:00
Jiang Guang Ming 89f6c6d999 fix(soc/esp32h2): Update the description of the ECDSA_WORK_MODE 2023-09-05 09:20:21 +08:00
Jiang Guang Ming eaca3316b1 Merge branch 'feature/support_mbedtls_ecp_fixed_point_configurable' into 'master'
feat(mbedtls): support ecp fixed-point multiplication configurable

See merge request espressif/esp-idf!25152
2023-08-08 19:32:05 +08:00
Jiang Guang Ming b73d35d012 docs: add new mbedtls configuration option in optimize size 2023-08-08 14:03:57 +08:00
Jiang Guang Ming 3f2746688c feat(mbedtls): support ecp fixed-point multiplication configurable 2023-08-08 14:03:57 +08:00
Jiang Guang Ming 01b71b0978 fix(mbedtls): sha test will fail when run twice 2023-07-13 00:00:16 -07:00
Jiang Guang Ming 695c7ed793 Merge branch 'bugfix/update_esp_rom_include' into 'master'
fix(esp_rom): remove unsupported rom headers

See merge request espressif/esp-idf!24713
2023-07-12 15:16:07 +08:00
Jiang Guang Ming 67c3334b4a fix(esp_rom): remove unsupported rom headers 2023-07-11 05:09:34 -07:00
Jiang Guang Ming 943fe875eb Merge branch 'feature/support_esp_flash_rom_impl_test_on_c6_h2' into 'master'
spi_flash: support esp_flash rom impl test on c6 and h2

See merge request espressif/esp-idf!24037
2023-06-08 09:28:55 +08:00
Jiang Guang Ming d476c4338e spi_flash: support esp_flash rom impl test on c6 and h2 2023-06-02 16:56:46 +08:00
jiangguangming 0d0fa7bda2 esp_rom: fix rom layout issues 2023-05-23 17:04:10 +08:00
Jiang Guang Ming 11062e45fb Merge branch 'feature/spi_flash_remove_unnecessary_header_includes' into 'master'
spi_flash: remove unnecessary header includes in test_app

See merge request espressif/esp-idf!23844
2023-05-22 14:50:50 +08:00
jiangguangming 8c075ea61f spi_flash: remove unnecessary header includes in test_app 2023-05-19 11:28:50 +08:00
Jiang Guang Ming a32699c2a7 Merge branch 'feature/support_flash_mmap_pytest_c6_h2' into 'master'
spi_flash: support flash mmap pytest c6 h2

Closes IDF-7009

See merge request espressif/esp-idf!22935
2023-03-28 14:02:03 +08:00
Jiang Guang Ming a06afc8d91 doc: remove esp32h2 or esp32c6: - Flash MMAP driver isn't ready in Chip-ROM 2023-03-27 00:30:21 -07:00
Jiang Guang Ming e8e58f57a8 spi_flash: support flash mmap pytest on C6 and H2 2023-03-27 00:22:58 -07:00
Jiang Guang Ming fc9538c63d Merge branch 'feature/add_more_pytest_config_to_flash_mmap' into 'master'
flash mmap: more config options for flash mmap test app

See merge request espressif/esp-idf!21991
2023-03-08 13:44:29 +08:00
jiangguangming 87f2eb9e2a esp_rom: put rom cache related functions to cache.h 2023-03-07 14:51:24 +08:00
jiangguangming 91b86f55d5 esp_system: use ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE instead of IDF_TARGET_XXX 2023-03-06 20:32:04 +08:00
jiangguangming 344d30c18e esp_rom: add macro ESP_ROM_NEEDS_SET_CACHE_MMU_SIZE for S3/C3/C2/C6/H2/H4 2023-03-06 19:47:18 +08:00
Jiang Guang Ming 5414eda027 flash mmap: disable mmap into instruction address when SPI_FLASH_ROM_IMPL enabled 2023-03-06 19:47:18 +08:00
jiangguangming 232da4ca72 flash mmap: more config option for flash mmap test app 2023-03-06 19:47:15 +08:00
Jiang Guang Ming 3556fe9326 spi_flash: enable spi flash cache test on c6 h2 2023-03-04 07:23:59 -08:00
Jiang Guang Ming 7d25e3853c Merge branch 'bugfix/update_esp_rom_newlib_time_c6_h2' into 'master'
update esp rom newlib-time on c2 c6 and h2

See merge request espressif/esp-idf!22142
2023-02-06 15:36:04 +08:00
Jiang Guang Ming 851c10aded Merge branch 'bugfix/fix_typo_naming_of_flash_multi' into 'master'
ci: fix typos tag naming of all flash_multi

See merge request espressif/esp-idf!22181
2023-02-01 23:46:34 +08:00
jiangguangming b0fa18d290 ci: fix typos tag naming of all flash_multi 2023-02-01 08:46:48 +08:00
jiangguangming 5edbd290a0 esp_rom: remove esp32h2.rom.rvfp.ld 2023-01-29 16:40:35 +08:00
jiangguangming 4731d4322e esp_rom: remove newlib-time.ld from ROM built with 64-bit time_t 2023-01-29 16:37:13 +08:00
Jiang Guang Ming fe3e54eb70 Merge branch 'bugfix/esp_rom_wdt_linker_issue' into 'master'
esp_rom: fix esp_rom_wdt linker issue

See merge request espressif/esp-idf!22099
2023-01-20 14:59:03 +08:00
jiangguangming a14c2c298c esp_rom: fix esp_rom_wdt linker issue 2023-01-20 13:03:02 +08:00
jiangguangming 0f5990b1f2 docs: add wake stub example link to deep-sleep-stub.rst 2023-01-10 17:03:54 +08:00
jiangguangming a367ab4b76 ld: fix rtc.data rtc.bss section issues
1. rtc.data section: should include sbss srodata in rtc_wake_stub*.*
2. rtc.bss section: move rtc .bss .bss.* from rtc.data to rtc.bss
2023-01-10 17:03:54 +08:00
jiangguangming f74a43d002 use LL function to get wakeup cause 2023-01-10 17:03:54 +08:00
jiangguangming 4b4491e736 rtc_time.c: simplify the rtc_time_get with LL function 2023-01-10 17:03:54 +08:00
jiangguangming f95ccb09f2 deep sleep example: typo corrected in readme 2023-01-10 17:03:54 +08:00
jiangguangming 0869f785f2 add pytest for example deep sleep wake stub 2023-01-10 17:03:54 +08:00
jiangguangming 51ec91c637 add example deep sleep wake stub 2023-01-10 17:03:50 +08:00
jiangguangming cceccb4ed9 hal: add rtc_cntl LL function for wake stub 2023-01-10 16:09:49 +08:00
Jiang Guang Ming 8464186e67 Merge branch 'bugfix/update_esp_rom_rtc_header' into 'master'
update esp rom rtc header

See merge request espressif/esp-idf!21802
2022-12-29 18:16:13 +08:00
jiangguangming fe2984a52d esp_hw_support: support riscv call 2022-12-28 17:35:12 +08:00
jiangguangming 42144a7e45 soc: H4/H2/C6 support SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY 2022-12-28 17:35:07 +08:00
jiangguangming 626fb5d426 esp_rom: update H4/H2/C2/C6 rom rtc.h 2022-12-28 17:06:20 +08:00
Jiang Guang Ming 947c112233 Merge branch 'bugfix/update_esp_rom_gpio_header' into 'master'
esp_rom: update rom gpio.h

Closes IDFGH-8773

See merge request espressif/esp-idf!21268
2022-12-14 18:47:18 +08:00
jiangguangming 7c0c5481c8 esp_rom: update rom gpio.h
Closes https://github.com/espressif/esp-idf/issues/10205
2022-12-14 15:14:38 +08:00
Jiang Guang Ming 454aeb3a48 Merge branch 'feature/add_new_caps_for_rom_has_regi2c_bug' into 'master'
esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps

See merge request espressif/esp-idf!21418
2022-12-06 16:04:21 +08:00
Jiang Guang Ming 09b09fdb48 Merge branch 'bugfix/update_esp_psram_s2_s3_kconfig_description' into 'master'
esp_psram: update esp_psram s2/s3 Kconfig description

See merge request espressif/esp-idf!21424
2022-12-06 02:23:17 +08:00
jiangguangming d65913d279 esp_psram: update esp_psram s2/s3 Kconfig description 2022-12-05 15:07:29 +00:00
Jiang Guang Ming ad3693ca97 Merge branch 'feature/update_esp32h2_rom_caps' into 'master'
esp_rom: update esp32h2 rom caps

See merge request espressif/esp-idf!21373
2022-12-05 10:20:47 +08:00
jiangguangming 7db7269a92 esp_rom: patch systimer_hal_init/deinit for esp32h2 rom 2022-12-04 11:23:30 +08:00
jiangguangming f9b6e25b55 esp_rom: update CMakeList.txt 2022-12-04 11:23:30 +08:00
jiangguangming 9e3ba8d061 esp_rom: update esp32h2 rom caps 2022-12-04 11:23:30 +08:00
jiangguangming 66a0cedf5a esp_rom: add ESP_ROM_HAS_REGI2C_BUG in rom caps 2022-12-03 21:48:57 +08:00
Jiang Guang Ming 0c4d5cfc51 Merge branch 'bugfix/update_esp_rom_lldesc_header' into 'master'
esp_rom: remove lldesc_xxx definitions since no actual function bodies

Closes IDFGH-8772

See merge request espressif/esp-idf!21289
2022-11-30 21:18:07 +08:00
jiangguangming 86126b83fa esp_rom: remove lldesc_xxx definitions since no actual function bodies
Closes https://github.com/espressif/esp-idf/issues/10204
2022-11-28 11:27:19 +08:00
jiangguangming 08fd77a09a move {target}/rom/miniz.h to a common miniz.h
- Move {target}/rom/miniz.h to common miniz.h
- Add ESP_ROM_HAS_MZ_CRC32 for ESP32/S2/S3/C3/H4
- Alias mz_crc32 to crc32_le if chips not support ESP_ROM_HAS_MZ_CRC32

Closes https://github.com/espressif/esp-idf/issues/10177
2022-11-15 15:39:39 +08:00
Jiang Guang Ming 435e0553b6 Merge branch 'bugfix/2nd_bootloader_custom_uart1_print_issue' into 'master'
bootloader_support: fix uart1 no printing in the 2nd bootloader stage

See merge request espressif/esp-idf!20935
2022-11-11 00:06:15 +08:00
jiangguangming 618dfaa67a esp_rom: add rom api esp_rom_uart_set_as_console for riscv chips 2022-11-10 16:57:28 +08:00
jiangguangming 8f807d8964 bootloader_support: fix uart1 no printing in the 2nd bootloader stage 2022-11-10 16:24:26 +08:00
jiangguangming 15c8f296f4 esp_rom: move esp_rom_spiflash_write_disable to esp32c6.rom.ld 2022-11-02 08:14:58 -07:00
jiangguangming a8df72745b esp_rom: esp32c6 rom newlib support normal-formatting version 2022-11-02 08:14:52 -07:00
jiangguangming 14e974fd44 esp_rom: esp32c6 support spiflash driver rom implementation 2022-11-02 08:11:49 -07:00