GUIDINGLI commented on PR #8489:
URL: https://github.com/apache/nuttx/pull/8489#issuecomment-1425202319

   @masayuki2009 
   
   Thanks for the reply.
   
   I have tried the CONFIG_SMP_NCPUS=1.
   
   ```
   ligd@Opt:~/platform/mainline/nuttx$ 
   ligd@Opt:~/platform/mainline/nuttx$ uname -a
   Linux Opt 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 
2023 x86_64 x86_64 x86_64 GNU/Linux
   ligd@Opt:~/platform/mainline/nuttx$ 
   ligd@Opt:~/platform/mainline/nuttx$ 
   ligd@Opt:~/platform/mainline/nuttx$ vim .config
   ligd@Opt:~/platform/mainline/nuttx$ 
   ligd@Opt:~/platform/mainline/nuttx$ 
   ligd@Opt:~/platform/mainline/nuttx$ cat .config |grep NCPUS
   CONFIG_SMP_NCPUS=1
   ligd@Opt:~/platform/mainline/nuttx$ 
   ligd@Opt:~/platform/mainline/nuttx$ ./nuttx 
   
   NuttShell (NSH) NuttX-10.4.0
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK  
 USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread N-- Assigned           00000000 066512 
004760   7.1%  CPU0 IDLE
       1     1 --- 255 FIFO     Kthread --- Waiting  Signal    00000000 067504 
004728   7.0%  loop_task
       2     2   0 100 FIFO     Task    --- Running            00000000 067504 
007000  10.3%  nsh_main
   nsh> 
   ```
   
   
   I will find a 18.04 Ubuntu to try this.


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to