Help on understanding Nuttx

2024-05-22 Thread Janardhan Silwal
Hi, So I need to understand the basics of STM32 operations using NuttX, and the addition of perpherals. So far, feeling around the dark and copy-pasting, I have been able to get my board running STM32F427AIH6, get booted up, and have also been able to write out some custom applications, Hello

Re: Help regarding the code formatting

2024-05-06 Thread Janardhan Silwal
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 wrote: >

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

Re: Addition of New Chip STM32F427AI

2024-02-13 Thread Janardhan Silwal
I looked into the folder "arch/arm/src/stm32/hardware" there does not seem to be specific definition files for STM32F427. Any idea where the definitions for the F427 family is defined. I could then move on to add support for the unsupported features of STM32F427AI. Thanks Janard

Addition of New Chip STM32F427AI

2024-02-12 Thread Janardhan Silwal
Hi Community, I have a board which uses STM32F427AI, and was planning on running a middleware which runs over nuttx, but only noticed, after the board arrived from manufacturing that there is no option to select, STM32F427AI from the menuconfig/qconfig. I don't have an option to replace the

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
On 28/12/2023 14:28, Janardhan Silwal wrote: > which driver did you use? > I didn't see MT25QL SPI flash in menu config so I went ahead and wrote one! > > Best regards, > Janardhan > > From: Tim Hardisty > Sent: Thursday, December 28, 2023 1

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
with your code editor search all files in the project for MT25Q related data and you'll find the data in m25px.c I think) On 28/12/2023 14:28, Janardhan Silwal wrote: > which driver did you use? > I didn't see MT25QL SPI flash in menu config so I went ahead and wrote one! > > Best regards,

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
mtd, 0755, NULL); > if(ret < 0) > { > /* Do something */ > } > ret = nx_mount("/dev/flash", "/mnt/flash", "littlefs", 0, "autoformat"); > if(ret < 0) > { > /* Do something */ > } > > That was a copy/paste/edit or my ow

Re: LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
te/edit or my own code so please forgive any typo errors! On 28/12/2023 11:19, Janardhan Silwal wrote: > Hi community, > > I am trying to get littlefs running on a NOR flash memory using the MTD > driver, on a STM32F4 chip. > > I had some bottlenecks in the implementation as I am

LittleFS Implementation using MTD for NOR flash

2023-12-28 Thread Janardhan Silwal
couldn't find the exact driver for the flash installed on my system. Now I need some guidance on where to start for linking LittleFS to MTD and the rest.. Best Regards, Janardhan Silwal