Comments (5)
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.
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.
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.
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.
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)
- [BUG] Monitor downsampling cannot be disabled HOT 2
- 20bit magnetic encoder support
- [BUG] ESP32 current sensing readings not synced with PWM - Not reproducible HOT 2
- [BUG] Error in doc: initFOC() cannot be used in open loop mode HOT 1
- driverAlign() ignores gain sign, always "MOT: Success: 3" HOT 4
- Support for the new ESP32 LEDC library API HOT 4
- Is this FOC suppot high speed BLDC(5000rpm)?[FEATURE] HOT 2
- MagneticSensorI2C uses incorrect bit mask calculation HOT 4
- [BUG] Passing a new target to move() is sometimes ignored HOT 5
- [FEATURE] Support for arduino-esp32 v3.0.1 HOT 1
- [FEATURE] Current sensing for stepper motors - FOC current control HOT 1
- [BUG] Trap 150 potential miscalculation
- [BUG] sin/cos integer overflow on 16-bit CPUs HOT 3
- [FEATURE] Possibility to run FOC from interrupt HOT 3
- [FEATURE] Hall sensor without interrupt HOT 5
- [FEATURE] Always run current sense and persist current values
- [BUG] Copy/paste error in stm32g4 current sense HOT 1
- Standalone library usage without Arduino HOT 9
- [BUG] Cannot compile with esp32-c3 HOT 3
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 arduino-foc.