Open mike1808 opened 1 year ago
I think another user just hit this in https://community.platformio.org/t/motionfx-library-compile-failed-under-the-pio-but-success-under-arduino-ide/37975/3?u=maxgerhardt: With
[env:nucleo_f401re]
platform = ststm32
board = nucleo_f401re
framework = arduino
lib_deps =
stm32duino/STM32duino MotionFX @ ^1.1.0
it does not work out of the box either, it doesn't link in the the right library at all (no -lMotionFX
) and from the wrong folder (just src/cortex-m4
instead of the right src/cortex-m4/fpv4-sp-d16-hard
in this case).
What kind of issue is this?
[ ] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Community Forums or Premium Support
[ ] PlatformIO IDE. All issues related to PlatformIO IDE should be reported to appropriate repository: PlatformIO IDE for Atom or PlatformIO IDE for VSCode
[ ] Development Platform or Board. All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms should be reported to appropriate repository related to your hardware https://github.com/topics/platformio-platform
[ ] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution already exists! Don’t send pull requests to implement new features without first getting our support. Sometimes we leave features out on purpose to keep the project small.
[x] PlatformIO Core. If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system: Linux workstation 5.15.71-1-MANJARO
PlatformIO Version (
platformio --version
):PlatformIO Core, version 6.1.6a
Description of problem
Some precompiled arduino libraries have the FPU variant in the source and include the library depending on it. For instance, Adafruit nRFCrypto library has `fpv4-sp-d16-hard
Steps to Reproduce
Actual Results
Fails to link:
Expected Results
To successfully link.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Additional info