lywind commented on issue #12687: URL: https://github.com/apache/nuttx/issues/12687#issuecomment-2230911098
> @gneworld probably it was caused by some function returning -1 to LR, what explain this 0xFFFFFFFF value. > > Hi @anchao could you please help? I think you added support for it, right? The reason of the 0xFFFFFFFF being on the stack is that the compiler considers the __start as a normal function and pushes LR in the stack。  And when the core boots from reset, the core will set LR to 0xFFFFFFFF.  B1.5.5 of Arm®v7-M Architecture Reference Manual -- 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]
