Hello Gustavo!

Good to know you are using NuttX to explore new applications!

This error is a simple stack overflow problem. Applications on NuttX
contain an associated stack with the application task that is usually set
by the Kconfig associated with the application.
Please check
https://github.com/apache/nuttx-apps/blob/master/games/shift/Makefile#L27
for an example.

Probably, the `M_THREE_PLUS` task is the one associated with your
application (and the stack coloration shows that its stack is not enough
for it). Try rising this value ;)

I hope you can find the right value for it with these tips!

Best regards and welcome to NuttX!

Em sáb., 5 de ago. de 2023 às 13:38, Gustavo Soares <
gustavo.felipesoa...@hotmail.com> escreveu:

> Hello everyone!
>
> I'm implementing a new application to Nuttx as my final college project: a
> assembly interpreter webserver. I've finished the code and it is running
> normally on Linux, but when I try to run the app on NuttX the following
> error occours: *dump_stack: ERROR: User Stack pointer is not within the
> stack.*
>
>
>
>
> The last line in the second print is my application status.
>
> Does anyone know what could be causing this problem? Is it possible to
> increase the stack size?
>


-- 
Tiago Medicci Serrano

Embedded Software Engineer
MSc Electronics/Microelectronics
m: +55 (19) 981403886 <+55+(19)+981403886>
e: tiago.medi...@gmail.com
a: Campinas, Brazil
Follow me:
<https://www.linkedin.com/in/tiago-serrano-924458b6>
<https://github.com/tmedicci>

Reply via email to