Hello, newbie here
I want to prevent the compilation of a packages/framework* source file
I’m having a link time symbol conflict between a Platformio framework module and a 3rd party Platformio supported library module, they both define premain() and main() thus the link is reporting duplicate symbols.
the Platformio framework module is:
the 3rd party library is MySensors module:
I would like to prevent the processing of the “framework” module, main.cpp, but only for my particular project.
I’m looking for something like a src_filter but targeting a packages/framework file rather than my source directory.
I’ve tried adding the full path to my platformio.ini file but that seems to be ignored. as in:
src_filter = -/home/test/.platformio/packages/framework-arduinoststm32-maple/STM32F1/cores/maple/main.cpp
Can this be done somehow?