Skip to content

Instantly share code, notes, and snippets.

@conklech
Created November 20, 2018 02:26
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save conklech/ee9c9714c2fd50fd31f6baa6d436f5ab to your computer and use it in GitHub Desktop.
> Executing task: C:\Users\chris\.platformio\penv\Scripts\platformio.exe run --verbose <
Processing megaatmega2560 (platform: atmelavr; lib_ldf_mode: deep; board: megaatmega2560; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html
PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz 8KB RAM (248KB Flash)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(deep) COMPATIBILITY(soft)
Collected 24 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SD> 1.1.1 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD)
| |-- <SPI> 1.0 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI)
avr-g++ -o .pioenvs\megaatmega2560\src\main.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -Isrc -Iinclude -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega src\main.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib747\SPI\SPI.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src\SPI.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\File.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\File.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\SD.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\SD.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\utility\Sd2Card.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\utility\Sd2Card.cpp
avr-gcc-ar rc .pioenvs\megaatmega2560\lib747\libSPI.a .pioenvs\megaatmega2560\lib747\SPI\SPI.cpp.o
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\utility\SdFile.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L
-DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\utility\SdFile.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\utility\SdVolume.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\__cores__\arduino\SPI\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\utility\SdVolume.cpp
avr-gcc-ar rc .pioenvs\megaatmega2560\libFrameworkArduinoVariant.a
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\CDC.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\CDC.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\HardwareSerial.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial0.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\HardwareSerial0.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial1.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\HardwareSerial1.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial2.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\HardwareSerial2.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial3.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\HardwareSerial3.cpp
avr-gcc-ar rc .pioenvs\megaatmega2560\lib219\libSD.a .pioenvs\megaatmega2560\lib219\SD\File.cpp.o .pioenvs\megaatmega2560\lib219\SD\SD.cpp.o .pioenvs\megaatmega2560\lib219\SD\utility\Sd2Card.cpp.o .pioenvs\megaatmega2560\lib219\SD\utility\SdFile.cpp.o .pioenvs\megaatmega2560\lib219\SD\utility\SdVolume.cpp.o
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\IPAddress.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\IPAddress.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\PluggableUSB.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\PluggableUSB.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\Print.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\Print.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\Stream.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\Stream.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\Tone.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11
-Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\Tone.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\USBCore.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L
-DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\USBCore.cpp
avr-gcc -o .pioenvs\megaatmega2560\FrameworkArduino\WInterrupts.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\WInterrupts.c
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\WMath.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\WMath.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\WString.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L
-DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\WString.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\abi.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\abi.cpp
avr-gcc -o .pioenvs\megaatmega2560\FrameworkArduino\hooks.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\hooks.c
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\main.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11
-Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\main.cpp
avr-g++ -o .pioenvs\megaatmega2560\FrameworkArduino\new.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\new.cpp
avr-gcc -o .pioenvs\megaatmega2560\FrameworkArduino\wiring.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\wiring.c
avr-gcc -o .pioenvs\megaatmega2560\FrameworkArduino\wiring_analog.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\wiring_analog.c
avr-gcc -o .pioenvs\megaatmega2560\FrameworkArduino\wiring_digital.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\wiring_digital.c
avr-gcc -x assembler-with-cpp -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega -c -o .pioenvs\megaatmega2560\FrameworkArduino\wiring_pulse.S.o C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\wiring_pulse.S
avr-gcc -o .pioenvs\megaatmega2560\FrameworkArduino\wiring_pulse.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\wiring_pulse.c
avr-gcc -o .pioenvs\megaatmega2560\FrameworkArduino\wiring_shift.c.o -c -std=gnu11 -fno-fat-lto-objects -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino\wiring_shift.c
avr-gcc-ar rc .pioenvs\megaatmega2560\libFrameworkArduino.a .pioenvs\megaatmega2560\FrameworkArduino\CDC.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial0.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial1.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial2.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\HardwareSerial3.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\IPAddress.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\PluggableUSB.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\Print.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\Stream.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\Tone.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\USBCore.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\WInterrupts.c.o .pioenvs\megaatmega2560\FrameworkArduino\WMath.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\WString.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\abi.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\hooks.c.o .pioenvs\megaatmega2560\FrameworkArduino\main.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\new.cpp.o .pioenvs\megaatmega2560\FrameworkArduino\wiring.c.o .pioenvs\megaatmega2560\FrameworkArduino\wiring_analog.c.o .pioenvs\megaatmega2560\FrameworkArduino\wiring_digital.c.o .pioenvs\megaatmega2560\FrameworkArduino\wiring_pulse.S.o .pioenvs\megaatmega2560\FrameworkArduino\wiring_pulse.c.o .pioenvs\megaatmega2560\FrameworkArduino\wiring_shift.c.o
avr-g++ -o .pioenvs\megaatmega2560\firmware.elf -Os -mmcu=atmega2560 -Wl,--gc-sections -flto -fuse-linker-plugin .pioenvs\megaatmega2560\src\main.cpp.o -L.pioenvs\megaatmega2560 -Wl,--start-group .pioenvs\megaatmega2560\lib747\libSPI.a .pioenvs\megaatmega2560\lib219\libSD.a .pioenvs\megaatmega2560\libFrameworkArduinoVariant.a .pioenvs\megaatmega2560\libFrameworkArduino.a -lm -Wl,--end-group
MethodWrapper(["checkprogsize"], [".pioenvs\megaatmega2560\firmware.elf"])
avr-objcopy -O ihex -R .eeprom .pioenvs\megaatmega2560\firmware.elf .pioenvs\megaatmega2560\firmware.hex
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [ ] 0.1% (used 9 bytes from 8192 bytes)
PROGRAM: [ ] 0.3% (used 662 bytes from 253952 bytes)
.pioenvs\megaatmega2560\firmware.elf :
section size addr
.data 0 8389120
.text 662 0
.bss 9 8389120
.comment 17 0
.note.gnu.avr.deviceinfo 64 0
.debug_aranges 64 0
.debug_info 3378 0
.debug_abbrev 2882 0
.debug_line 258 0
.debug_str 998 0
Total 8332
=================================================== [SUCCESS] Took 3.19 seconds ===================================================
Terminal will be reused by tasks, press any key to close it.
> Executing task: C:\Users\chris\.platformio\penv\Scripts\platformio.exe run --verbose <
Please wait while upgrading PlatformIO...
Error: Detected unknown package 'tool-scons @ ~2.20501.6'
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
> Executing task: C:\Users\chris\.platformio\penv\Scripts\platformio.exe run --verbose <
Processing megaatmega2560 (platform: atmelavr; lib_ldf_mode: deep+; board: megaatmega2560; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html
PLATFORM: Atmel AVR > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz 8KB RAM (248KB Flash)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(deep+) COMPATIBILITY(soft)
Collected 24 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <SD> 1.1.1 (C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD)
avr-g++ -o .pioenvs\megaatmega2560\src\main.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -Isrc -Iinclude -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega src\main.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\File.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\File.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\SD.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\SD.cpp
avr-g++ -o .pioenvs\megaatmega2560\lib219\SD\utility\Sd2Card.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega2560 -DPLATFORMIO=30602 -DARDUINO_AVR_MEGA2560 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10805 -IC:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src -IC:\Users\chris\.platformio\packages\framework-arduinoavr\cores\arduino -IC:\Users\chris\.platformio\packages\framework-arduinoavr\variants\mega C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\utility\Sd2Card.cpp
C:\Users\chris\.platformio\packages\framework-arduinoavr\libraries\SD\src\utility\Sd2Card.cpp:31:17: fatal error: SPI.h: No such file or directory
*************************************************************
* Looking for SPI.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:SPI.h"
* Web > https://platformio.org/lib/search?query=header:SPI.h
*
*************************************************************
compilation terminated.
*** [.pioenvs\megaatmega2560\lib219\SD\utility\Sd2Card.cpp.o] Error 1
==================================================== [ERROR] Took 1.19 seconds ====================================================
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment