Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When should lv_nand_flash_format be called? #36

Open
rabbitsaviola opened this issue Feb 26, 2024 · 0 comments
Open

When should lv_nand_flash_format be called? #36

rabbitsaviola opened this issue Feb 26, 2024 · 0 comments

Comments

@rabbitsaviola
Copy link

rabbitsaviola commented Feb 26, 2024

Hi,
I'm not sure whether it's a duplicate question. I find sample code demo_filex_nand_flash.c cannot work as ram disk is not formated before.

The sample code erases the ram disk in the beginning. But it's not formated by function lv_nand_flash_format. So lx_nand_flash_open would fail as no valid signature is found.

_lx_nand_flash_simulator_erase_all();

Is it needed to call lv_nand_flash_format in the sample code?

@rabbitsaviola rabbitsaviola changed the title When should be lv_nand_flash_format called? When should lv_nand_flash_format be called? Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant