Giter VIP home page Giter VIP logo

Comments (4)

mike-matera avatar mike-matera commented on September 28, 2024

I've updated the code to avoid compiling AVR specific linkage for printf(). The only non-AVR platform I have to test with is Teensy 3.0. If you try to use printf() it causes a compile error. However, cout worked. I don't have an MKR1000. Try downloading the library and testing it. If it works I'll tag the release.

from arduinostl.

apuder avatar apuder commented on September 28, 2024

Your patch fixes the compile error. Thanks! There is still this warning though:
Arduino: 1.6.11 (Mac OS X), Board: "Arduino/Genuino MKR1000"

Build options changed, rebuilding all
WARNING: library ArduinoSTL claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [samd] architecture(s).

Sketch uses 9,512 bytes (3%) of program storage space. Maximum is 262,144 bytes.

from arduinostl.

mike-matera avatar mike-matera commented on September 28, 2024

Would you test if cout and cin work?

Also, I saw this morning that using printf() didn't cause an error on your platform, would you check to see if it works?

If you can confirm they work I'll add "samd" to the list of supported platforms and make a new release. That will fix the warning.

from arduinostl.

apuder avatar apuder commented on September 28, 2024

cout works perfectly fine. I think you can safely add it to the supported platforms.

from arduinostl.

Related Issues (20)

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.