pio.ini is below:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
upload_port = COM8
monitor_port = COM8
lib_deps = fmalpartida/LiquidCrystal@^1.5.0
[platformio]
description = The Radio Master
having removed the .pio folder, the core has reinstalled. When comoiling I now get this:
Executing task: C:\Users\Paul\.platformio\penv\Scripts\platformio.exe run <
Processing megaatmega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html
PLATFORM: Atmel AVR (3.4.0) > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
DEBUG: Current (avr-stub) On-board (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 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <LiquidCrystal> 1.5.0
Building in release mode
Compiling .pio\build\megaatmega2560\src\Two_Way_Radio_Master.cpp.o
'avr-g++' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\megaatmega2560\libaf5\LiquidCrystal\FastIO.cpp.o
'avr-g++' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\megaatmega2560\libaf5\LiquidCrystal\I2CIO.cpp.o
'avr-g++' is not recognized as an internal or external command,
operable program or batch file.
Compiling .pio\build\megaatmega2560\libaf5\LiquidCrystal\LCD.cpp.o
*** [.pio\build\megaatmega2560\src\Two_Way_Radio_Master.cpp.o] Error 1
*** [.pio\build\megaatmega2560\libaf5\LiquidCrystal\FastIO.cpp.o] Error 1
*** [.pio\build\megaatmega2560\libaf5\LiquidCrystal\I2CIO.cpp.o] Error 1
'avr-g++' is not recognized as an internal or external command,
operable program or batch file.
*** [.pio\build\megaatmega2560\libaf5\LiquidCrystal\LCD.cpp.o] Error 1
====================================================================================== [FAILED] Took 2.77 seconds ==