Giter VIP home page Giter VIP logo

Comments (6)

PaulStoffregen avatar PaulStoffregen commented on August 28, 2024

You need the latest Teensyduino 1.55 core library, which does define FileImpl

from sd.

PaulStoffregen avatar PaulStoffregen commented on August 28, 2024

Maybe this can help?

https://forum.pjrc.com/threads/68273-Problem-using-Serial1-addMemoryForWrite()?p=289312&viewfull=1#post289312

Different error, but same fundamental problem - PlatformIO using outdated code.

from sd.

MichaelBMiner avatar MichaelBMiner commented on August 28, 2024

Same issue, unfortunately for me he was able to update his PIO version and it worked. I am using the latest.

Do I need to run this in vs code? Can I run it from the arduino ide and still use the rtos?

from sd.

MichaelBMiner avatar MichaelBMiner commented on August 28, 2024

I pointed my code to use the Arduino Teensy 1.55 files. Now I get the errors

.pio\libdeps\teensy41\SD\src/SD.h: In member function 'virtual File SDFile::openNextFile(uint8_t)': .pio\libdeps\teensy41\SD\src/SD.h:126:55: error: no matching function for call to 'File::File(SDFile*)' 126 | if (file) return File(new SDFile(file));

.pio\libdeps\teensy41\SD\src/SD.h: In member function 'virtual File SDClass::open(const char*, uint8_t)': .pio\libdeps\teensy41\SD\src/SD.h:158:55: error: no matching function for call to 'File::File(SDFile*)' 158 | if (file) return File(new SDFile(file));

expected class-name before '{' token

from sd.

PaulStoffregen avatar PaulStoffregen commented on August 28, 2024

Use Arduino. The Teensyduino installer puts all the right files in place, so this sort of thing will "just work".

from sd.

MichaelBMiner avatar MichaelBMiner commented on August 28, 2024

I opened the Arduino IDE, I am unable to open my current project. I will look more into it. Thanks for the help

from sd.

Related Issues (18)

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.