esp32c2: Support riscv floating-point library selection

This commit is contained in:
Wu Zheng Hui
2022-05-08 17:57:40 +08:00
committed by morris
parent 03aeac1dde
commit 0580d68b69
5 changed files with 32 additions and 2 deletions

View File

@@ -22,3 +22,7 @@ config ESP_ROM_HAS_RETARGETABLE_LOCKING
config ESP_ROM_GET_CLK_FREQ
bool
default y
config ESP_ROM_HAS_RVFPLIB
bool
default y

View File

@@ -11,3 +11,4 @@
#define ESP_ROM_UART_CLK_IS_XTAL (1) // UART clock source is selected to XTAL 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