|
|
@@ -65,4 +65,20 @@ menu "Hardware Abstraction Layer (HAL) and Low Level (LL)"
|
|
|
default 4 if HAL_LOG_LEVEL_DEBUG
|
|
|
default 5 if HAL_LOG_LEVEL_VERBOSE
|
|
|
|
|
|
+ config HAL_SYSTIMER_HAS_ROM_IMPL
|
|
|
+ bool
|
|
|
+ default y if IDF_TARGET_ESP32C2
|
|
|
+
|
|
|
+ config HAL_SYSTIMER_ROM_IMPL
|
|
|
+ bool "Use systimer HAL implementation in ROM"
|
|
|
+ depends on HAL_SYSTIMER_HAS_ROM_IMPL
|
|
|
+ default y
|
|
|
+ help
|
|
|
+ Enable this flag to use HAL functions from ROM instead of ESP-IDF.
|
|
|
+
|
|
|
+ If keeping this as "n" in your project, you will have less free IRAM.
|
|
|
+ If making this as "y" in your project, you will increase free IRAM,
|
|
|
+ but you will lose the possibility to debug this module, and some new
|
|
|
+ features will be added and bugs will be fixed in the IDF source
|
|
|
+ but cannot be synced to ROM.
|
|
|
endmenu
|