Closed ondraco closed 3 years ago
Also reported in https://community.platformio.org/t/issue-building-stm8/18966 and reproducable for me. This seems to be a problem in the platform script or / and in conjuction with the new SCons versions used in the core.
@valeros
Should be fixed in the latest platform version 1.0.3
, please update via pio platform update ststm8
.
Confirmed working after update.
CONFIGURATION: https://docs.platformio.org/page/boards/ststm8/mb208.html
PLATFORM: ST STM8 (1.0.3) > sduino MB (STM8S208MBT6B)
HARDWARE: STM8S208MBT6 16MHz, 6KB RAM, 128KB Flash
PACKAGES:
..
RAM: [ ] 0.3% (used 21 bytes from 6144 bytes)
Flash: [== ] 22.2% (used 29062 bytes from 131072 bytes)
=================== [SUCCESS] Took 4.77 seconds ===================
[2.02.2021, 09:42:26] Unable to resolve configuration using compilerPath property" C: /Users/Szymon/.platformio/packages/toolchain-sdcc/bin/sdcc.exe ". Instead, the value "cl.exe" will be used.
What does it mean?
What does it mean?
It means that VSCode's C++ extension can't handle SDCC.exe as the compiler. Supports only clang, llvm, gcc and Microsoft's compiler (for e.g. Visual Studio, cl.exe
). Related to https://github.com/platformio/platform-ststm8/issues/26, but this has nothing to do with the issue that was being discussed in this issue page.
Hello,
I am trying to use the platformio for STM 8 but on compilation i keep getting this error:
platformio.ini:
I tried on on both windows and Linux. I even tried a completely fresh installation of platformio on different computer with the STM 8 examples its always the same error. The compilation and deployment works fine in Arduino IDE. The STM 32 works without issue in platformio.
Thank you for any help!
Regards, Ondrej