Skip to content
Commit 4cf1d438 authored by Alexandre Bourdiol's avatar Alexandre Bourdiol Committed by Ioannis Glaropoulos
Browse files

arch: arm: aarch32:cortex_m: timing.c: cortex M7 may need DWT unlock



On Cortex M7, we need to check the optional presence of
Lock Access Register (LAR) which is indicated in
Lock Status Register (LSR).
When present, a special access token must be written to unlock DWT
registers.

Signed-off-by: default avatarAlexandre Bourdiol <alexandre.bourdiol@st.com>
parent e0b35dd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment