bigcat-2026 commented on code in PR #21986: URL: https://github.com/apache/nuttx/pull/21986#discussion_r4706135045
########## arch/xtensa/src/esp32s3/esp32s3_cpustart.c: ########## @@ -49,11 +50,17 @@ #include "rom/ets_sys.h" #include "soc/interrupt_core1_reg.h" +#define APPCPU_START_TIMEOUT_MSEC 2000 + +extern int ets_printf(const char *fmt, ...); + /**************************************************************************** * Private Data ****************************************************************************/ static volatile bool g_appcpu_started; +static volatile int g_appcpu_stage; Review Comment: Fixed. Removed the local ets_printf() prototype and the two debug ets_printf() calls. The timeout is now reported with a single serr() line before returning -ETIMEDOUT. -- 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]
