project: GitHub - MarginallyClever/Makelangelo-firmware: CNC firmware for many different control boards and kinematic systems. Originally the brain of the Makelangelo art robot.
platformio.ini: ; PlatformIO Project Configuration File;; Build options: build flags, sour - Pastebin.com
I am building BIGTREE_SKR_PRO-Sixi3. The MCU is The board I have is an STM32F407ZG.
I have no lib_deps. The dependency scanner finds arduino-libraries/Servo 1.1.7. Then it fails to build and says
#error “This library only supports boards with an AVR, SAM, SAMD, NRF52 or STM32F4 processor.”
which is clearly wrong. In the servo.h included by the dependency scanner I see
Why pio didn’t define this as part of stm32+arduino? I tried to add it to my build flags (-DARDUINO_ARCH_STM32F4). Clean build produces
.pio\libdeps\BIGTREE_SKR_PRO-Sixi3\Servo\src/stm32f4/ServoTimers.h:34:10: fatal error: types.h: No such file or directory
Okay… I went looking for a solution elsewhere. Marlin has a build for the same board, so I tried that. It magically links to ststm32-core Servo library v 1.1.2 and it works! It works. Digging into their version it asks for inttypes.h. Marlin also has no mention of lib_deps=*servo* that I - or the Marlin people I talked with - can find.
My sanity is hanging by a thread and I’d really love for someone to show me why and how I’m wrong.
Why is my project linking to the wrong library when Marlin gets it right? How do I un-break this garbage?
Please and thank you,