Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble compiling with vscode + platformio + STM32F407ZG #79

Open
i-make-robots opened this issue May 10, 2021 · 0 comments
Open

Trouble compiling with vscode + platformio + STM32F407ZG #79

i-make-robots opened this issue May 10, 2021 · 0 comments

Comments

@i-make-robots
Copy link

i-make-robots commented May 10, 2021

Hello! Thank you for all your hard work.

I am trying to use this library in platformio with the SKR PRO 1.2 (STM32F407ZG). I'm including
arduino-libraries/Servo@^1.1.7 in platformio. At first I get

#error "This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor."

I see that it may require #define ARDUINO_ARCH_STM32F4. I tried to define this myself and then I get

.pio\libdeps\BIGTREE_SKR_PRO-Sixi3\Servo\src/stm32f4/ServoTimers.h:34:10: fatal error: types.h: No such file or directory

FWIW my firmware is https://github.com/marginallyclever/makelangelo-firmware and I'm on the Sixi3 branch.
If you have some idea what I'm doing wrong, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant