Error compiling for arduino nano

broken image
broken image
broken image

HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash PLATFORM: Atmel AVR 1.15.0 > Arduino Nano ATmega328 Verbose mode can be enabled via -v, -verbose option

broken image

Processing nanoatmega328 (platform: atmelavr board: nanoatmega328 framework: arduino) This is the compile error for the minimal example in this post, different to the error I posted before, because I removed all the code in main.cpp. My setup: PlatformIO in Visual Studio Code, running on Windows 10.īy the way, I have tried uninstalling all libraries from PlatformIO home under the project, then reinstalling them. However when I update my new empty project with more libraries, see below, it does not compile. I have copied your example into a new project, and it does compile.

broken image