Hi,
I would like to create a new HW board based on FRDM-RW612 by replacing the default SPI NOR flash to another one, ie. Macronix SPI NOR flash. Is there any guideline for implementing a new SPI NOR flash driver on Zephyr platform?
1. customization the flash configuration (also CMakeLists.txt for FCB change)
boards/nxp/frdm_rw612/W25Q512JVFIQ_FCB.c -> to define new definition for our new flash
2. dts
boards/nxp/frdm_rw612/frdm_rw612.dts -> with our new HW board, we can create new dts based on this reference board and do flash customization.
3. driver
drivers/flash/flash_mcux_flexspi_<xxx>.c -> which shall I choose to customize it?
I've managed to port my flash by referecing to example 'rd_rw612_bga' and customization to the 'flash_config.c' in path 'modules/hal/nxp/mcux/mcux-sdk/boards/rdrw612bga/flash_config/'
Hi,
Thanks for letting us know.
Regards,
Daniel.