PS C:\Users\SnakePin\Documents\GitHub\Marlin> pio run -t upload -v Processing mega2560 (platform: atmelavr; extends: common_avr8; board: megaatmega2560; board_build.f_cpu: 16000000L; src_filter: + - - +, - - - - - -, - -, -, - - -, - -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, - -, -, -, -, - -, - -, -, -, -, -, -, -, - -, - -, - -, - -, - -, -, - -, - -, -, - -, - -, - -, -, -, -, - -, - -, -, -, -, -, -, -, -, -, -, -, -, -, - -, - -, -, -, - -, - -, -, - -, -, - -, - -, - -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, - -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, -, - -, - -, -, -, - -, -, -, -, -, - -, - +; upload_flags: -V; framework: arduino; extra_scripts: pre:buildroot/share/PlatformIO/scripts/common-dependencies.py, pre:buildroot/share/PlatformIO/scripts/common-cxxflags.py, post:buildroot/share/PlatformIO/scripts/common-dependencies-post.py; build_flags: -fmax-errors=5 -g -D__MARLIN_FIRMWARE__ -fmerge-all-constants; lib_deps: ; monitor_speed: 250000; monitor_flags: --quiet, --echo, --eol, LF, --filter, colorize, --filter, time) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html PLATFORM: Atmel AVR (3.2.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 - tool-avrdude 1.60300.200527 (6.3.0) - toolchain-atmelavr 1.70300.191015 (7.3.0) avr-g++ -o "C:\Users\SnakePin\Documents\GitHub\Marlin\Marlin\Marlin.ino.cpp" -x c++ -fpreprocessed -dD -E "C:\Users\SnakePin\AppData\Local\Temp\tmpzz3ikvx9" LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 6 compatible libraries Scanning dependencies... Dependency Graph |-- 1.5.0 (C:\Users\SnakePin\Documents\GitHub\Marlin\.pio\libdeps\mega2560\LiquidCrystal) | |-- 1.0 (C:\Users\SnakePin\.platformio\packages\framework-arduino-avr\libraries\Wire) |-- 1.0 (C:\Users\SnakePin\.platformio\packages\framework-arduino-avr\libraries\Wire) |-- 1.0 (C:\Users\SnakePin\.platformio\packages\framework-arduino-avr\libraries\SPI) |-- 2.0 (C:\Users\SnakePin\.platformio\packages\framework-arduino-avr\libraries\EEPROM) |-- 1.0 (C:\Users\SnakePin\.platformio\packages\framework-arduino-avr\libraries\SoftwareSerial) Building in release mode MethodWrapper(["checkprogsize"], [".pio\build\mega2560\firmware.elf"]) Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [===== ] 53.2% (used 4355 bytes from 8192 bytes) Flash: [===== ] 53.3% (used 135248 bytes from 253952 bytes) .pio\build\mega2560\firmware.elf : section size addr .data 308 8389120 .text 134940 0 .bss 4047 8389428 .comment 17 0 .note.gnu.avr.deviceinfo 64 0 .debug_aranges 576 0 .debug_info 6370 0 .debug_abbrev 3202 0 .debug_line 3044 0 .debug_str 998 0 Total 153566 (["upload"], [".pio\build\mega2560\firmware.hex"]) AVAILABLE: wiring CURRENT: upload_protocol = wiring BeforeUpload(["upload"], [".pio\build\mega2560\firmware.hex"]) Auto-detected: COM9 avrdude -V -v -p atmega2560 -C C:\Users\SnakePin\.platformio\packages\tool-avrdude\avrdude.conf -c wiring -b 115200 -D -P COM9 -U flash:w:.pio\build\mega2560\firmware.hex:i avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "C:\Users\SnakePin\.platformio\packages\tool-avrdude\avrdude.conf" Using Port : COM9 Using Programmer : wiring Overriding Baud Rate : 115200 AVR Part : ATmega2560 Chip Erase delay : 9000 us PAGEL : PD7 BS2 : PA0 RESET disposition : dedicated RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00 flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00 lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Programmer Type : Wiring Description : Wiring Programmer Model: AVRISP Hardware Version: 15 Firmware Version Master : 2.10 Vtarget : 0.0 V SCK period : 0.1 us avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.03s avrdude: Device signature = 0x1e9801 (probably m2560) avrdude: safemode: hfuse reads as D8 avrdude: safemode: efuse reads as FD avrdude: reading input file ".pio\build\mega2560\firmware.hex" avrdude: writing flash (135248 bytes): Writing | ################################################## | 100% 33.81s avrdude: 135248 bytes of flash written avrdude: safemode: hfuse reads as D8 avrdude: safemode: efuse reads as FD avrdude: safemode: Fuses OK (E:FD, H:D8, L:FF) avrdude done. Thank you. ================================================================================================= [SUCCESS] Took 39.06 seconds ================================================================================================= Environment Status Duration ------------------------ -------- ------------ mega2560 SUCCESS 00:00:39.055 mega2560ext IGNORED mega1280 IGNORED MightyBoard1280 IGNORED MightyBoard2560 IGNORED rambo IGNORED FYSETC_F6_13 IGNORED FYSETC_F6_14 IGNORED sanguino644p IGNORED sanguino1284p IGNORED melzi IGNORED melzi_optiboot IGNORED melzi_optimized IGNORED at90usb1286_cdc IGNORED at90usb1286_dfu IGNORED DUE IGNORED DUE_USB IGNORED DUE_debug IGNORED DUE_archim IGNORED DUE_archim_debug IGNORED SAMD51_grandcentral_m4 IGNORED LPC1768 IGNORED LPC1769 IGNORED STM32F103RC IGNORED STM32F103RC_meeb IGNORED STM32F103RC_fysetc IGNORED STM32F103RC_btt IGNORED STM32F103RC_btt_USB IGNORED STM32F103RC_btt_512K IGNORED STM32F103RC_btt_512K_USB IGNORED STM32F103RE IGNORED STM32F103RE_btt IGNORED STM32F103RE_btt_USB IGNORED STM32F4 IGNORED STM32F7 IGNORED NUCLEO_F767ZI IGNORED ARMED IGNORED STM32F103VE_GTM32 IGNORED STM32F103VE_longer IGNORED mks_robin_mini IGNORED mks_robin_nano35 IGNORED mks_robin IGNORED mks_robin_stm32 IGNORED mks_robin_pro IGNORED trigorilla_pro IGNORED mks_robin_e3 IGNORED mks_robin_e3p IGNORED mks_robin_lite IGNORED mks_robin_lite3 IGNORED jgaurora_a5s_a1 IGNORED STM32F103CB_malyan IGNORED STM32F070RB_malyan IGNORED STM32F070CB_malyan IGNORED malyan_M300 IGNORED chitu_f103 IGNORED chitu_v5_gpio_init IGNORED STM32F103RET6_creality IGNORED STM32F401VE_STEVAL IGNORED FLYF407ZG IGNORED FLY_MINI IGNORED FYSETC_S6 IGNORED STM32F407VE_black IGNORED BIGTREE_SKR_PRO IGNORED BIGTREE_GTR_V1_0 IGNORED BIGTREE_BTT002 IGNORED LERDGEX IGNORED LERDGES IGNORED LERDGEK IGNORED rumba32 IGNORED esp32 IGNORED teensy31 IGNORED teensy35 IGNORED teensy36 IGNORED teensy41 IGNORED linux_native IGNORED include_tree IGNORED ================================================================================================== 1 succeeded in 00:00:39.055 ==================================================================================================