Skip to content

Commit

Permalink
Add hi-res timing support for imxrt1170evk
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed Jan 26, 2023
1 parent c8455ba commit ddac969
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/core/platform/lf_zephyr_board_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ddac969

Please sign in to comment.