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

Could not parse library files for the target #6

Closed ghost closed 4 years ago

ghost commented 5 years ago

PIO Core Call Error: "The next files/directories have been created in /home/ciupak/Documents/PlatformIO/Projects/stm8_test\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nPlatformManager: Installing ststm8\nDownloading\nDownloading\nUnpacking\nUnpacking\nststm8 @ 1.0.1 has been successfully installed!\nPackageManager: Installing tool-stm8binutils @ 0.230.0\nDownloading\nDownloading\nUnpacking\nUnpacking\ntool-stm8binutils @ 0.230.0 has been successfully installed!\nPackageManager: Installing toolchain-sdcc @ ~1.30804.10766\nDownloading\nDownloading\nUnpacking\nUnpacking\ntoolchain-sdcc @ 1.30804.10766 has been successfully installed!\nThe platform 'ststm8' has been successfully installed!\nThe rest of packages will be installed automatically depending on your build environment.\n\nError: Processing stm8sdisco (platform: ststm8; board: stm8sdisco; framework: spl)\n--------------------------------------------------------------------------------\nPackageManager: Installing framework-ststm8spl @ 0.20301.181217\nDownloading\nDownloading\nUnpacking\nUnpacking\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/ststm8/stm8sdisco.html\nPLATFORM: ST STM8 > ST STM8S-DISCOVERY\nHARDWARE: STM8S105C6T6 16MHz 2KB RAM (32KB Flash)\nDEBUG: CURRENT(stlink) ON-BOARD(stlink)\nError: Could not parse library files for the target.\nstm8s.h:2723:25: fatal error: stm8s_conf.h: No such file or directory\n\n****\n Looking for stm8s_conf.h dependency? Check our library registry!\n\n CLI > platformio lib search \"header:stm8s_conf.h\"\n Web > https://platformio.org/lib/search?query=header:stm8s_conf.h\n*\n********************************************************************\n\ncompilation terminated.\n========================== [ERROR] Took 13.46 seconds =========================="

ivankravets commented 5 years ago

You need stm8s_conf.h file in src or include folders. See https://github.com/platformio/platform-ststm8/tree/develop/examples/spl-blink/src