Board Properties name=ATmega2560 (Mega 2560) (Arduino/Genuino Mega) vid.0=0x2341 pid.0=0x0010 vid.1=0x2341 pid.1=0x0042 vid.2=0x2A03 pid.2=0x0010 vid.3=0x2A03 pid.3=0x0042 vid.4=0x2341 pid.4=0x0210 vid.5=0x2341 pid.5=0x0242 upload.tool=avrdude upload.maximum_data_size=8192 bootloader.tool=avrdude bootloader.low_fuses=0xFF bootloader.unlock_bits=0x3F bootloader.lock_bits=0x0F build.f_cpu=16000000L build.core=arduino build.variant=mega build.board=AVR_MEGA2560 menu.cpu.atmega2560=ATmega2560 (Mega 2560) menu.cpu.atmega2560.upload.protocol=wiring menu.cpu.atmega2560.upload.maximum_size=253952 menu.cpu.atmega2560.upload.speed=115200 menu.cpu.atmega2560.bootloader.high_fuses=0xD8 menu.cpu.atmega2560.bootloader.extended_fuses=0xFD menu.cpu.atmega2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex menu.cpu.atmega2560.build.mcu=atmega2560 menu.cpu.atmega2560.build.board=AVR_MEGA2560 menu.cpu.atmega1280=ATmega1280 menu.cpu.atmega1280.upload.protocol=arduino menu.cpu.atmega1280.upload.maximum_size=126976 menu.cpu.atmega1280.upload.speed=57600 menu.cpu.atmega1280.bootloader.high_fuses=0xDA menu.cpu.atmega1280.bootloader.extended_fuses=0xF5 menu.cpu.atmega1280.bootloader.file=atmega/ATmegaBOOT_168_atmega1280.hex menu.cpu.atmega1280.build.mcu=atmega1280 menu.cpu.atmega1280.build.board=AVR_MEGA runtime.ide.path=C:\Program Files (x86)\Arduino runtime.os=windows build.system.path=C:\Program Files (x86)\Arduino\hardware\arduino\avr\system runtime.ide.version=10805 target_package=arduino target_platform=avr runtime.hardware.path=C:\Program Files (x86)\Arduino\hardware\arduino originalid=mega intellisense.tools.path={runtime.tools.avr-gcc.path}\ intellisense.include.paths={intellisense.tools.path}avr\include;{intellisense.tools.path}avr\include\avr;{intellisense.tools.path}lib\gcc\avr\4.8.1\include;{intellisense.tools.path}lib\gcc\avr\4.9.2\include;{intellisense.tools.path}lib\gcc\avr\4.9.3\include; tools.atprogram.cmd.path=%AVRSTUDIO_EXE_PATH%\atbackend\atprogram tools.atprogram.cmd.setwinpath=true tools.atprogram.program.params.verbose=-v tools.atprogram.program.params.quiet=-q tools.atprogram.program.pattern="{cmd.path}" -d {build.mcu} {program.verbose} {program.extra_params} program -c -f "{build.path}\{build.project_name}.hex" tools.atprogram.program.xpattern="{cmd.path}" {AVRSTUDIO_BACKEND_CONNECTION} -d {build.mcu} {program.verbose} {program.extra_params} program -c -f "{build.path}\{build.project_name}.hex" tools.atprogram.erase.params.verbose=-v tools.atprogram.erase.params.quiet=-q tools.atprogram.bootloader.params.verbose=-v tools.atprogram.bootloader.params.quiet=-q tools.atprogram.bootloader.pattern="{cmd.path}" -d {build.mcu} {bootloader.verbose} program -c -f "{runtime.ide.path}\hardware\arduino\avr\bootloaders\{bootloader.file}" version=1.6.20 compiler.warning_flags=-w compiler.warning_flags.none=-w compiler.warning_flags.default= compiler.warning_flags.more=-Wall compiler.warning_flags.all=-Wall -Wextra compiler.path={runtime.tools.avr-gcc.path}/bin/ compiler.c.cmd=avr-gcc compiler.c.flags=-c -g -Os {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections compiler.c.elf.cmd=avr-gcc compiler.S.flags=-c -g -x assembler-with-cpp -flto -MMD compiler.cpp.cmd=avr-g++ compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto compiler.ar.cmd=avr-gcc-ar compiler.ar.flags=rcs compiler.objcopy.cmd=avr-objcopy compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 compiler.elf2hex.flags=-O ihex -R .eeprom compiler.elf2hex.cmd=avr-objcopy compiler.ldflags= compiler.size.cmd=avr-size build.extra_flags= compiler.c.extra_flags= compiler.c.elf.extra_flags= compiler.S.extra_flags= compiler.cpp.extra_flags= compiler.ar.extra_flags= compiler.objcopy.eep.extra_flags= compiler.elf2hex.extra_flags= recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" recipe.S.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.S.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{object_file}" archive_file_path={build.path}/{archive_file} recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}" recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} {compiler.c.elf.extra_flags} -o "{build.path}/{build.project_name}.elf" {object_files} "{build.path}/{archive_file}" "-L{build.path}" -lm recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.objcopy.eep.flags} {compiler.objcopy.eep.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.eep" recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex" recipe.output.tmp_file={build.project_name}.hex recipe.output.save_file={build.project_name}.{build.variant}.hex recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf" recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).* recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).* recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).* preproc.includes.flags=-w -x c++ -M -MG -MP recipe.preproc.includes="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.includes.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" preproc.macros.flags=-w -x c++ -E -CC recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} {preproc.macros.flags} -mmcu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {includes} "{source_file}" -o "{preprocessed_file_path}" tools.avrdude.path={runtime.tools.avrdude.path} tools.avrdude.cmd.path={path}/bin/avrdude tools.avrdude.config.path={path}/etc/avrdude.conf tools.avrdude.network_cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA tools.avrdude.upload.params.verbose=-v tools.avrdude.upload.params.quiet=-q -q tools.avrdude.upload.verify= tools.avrdude.upload.params.noverify=-V tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} {upload.verify} -p{build.mcu} -c{upload.protocol} "-P{serial.port}" -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i" tools.avrdude.program.params.verbose=-v tools.avrdude.program.params.quiet=-q -q tools.avrdude.program.verify= tools.avrdude.program.params.noverify=-V tools.avrdude.program.pattern="{cmd.path}" "-C{config.path}" {program.verbose} {program.verify} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{build.path}/{build.project_name}.hex:i" tools.avrdude.erase.params.verbose=-v tools.avrdude.erase.params.quiet=-q -q tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" {erase.verbose} -p{build.mcu} -c{protocol} {program.extra_params} -e -Ulock:w:{bootloader.unlock_bits}:m -Uefuse:w:{bootloader.extended_fuses}:m -Uhfuse:w:{bootloader.high_fuses}:m -Ulfuse:w:{bootloader.low_fuses}:m tools.avrdude.bootloader.params.verbose=-v tools.avrdude.bootloader.params.quiet=-q -q tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verbose} -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.platform.path}/bootloaders/{bootloader.file}:i" -Ulock:w:{bootloader.lock_bits}:m tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex {upload.verbose} -p{build.mcu} tools.avrdude.upload.network_pattern="{network_cmd}" -address {serial.port} -port {upload.network.port} -sketch "{build.path}/{build.project_name}.hex" -upload {upload.network.endpoint_upload} -sync {upload.network.endpoint_sync} -reset {upload.network.endpoint_reset} -sync_exp {upload.network.sync_return} build.usb_manufacturer="Unknown" build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}' vm.platform.root.path=C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\zlyk5qxj.0sq\Micro Platforms\arduino16x avrisp.name=AVR ISP avrisp.communication=serial avrisp.protocol=stk500v1 avrisp.program.protocol=stk500v1 avrisp.program.tool=avrdude avrisp.program.extra_params=-P{serial.port} avrispmkii.name=AVRISP mkII avrispmkii.communication=usb avrispmkii.protocol=stk500v2 avrispmkii.program.protocol=stk500v2 avrispmkii.program.tool=avrdude avrispmkii.program.extra_params=-Pusb usbtinyisp.name=USBtinyISP usbtinyisp.protocol=usbtiny usbtinyisp.program.tool=avrdude usbtinyisp.program.extra_params= arduinoisp.name=ArduinoISP arduinoisp.protocol=arduinoisp arduinoisp.program.tool=avrdude arduinoisp.program.extra_params= arduinoisporg.name=ArduinoISP.org arduinoisporg.protocol=arduinoisporg arduinoisporg.program.tool=avrdude arduinoisporg.program.extra_params= usbasp.name=USBasp usbasp.communication=usb usbasp.protocol=usbasp usbasp.program.protocol=usbasp usbasp.program.tool=avrdude usbasp.program.extra_params=-Pusb parallel.name=Parallel Programmer parallel.protocol=dapa parallel.force=true parallel.program.tool=avrdude parallel.program.extra_params=-F arduinoasisp.name=Arduino as ISP arduinoasisp.communication=serial arduinoasisp.protocol=stk500v1 arduinoasisp.speed=19200 arduinoasisp.program.protocol=stk500v1 arduinoasisp.program.speed=19200 arduinoasisp.program.tool=avrdude arduinoasisp.program.extra_params=-P{serial.port} -b{program.speed} usbGemma.name=Arduino Gemma usbGemma.protocol=arduinogemma usbGemma.program.tool=avrdude usbGemma.program.extra_params= usbGemma.config.path={runtime.platform.path}/bootloaders/gemma/avrdude.conf buspirate.name=BusPirate as ISP buspirate.communication=serial buspirate.protocol=buspirate buspirate.program.protocol=buspirate buspirate.program.tool=avrdude buspirate.program.extra_params=-P{serial.port} stk500.name=Atmel STK500 development board stk500.communication=serial stk500.protocol=stk500 stk500.program.protocol=stk500 stk500.program.tool=avrdude stk500.program.extra_params=-P{serial.port} jtag3isp.name=Atmel JTAGICE3 (ISP mode) jtag3isp.communication=usb jtag3isp.protocol=jtag3isp jtag3isp.program.protocol=jtag3isp jtag3isp.program.tool=avrdude jtag3isp.program.extra_params= jtag3.name=Atmel JTAGICE3 (JTAG mode) jtag3.communication=usb jtag3.protocol=jtag3 jtag3.program.protocol=jtag3 jtag3.program.tool=avrdude jtag3.program.extra_params=-B0.1 atmel_ice.name=Atmel-ICE (AVR) atmel_ice.communication=usb atmel_ice.protocol=atmelice_isp atmel_ice.program.protocol=atmelice_isp atmel_ice.program.tool=avrdude atmel_ice.program.extra_params=-Pusb runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.avr-gcc-4.9.2-atmel3.5.4-arduino2.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.tools-avr.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.avrdude-6.3.0-arduino9.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr runtime.tools.arduinoOTA-1.1.1.path=C:\Program Files (x86)\Arduino\hardware\tools\avr upload.protocol=wiring upload.maximum_size=253952 upload.speed=115200 bootloader.high_fuses=0xD8 bootloader.extended_fuses=0xFD bootloader.file=stk500v2/stk500boot_v2_mega2560.hex build.mcu=atmega2560 runtime.vm.boardinfo.id=mega_atmega2560 runtime.vm.boardinfo.name=mega_atmega2560 runtime.vm.boardinfo.desc=ATmega2560 (Mega 2560) (Arduino/Genuino Mega) runtime.vm.boardinfo.src_location=C:\Program Files (x86)\Arduino\hardware\arduino\avr ide.hint=Use installed IDE. Provides built-in hardware, reference/help and libraries. ide.location.key=Arduino16x ide.location.ide.winreg=Arduino 1.6.x Application ide.location.sketchbook.winreg=Arduino 1.6.x Sketchbook ide.location.sketchbook.preferences=sketchbook.path ide.default.revision_name=1.9.0 ide.default.version=10800 ide.default.package=arduino ide.default.platform=avr ide.multiplatform=true ide.includes=Arduino.h ide.exe_name=arduino ide.recipe.preproc.defines.flags=-w -x c++ -E -dM ide.platformswithoutpackage=false ide.includes.fallback=wprogram.h ide.extension=ino ide.extension.fallback=pde ide.versionGTEQ=160 ide.exe=arduino.exe ide.builder.exe=arduinobuilder.exe ide.builder.name=Arduino Builder ide.hosts=atmel ide.url=http://arduino.cc/en/Main/Software ide.help.reference.path=reference ide.help.reference.path2=reference\www.arduino.cc\en\Reference ide.help.reference.serial=reference\www.arduino.cc\en\Serial ide.location.preferences.portable={runtime.ide.path}\portable ide.location.preferences.arduinoData={runtime.sketchbook.path}\ArduinoData ide.location.preferences=%VM_APPDATA_LOCAL%\arduino15\preferences.txt ide.location.preferences_fallback=%VM_APPDATA_ROAMING%\arduino15\preferences.txt ide.location.contributions=%VM_APPDATA_LOCAL%\arduino15 ide.location.contributions_fallback=%VM_APPDATA_ROAMING%\arduino15 ide.contributions.boards.allow=true ide.contributions.boards.ignore_unless_rewrite_found=true ide.contributions.libraries.allow=true ide.contributions.boards.support.urls.wiki=https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls ide.create_platforms_from_boardsTXT.teensy=build.core vm.debug=true software=ARDUINO ssh.user.name=root ssh.user.default.password=arduino ssh.host.wwwfiles.path=/www/sd build.working_directory={runtime.ide.path}\java\bin ide.appid=arduino16x location.sketchbook=C:\Users\mackw\OneDrive\Documents\Arduino build.core.path=C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino vm.core.include=arduino.h vm.boardsource.path=C:\Program Files (x86)\Arduino\hardware\arduino\avr runtime.platform.path=C:\Program Files (x86)\Arduino\hardware\arduino\avr vm.platformname.name=avr build.arch=AVR builder.noino=false build.architecture=avr vmresolved.compiler.path=C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\ vmresolved.tools.path=C:\Program Files (x86)\Arduino\hardware\tools\avr build.project_name=Sketch1.ino build.project_path=C:\Users\mackw\OneDrive\Documents\Arduino\Sketch1\Sketch1 sketch_path=C:\Users\mackw\OneDrive\Documents\Arduino\Sketch1\Sketch1 ProjectDir=C:\Users\mackw\OneDrive\Documents\Arduino\Sketch1\Sketch1\ build.path=C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug vm.runtime.compiler.cached_cores_path=C:\Users\mackw\AppData\Local\Temp\VMBCore\arduino16x vm.runtime.compiler.showwarnings=false vm.runtime.compiler.showwarnings_core=false vm.runtime.compiler.showwarnings_library=false vm.runtime.upload.verbose=false vm.runtime.upload.verify=false runtime.vm.ide.platforms.path=C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\zlyk5qxj.0sq\Micro Platforms runtime.vm.ide.tools.openocd.path={runtime.tools.openocd-0.9.0.path} runtime.vm.openocd.path={runtime.tools.openocd-0.9.0.path} vm.runtime.build.final_output_path=C:\Users\mackw\OneDrive\Documents\Arduino\Sketch1\Sketch1\Debug vm.runtime.build.intermediate_output_path=C:\Users\mackw\OneDrive\Documents\Arduino\Sketch1\Sketch1\Debug compiler.always_include_sketchfolder=true vm.runtime.compiler.auto_discover_includes=true vm.runtime.compiler.allow_library_debugging=false serial.port.file=COM3 serial.port=COM3 serial.port.num=3 extra.time.local=1562505397 extra.time.utc=1562523397 extra.time.dst=-18000 extra.time.zone=18000 serial.port.caption=COM3 - Arduino Mega 2560 serial.Caption=Arduino Mega 2560 (COM3) serial.ClassGuid={4d36e978-e325-11ce-bfc1-08002be10318} serial.CompatibleID.value0=USB\Class_02 serial.ConfigManagerErrorCode=0 serial.ConfigManagerUserConfig=False serial.CreationClassName=Win32_PnPEntity serial.Description=Arduino Mega 2560 serial.DeviceID=USB\VID_2341&PID_0042\95730333937351401172 serial.HardwareID.value0=USB\VID_2341&PID_0042 serial.Manufacturer=Arduino LLC (www.arduino.cc) serial.Name=Arduino Mega 2560 (COM3) serial.PNPClass=Ports serial.PNPDeviceID=USB\VID_2341&PID_0042\95730333937351401172 serial.Present=True serial.Service=usbser serial.Status=OK serial.SystemCreationClassName=Win32_ComputerSystem serial.SystemName=DESKTOP-T5D321K serial.vid=0x2341 serial.pid=0x0042 serial.vidpid=23410042 serial.vid_pid=0x2341_0x0042 serial.iserial=95730333937351401172 serial.port.iserial=95730333937351401172 vm.runtime.compile.skip_library_file_if_exists_in_project=false vm.runtime.compiler.auto_discover_includes_cache=true build.vm.build.vmdebug=0 build.vm.build.isgdb=0 build.vm.build.optimised=1 build.vm.extra_flags= -g vm.last.buildpath=C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug Compiling 'Sketch1' for 'ATmega2560 (Mega 2560) (Arduino/Genuino Mega)' Build Folder: "file:///C:/Users/mackw/AppData/Local/Temp/VMBuilds/Sketch1/mega_atmega2560/Debug" Summary: Header=1 Prototypes=3 Imports=0 Additional Defines: Architecture Tools: "file:///C:/Program%20Files%20(x86)/Arduino/hardware/tools/avr/bin/" Api: 1906030 Sketch Book: "file:///C:/Users/mackw/OneDrive/Documents/Arduino" Sketch Include Paths Core Include Paths Include Path "file:///C:/Program%20Files%20(x86)/Arduino/hardware/arduino/avr/cores/arduino" Include Path "file:///C:/Program%20Files%20(x86)/Arduino/hardware/arduino/avr/variants/mega" Deep search for libraries ... "C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -g -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug\Sketch1.cpp" -o "nul" Building variant ... Using previously compiled variant Building core ... Building project code ... "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -g -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -I"C:\Users\mackw\OneDrive\Documents\Arduino\Sketch1\Sketch1" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" -I"C:\Program Files (x86)\Arduino\libraries" -I"C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\zlyk5qxj.0sq\Micro Platforms\default\debuggers" -I"C:\Users\mackw\OneDrive\Documents\Arduino\libraries" -I"C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries" "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug\Sketch1.cpp" -o "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug\Sketch1.cpp.o" Linking it all together ... # Coping cached core C:\Users\mackw\AppData\Local\Temp\VMBCore\arduino16x\4c29a7e3ad9dfea5ab0db35de839a90f\core.a to C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug\core.a "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug/Sketch1.ino.elf" "Sketch1.cpp.o" "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug/core.a" "-LC:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug" -lm ## recipe.objcopy.eep.pattern "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug/Sketch1.ino.elf" "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug/Sketch1.ino.eep" ## recipe.objcopy.hex.pattern "C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug/Sketch1.ino.elf" "C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug/Sketch1.ino.hex" Program Sketch1 size: 656 bytes (used 0% of a 253,952 byte maximum) (0.60 secs) Minimum Memory Usage: 9 bytes (0% of a 8192 byte maximum) # Copy build result to 'Project>Property Pages>Intermediate Directory' # Destination: file:///C:/Users/mackw/OneDrive/Documents/Arduino/Sketch1/Sketch1/Debug ** Atmel debugging for Arduino is enabled ** Debug step and break operations will not work well with .ino source code. During debug in projects with .ino source code, project code will be displayed from a temporary build folder and breakpoints in project sources will show with an error icon. It is a simple task to convert from multiple .ino files to a single .cpp file. When this project contains a 'Sketch1.cpp', the .ino source code will be ignored by the builder and the .cpp source will be used instead. To get started, copy and include the following into this project (CTRL+CLICK): file:///C:\Users\mackw\AppData\Local\Temp\VMBuilds\Sketch1\mega_atmega2560\Debug\Sketch1.cpp A 'Sketch1.cpp' can also be manually created in the current project folder. Nomrally, the minimum code requirement is to #include the 'Arduino.h' header and void setup(){} void loop(){} functions (with prototypes). As with any C++ file a .h header can also be used. Use the 'vMicro>Toggle Hidden Files' command to more easily view and set breakpoints in underlying Arduino and Library source code. Arduino doesn't build well with optimization fully disabled. Ask in the forum about compiler switches or use this guide to control optimization via code https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-In-Brief.html#noopt Advanced users can import core and libraries locally. Please ask in the forum for more information https://www.visualmicro.com/forums/ * A 'quirk' of Visual Micro is that, even with .cpp, the project must contain a 'Sketch1.ino'. The .ino can be empty or it can contain code for when compiled via the Arduino IDE. Although the .ino code will be ignored during build, Visual Micro will stop managing this project if the file does not exist. Without the .ino the project becomes a standard Atmel Studio project and all project properties will need to be manually configured. The fake .ino is also useful to see the correct #includes syntax when using the 'Add Arduino Library' command which adds example #includes for the selected library into the .ino file. The Visual Micro build system, with .cpp instead of .ino, remains Arduino compatible. Altering the Atmel Studio project tool chain properties will not affect the build. Use the Arduino.cc 'Third Party Hadrware Guide' to understand how to change most build options or the document Visual Micro project properties. A local project board.txt can be used to easily implement or override most elements described in the guide. See 'Tools>Options>Visual Micro>Debug - Adv' to work with .ino files but without this warning. Always #include Arduino libraries without path qualification ie: #include Uploading 'Sketch1' to 'ATmega2560 (Mega 2560) (Arduino/Genuino Mega)' using 'COM3' The upload process has finished. # Copy build result to 'Project>Property Pages>Intermediate Directory' # Destination: file:///C:/Users/mackw/OneDrive/Documents/Arduino/Sketch1/Sketch1/Debug