fdcavalcanti commented on PR #17204:
URL: https://github.com/apache/nuttx/pull/17204#issuecomment-3410654993
> > How did you test this? Can you share?
>
> @fdcavalcanti In our internal projects, some drivers make extensive use of
the sleep interface. In the nuttx project, I tested 2 configurations: sim/nsh
and sabre-6quad/smp. I also have a simplified test code:
>
> ```
> int main(int argc, FAR char *argv[])
> {
> syslog(1, "Hello, World!!\n");
> nxsched_msleep(1000);
> syslog(1, "Hello, World!!\n");
> nxsched_usleep(1000 * 1000);
> syslog(1, "Hello, World!!\n");
> nxsched_sleep(1);
> syslog(1, "Hello, World!!\n");
> return 0;
> }
> ```
>
> here is output:
>
> ```
> $ qemu-system-arm -semihosting -M sabrelite -m 1024 -smp 4 -nographic
-kernel ./nuttx
>
> NuttShell (NSH) NuttX-10.4.0
> nsh> hello
> [ 1.280000] [CPU1] Hello, World!!
> [ 2.290000] [CPU0] Hello, World!!
> [ 3.300000] [CPU0] Hello, World!!
> [ 4.310000] [CPU0] Hello, World!!
> nsh>
> ```
>
> could you help test the ESP chip? Some replacements may affect the ESP
driver behavior.
I will run our internal CI, please don't merge for a while.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]