Commit Graph
100 Commits
Author SHA1 Message Date
Jiang Guang Ming 1ad1e36e95 fix(mbedtls): fix ROM mbedTLS threading alt issues 2026-05-19 15:52:31 +08:00
Jiang Guang Ming f8ca72cfe1 fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues 2024-09-30 09:26:22 +08:00
Jiang Guang Ming 0bed1796af feat(esp_rom): support esp32c2 rev2.0(ECO4) rom systimer hal 2024-09-25 12:02:02 +08:00
Jiang Guang Ming ab38da2e62 feat(esp_rom): add esp32c2.rom.eco4.ld 2024-09-25 12:01:26 +08:00
Jiang Guang Ming 05caca8cdd feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-25 11:58:22 +08:00
JiangGuangMing 3bfe43fb68 feat(mbedtls): bringup rom mbedtls feature to formal 2024-09-25 11:52:35 +08:00
Jiang Guang Ming 3340050eae feat(mbedtls): support rom mbedtls threading layer 2024-09-10 10:20:29 +08:00
Jiang Guang Ming d4dea72f24 feat(mbedtls): select MBEDTLS_CMAC_C when MBEDTLS_USE_CRYPTO_ROM_IMPL enabled 2024-09-10 10:20:23 +08:00
Jiang Guang Ming 4c567bd203 feat(mbedtls): support ROM mbedtls v3.6.0 on C2 rev2.0(ECO4) 2024-09-10 10:20:14 +08:00
Jiang Guang Ming 82950845be feat(esp_rom): include rom.mbedtls.eco4.ld with C2 rev2.0(ECO4) select 2024-09-10 10:13:53 +08:00
Jiang Guang Ming 2384b3ac33 feat(esp_rom): update esp32c2.rom.mbedtls.eco4.ld 2024-09-10 10:08:03 +08:00
Jiang Guang Ming d2e04a987b feat(esp_hw_support): Support esp32c2 rev2.0 chip 2024-09-10 10:07:31 +08:00
Jiang Guang Ming afd3333e8d feat(newlib): add test case for printf float 2024-08-01 20:57:28 +08:00
Jiang Guang Ming 677ecf9c69 fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG 2024-08-01 16:24:25 +08:00
Jiang Guang Ming 1be59d080a fix(esp_rom): Update esp32p4lp rom ld files 2024-03-26 11:19:36 +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
jiangguangming fe70172a35 esp_rom: update esp32c6 rom caps
1. esp32c6 rom support ESP_ROM_HAS_HAL_WDT
2. esp32c6 rom support ESP_ROM_HAS_HAL_SYSTIMER
2022-11-02 15:04:21 +08:00
jiangguangming e41f4055ae esp_rom: put rom tlsf patch code in iram by default 2022-10-26 20:41:15 +08:00
jiangguangming 932045c980 esp_rom: add rom tlsf function prototype instead of void * 2022-10-19 17:54:50 +08:00
jiangguangming 7daadc5a92 esp_rom: fix 2nd bootloader custom uart1 baudrate issue 2022-10-18 11:04:01 +08:00
jiangguangming 8774db59f0 esp_rom: remove ESP_ROM_SUPPORT_MULTIPLE_UART 2022-10-14 14:06:40 +08:00
jiangguangming 4c3ce9f21d esp_rom: fix esp32s3 rom ets_printf bug 2022-10-14 11:43:46 +08:00
Jiang Guang Ming 6cfa88ed49 Merge branch 'bugfix/update_esp_rom_caps' into 'master'
esp_rom: update esp_rom_caps.h

See merge request espressif/esp-idf!20565
2022-10-13 06:02:37 +08:00
jiangguangming 0ed7927520 esp_rom: update esp_rom_caps.h 2022-10-12 20:12:56 +08:00
jiangguangming e147629a02 tinyusb: fix typo naming of ACM 2022-09-19 11:49:21 +08:00
jiangguangming b2a1b13958 esp_rom: update esp32c6 rom caps 2022-09-14 10:38:54 +08:00
jiangguangming e0d9220a6e example: peripherals/usb: fix typo naming of local variables 2022-07-20 09:36:24 +08:00
jiangguangming 0e8401e9b0 spi_flash: remove back-compatible with caller function of S3Beta ROM 2022-06-14 11:25:30 +08:00
jiangguangming c7beae1d6a newlib: 64-bits time_t test pass
please keep in mind that don't use nano-foramt printf for 64-bits
2022-05-28 08:52:55 +00:00
jiangguangming 4302e28698 newlib: use newlib nano format default 2022-05-28 08:52:55 +00:00
jiangguangming 9719979e4f UT: add a timeout-tag to make the esp_flash UT ci pass 2022-05-20 16:46:28 +08:00
jiangguangming 42bc0b0643 soc: remove unused MMU related macros 2022-05-20 16:46:28 +08:00
jiangguangming 9c6afee12f flash mmap: abstract R/W MMU table instead of reg access 2022-05-20 16:46:27 +08:00
jiangguangming 6ec373daf5 heap_tlsf: use tlsf IMPL in ESP32C2 ROM 2022-05-05 17:41:11 +08:00