Re: Help regarding the code formatting

2024-05-06 Thread Janardhan Silwal
Hi Lee, Nice documentation. Contains everything I needed and, what I might need later. Thank you!! Janardhan From: Lee, Lup Yuen Sent: Friday, May 3, 2024 13:57 To: dev@nuttx.apache.org Subject: Re: Help regarding the code formatting Hi Janardhan: I have an

Re: Help regarding the code formatting

2024-05-03 Thread Alan C. Assis
Hi Janardhan, Please read the official documentation: https://nuttx.apache.org/docs/latest/contributing/making-changes.html There is a tool called checkpatch.sh that you can use to verify the coding style issues in your source code. Best Regards, Alan On Fri, May 3, 2024 at 4:25 AM Janardhan S

Re: Help regarding the code formatting

2024-05-03 Thread Lee, Lup Yuen
Thank you so much Greg! I'll copy and paste the relevant sections into the NuttX Docs. Lup On Fri, May 3, 2024 at 10:04 PM Gregory Nutt wrote: > On 5/3/2024 2:12 AM, Lee, Lup Yuen wrote: > > https://lupyuen.github.io/articles/pr#check-coding-style > Nice article. This would be good to have in

Re: Help regarding the code formatting

2024-05-03 Thread Gregory Nutt
On 5/3/2024 2:12 AM, Lee, Lup Yuen wrote: https://lupyuen.github.io/articles/pr#check-coding-style Nice article.  This would be good to have in the documentation. I'm not aware of a script that does auto-formatting for NuttX Code. I do it manually in VSCode :-) There used to be a couple of sc

Re: Help regarding the code formatting

2024-05-03 Thread Lee, Lup Yuen
Hi Janardhan: I have an article that explains the "nxstyle" tool, maybe this will help? https://lupyuen.github.io/articles/pr#check-coding-style I'm not aware of a script that does auto-formatting for NuttX Code. I do it manually in VSCode :-) Lup On Fri, May 3, 2024 at 3:24 PM Janardhan Silwal

Help regarding the code formatting

2024-05-03 Thread Janardhan Silwal
Hi, I am kind of getting started with NuttX and am adding minimalistic board/chip already not available in the NuttX repo. I would like to create a pull request and get help in evaluating the additions and support in debugging. I was looking through the coding standard, and I am kinda confused