I'm using a MIMXRT685SFFOB with Winbond W25Q128JV flash connected to FlexSPI A. I'm trying to use the mcuxpresso IDE to generate flash_config.c/.h for my zephyr based BSP, but the IDE never updates these files to match my configuration.
My steps:
1) New C/C++ Project wizard -> select MIMXRT685s
2) Pick MIMXRT685SFFOB and add component: Board Components>Device>SDK Drivers> Select both flash_config
3) In Memory Configuration, I add Flash at location 0x800_0000 and size 0x100_0000 with driver MIMXRT600_FlexSPI_A_SFDP_QSPI.cfx
4) When the project is created, I can see the folder "flash_config" with the source and header file
However, flash_config.c always has .sFlashA1Size =0, .sFlashA2Size = 0, and .sFlashB1Size = 0x400_0000, which makes me believe this was not generated based off my parameters entered in the wizard. When I click Project Settings>Memory I do see the flash entry I created.
What am I doing wrong to generate the flash_config I with my parameters?
Also, I have followed the SuperMonkey QSPI bringup page and it doesn't help, but I do see their flash_config.c has .sFlashA1Size is non zero.
Any help is appreciated!
Hi @rvanee,
The changes made in the project wizard's memory configuration are done for the Linker file, not the flash_config drivers. These drivers need to be changed manually by the user.