Files
Ed Mooring 30af011301 FreeRTOS: fix sleep and timestamp handling
libmetal's libmetal_sleep_usec() takes a sleep time in micro-seconds.
The FreeRTOS function underlying it takes a sleep time in task ticks.
This was not properly corrected for, resulting in sleep times that
were off by an order of magnitude. The test code attempted to
correct for this as well, in the same wrong way.

Lastly, the metal_get_timestamp() function returned a value in
task ticks alone. This is a configuration dependent value.

This patch changes all three places to use microseconds for the
input and output values.

Signed-off-by: Ed Mooring <ed.mooring@linaro.org>
2020-10-15 11:26:36 +02:00
..
2020-04-08 17:07:02 +02:00
2020-09-07 10:29:31 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2019-08-01 10:42:53 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00
2020-04-08 17:07:02 +02:00