From fe70172a35abfbf468a1fac7f1d84d3d41e9e4b4 Mon Sep 17 00:00:00 2001 From: jiangguangming Date: Wed, 2 Nov 2022 14:06:56 +0800 Subject: [PATCH] esp_rom: update esp32c6 rom caps 1. esp32c6 rom support ESP_ROM_HAS_HAL_WDT 2. esp32c6 rom support ESP_ROM_HAS_HAL_SYSTIMER --- components/esp_rom/esp32c6/Kconfig.soc_caps.in | 16 ++++++++++++---- components/esp_rom/esp32c6/esp_rom_caps.h | 4 +++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/components/esp_rom/esp32c6/Kconfig.soc_caps.in b/components/esp_rom/esp32c6/Kconfig.soc_caps.in index abb7f8fe10..937fc2e2c7 100644 --- a/components/esp_rom/esp32c6/Kconfig.soc_caps.in +++ b/components/esp_rom/esp32c6/Kconfig.soc_caps.in @@ -31,6 +31,18 @@ config ESP_ROM_GET_CLK_FREQ bool default y +config ESP_ROM_HAS_RVFPLIB + bool + default y + +config ESP_ROM_HAS_HAL_WDT + bool + default y + +config ESP_ROM_HAS_HAL_SYSTIMER + bool + default y + config ESP_ROM_HAS_HEAP_TLSF bool default y @@ -39,10 +51,6 @@ config ESP_ROM_HAS_LAYOUT_TABLE bool default y -config ESP_ROM_HAS_RVFPLIB - bool - default y - config ESP_ROM_HAS_SPI_FLASH bool default y diff --git a/components/esp_rom/esp32c6/esp_rom_caps.h b/components/esp_rom/esp32c6/esp_rom_caps.h index 4305caa9a0..ffdabb66bc 100644 --- a/components/esp_rom/esp32c6/esp_rom_caps.h +++ b/components/esp_rom/esp32c6/esp_rom_caps.h @@ -13,7 +13,9 @@ #define ESP_ROM_USB_SERIAL_DEVICE_NUM (3) // UART uses USB_SERIAL_JTAG port in ROM. #define ESP_ROM_HAS_RETARGETABLE_LOCKING (1) // ROM was built with retargetable locking #define ESP_ROM_GET_CLK_FREQ (1) // Get clk frequency with rom function `ets_get_cpu_frequency` +#define ESP_ROM_HAS_RVFPLIB (1) // ROM has the rvfplib +#define ESP_ROM_HAS_HAL_WDT (1) // ROM has the implementation of Watchdog HAL driver +#define ESP_ROM_HAS_HAL_SYSTIMER (1) // ROM has the implementation of Systimer HAL driver #define ESP_ROM_HAS_HEAP_TLSF (1) // ROM has the implementation of the tlsf and multi-heap library #define ESP_ROM_HAS_LAYOUT_TABLE (1) // ROM has the layout table -#define ESP_ROM_HAS_RVFPLIB (1) // ROM has the rvfplib #define ESP_ROM_HAS_SPI_FLASH (1) // ROM has the implementation of SPI Flash driver