Skip to content

Conversation

@LinuxJedi
Copy link
Member

If the STM32 has an RTC, this is used to time the execution of each benchmark item. It was only multiplying hours by 24 to get seconds, so after one hour the amount of seconds went to less than 3600. Therefore the benchmark thought negative time elapsed and would never end.

Testing

Found with a 1 hour run on the wolfDemo prototype board. Tested on that.

If the STM32 has an RTC, this is used to time the execution of each
benchmark item. It was only multiplying hours by 24 to get seconds, so
after one hour the amount of seconds went to less than 3600. Therefore
the benchmark thought negative time elapsed and would never end.
@SparkiDev
Copy link
Contributor

retest this please

@SparkiDev SparkiDev merged commit e763dcc into wolfSSL:master Sep 23, 2025
254 of 255 checks passed
@SparkiDev SparkiDev self-assigned this Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants