Code Monkey home page Code Monkey logo

Comments (4)

deadprogram avatar deadprogram commented on June 15, 2024 1

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.

bgould avatar bgould commented on June 15, 2024

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.

mytechnotalent avatar mytechnotalent commented on June 15, 2024

@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.

deadprogram avatar deadprogram commented on June 15, 2024

See tinygo-org/tinygo#3536 for progress on rp2040.

from tinyfs.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.