Git Product home page Git Product logo

Comments (5)

runger1101001 avatar runger1101001 commented on August 16, 2024

Hi, thanks for reporting it!

Should this be the way to go to integrate SimpleFOC into a PlatformIO project?

No, that's only if you want to modify the library or run a forked version or similar

Not sure if I should post it here or on the PlatformIO page, do let me know if this is not the place!

Is this something that happens with every project you try to compile for this target, or only when you include SimpleFOC?

from arduino-foc.

ZenoGillis avatar ZenoGillis commented on August 16, 2024

I

Hi, thanks for reporting it!

Should this be the way to go to integrate SimpleFOC into a PlatformIO project?

No, that's only if you want to modify the library or run a forked version or similar

Not sure if I should post it here or on the PlatformIO page, do let me know if this is not the place!

Is this something that happens with every project you try to compile for this target, or only when you include SimpleFOC?

This only happens from the moment that I add the SimpleFOC to the lib_deps parameter.
I haven't tried calling functions from Wire or SPI without adding them to the lib_deps but I assume that PlatformIO will figure it out since it can include Arduino.h without any problems.

from arduino-foc.

runger1101001 avatar runger1101001 commented on August 16, 2024

I just checked 3 of my projects, SAMD21, STM32 and ESP32, all in PlatformIO and all of them are compiling with SimpleFOC included, but no SPI ro Wire libraries mentioned in the lib_deps.
The STM32 project is using the same STM32G4 MCU as you are.

So I think this is something specific to your setup, or maybe to do with the board description you are using, and not a general problem of either SimpleFOC or PlatformIO. Maybe upgrading everything to the newest versions will help?

Since you have a workaround, I'd be inclined to close this issue if it is ok?

from arduino-foc.

ZenoGillis avatar ZenoGillis commented on August 16, 2024

Alright, I am using an Apple computer to do the development on, maybe it's related to differences in the operating system and PlatformIO version. I'll try to upgrade everything. Fine with me to close the issue!

from arduino-foc.

runger1101001 avatar runger1101001 commented on August 16, 2024

I also use osx, so it should not be that... but must be some kind of difference or specific thing in the setup.

from arduino-foc.

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.