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

BL808: fatfs example didn't work on m0 core #203

Open
raspy135 opened this issue Apr 1, 2024 · 0 comments
Open

BL808: fatfs example didn't work on m0 core #203

raspy135 opened this issue Apr 1, 2024 · 0 comments

Comments

@raspy135
Copy link

raspy135 commented Apr 1, 2024

Tested board : Ox64

fatfs example didn't work on BL808 with m0 core.

The cause was too little .stack section (1kB) defined in bl808_flash_m0.ld.
There is a good amount of stack use for LFN support in ff.c.

Stack overflow will make random behavior.
Increasing stack size solved the issue.

Is the stack size set to 1kB for specific reason? My suggestion is increasing default stack size to 3kB for safety but I'm not sure it's good for the other examples. Since WiFi support is dropped, m0 might be able to use more memory?

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