raiden00pl commented on issue #11321:
URL: https://github.com/apache/nuttx/issues/11321#issuecomment-3913212578

   @linguini1 Some applications with very low-power requirements may benefit 
from not having board init executed until absolutely necessary. The user can 
set `CONFIG_BOARD_LATE_INITIALIZE=n` and initialize the peripherals using 
`BOARDIOC_FINALINIT`. 
   
   Let's say:
   
   0. device boot, all board peripherals in reset state and we have to minimize 
CPU operations, 
   1. an external event occurs and device has to do some work,
   2. the device initializes board peripherals required for work,
   3. device does some work,
   4. device resets, starting the cycle from the beginning. 
   
   This seems to me to be the only practical use for not initializing board 
peripherals at boot. By default, peripherals should be disabled after 
initialization, but it is still possible that initialization itself may 
increase current consumption in some extreme cases.


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