Closed YannikW closed 6 years ago
Hi @YannikW Unfortunately, I am not using Platform.io at all, so not sure how to help you.
However, let's start with basic troubleshooting. Are you able to compile the same code with any other 3rd party Arduino library? (Trying to see if the problem is with TS or with Platform.io and how they handle ESP8266)
Ok, I tried something to find the issue..
First I tested to use TaskScheduler 2.6.0 instead of 2.6.1 using following platformio.ini file:
[env:esp12e]
platform = espressif8266
board = esp12e
framework = arduino
lib_deps =
TaskScheduler@2.6.0
And voila - it compiles without error!
But that can't be the solution.. So I tried something else:
My current project folder is D:\Eigene Dateien (cloud)\GitLab\LTC-Led-Track-Controller\Software\LTC-Led-Track-Controller
Then I tried to move the project folder to C:\LTC-Led-Track-Controller
And wow - 2.6.1 and 2.6.0 compiles without any problem..
So I guess the issue is not direct related to TaskScheduler..
Maybe there is an issue with the brackets or whitespaces in my project path which causes a weird error in combination with PlatformIO and TaskScheduler library
So for me that's closed. I don't know exactly what caused the problem, but I've found a way to solve it :D
But thanks anyway @arkhipenko for your reply
I'd advise you to raise the issue with Platform.IO guys, as this is clearly some old linux contributor who never uses spaces in files (because the web is also old and can't deal with spaces).
Hi,
I can't compile an empty PlatformIO project for ESP-8266 if TaskScheduler is importet.
Here is my
platormio.ini
FileI got the following Error message:
Any ideas what is causing the problem and how to solve it?
I reinstalled PlatformIO multiple times, tried Atom and VSCode, but everytime the same problem.
Thanks in advance.