driver: systimer: increase esp32c3 tick resolution
hal_espressif systimer HAL calls are based on 1MHz reference. This changes systimer driver to allow max clocking reference of 16MHz and increases soc tick resolution by reducing min delay interval. This also sets all ESP32-C3 socs to 16MHz hardware cycles reference. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
691322a495
commit
cff71c8d2b
6 changed files with 13 additions and 8 deletions
|
@ -3,7 +3,6 @@
|
|||
CONFIG_BOARD_ESP32C3_DEVKITM=y
|
||||
CONFIG_SOC_ESP32C3=y
|
||||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
CONFIG_BOARD_ICEV_WIRELESS=y
|
||||
CONFIG_SOC_ESP32C3=y
|
||||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
CONFIG_BOARD_XIAO_ESP32C3=y
|
||||
CONFIG_SOC_ESP32C3=y
|
||||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=1000000
|
||||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue