xiaoxiang781216 commented on code in PR #17011: URL: https://github.com/apache/nuttx/pull/17011#discussion_r2687052964
########## boards/arm/mps/mps2-an500/include/board.h: ########## @@ -33,6 +33,12 @@ * Pre-processor Definitions ****************************************************************************/ +#warning "CONFIG_BOARD_LOOPSPERMSEC is set to 0 to prevent CI build errors." \ Review Comment: e.g. here: https://github.com/apache/nuttx/blob/master/drivers/timers/arch_alarm.c#L37. Since arch_alarm just use this magic number in the very early boot phase, it's better to adjust ONFIG_BOARD_LOOPSPER100USEC to non zero value if CONFIG_BOARD_LOOPSPERMSEC is zero to make the boards which use arch_timer/arch_alarm work. This is also the reason why sim target can boot even CONFIG_BOARD_LOOPSPERMSEC equals zero. -- 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]
