mildsky commented on issue #11163:
URL: https://github.com/apache/nuttx/issues/11163#issuecomment-1806736376

   I didn't add manually, but after I tried to add it, 
`CONFIG_SCHED_CPULOAD_TIMECONSTANT` was properly setted as 2. But, there are 
still some bugs that I can't understand.
   here are my console output.
   ```
   $ make clean
   
   $ ./tools/configure.sh -m sim:nsh                     
   No configuration change.
   
   $ cat .config | grep CONFIG_SCHED_CPULOAD             
   # CONFIG_SCHED_CPULOAD_NONE is not set
   CONFIG_SCHED_CPULOAD_SYSCLK=y
   # CONFIG_SCHED_CPULOAD_EXTCLK is not set
   CONFIG_SCHED_CPULOAD_TIMECONSTANT=2
   
   $ cat .config | grep CONFIG_SCHED_CPULOAD_TIMECONSTANT
   CONFIG_SCHED_CPULOAD_TIMECONSTANT=2
   
   $ make -j8  
   LD:  nuttx
   ld: Undefined symbols:
     _nxsched_process_cpuload_ticks, referenced from:
         _main in nuttx.rel
   clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
   make[1]: *** [nuttx] Error 1
   make: *** [nuttx] Error 2
   ```
   I think that simulator not yet supported on apple silicon machine.
   Thank you.


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