Re: basically, I get an error when I do make

2024-07-21 Thread Nathan Hartman
Thanks for those references. That makes sense. On Sun, Jul 21, 2024 at 8:04 PM Gregory Nutt wrote: > > > > > On 7/21/2024 5:47 PM, Gregory Nutt wrote: > >> > >> On 7/21/2024 5:38 PM, Nathan Hartman wrote: > >>> Hi Alan, > >>> > >>> I think we should have "int main(int argc, const char * argv[])"

Re: basically, I get an error when I do make

2024-07-21 Thread Gregory Nutt
On 7/21/2024 5:47 PM, Gregory Nutt wrote: On 7/21/2024 5:38 PM, Nathan Hartman wrote: Hi Alan, I think we should have "int main(int argc, const char * argv[])" (added 'const' for argv). Maybe should grep for all instances of main in our code and docs and add const? I'm willing to do that

Re: basically, I get an error when I do make

2024-07-21 Thread Gregory Nutt
On 7/21/2024 5:47 PM, Gregory Nutt wrote: On 7/21/2024 5:38 PM, Nathan Hartman wrote: Hi Alan, I think we should have "int main(int argc, const char * argv[])" (added 'const' for argv). Maybe should grep for all instances of main in our code and docs and add const? I'm willing to do that.

Re: basically, I get an error when I do make

2024-07-21 Thread Gregory Nutt
On 7/21/2024 5:38 PM, Nathan Hartman wrote: Hi Alan, I think we should have "int main(int argc, const char * argv[])" (added 'const' for argv). Maybe should grep for all instances of main in our code and docs and add const? I'm willing to do that. Let me know, Nathan POSIX specifies the req

Re: basically, I get an error when I do make

2024-07-21 Thread Nathan Hartman
Hi Alan, I think we should have "int main(int argc, const char * argv[])" (added 'const' for argv). Maybe should grep for all instances of main in our code and docs and add const? I'm willing to do that. Let me know, Nathan On Sun, Jul 21, 2024 at 1:03 PM Alan C. Assis wrote: > Hi Nathan, > >

Re: basically, I get an error when I do make

2024-07-21 Thread Alan C. Assis
Hi Nathan, I think this is a nice improvement. We need to improve our Kconfig "--help--". Actually the original documentation was using "argc" and "argv", mine was different (with "int main(void)") because I just created a simple main from scratch. The main (no pun intended) issue in the origina

Re: basically, I get an error when I do make

2024-07-21 Thread Nathan Hartman
Hi all, I have opened pull request PR-12742 [1] to improve the "---help---" text of this Kconfig and hopefully help others avoid this same issue: [1] https://github.com/apache/nuttx/pull/12742 Cheers, Nathan On Sat, Jul 20, 2024 at 8:40 AM Linotte Justin ... wrote: > > hello, i'm happy you res

Re: basically, I get an error when I do make

2024-07-20 Thread Linotte Justin ...
hello, i'm happy you resolved the issue and that you also helped me progress in my projects ! have a nice day. Justin Linotte Le 19-07-24 à 23:48, Alan C. Assis a écrit : PR submitted: https://github.com/apache/nuttx/pull/12736 Thank you Justin for finding this issue!!! You helped to improve

Re: basically, I get an error when I do make

2024-07-19 Thread Alan C. Assis
PR submitted: https://github.com/apache/nuttx/pull/12736 Thank you Justin for finding this issue!!! You helped to improve our system! BR, Alan On Fri, Jul 19, 2024 at 6:21 PM Alan C. Assis wrote: > Hi Justin, > > I was assuming you were planning to run it from "nsh>" that is working > fine:

Re: basically, I get an error when I do make

2024-07-19 Thread Alan C. Assis
Hi Justin, I was assuming you were planning to run it from "nsh>" that is working fine: nsh> ? help usage: help [-v] [] . cp execls reboot truncate [ cmp exitmkdir rm uname ? dirname expr

Re: basically, I get an error when I do make

2024-07-19 Thread Linotte Justin ...
thanks you for helping me find the solution, i replaced my custom apps dir with your to try, but the same problem happen, i think there may be a problem with my configuration. How do i know what name should i type in "*Application entry point"* so that it point to the custom hello main (from Cus

Re: basically, I get an error when I do make

2024-07-18 Thread Alan C. Assis
I will try to attach the file here, if the previous link doesn't work, since that tar.gz file is less than 1KB I think it will attach fine. Just rename CustomApps.txt to CustomApps.tar.gz and extract it. BR, Alan On Thu, Jul 18, 2024 at 3:52 PM Alan C. Assis wrote: > Hi Linotte, > > Thanks fo

Re: basically, I get an error when I do make

2024-07-18 Thread Alan C. Assis
Hi Linotte, Thanks for testing our tutorials, it is important to validate and find issues. I followed the tutorial here (this is the first time I do it) and it worked fine (although copying the text from page removes the comments #) I compressed by CustomApps and shared it: https://u.pcloud.lin

basically, I get an error when I do make

2024-07-18 Thread Linotte Justin ...
hello, i hope my question doesn't bother you, i'm an amateur, not a pro with 40y of experience so it may be dumb for you. i'm also an amateur in english btw when i do make like advised here : https://nuttx.apache.org/docs/latest/quickstart/compiling_make.html#build-nuttx i get this : :~/pico