boards/sim: Defconfigs for nand and mnemofs
Summary
Adds nand and mnemofs sim configs.
Impact
Testers and users have default configuration files to use nand device simulators out of the box.
Testing
Manual testing using make after applying defconfigs.
@resyfer please fix the compilation error:
Configuration/Tool: sim/nand
2024-08-28 20:23:32
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
Error: mtd/mtd_nand.c:82:16: error: 'nand_devscan' declared 'static' but never defined [-Werror=unused-function]
82 | static int nand_devscan(FAR struct nand_dev_s *nand);
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:102: mtd_nand.o] Error 1
mtd/mtd_nandram.c: In function 'nand_ram_storage_status':
Error: mtd/mtd_nandram.c:184:13: error: variable 'bad' set but not used [-Werror=unused-but-set-variable]
184 | uint8_t bad;
| ^~~
Error: mtd/mtd_nandram.c:183:13: error: variable 'erases' set but not used [-Werror=unused-but-set-variable]
183 | uint16_t erases;
| ^~~~~~
Error: mtd/mtd_nandram.c:182:13: error: variable 'writes' set but not used [-Werror=unused-but-set-variable]
182 | uint16_t writes;
| ^~~~~~
Error: mtd/mtd_nandram.c:181:13: error: variable 'reads' set but not used [-Werror=unused-but-set-variable]
181 | uint16_t reads;
| ^~~~~
mtd/mtd_nandram.c: At top level:
Error: mtd/mtd_nandram.c:178:13: error: 'nand_ram_storage_status' defined but not used [-Werror=unused-function]
178 | static void nand_ram_storage_status(void)
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
@resyfer please rebase to the last master which fix the ci issue.
@resyfer please rebase to the last master which fix the ci issue.
@xiaoxiang781216 Alright thanks a lot. Pushed after rebase.
@xiaoxiang781216 Alright thanks for the suggestion! I've updated the same.
@xiaoxiang781216 I think the CI was failing because %llx on MacOS, I think now it will break all new PRs
@xiaoxiang781216 I think the CI was failing because %llx on MacOS, I think now it will break all new PRs
Nevermid, Saurav said the issue was fixed