-
Notifications
You must be signed in to change notification settings - Fork 6
not able to run simple-fatfs #10
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
Comments
RP2040 is generally not working yet in TinyGo itself, pending tinygo-org/tinygo#3378 which in turn will depend on tinygo-org/tinygo#3382 Once XIP/QSPI flash is working then the TinyFS examples can probably be made to work on pico. A word of caution though ... using writable fatfs on a flash chip is not advisable, littlefs would be much better for the longevity of the device. |
@bgould thank you for your response. Yes I would prefer TinyFS as I see that those examples are not working so I went here. I would prefer that route and thank you for the aforementioned branches. Without file persistence and a filesystem of some sort on the Pico it is really limited in its functionality. In the meantime do you know of a way to:
In addition, do we know how far away we are to getting TinyFS on the Pico? I read the PR's but was unsure we are close to a working solution. |
See tinygo-org/tinygo#3536 for progress on rp2040. |
An update: using the The fatFS is still not able to run. However LittleFS at least fulfills the minimum requirements for file persistence. |
Unable to build simple-fatfs example here.
panic: runtime error: type assert failed
What is the minimal example to simply:
1)write "hello world" to a Pico's flash using TinyGo
2)read the string from flash and print to the terminal
This is essential for any persistence if we are to use TinyGo.
The text was updated successfully, but these errors were encountered: