Hi Gustavo! I'm glad to know that you were able to run NuttX ;)
Please refer to the official documentation as the most updated source of information regarding NuttX. Although NuttX may have a steeper learning curve, It's an amazing system regarding POSIX compatibility, enabling us to easily port known applications to the system. I hope you enjoy your path! Best regards, Em seg., 4 de set. de 2023 às 10:10, MIGUEL ALEXANDRE WISINTAINER < tcpipc...@hotmail.com> escreveu: > 👏 > > Enviado do meu iPhone > > > Em 3 de set. de 2023, à(s) 17:53, Gustavo Soares < > gustavo.felipesoa...@hotmail.com> escreveu: > > > > it worked! > > > > Thank you! > > ________________________________ > > De: Alan C. Assis <acas...@gmail.com> > > Enviado: domingo, 3 de setembro de 2023 17:06 > > Para: dev@nuttx.apache.org <dev@nuttx.apache.org> > > Assunto: Re: New application to Nuttx > > > > Look: boards/xtensa/esp32/esp32-devkitc/configs/wifi > > > > Use: esp32-devkitc:wifi > > > > BR, > > > > Alan > > > >> On 9/3/23, Gustavo Soares <gustavo.felipesoa...@hotmail.com> wrote: > >> Hi! > >> > >> I checked the value of the application stack size and it was 2048 > ideed, so > >> I manually changed to 8000 using menuconfig and there it is: > >> > >> [cid:a6cbc7ca-098f-4b7a-87d5-8c8ea1a655d2] > >> > >> But for some reason when I use the make command it returns an error that > >> I'm trying to solve here. Meanwhile I created a new VM because of > >> performance issues and I'm configuring it to be able to continue my > project. > >> For NuttX I followed this > >> article< > https://blog.espressif.com/getting-started-with-esp32-and-nuttx-fd3e1a3d182c > > > >> from Espressif with wapi instead of nsh in the 7th step, but this error > >> shows up: > >> 'Directory for esp32-devkitc:wapi does not exist.' and I don't know why > this > >> happens, because when I first configured it worked just fine. > >> > >> Does anyone know what could be causing this? > >> > >> PS: if I use nsh it works. > >> [https://miro.medium.com/v2/resize:fit:850/1*j-XGptYZE3DQ9tV1vJY2Iw.png > ]< > https://blog.espressif.com/getting-started-with-esp32-and-nuttx-fd3e1a3d182c > > > >> Getting Started with ESP32 and > >> NuttX< > https://blog.espressif.com/getting-started-with-esp32-and-nuttx-fd3e1a3d182c > > > >> Introduction > >> blog.espressif.com > >> > >> ________________________________ > >> De: Tiago Medicci Serrano <tiago.medi...@gmail.com> > >> Enviado: sexta-feira, 1 de setembro de 2023 09:09 > >> Para: dev@nuttx.apache.org <dev@nuttx.apache.org> > >> Assunto: Re: New application to Nuttx > >> > >> Hi! > >> > >> The `DEFAULT_TASK_STACKSIZE` default value is 2048, less than the one we > >> know that wasn't enough. Please, stick with setting a value (instead of > >> using the `DEFAULT_TASK_STACKSIZE`). > >> > >> Also, please double-check what I've said about changing the config and > >> re-running `make menuconfig`. You need to check if the > >> `EXAMPLES_M_THREE_PLUS_STACKSIZE` is set to the default value you set > >> (remember: it's a default value, not necessarily it is set to it. Try to > >> increase it by the `menuconfig` until you find a value enough to the app > >> stack (and, after that, set this value as the default value for > >> `EXAMPLES_M_THREE_PLUS_STACKSIZE`). > >> > >> Best regards, > >> > >> Em qui., 31 de ago. de 2023 às 20:21, Gustavo Soares > >> <gustavo.felipesoa...@hotmail.com<mailto: > gustavo.felipesoa...@hotmail.com>> > >> escreveu: > >> Hi! > >> > >> I changed the config name as suggested: > >> [cid:18a50a12968cb971f166] > >> > >> But when I started the application the same error showed up (User stack > >> pointer is not within the stack) and the command prompt printed an > undefined > >> char nonstop. So I decided to change the value to the default task stack > >> size: > >> > >> [cid:18a50a12968cb971f168] > >> > >> and this happened: > >> > >> [cid:18a50a12968cb971f167] > >> > >> Should I try another stack size value? Is there anyway to determine the > >> correct value? > >> ________________________________ > >> De: Tiago Medicci Serrano > >> <tiago.medi...@gmail.com<mailto:tiago.medi...@gmail.com>> > >> Enviado: quinta-feira, 31 de agosto de 2023 10:01 > >> Para: dev@nuttx.apache.org<mailto:dev@nuttx.apache.org> > >> <dev@nuttx.apache.org<mailto:dev@nuttx.apache.org>> > >> Assunto: Re: New application to Nuttx > >> > >> Hi! > >> > >> After considering what Gustavo Nihei said, please note that you've set a > >> default value, but your `defconfig` may use another one. So, run `make > >> menuconfig` and ensure you've set the stack size to that config. > >> > >> You can check the generated `.config` file for the actual value of this > >> config ;) > >> > >> I hope this helps. > >> > >> Best regards, > >> > >> > >> Em qua., 30 de ago. de 2023 às 21:23, Gustavo Henrique Nihei > >> <ghni...@gmail.com<mailto:ghni...@gmail.com>> escreveu: > >> Hi Gustavo, > >> > >> notice that on your first screenshot you prepended the config with > CONFIG_, > >> but this is also done by the Kconfig tool. > >> That's why NuttX set the stack size to the default value, since the > >> CONFIG_EXAMPLES_M_THREE_PLUS_STACKSIZE is empty. > >> In order to achieve the expect result you may either rename your Kconfig > >> config to EXAMPLES_M_THREE_PLUS_STACKSIZE (best option) or the Makefile > >> variable to CONFIG_CONFIG_EXAMPLES_M_THREE_PLUS_STACKSIZE (undesirable). > >> > >> Best regards, > >> Gustavo. > >> > >> > >> On Wed, Aug 30, 2023 at 9:09 PM Gustavo Soares > >> <gustavo.felipesoa...@hotmail.com<mailto: > gustavo.felipesoa...@hotmail.com>> > >> wrote: > >> Hi, Tiago! > >> > >> I'm sorry for the delay to reply your last e-mail. I tried to pass an > >> alternative value to the application stack size as shown below: > >> > >> [cid:18a50a12968cb971f163][cid:18a50a12968cb971f164] > >> > >> But the stack size value on NuttX is still the default one: > >> > >> [cid:18a50a12968cb971f165] > >> > >> Is there anything wrong with the configuration? How do I know if the > value > >> set is enough? Is it possible to determine the value before running? > >> > >> Thank you! > >> ________________________________ > >> De: Tiago Medicci Serrano > >> <tiago.medi...@gmail.com<mailto:tiago.medi...@gmail.com>> > >> Enviado: sábado, 5 de agosto de 2023 14:08 > >> Para: dev@nuttx.apache.org<mailto:dev@nuttx.apache.org> > >> <dev@nuttx.apache.org<mailto:dev@nuttx.apache.org>> > >> Assunto: Re: New application to Nuttx > >> > >> 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<mailto: > 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. > >> > >> [cid:18a50a12968cb971f161] > >> > >> [cid:18a50a12968cb971f162] > >> 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? > >> > >> > >> -- > >> [ > https://mysignature.io/images/photos/eab4b15bc8c32b4acf1a93809bf1e188.png] > >> Tiago Medicci Serrano > >> Embedded Software Engineer > >> MSc Electronics/Microelectronics > >> m: +55 (19) 981403886<tel:+55+(19)+981403886> > >> e: tiago.medi...@gmail.com<mailto:tiago.medi...@gmail.com> > >> a: Campinas, Brazil > >> Follow me: > >> [ > https://mysignature.io/images/socials/80d698f5d539319972423b37e8c2de2f.png > ]<https://www.linkedin.com/in/tiago-serrano-924458b6> > >> > >> [ > https://mysignature.io/images/socials/9b65906e3ee51d84f0b761ac36c4bed0.png > ] > >> <https://github.com/tmedicci> > >> > >> > >> -- > >> Gustavo Henrique Nihei > >> > >> > >> -- > >> [ > https://mysignature.io/images/photos/eab4b15bc8c32b4acf1a93809bf1e188.png] > >> Tiago Medicci Serrano > >> Embedded Software Engineer > >> MSc Electronics/Microelectronics > >> m: +55 (19) 981403886<tel:+55+(19)+981403886> > >> e: tiago.medi...@gmail.com<mailto:tiago.medi...@gmail.com> > >> a: Campinas, Brazil > >> Follow me: > >> [ > https://mysignature.io/images/socials/80d698f5d539319972423b37e8c2de2f.png > ]<https://www.linkedin.com/in/tiago-serrano-924458b6> > >> > >> [ > https://mysignature.io/images/socials/9b65906e3ee51d84f0b761ac36c4bed0.png > ] > >> <https://github.com/tmedicci> > >> > >> > >> -- > >> [ > https://mysignature.io/images/photos/eab4b15bc8c32b4acf1a93809bf1e188.png] > >> Tiago Medicci Serrano > >> Embedded Software Engineer > >> MSc Electronics/Microelectronics > >> m: +55 (19) 981403886<tel:+55+(19)+981403886> > >> e: tiago.medi...@gmail.com<mailto:tiago.medi...@gmail.com> > >> a: Campinas, Brazil > >> Follow me: > >> [ > https://mysignature.io/images/socials/80d698f5d539319972423b37e8c2de2f.png > ]<https://www.linkedin.com/in/tiago-serrano-924458b6> > >> > >> [ > https://mysignature.io/images/socials/9b65906e3ee51d84f0b761ac36c4bed0.png > ] > >> <https://github.com/tmedicci> > >> > -- 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>