Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
wait_us without usticker #9896
Some targets (Mainly PSA secure targets running TF-M) have no usticker.
Depends on #9812
Pull request type
Some targets have no usticker. Fallback to use busy loop
kjbracey-arm left a comment
If you are actually working on an M33, it would be awesome if you could confirm the timing.
I was about to suggest using the
Might have to use a stopwatch...
The greentea tests are running in the non-secure part which has usticker.
Okay, tolerances are set very high (45%) on the test as checked in - to allow for flash wait states etc, so a "pass" isn't tight enough to show whether the scaling number is definitely correct. If you just reduce those numbers right down to a couple of percent, you should be able to confirm how tight it is - tell if the 5 cycles is correct.
deepikabhavnani left a comment •
Change looks good, only concern was for M33 which is fixed in LPC PR.
We might need to document somewhere that this change is only for secure side and US_TICKER is still needed for all targets