jiayadong8995 commented on PR #16662: URL: https://github.com/apache/nuttx/pull/16662#issuecomment-3043290983
> @jiayadong8995 maybe the crash is happening because you are calling usbserial write before the USB serial is enabled. I think it could happen when CONFIG_DEBUG is enabled When I reset to the commit `0a71cbe542`, the NuttX crash does not occur. Enabling the `SCHED_BACKTRACE` option also prevents the crash. However, the system crashes immediately upon flashing the compiled code in other cases, which is quite strange. Notably, the focus of this PR is not on the crash issue but on syslog output. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org