michallenc commented on code in PR #16789: URL: https://github.com/apache/nuttx/pull/16789#discussion_r2241702293
########## boards/xtensa/esp32/common/src/esp32_board_spiflash.c: ########## @@ -405,6 +405,17 @@ static int init_storage_partition(void) return ret; } +#elif defined(CONFIG_MTD_NVBLK) + + ret = nvblk_initialize(0, mtd, CONFIG_MTD_NVBLK_DEFAULT_LBS, Review Comment: >> Can the automatic detection work if, let's say, both CONFIG_FTL and CONFIG_MTD_NVBLK (or dhara) are enabled? > > I assume that only one FTL will be selected in one project. It should be possible to use more that one. Typical use case is if you have two flashes, internal and external. You might want simple FTL on internal for firmare storage, updates, etc and some wear leveling on external for configuration, logs and so on. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org