Comments (4)
An update: using the dev
branch of TinyGo itself from the upcoming 0.28, and LIttleFS filesystem in this repo on dev
branch, is working on RP2040 flash.
The fatFS is still not able to run. However LittleFS at least fulfills the minimum requirements for file persistence.
from tinyfs.
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.
from tinyfs.
@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:
1)write "hello world" to a Pico's flash using TinyGo
2)read the string from flash and print to the terminal
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.
from tinyfs.
See tinygo-org/tinygo#3536 for progress on rp2040.
from tinyfs.
Related Issues (9)
- littlefs disk version 2.1
- FatFS not working HOT 6
- Needs implementation of `Seek()` added to tinyfs.File HOT 4
- What if there is a problem with the import path? HOT 1
- Not able to build console/fatfs/spi example HOT 4
- align tinyfs with Go 1.16+ io/fs package HOT 2
- Change import path to tinygo.org/x/tinyfs HOT 4
- tinyfs issues on Adafruit Gran Central M4 board
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyfs.