When both MCUBoot and application run, systimer is initialized twice. As a consequence, application freezes as systimer new initialization conflicts with previous. This PR adds the systimer clock disable function, that shall be called before mcuboot jump to application, making sure it will work as expected. Fixes #74189 Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
15 lines
532 B
Text
15 lines
532 B
Text
# Copyright (c) 2014-2015 Wind River Systems, Inc.
|
|
# Copyright (c) 2016 Cadence Design Systems, Inc.
|
|
# Copyright (c) 2019 Intel Corp.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ESP32_SYS_TIMER
|
|
bool "ESP32 sys-timer support (ESP32Cx series)"
|
|
depends on SOC_SERIES_ESP32C3
|
|
default y
|
|
select TICKLESS_CAPABLE
|
|
select TIMER_HAS_64BIT_CYCLE_COUNTER
|
|
select SYSTEM_TIMER_HAS_DISABLE_SUPPORT
|
|
help
|
|
This option enables the system timer driver for the Espressif ESP32Cx
|
|
and provides the standard "system clock driver" interface.
|