platformio-home icon indicating copy to clipboard operation
platformio-home copied to clipboard

Could not initialize project

Open ishay320 opened this issue 3 years ago • 1 comments

PIO Core Call Error: "The current working directory C:\Users\ishay\Documents\PlatformIO\Projects\stm-oscilloscope will be used for the project.\r\n\r\nThe next files/directories have been created in C:\Users\ishay\Documents\PlatformIO\Projects\stm-oscilloscope\r\ninclude - Put project header files here\r\nlib - Put here project specific (private) libraries\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\nResolving blackpill_f411ce dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nError: Processing blackpill_f411ce (platform: ststm32; board: blackpill_f411ce; framework: stm32cube)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/ststm32/blackpill_f411ce.html\r\nPLATFORM: ST STM32 (15.4.1) > WeAct Studio BlackPill V2.0 (STM32F411CE)\r\nHARDWARE: STM32F411CEU6 100MHz, 128KB RAM, 512KB Flash\r\nDEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink, stlink)\r\nPACKAGES: \r\n - framework-stm32cubef4 @ 1.26.2 \r\n - tool-ldscripts-ststm32 @ 0.2.0 \r\n - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)\r\nLDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf\r\nLDF Modes: Finder ~ chain, Compatibility ~ soft\r\nFound 52 compatible libraries\r\nScanning dependencies...\r\nNo dependencies\r\nBuilding in release mode\r\n\r\n*** SyntaxError unexpected EOF while parsing (<string>, line 1)' trying to evaluate $EXa19372.49367'\r\nFile "C:\Users\ishay\.platformio\penv\lib\site-packages\platformio\builder\tools\piointegration.py", line 159, in DumpIntegrationData\r\n========================== [FAILED] Took 1.88 seconds =========================="

ishay320 avatar Oct 14 '22 11:10 ishay320

I ended up replacing the lines in piointegration.py - globalenv.subst("${ENV['PATH']}") to the path of my gcc g++ and gdb and now everything works

ishay320 avatar Oct 14 '22 12:10 ishay320

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 22 '22 20:11 stale[bot]