From ddac96976f80470983039cfa99caaa0588275850 Mon Sep 17 00:00:00 2001 From: Erling Rennemo Jellum Date: Thu, 26 Jan 2023 17:49:03 +0100 Subject: [PATCH] Add hi-res timing support for imxrt1170evk --- include/core/platform/lf_zephyr_board_support.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/core/platform/lf_zephyr_board_support.h b/include/core/platform/lf_zephyr_board_support.h index b59144bdb..4c47f5e29 100644 --- a/include/core/platform/lf_zephyr_board_support.h +++ b/include/core/platform/lf_zephyr_board_support.h @@ -65,6 +65,9 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #elif defined(CONFIG_COUNTER_MCUX_CTIMER) #define LF_TIMER DT_NODELABEL(ctimer0) #define LF_ZEPHYR_CLOCK_HI_RES +#elif defined(CONFIG_SOC_MIMXRT1176_CM7) + #define LF_TIMER DT_NODELABEL(gpt2) + #define LF_ZEPHYR_CLOCK_HI_RES #else #warning Using low-res Kernel timer because hi-res Counter timer is not ported yet for this board. #define LF_ZEPHYR_CLOCK_LO_RES