- Current time in Zephyr using ARM Qemu board
Re: Current time in Zephyr using ARM Qemu board
toggle quoted messageShow quoted text
On Wed, 18 Oct 2017 at 22:26 Hui Yie Teh <hteh703@...
I am trying to get the current time using the following:
struct tm *info;
time( &rawtime );
info = localtime( &rawtime );
printf("Current local time and date: %s", asctime(info));
However, this is giving me an error on Qemu:
qemu: fatal: Trying to execute code outside RAM or ROM at 0x05252ff4
Is there a reason for this? Also, is there another way to get the current time of the system in Zephyr?
Any help would be much appreciated.
Zephyr-devel mailing list
Join firstname.lastname@example.org to automatically receive all group messages.