Commit Graph
84 Commits
Author SHA1 Message Date
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
jiangguangming a9f8b20431 spi_flash: enable ESP32C2 SPI_FLASH_ROM_IMPL 2022-05-05 17:41:11 +08:00
jiangguangming 63ac5e4a99 mmu: add ll func used to invalidate the mmu entry 2022-04-27 11:35:07 +08:00
Jiang Guang Ming 453146fe75 Merge branch 'bugfix/update_esp32c2_soc_memory_addr' into 'master'
soc: update memory address for esp32c2

See merge request espressif/esp-idf!17085
2022-02-22 10:23:35 +00:00
jiangguangming 0894a689cc esptool: update submodule esptool 2022-02-15 15:14:42 +08:00
jiangguangming b509d9d2ac tools: update esp32c2_data_info_yaml 2022-02-15 15:14:42 +08:00
jiangguangming 0265a86361 soc: update memory address for esp32c2 2022-02-15 15:14:42 +08:00
jiangguangming f7137254e9 flash_mmap: register flash2spiram info to ROM 2021-09-02 02:27:40 +08:00
jiangguangming ae04518a32 spi_flash: make spiflash compatible with ESP32C3 and ESP32S3 ROM 2021-03-12 17:31:13 +08:00
jiangguangming 47f469b238 heap: support aligned_alloc for retention memory on ESP32-C3 2021-01-13 14:41:22 +08:00
jiangguangming 867255bbab efuse: Add support ESP32-C3
Updated:
- CSV eFuse table
- Kconfig
- efuse_table_gen.py
- UTs
- espefuse.py

efuse/c3: Fix the burn order of BLOCKs (MAX->0)

efuse/c3: Support efuse API with keys, protection, purpose bits

tool/ci: Adds test_efuse_table_on_host for esp32s3 and esp32c3
2020-12-23 18:39:18 +08:00
jiangguangming 28145e0894 support flash instr and rodata copy to SPIRAM 2020-09-22 15:15:03 +08:00
jiangguangming 052f88f1d1 flash_mmap: restore interrupt and cache before err return 2020-09-21 07:37:50 +00:00
jiangguangming 61e341e791 flash_mmap: can mmap after get enough free MMU pages 2020-09-21 07:37:50 +00:00
jiangguangming 92eae20bca add new config items for spiflash ci unit-test 2020-05-26 15:23:38 +08:00
jiangguangming b25ccde45f flash mmap: fix bug for cache2phys and phys2cache on esp32s2 2020-05-26 15:14:23 +08:00
jiangguangming 1b31191753 fix bug for cmake build system
The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.
2019-09-11 11:00:19 +08:00
jiangguangming 4ef4b29c74 Reorganize the memory to maximize contiguous DRAM
1. Fix bug for variable sdkconfig_header in CMakeLists.txt
2. Modify the load address of bootloader
3. Modify the load address of application program
2019-09-06 16:18:42 +08:00
jiangguangming c057c141eb Fix bug for reserved memory regions
1. Release 16KB memory of reserved regions to heap
2. Modify the dram_seg address of bootloader to 0x3FFF8000, size is 16K
2019-09-05 19:00:14 +08:00