I’m new to PlatformIO and can’t quite get it to work. When I try to launch a project I get an error.
What can be causeing it?
PIO Core Call Error: "The current working directory C:\Users\schif\Documents\PlatformIO\Projects\230512-201136-nanoatmega328 will be used for the project.
The next files/directories have been created in C:\Users\schif\Documents\PlatformIO\Projects\230512-201136-nanoatmega328
include - Put project header files here
lib - Put here project specific (private) libraries
src - Put project source files here
platformio.ini - Project Configuration File
Resolving nanoatmega328 dependencies...
Already up-to-date.
Updating metadata for the vscode IDE...
Error: Processing nanoatmega328 (platform: atmelavr; board: nanoatmega328; framework: arduino)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328.html
PLATFORM: Atmel AVR (4.1.0) > Arduino Nano ATmega328
HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash
DEBUG: Current (avr-stub) External (avr-stub, simavr)
PACKAGES:
- framework-arduino-avr @ 5.1.0
- toolchain-atmelavr @ 1.70300.191015 (7.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 5 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
*** SyntaxError `unexpected EOF while parsing (<string>, line 1)' trying to evaluate `$DIa31128.42220'
File "C:\Users\schif\.platformio\penv\lib\site-packages\platformio\builder\tools\piointegration.py", line 160, in DumpIntegrationData
========================== [FAILED] Took 0.57 seconds =========================="
So that’s just trying to find out what the compiler is (which should evaluate to avr-gcc located in C:\Users\<user>\.platformio\packages in your project).
You might have very weird environment variables or PATHs set. In a PlatformIO core CLI, please post the output of