Re: Addition of New Chip STM32F427AI

2024-02-12 Thread Gregory Nutt
The STM32F427AI is in the same family as STM32F427xx (STM32F427V, STM32F427Z, STM32F427I) and STM32F429xx, which are already supported. The first thing to do is to decide which is of the supported parts is most like the STM32F427AI.  Mostly likely it is just a difference in memory size or

Re: Detecting FS

2024-02-12 Thread Saurav Pal
Hi Greg, Thanks for the clarification! That was what I was looking for, the part about the need for explicitly stating the FS. Regards, SP On Tue, 13 Feb, 2024, 02:05 Gregory Nutt, wrote: > You would need to mount with -t vfat. That is how it the system knows > that the file system is

Re: Detecting FS

2024-02-12 Thread Gregory Nutt
You would need to mount with -t vfat.  That is how it the system knows that the file system is vfat. It seems like you should be able to omit the file system type when mounting and let the system figure out the file system type, but that does not appear to be supported. On 2/12/2024 2:30

Re: Detecting FS

2024-02-12 Thread Saurav Pal
Hi Alan, Thanks for the reply. I had gone through that global array but I couldn't find what I was looking for. In a different phrasing, what I don't understand is how is it detected which file system was used to format a storage device. Like, let's say I have a HDD in my PC formatted with

Re: Detecting FS

2024-02-12 Thread Alan C. Assis
Hi Saurav, Please take a look at "static const struct fsmap_t g_bdfsmap[]" in the file nuttx/fs/mount/fs_mount.c You will figure-out how the "magic" happens. Best Regards, Alan On Mon, Feb 12, 2024 at 9:20 AM Saurav Pal wrote: > Hi all, > > I am trying to write some docs for VFS in NuttX,

Re: Addition of New Chip STM32F427AI

2024-02-12 Thread Alan C. Assis
Hi Janardhan, You can start looking at which STM32F4xx chip existent on NuttX is more similar to STM32F427AI and start your port based on it. You can do it using the chip datasheet and/or reference manual, writing down the difference in peripherals, registers, etc. Normally STM32 devices share

Detecting FS

2024-02-12 Thread Saurav Pal
Hi all, I am trying to write some docs for VFS in NuttX, but there's one thing I've been stumbling on for some time. How are the file systems detected from the storage devices? For example, if I have a storage device which has been formatted using VFAT...after (say) power on, how does NuttX

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: NuttX + MicroPython + ESP32 / ESP32-C3

2024-02-12 Thread Sebastien Lorquet
Hi, The embed port method they suggested on my issue ticket looks promising. I'm looking at this right now. Sebastien Le 10/02/2024 à 10:24, Victor Suarez Rovere a écrit : I ported Micropython to various platforms (CPU and FPGA), including peripherals like Video output, so I can help with