yf13 commented on PR #15444:
URL: https://github.com/apache/nuttx/pull/15444#issuecomment-2586217611

   @lupyuen, thanks, but I got different test result here:
   
   ```bash
   $ git diff
   --- a/examples/hello/hello_main.c
   +++ b/examples/hello/hello_main.c
   @@ -28,6 +28,7 @@
    
/****************************************************************************
     * Public Functions
     
****************************************************************************/
   +static const char *NAME = "NuttX";
   
    
/****************************************************************************
     * hello_main
   @@ -35,6 +36,6 @@
   
    int main(int argc, FAR char *argv[])
    {
   -  printf("Hello, World!!\n");
   +  printf("Hello, World of %s!!\n", NAME);
      return 0;
    }
   ```
   
   Check with rv-virt:knsh:
   
   ```bash
   $ qemu-system-riscv32 -M virt,aclint=on -semihosting -nographic -kernel nuttx
   nsh> hello
   Hello, World of NuttX!!
   ```
   
   The commit string in uname might be a different story.
   


-- 
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]

Reply via email to