>From: Alan Carvalho de Assis <acas...@gmail.com>
>
>It seams like MT25Q uses the m25px.c driver, so I assume you are enabling the
>CONFIG_MT25Q_MEMORY_TYPE right?

Yes = my .config has CONFIG_MT25Q_MEMORY_TYPE set

>
>Next you need to configure our board SPI CS pin, please take a look
>at: arm/stm32/mikroe-stm32f4/src/stm32_spi.c
>

Yes, I have defined the PIOs etc.

>Then before try to setup the NXFFS you need to confirm that the Flash NOR was
>detected correctly.

How, in code or from the nsh, do I do that? I know the chip works as I've used 
it (for example) for u-boot environment variables with no issue, but I can't 
find the way to either mount it, or "probe" it, or anything, from nuttx. It 
doesn’t appear as a /dev. 

No doubt it's in some documentation somewhere....

>
>On 8/24/21, Tim <t...@jti.uk.com.invalid> wrote:
>> Does anyone have any pointers on how to setup nxfss (or any filesystem
>> for that matter) on an MT25Q nor flash?
>>
>>
>>
>> I cannot find any code for any other boards that makes any sense to me
>> and I feel this should be a pretty basic thing to want to do? I
>> believe I have set up all the SPI stuff and now need to (auto)mount it
>> in my bringup or app init code, but I'm stuck :(

Reply via email to