PetteriAimonen opened a new pull request, #10816:
URL: https://github.com/apache/nuttx/pull/10816

   ## Summary
   
   Fix some Kconfig dependency problems from #10063.
   
   CONFIG_SCHED_CPULOAD_EXTCLK doesn't actually require tickless mode. As long 
as the platform provides external call to nxsched_process_cpuload(), it will 
work in either tickless or ticking mode.
   Removed Kconfig dependency.
   
   Instead, CONFIG_SCHED_CPULOAD_SYSCLK does require ticking mode to work, as 
documented in CONFIG_SCHED_CPULOAD help text.
   Added the dependency to Kconfig also.
   
   ## Impact
   
   Fixes breaking of configurations using `CONFIG_SCHED_CPULOAD_EXTCLK`.
   
   Automatically selects `SCHED_CPULOAD_EXTCLK` if tickless mode is enabled and 
selection was previously `SCHED_CPULOAD_SYSCLK`. It will behave the same: if 
there is no user code calling `nxsched_process_cpuload()`, cpu load will not be 
updated. But now the dependency is visible from Kconfig also.
   
   ## Testing
   
   Only CI build.


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