STM8 cannot compile included sample nor empty project

Processing development (platform:; board: stm8sblue; framework: arduino)
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: ST STM8 > ST STM8S103F3 Breakout Board
HARDWARE: STM8S103F3P6 16MHz 1KB RAM (8KB Flash)
Library Dependency Finder ->
Collected 12 compatible libraries
Scanning dependencies...
No dependencies
C:\.platformio\packages\tool-scons\script\..\engine\SCons\ UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
val = [x for x in val if x not in dk]
Archiving .pioenvs\development\libFrameworkArduinoVariant.lib
Compiling .pioenvs\development\FrameworkArduino\Print.c.rel
Compiling .pioenvs\development\FrameworkArduino\SPI.c.rel
Compiling .pioenvs\development\FrameworkArduino\WInterrupts.c.rel
***** [.pioenvs\development\libFrameworkArduinoVariant.lib] Error 309**
C:\.platformio\packages\framework-arduinoststm8\cores\sduino\WInterrupts.c:73: warning 85: in function attachInterrupt unreferenced function argument : 'mode'
================================================================================== [ERROR] Took 1.40 seconds ==================================================================================
Процесс терминала завершен с кодом выхода: 1

Терминал будет повторно использоваться задачами. Чтобы закрыть его, нажмите любую клавишу.

This is weird behavior, somehow a type of compiler warning is treated as fatal error. Maybe because the string “unreferenced function” is contained in it?

Anyays, if you build from the shell (pio run) or from e.g. Eclipse, the building works. This is the Arduino pin fade example. So I’d suggest you use it from the CLI or with another IDE for now and open an issue in GitHub - platformio/platform-ststm8: ST STM8: development platform for PlatformIO.

Empty project with no code in loop, cannot build too…

How should I open an issue? It is my first issue on github:)

Also not via pio run as I mentioned it?

Issues · platformio/platform-ststm8 · GitHub → New Issue