platformio / platform-ststm8

ST STM8: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/ststm8
Apache License 2.0
41 stars 26 forks source link

Compile error on Windows and Linux, only normal compile on MAC, but there are still problems #17

Closed Conmi-WhiteJoker closed 4 years ago

Conmi-WhiteJoker commented 4 years ago

version: Core 4.3.3·Home 3.2.2

question: There was a compilation error on Windows and Linux, and even with clang installed, the compilation failed~~

expect: Can be used on Windows and Linux~~

Conmi-WhiteJoker commented 4 years ago

image

cednik commented 4 years ago

I found the same problem, triing to compile new empty project. PIO Core 4.3.3 on VSCode, Win10x64. After renaming main.cpp to main.c and remove warnings form HardwareSerial.c, weak_atexit.c and WInterrupts.c, I stucked on Error 309, described in Issue #12.

Conmi-WhiteJoker commented 4 years ago

Thank you for your help,cednik.