Skip to content
Commit 4ca586e6 authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

arch: xtensa: Use Zephyr configuration options



Unconditionally use CONFIG_SIMULATOR_XTENSA to determine if XT_SIMULATOR
or XT_BOARD should be defined.

If CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC, also define XT_CLOCK_FREQ.  This
isn't ideal as the clock frequency might be changed in runtime and this
effectively makes it a constant.

Until we can control the clock frequency in runtime, this will suffice.

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent d58d5d12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment