Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Atmega4809 Serial3 (Read 3045 times)
Mike Brian
Newbies
*
Offline


Posts: 3
Location: Canada
Joined: Dec 31st, 2019
Atmega4809 Serial3
May 2nd, 2023 at 3:18pm
Print Post  
I have a custom board using a 4809.  Programming is on MS visual Studio, with VisualMicro IDE 
The programming and functions have been perfect until last Saturday April 29 2023.   
The project uses all the 4 ports, but now it refuses to recognize Serial3.
If I use the '3209 chip model it compiles perfectly.
I have replaced the Microsoft VS, and the Visual studio, same result.
However, if I use the Arduino IDE, the project compiles.

I'm at a loss to explain the change in operation.
MB
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmega4809 Serial3
Reply #1 - May 2nd, 2023 at 3:34pm
Print Post  
Please follow the guide in the yellow box at the top of this page.
  
Back to top
IP Logged
 
Mike Brian
Newbies
*
Offline


Posts: 3
Location: Canada
Joined: Dec 31st, 2019
Re: Atmega4809 Serial3
Reply #2 - May 3rd, 2023 at 4:37pm
Print Post  
Board Properties

name=ATmega4809
upload.tool=avrdude
upload.maximum_data_size=6144
upload.speed=115200
bootloader.tool=avrdude
build.core=coreX-corefiles
build.board=AVR_ATmega4809
build.mcu=atmega4809
build.extra_flags={build.oscillator} {build.compat}
bootloader.WDTCFG=0x00
bootloader.TCD0CFG=0x00
bootloader.SYSCFG1=0x06
bootloader.APPEND=0x00
bootloader.LOCKBIT=0xC5
menu.pinout.48pin_standard=48 pin standard
menu.pinout.48pin_standard.build.variant=48pin-standard
menu.pinout.48pin_standard.build.compat=
menu.pinout.40pin_standard=40 pin standard
menu.pinout.40pin_standard.build.variant=40pin-standard
menu.pinout.40pin_standard.build.compat=
menu.pinout.uno_wifi=Uno WiFi
menu.pinout.uno_wifi.build.variant=uno-wifi
menu.pinout.uno_wifi.build.compat=
menu.pinout.nano_every=Nano Every
menu.pinout.nano_every.build.variant=nano-every
menu.pinout.nano_every.upload.tool=avrdude_nanoevery
menu.pinout.nano_every.upload.use_1200bps_touch=true
menu.pinout.nano_every.upload.protocol=jtag2updi
menu.pinout.nano_every.program.extra_params=-P{serial.port} -e
menu.pinout.nano_every.build.compat=
menu.eeprom.keep=EEPROM retained
menu.eeprom.keep.bootloader.eesave_bit=1
menu.eeprom.erase=EEPROM not retained
menu.eeprom.erase.bootloader.eesave_bit=0
menu.resetpin.reset=Reset
menu.resetpin.reset.bootloader.SYSCFG0=0b1100100{bootloader.eesave_bit}
menu.resetpin.gpio=GPIO
menu.resetpin.gpio.bootloader.SYSCFG0=0b1100000{bootloader.eesave_bit}
menu.BOD.2v6=BOD 2.6V
menu.BOD.2v6.bootloader.BODCFG=0x54
menu.BOD.4v3=BOD 4.3V
menu.BOD.4v3.bootloader.BODCFG=0xF4
menu.BOD.4v0=BOD 4.0V
menu.BOD.4v0.bootloader.BODCFG=0xD4
menu.BOD.3v7=BOD 3.7V
menu.BOD.3v7.bootloader.BODCFG=0xB4
menu.BOD.3v3=BOD 3.3V
menu.BOD.3v3.bootloader.BODCFG=0x94
menu.BOD.2v9=BOD 2.9V
menu.BOD.2v9.bootloader.BODCFG=0x74
menu.BOD.2v1=BOD 2.1V
menu.BOD.2v1.bootloader.BODCFG=0x34
menu.BOD.1v8=BOD 1.8V
menu.BOD.1v8.bootloader.BODCFG=0x14
menu.BOD.disabled=BOD disabled
menu.BOD.disabled.bootloader.BODCFG=0x00
menu.clock.internal_16MHz=Internal 16 MHz
menu.clock.internal_16MHz.upload.speed=115200
menu.clock.internal_16MHz.bootloader.OSCCFG=0x01
menu.clock.internal_16MHz.build.oscillator=
menu.clock.internal_16MHz.build.f_cpu=16000000L
menu.clock.internal_20MHz=Internal 20 MHz
menu.clock.internal_20MHz.upload.speed=115200
menu.clock.internal_20MHz.bootloader.OSCCFG=0x02
menu.clock.internal_20MHz.build.oscillator=
menu.clock.internal_20MHz.build.f_cpu=20000000L
menu.clock.internal_10MHz=Internal 10 MHz
menu.clock.internal_10MHz.upload.speed=115200
menu.clock.internal_10MHz.bootloader.OSCCFG=0x02
menu.clock.internal_10MHz.build.oscillator=
menu.clock.internal_10MHz.build.f_cpu=10000000L
menu.clock.internal_8MHz=Internal 8 MHz
menu.clock.internal_8MHz.upload.speed=115200
menu.clock.internal_8MHz.bootloader.OSCCFG=0x01
menu.clock.internal_8MHz.build.oscillator=
menu.clock.internal_8MHz.build.f_cpu=8000000L
menu.clock.internal_5MHz=Internal 5 MHz
menu.clock.internal_5MHz.upload.speed=115200
menu.clock.internal_5MHz.bootloader.OSCCFG=0x02
menu.clock.internal_5MHz.build.oscillator=
menu.clock.internal_5MHz.build.f_cpu=5000000L
menu.clock.internal_4MHz=Internal 4 MHz
menu.clock.internal_4MHz.upload.speed=115200
menu.clock.internal_4MHz.bootloader.OSCCFG=0x01
menu.clock.internal_4MHz.build.oscillator=
menu.clock.internal_4MHz.build.f_cpu=4000000L
menu.clock.internal_2MHz=Internal 2 MHz
menu.clock.internal_2MHz.upload.speed=115200
menu.clock.internal_2MHz.bootloader.OSCCFG=0x01
menu.clock.internal_2MHz.build.oscillator=
menu.clock.internal_2MHz.build.f_cpu=2000000L
menu.clock.internal_1MHz=Internal 1 MHz
menu.clock.internal_1MHz.upload.speed=115200
menu.clock.internal_1MHz.bootloader.OSCCFG=0x01
menu.clock.internal_1MHz.build.oscillator=
menu.clock.internal_1MHz.build.f_cpu=1000000L
menu.clock.external_20MHz=External 20 MHz
menu.clock.external_20MHz.upload.speed=115200
menu.clock.external_20MHz.bootloader.OSCCFG=0x01
menu.clock.external_20MHz.build.oscillator=-DUSE_EXTERNAL_OSCILLATOR
menu.clock.external_20MHz.build.f_cpu=20000000L
menu.clock.external_16MHz=External 16 MHz
menu.clock.external_16MHz.upload.speed=115200
menu.clock.external_16MHz.bootloader.OSCCFG=0x01
menu.clock.external_16MHz.build.oscillator=-DUSE_EXTERNAL_OSCILLATOR
menu.clock.external_16MHz.build.f_cpu=16000000L
menu.clock.external_12MHz=External 12 MHz
menu.clock.external_12MHz.upload.speed=115200
menu.clock.external_12MHz.bootloader.OSCCFG=0x01
menu.clock.external_12MHz.build.oscillator=-DUSE_EXTERNAL_OSCILLATOR
menu.clock.external_12MHz.build.f_cpu=12000000L
menu.clock.external_8MHz=External 8 MHz
menu.clock.external_8MHz.upload.speed=115200
menu.clock.external_8MHz.bootloader.OSCCFG=0x01
menu.clock.external_8MHz.build.oscillator=-DUSE_EXTERNAL_OSCILLATOR
menu.clock.external_8MHz.build.f_cpu=8000000L
menu.clock.external_4MHz=External 4 MHz
menu.clock.external_4MHz.upload.speed=115200
menu.clock.external_4MHz.bootloader.OSCCFG=0x01
menu.clock.external_4MHz.build.oscillator=-DUSE_EXTERNAL_OSCILLATOR
menu.clock.external_4MHz.build.f_cpu=4000000L
menu.clock.external_1MHz=External 1 MHz
menu.clock.external_1MHz.upload.speed=115200
menu.clock.external_1MHz.bootloader.OSCCFG=0x01
menu.clock.external_1MHz.build.oscillator=-DUSE_EXTERNAL_OSCILLATOR
menu.clock.external_1MHz.build.f_cpu=1000000L
menu.bootloader.no_bootloader=No bootloader
menu.bootloader.no_bootloader.upload.maximum_size=49152
menu.bootloader.no_bootloader.upload.extra_params=
menu.bootloader.no_bootloader.build.text_section_start=.text=0x0
menu.bootloader.no_bootloader.build.export_merged_output=false
menu.bootloader.no_bootloader.bootloader.file=empty/empty.hex
menu.bootloader.no_bootloader.bootloader.BOOTEND=0x00
menu.bootloader.uart0_default=Optiboot (UART0 default pins)
menu.bootloader.uart0_default.upload.maximum_size=48640
menu.bootloader.uart0_default.upload.protocol=arduino
menu.bootloader.uart0_default.upload.port=UART0_DEF
menu.bootloader.uart0_default.upload.extra_params=
menu.bootloader.uart0_default.build.text_section_start=.text=0x200
menu.bootloader.uart0_default.build.export_merged_output=true
.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart0_default.bootloader.BOOTEND=0x02
}
menu.bootloader.uart0_alternative=Optiboot (UART0 alternative pins)
menu.bootloader.uart0_alternative.upload.maximum_size=48640
menu.bootloader.uart0_alternative.upload.protocol=arduino
menu.bootloader.uart0_alternative.upload.port=UART0_ALT
menu.bootloader.uart0_alternative.upload.extra_params=
menu.bootloader.uart0_alternative.build.text_section_start=.text=0x200
menu.bootloader.uart0_alternative.build.export_merged_output=true
load.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart0_alternative.bootloader.BOOTEND=0x02
_bit}
menu.bootloader.uart1_default=Optiboot (UART1 default pins)
menu.bootloader.uart1_default.upload.maximum_size=48640
menu.bootloader.uart1_default.upload.protocol=arduino
menu.bootloader.uart1_default.upload.port=UART1_DEF
menu.bootloader.uart1_default.upload.extra_params=
menu.bootloader.uart1_default.build.text_section_start=.text=0x200
menu.bootloader.uart1_default.build.export_merged_output=true
.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart1_default.bootloader.BOOTEND=0x02
}
menu.bootloader.uart1_alternative=Optiboot (UART1 alternative pins)
menu.bootloader.uart1_alternative.upload.maximum_size=48640
menu.bootloader.uart1_alternative.upload.protocol=arduino
menu.bootloader.uart1_alternative.upload.port=UART1_ALT
menu.bootloader.uart1_alternative.upload.extra_params=
menu.bootloader.uart1_alternative.build.text_section_start=.text=0x200
menu.bootloader.uart1_alternative.build.export_merged_output=true
load.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart1_alternative.bootloader.BOOTEND=0x02
_bit}
menu.bootloader.uart2_default=Optiboot (UART2 default pins)
menu.bootloader.uart2_default.upload.maximum_size=48640
menu.bootloader.uart2_default.upload.protocol=arduino
menu.bootloader.uart2_default.upload.port=UART2_DEF
menu.bootloader.uart2_default.upload.extra_params=
menu.bootloader.uart2_default.build.text_section_start=.text=0x200
menu.bootloader.uart2_default.build.export_merged_output=true
.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart2_default.bootloader.BOOTEND=0x02
}
menu.bootloader.uart2_alternative=Optiboot (UART2 alternative pins)
menu.bootloader.uart2_alternative.upload.maximum_size=48640
menu.bootloader.uart2_alternative.upload.protocol=arduino
menu.bootloader.uart2_alternative.upload.port=UART2_ALT
menu.bootloader.uart2_alternative.upload.extra_params=
menu.bootloader.uart2_alternative.build.text_section_start=.text=0x200
menu.bootloader.uart2_alternative.build.export_merged_output=true
load.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart2_alternative.bootloader.BOOTEND=0x02
_bit}
menu.bootloader.uart3_default=Optiboot (UART3 default pins)
menu.bootloader.uart3_default.upload.maximum_size=48640
menu.bootloader.uart3_default.upload.protocol=arduino
menu.bootloader.uart3_default.upload.port=UART3_DEF
menu.bootloader.uart3_default.upload.extra_params=
menu.bootloader.uart3_default.build.text_section_start=.text=0x200
menu.bootloader.uart3_default.build.export_merged_output=true
.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart3_default.bootloader.BOOTEND=0x02
}
menu.bootloader.uart3_alternative=Optiboot (UART3 alternative pins)
menu.bootloader.uart3_alternative.upload.maximum_size=48640
menu.bootloader.uart3_alternative.upload.protocol=arduino
menu.bootloader.uart3_alternative.upload.port=UART3_ALT
menu.bootloader.uart3_alternative.upload.extra_params=
menu.bootloader.uart3_alternative.build.text_section_start=.text=0x200
menu.bootloader.uart3_alternative.build.export_merged_output=true
load.speed}/Optiboot_mega0_{upload.port}_{upload.speed}_A7.hex
menu.bootloader.uart3_alternative.bootloader.BOOTEND=0x02
_bit}
runtime.ide.path=C:\Program Files (x86)\Arduino
runtime.os=windows
build.system.path=C:\Program Files (x86)\Arduino\hardware\MegaCoreX-master\megaavr\system
runtime.ide.version=108012
target_package=MegaCoreX-master
target_platform=megaavr
runtime.hardware.path=C:\Program Files (x86)\Arduino\hardware\MegaCoreX-master
originalid=4809
_id=4809
intellisense.tools.path={runtime.tools.avr-gcc.path}\
lude;{vm.intellisense.add-paths}
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}"
ide.compiler_flags_no_opt=-Og
tools.gdbstub.cmd=avr-gdb.exe
tools.gdbstub.path={runtime.tools.avr-gcc.path}/bin
tools.gdbstub.debug.args="{{{build.path}/{build.project_name}.elf}}" -ex "target remote \\.\{serial.debug.port}"
tools.gdbstub.showLocalSerialPort=true
debug_menu.hwdebugger.gdbstub=GDB Stub
debug_menu.hwdebugger.gdbstub.debug.tool=gdbstub
meta_gdbstub.sentence=This debugger requires the avr-debugger library (by Jan Dolinay) be included in the project (install via Library Manager or from GitHub).
meta_gdbstub.comment=To use this debugger, install 'avr-debugger' library, add 1) '#include <avr8-stub.h>'  2) add 'debug_init();' to the 'setup()', and add 'breakpoint();' to the top of 'loop()'. Set vMicro > Debugger > 'Compiler Optimization' to 'No Project', 'No Project + Libraries' or 'None' when debugging (NOTE: This might cause compilation errors with certain code such as HardwareSerial.)
meta_gdbstub.image.connect=https://www.visualmicro.com/pics/Debug-Help-Uno_USBOnly.png
meta_gdbstub.image.operation=https://www.visualmicro.com/pics/Debug-Break-Uno-GDBStub-VSOnly.png
meta_gdbstub.reference.usage.url=https://www.visualmicro.com/page/User-Guide.aspx?doc=Arduino-gdb-Tutorial.html
version=1.1.2
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 -mrelax
compiler.c.elf.flags={compiler.warning_flags} -Os -g -flto -fuse-linker-plugin -mrelax -Wl,--gc-sections -Wl,--section-start={build.text_section_start}
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++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mrelax
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.objdump.cmd=avr-objdump
compiler.objdump.flags=--disassemble --source --line-numbers --demangle --section=.text
compiler.elf2hex.flags=-O ihex -R .eeprom
compiler.elf2hex.bin.flags=-O binary -R .eeprom
compiler.elf2hex.cmd=avr-objcopy
compiler.ldflags=
compiler.size.cmd=avr-size
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} "-I{build.core.path}/api/deprecated" {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} "-I{build.core.path}/api/deprecated" {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} "-I{build.core.path}/api/deprecated" {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.hooks.objcopy.postobjcopy.1.pattern.windows=cmd /C echo. && "{compiler.path}{compiler.objdump.cmd}" {compiler.objdump.flags} "{build.path}/{build.project_name}.elf" > "{build.path}/{build.project_name}_{build.mcu}_{build.f_cpu}.lst"
recipe.hooks.objcopy.postobjcopy.1.pattern.linux=chmod +x "{runtime.platform.path}/scripts/create_disassembler_listing.sh"
recipe.hooks.objcopy.postobjcopy.1.pattern.macosx=chmod +x "{runtime.platform.path}/scripts/create_disassembler_listing.sh"
s/create_disassembler_listing.sh" "{compiler.path}{compiler.objdump.cmd}" "{compiler.objdump.flags}" "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}_{build.mcu}_{build.f_cpu}.lst"
ts/create_disassembler_listing.sh" "{compiler.path}{compiler.objdump.cmd}" "{compiler.objdump.flags}" "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}_{build.mcu}_{build.f_cpu}.lst"
recipe.output.tmp_file={build.project_name}.hex
recipe.output.save_file={build.project_name}_{build.mcu}_{build.f_cpu}.hex
ts/delete_merged_output.bat" {build.export_merged_output} "{build.path}\{build.project_name}.with_bootloader.hex"
recipe.hooks.savehex.presavehex.2.pattern.windows=cmd /C copy "{build.path}\{build.project_name}_{build.mcu}_{build.f_cpu}.lst" "{sketch_path}"
recipe.hooks.savehex.presavehex.1.pattern.linux=chmod +x "{runtime.platform.path}/scripts/delete_merged_output.sh"
/delete_merged_output.sh" {build.export_merged_output} "{build.path}/{build.project_name}.with_bootloader.hex"
recipe.hooks.savehex.presavehex.3.pattern.linux=cp "{build.path}/{build.project_name}_{build.mcu}_{build.f_cpu}.lst" "{sketch_path}"
recipe.hooks.savehex.presavehex.1.pattern.macosx=chmod +x "{runtime.platform.path}/scripts/delete_merged_output.sh"
s/delete_merged_output.sh" {build.export_merged_output} "{build.path}/{build.project_name}.with_bootloader.hex"
recipe.hooks.savehex.presavehex.3.pattern.macosx=cp "{build.path}/{build.project_name}_{build.mcu}_{build.f_cpu}.lst" "{sketch_path}"
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
recipe.size.regex=^(?:\.text|\.data|\.rodata|\.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} "-I{build.core.path}/api/deprecated" {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} "-I{build.core.path}/api/deprecated" {includes} "{source_file}" -o "{preprocessed_file_path}"
tools.avrdude.path={runtime.tools.avrdude.path}
tools.avrdude.cmd.path={runtime.tools.avrdude.path}/bin/avrdude
tools.avrdude.config.path={runtime.platform.path}/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_nanoevery.upload.params.verbose=-v
tools.avrdude_nanoevery.upload.params.quiet=-q -q
tools.avrdude_nanoevery.upload.verify=
tools.avrdude_nanoevery.upload.params.noverify=-V
" "-C{runtime.platform.path}/avrdude.conf" {upload.verbose} {upload.verify} -p{build.mcu} -c{upload.protocol} {program.extra_params} ootloader.BOOTEND}:m -Ulock:w:{bootloader.LOCKBIT}:m "-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} ootloader.BOOTEND}:m -Ulock:w:{bootloader.LOCKBIT}:m "-Uflash:w:{build.path}/{build.project_name}.with_bootloader.hex:i"
tools.avrdude.erase.params.verbose=-v
tools.avrdude.erase.params.quiet=-q -q
tools.avrdude.erase.pattern="{cmd.path}" "-C{config.path}" -p{build.mcu} -c{protocol} {program.extra_params} -e ootloader.BOOTEND}:m -Ulock:w:{bootloader.LOCKBIT}:m
tools.avrdude.bootloader.params.verbose=-v
tools.avrdude.bootloader.params.quiet=-q -q
tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" -p{build.mcu} -c{protocol} {program.extra_params} "-Uflash:w:{runtime.platform.path}/bootloaders/{bootloader.file}:i"
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}'
recipe.hooks.objcopy.postobjcopy.1.pattern=cmd /C echo. && "{compiler.path}{compiler.objdump.cmd}" {compiler.objdump.flags} "{build.path}/{build.project_name}.elf" > "{build.path}/{build.project_name}_{build.mcu}_{build.f_cpu}.lst"
e_merged_output.bat" {build.export_merged_output} "{build.path}\{build.project_name}.with_bootloader.hex"
recipe.hooks.savehex.presavehex.2.pattern=cmd /C copy "{build.path}\{build.project_name}_{build.mcu}_{build.f_cpu}.lst" "{sketch_path}"
vm_original_platform_name=MegaCoreX
vm.platform.root.path=c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\myyayyzu.5gf\Micro Platforms\arduino16x
xplainedmini.name=microUPDI/Uno Wifi
xplainedmini.communication=usb
xplainedmini.protocol=xplainedmini_updi
xplainedmini.program.protocol=xplainedmini_updi
xplainedmini.program.tool=avrdude
xplainedmini.program.extra_params=
serialupdi_57600.name=SerialUPDI (57600 baud)
serialupdi_57600.communication=serial
serialupdi_57600.protocol=serialupdi
serialupdi_57600.program.tool=avrdude
serialupdi_57600.program.extra_params=-P{serial.port} -b57600 -xrtsdtr=high
serialupdi_115200.name=SerialUPDI (115200 baud)
serialupdi_115200.communication=serial
serialupdi_115200.protocol=serialupdi
serialupdi_115200.program.tool=avrdude
serialupdi_115200.program.extra_params=-P{serial.port} -b115200 -xrtsdtr=high
serialupdi_230400.name=SerialUPDI (230400 baud)
serialupdi_230400.communication=serial
serialupdi_230400.protocol=serialupdi
serialupdi_230400.program.tool=avrdude
serialupdi_230400.program.extra_params=-P{serial.port} -b230400 -xrtsdtr=high
serialupdi_460800.name=SerialUPDI (460800 baud)
serialupdi_460800.communication=serial
serialupdi_460800.protocol=serialupdi
serialupdi_460800.program.tool=avrdude
serialupdi_460800.program.extra_params=-P{serial.port} -b460800 -xrtsdtr=high
jtag2updi.name=JTAG2UPDI
jtag2updi.communication=serial
jtag2updi.protocol=jtag2updi
jtag2updi.program.tool=avrdude
jtag2updi.program.extra_params=-P{serial.port}
cusiositynano.name=Curiosity Nano
cusiositynano.communication=usb
cusiositynano.protocol=pkobn_updi
cusiositynano.program.protocol=pkobn_updi
cusiositynano.program.tool=avrdude
cusiositynano.program.extra_params=
xplainedpro.name=Xplained Pro
xplainedpro.communication=usb
xplainedpro.protocol=xplainedpro_updi
xplainedpro.program.protocol=xplainedpro_updi
xplainedpro.program.tool=avrdude
xplainedpro.program.extra_params=
pickit4_updi.name=PICkit4 UPDI
pickit4_updi.communication=usb
pickit4_updi.protocol=pickit4_updi
pickit4_updi.program.protocol=jtagice3_updi
pickit4_updi.program.tool=avrdude
pickit4_updi.program.extra_params=
snap_updi.name=MPLAB SNAP UPDI
snap_updi.communication=usb
snap_updi.protocol=snap_updi
snap_updi.program.protocol=jtagice3_updi
snap_updi.program.tool=avrdude
snap_updi.program.extra_params=
atmelice_updi.name=Atmel-ICE UPDI
atmelice_updi.communication=usb
atmelice_updi.protocol=atmelice_updi
atmelice_updi.program.protocol=jtagice3_updi
atmelice_updi.program.tool=avrdude
atmelice_updi.program.extra_params=
jtagice3_updi.name=JTAGICE3 UPDI
jtagice3_updi.communication=usb
jtagice3_updi.protocol=jtag3updi
jtagice3_updi.program.protocol=jtagice3_updi
jtagice3_updi.program.tool=avrdude
upload.verify=
tools.vmopenocd.cmd=bin/openocd.exe
tools.vmopenocd.cmd.windows=bin/openocd.exe
tools.vmopenocd.debug.params.verbose=-d2
tools.vmopenocd.debug.params.quiet=-d0
tools.vmopenocd.debug.address=localhost:3333
tools.vmopenocd.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.vmopenocd.scriptPath=-s "{path}/scripts/"
tools.vmopenocd.logging=-l "{{build.path}/{build.project_name}_DebugOpenOCD.log}"
tools.vmopenocd.boardCmd=
tools.vmopenocd.targetCmd=
tools.vmopenocd.initCmd=
tools.vmopenocd.debug.pattern="{path}/{cmd}" {debug.verbose} {logging} {scriptPath} {boardCmd} {targetCmd} {initCmd}
tools.vmopenocd.program.cmd=bin/openocd.exe
tools.vmopenocd.program.cmd.windows=bin/openocd.exe
tools.vmopenocd.program.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.vmopenocd.program.address=localhost:3333
tools.vmopenocd.program.params.verbose=-d2
tools.vmopenocd.program.params.quiet=-d0
tools.vmopenocd.program.elf.message=****[vMicro]**** Uploading ELF :
tools.vmopenocd.program.pattern="{path}/{cmd}" {program.verbose} {scriptPath} {boardCmd} {targetCmd} -c "echo -n {{program.elf.message}}" {programCmd}
tools.atmelICE.protocol=
tools.atmelICE.debug.cmd=arm-none-eabi-gdb.exe
tools.atmelICE.debug.path={runtime.tools.arm-none-eabi-gcc.path}/bin
tools.atmelICE.debug.pattern="{path}/{cmd}"
tools.atmelICE.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.atmelICE.vmserver.initCmd=-c "init"
tools.atmelICE.vmserver.boardCmd=-c "adapter driver cmsis-dap" -c "cmsis_dap_vid_pid 0x03eb 0x2141"
tools.atmelICE.vmserver.tool=vmopenocd
tools.atmelICE.debug.server=vmopenocd
tools.atmelICE.program.scriptPath=-s "{program.path}/scripts/"
tools.atmelICE.program.boardCmd=-c "adapter driver cmsis-dap" -c "cmsis_dap_vid_pid 0x03eb 0x2141"
tools.atmelICE.program.cmd=bin/openocd.exe
tools.atmelICE.program.cmd.windows=bin/openocd.exe
tools.atmelICE.program.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.atmelICE.program.address=localhost:3333
tools.atmelICE.program.params.verbose=-d2
tools.atmelICE.program.params.quiet=-d0
tools.atmelICE.program.elf.message=****[vMicro]**** Uploading ELF :
tools.atmelICE.program.pattern="{program.path}/{program.cmd}" {program.verbose} {program.scriptPath} {program.boardCmd} {program.targetCmd} -c "echo -n {{program.elf.message}}" {program.programCmd}
tools.atmelICE.program.extra_params=
tools.atmelICE.program.protocol=
tools.atmelICE.erase.params.verbose=-d3
tools.atmelICE.erase.params.quiet=-d0
tools.atmelICE.erase.pattern=
tools.jlink.cmd=arm-none-eabi-gdb.exe
tools.jlink.path={runtime.tools.arm-none-eabi-gcc.path}/bin
tools.jlink.pattern="{path}/{cmd}"
tools.jlink.vmserver.tool=vmopenocd
tools.jlink.debug.server=vmopenocd
tools.jlink.vmserver.boardCmd=-f "interface/jlink.cfg"
tools.jlink.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.jlink.vmserver.initCmd=-c "init"
tools.jlink.program.scriptPath=-s "{program.path}/scripts/"
tools.jlink.program.boardCmd=-f "interface/jlink.cfg"
tools.jlink.program.cmd=bin/openocd.exe
tools.jlink.program.cmd.windows=bin/openocd.exe
tools.jlink.program.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.jlink.program.address=localhost:3333
tools.jlink.program.params.verbose=-d2
tools.jlink.program.params.quiet=-d0
tools.jlink.program.elf.message=****[vMicro]**** Uploading ELF :
tools.jlink.program.pattern="{program.path}/{program.cmd}" {program.verbose} {program.scriptPath} {program.boardCmd} {program.targetCmd} -c "echo -n {{program.elf.message}}" {program.programCmd}
tools.jlink.upload.scriptPath=-s "{upload.path}/scripts/"
tools.jlink.upload.boardCmd=-f "interface/jlink.cfg"
tools.jlink.upload.cmd=bin/openocd.exe
tools.jlink.upload.cmd.windows=bin/openocd.exe
tools.jlink.upload.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.jlink.upload.address=localhost:3333
tools.jlink.upload.params.verbose=-d2
tools.jlink.upload.params.quiet=-d0
tools.jlink.upload.elf.message=****[vMicro]**** Uploading ELF :
tools.jlink.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} {upload.scriptPath} {upload.boardCmd} {upload.targetCmd} -c "echo -n {{upload.elf.message}}" {upload.programCmd}
tools.bmp_upload.cmd=arm-none-eabi-gdb.exe
tools.bmp_upload.debug.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
tools.bmp_upload.program.cmd=bin/arm-none-eabi-gdb.exe
tools.bmp_upload.program.cmd.windows=bin/arm-none-eabi-gdb.exe
tools.bmp_upload.program.path={runtime.tools.arm-none-eabi-gcc.path}
tools.bmp_upload.upload.cmd=bin/arm-none-eabi-gdb.exe
tools.bmp_upload.upload.cmd.windows=bin/arm-none-eabi-gdb.exe
tools.bmp_upload.upload.path={runtime.tools.arm-none-eabi-gcc.path}
tools.bmp_upload.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.bmp_upload.vmserver.initCmd=-c "init"
tools.bmp_upload.showLocalSerialPort=true
tools.bmp_upload.debug.server=
tools.stlinkv2.description=
tools.stlinkv2.cmd=arm-none-eabi-gdb.exe
tools.stlinkv2.path={runtime.tools.arm-none-eabi-gcc.path}/bin
tools.stlinkv2.pattern="{path}/{cmd}"
tools.stlinkv2.vmserver.tool=vmopenocd
tools.stlinkv2.debug.server=vmopenocd
tools.stlinkv2.vmserver.boardCmd=-f "interface/stlink.cfg"
tools.stlinkv2.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.stlinkv2.vmserver.initCmd=-c "init"
tools.stlinkv2.upload.scriptPath=-s "{upload.path}/scripts/"
tools.stlinkv2.upload.boardCmd=-f "interface/stlink.cfg"
tools.stlinkv2.upload.cmd=bin/openocd.exe
tools.stlinkv2.upload.cmd.windows=bin/openocd.exe
tools.stlinkv2.upload.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.stlinkv2.upload.address=localhost:3333
tools.stlinkv2.upload.params.verbose=-d2
tools.stlinkv2.upload.params.quiet=-d0
tools.stlinkv2.upload.elf.message=****[vMicro]**** Uploading ELF :
tools.stlinkv2.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} {upload.scriptPath} {upload.boardCmd} {upload.targetCmd} -c "echo -n {{upload.elf.message}}" {upload.programCmd}
tools.stlinkv2.upload.extra_params=
tools.stlinkv2.upload.protocol=
tools.stlinkv2.protocol=
tools.f2232mm.cmd=arm-none-eabi-gdb.exe
tools.f2232mm.path={runtime.tools.arm-none-eabi-gcc.path}/bin
tools.f2232mm.pattern="{path}/{cmd}" {args}
tools.f2232mm.vmserver.tool=vmopenocd
tools.f2232mm.debug.server=vmopenocd
tools.f2232mm.vmserver.boardCmd=-f "interface/ftdi/minimodule.cfg"
tools.f2232mm.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.f2232mm.vmserver.initCmd=-c "init"
tools.f2232mm.upload.scriptPath=-s "{upload.path}/scripts/"
tools.f2232mm.upload.boardCmd=-f "interface/ftdi/minimodule.cfg"
tools.f2232mm.upload.cmd=bin/openocd.exe
tools.f2232mm.upload.cmd.windows=bin/openocd.exe
tools.f2232mm.upload.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.f2232mm.upload.address=localhost:3333
tools.f2232mm.upload.params.verbose=-d2
tools.f2232mm.upload.params.quiet=-d0
tools.f2232mm.upload.elf.message=****[vMicro]**** Uploading ELF :
tools.f2232mm.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} {upload.scriptPath} {upload.boardCmd} {upload.targetCmd} -c "echo -n {{upload.elf.message}}" {upload.programCmd}
tools.f2232mm.upload.extra_params=
tools.f2232mm.upload.protocol=
tools.f2232mm.protocol=
tools.f2232h.vmserver.boardCmd=-f "interface/ftdi/minimodule-lowcost.cfg"
tools.f2232h.cmd=arm-none-eabi-gdb.exe
tools.f2232h.path={runtime.tools.arm-none-eabi-gcc.path}/bin
tools.f2232h.pattern="{path}/{cmd}"
tools.f2232h.vmserver.tool=vmopenocd
tools.f2232h.debug.server=vmopenocd
tools.f2232h.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.f2232h.vmserver.initCmd=-c "init"
tools.f2232h.upload.scriptPath=-s "{upload.path}/scripts/"
tools.f2232h.upload.boardCmd=-f "interface/ftdi/minimodule-lowcost.cfg"
tools.f2232h.upload.cmd=bin/openocd.exe
tools.f2232h.upload.cmd.windows=bin/openocd.exe
tools.f2232h.upload.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.f2232h.upload.address=localhost:3333
tools.f2232h.upload.params.verbose=-d2
tools.f2232h.upload.params.quiet=-d0
tools.f2232h.upload.elf.message=****[vMicro]**** Uploading ELF :
tools.f2232h.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} {upload.scriptPath} {upload.boardCmd} {upload.targetCmd} -c "echo -n {{upload.elf.message}}" {upload.programCmd}
tools.f2232h.upload.extra_params=
tools.f2232h.upload.protocol=
tools.f2232h.protocol=
tools.cjmcuf2232h.vmserver.boardCmd=-f "interface/ftdi/um232h.cfg"
tools.cjmcuf2232h.cmd=arm-none-eabi-gdb.exe
tools.cjmcuf2232h.path={runtime.tools.arm-none-eabi-gcc.path}/bin
tools.cjmcuf2232h.pattern="{path}/{cmd}"
tools.cjmcuf2232h.vmserver.tool=vmopenocd
tools.cjmcuf2232h.debug.server=vmopenocd
tools.cjmcuf2232h.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.cjmcuf2232h.vmserver.initCmd=-c "init"
tools.cjmcuf2232h.upload.scriptPath=-s "{upload.path}/scripts/"
tools.cjmcuf2232h.upload.boardCmd=-f "interface/ftdi/minimodule-lowcost.cfg"
tools.cjmcuf2232h.upload.cmd=bin/openocd.exe
tools.cjmcuf2232h.upload.cmd.windows=bin/openocd.exe
tools.cjmcuf2232h.upload.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.cjmcuf2232h.upload.address=localhost:3333
tools.cjmcuf2232h.upload.params.verbose=-d2
tools.cjmcuf2232h.upload.params.quiet=-d0
tools.cjmcuf2232h.upload.elf.message=****[vMicro]**** Uploading ELF :
tools.cjmcuf2232h.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} {upload.scriptPath} {upload.boardCmd} {upload.targetCmd} -c "echo -n {{upload.elf.message}}" {upload.programCmd}
tools.cjmcuf2232h.upload.extra_params=
tools.cjmcuf2232h.upload.protocol=
tools.cjmcuf2232h.protocol=
tools.daplink.vmserver.boardCmd=-f "interface/cmsis-dap.cfg" -c "adapter speed 1000"
tools.daplink.cmd=arm-none-eabi-gdb.exe
tools.daplink.path={runtime.tools.arm-none-eabi-gcc.path}/bin
tools.daplink.pattern="{path}/{cmd}" {args}
tools.daplink.vmserver.tool=vmopenocd
tools.daplink.debug.server=vmopenocd
tools.daplink.vmserver.initCmd=-c "init; reset halt"
vs-cmd.Debug.AttachtoProcess.tools.daplink.vmserver.initCmd=-c "init"
tools.daplink.upload.scriptPath=-s "{upload.path}/scripts/"
tools.daplink.upload.boardCmd=-f "interface/cmsis-dap.cfg" -c "adapter speed 1000"
tools.daplink.upload.cmd=bin/openocd.exe
tools.daplink.upload.cmd.windows=bin/openocd.exe
tools.daplink.upload.path={runtime.tools.openocd-0.10.0.20200213.path}
tools.daplink.upload.address=localhost:3333
tools.daplink.upload.params.verbose=-d2
tools.daplink.upload.params.quiet=-d0
tools.daplink.upload.elf.message=****[vMicro]**** Uploading ELF :
tools.daplink.upload.pattern="{upload.path}/{upload.cmd}" {upload.verbose} {upload.scriptPath} {upload.boardCmd} {upload.targetCmd} -c "echo -n {{upload.elf.message}}" {upload.programCmd}
tools.daplink.upload.extra_params=
tools.daplink.upload.protocol=
tools.daplink.protocol=
duino\tools\arduinoOTA\1.3.0
ges\arduino\tools\arduinoOTA\1.3.0
ages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1
rduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1
no\tools\avrdude\6.3.0-arduino18
5\packages\arduino\tools\avrdude\6.3.0-arduino17
5\packages\arduino\tools\avrdude\6.3.0-arduino18
\packages\arduino\tools\avrdude\6.3.0-arduino8
no\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7
l\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5
l\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7
ruino\tools\bossac\1.7.0-industruino
15\packages\industruino\tools\bossac\1.7.0-industruino
\tools\CMSIS\4.5.0
rduino\tools\CMSIS\4.5.0
rduino\tools\CMSIS-Atmel\1.0.0
ages\arduino\tools\CMSIS-Atmel\1.0.0
\tools\ctags\5.8-arduino11
ckages\builtin\tools\ctags\5.8-arduino11
p8266\tools\mklittlefs\2.5.0-4-fe5bb56
no15\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56
266\tools\mkspiffs\2.5.0-4-b40a506
15\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506
no\tools\openocd\0.9.0-arduino
packages\arduino\tools\openocd\0.9.0-arduino
66\tools\python3\3.7.2-post1
ckages\esp8266\tools\python3\3.7.2-post1
ges\builtin\tools\serial-discovery\1.2.1
\packages\builtin\tools\serial-discovery\1.2.1
ackages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506
ocal\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506
runtime.vm.boardinfo.id=MegaCoreX-master_4809
ide.hint=Use installed IDE (hardware, reference/help + 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.8.13
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=https://www.visualmicro.com/page/Download-Arduino-Or-Other-Supporting-IDEs.aspx
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.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
runtime.tools.vm_web_debugger.path={vm.platform.root.path}/../../Micro Debuggers/WebDebugger
b_debugger.path}/DeployMicroWebserver.exe" "{sketch_path}" "{serial.port}" "{runtime.hardware.path}\.."
recipe.hooks.vmlaunch.vm_web_debugger_preopen.1.pattern=notepad.exe "{sketch_path}\__vm\vmWebDebugger\Start-WebServer.bat"
Debugger\Start-WebServer.bat
ide.debug_menu.debugger_type=Debug
ide.debug_menu.debugger_type.none=Off
ide.debug_menu.none.debug.tool=no_debug
ide.debug_menu.debugger_type.universal=Serial
ide.debug_menu.universal.debug.tool=universal
ide.debug_menu.debugger_type.hwdebugger=Hardware
ide.debug_menu.hwdebugger=Debugger
ide.debug_menu.hwdebugger.custom_debugger=Manual/Custom
ide.debug_menu.hwdebugger.custom_debugger.debug.tool=dbg_external
ide.meta_custom_debugger.sentence=Provides a build that includes debug defines and will launch a custom debugger if one is provided.
ide.meta_custom_debugger.paragraph=This is option is for advanced use. It is recommended that a pre-configured debugger be selected when available in this list. Usage: Optionally add a customer debugger to the project. A 'debugger_launch.json' file shares the same command syntax that is used by the VsCode debugger. Custom debuggers can be targeted at a board and/or variant and/or configuration name. IE: [variant].[configuration_name][.]debugger_launch.json
ide.meta_custom_debugger.reference.usage.url=https://github.com/Microsoft/vscode-cpptools/blob/master/launch.md#customlaunchsetupcommands
ide.meta_custom_debugger.reference.connect.url=https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects?view=vs-2019
ide.debug_menu.vm_disable_optimization=Disable Optimization
ide.debug_menu.vm_disable_optimization.vm_disable_opt_default=Default Optimization
ide.debug_menu.vm_disable_optimization.vm_disable_opt_proj=No Project  Optimization
_opt}
ide.debug_menu.vm_disable_optimization.vm_disable_opt_proj_libs=No Project + Libraries Optimization
gs_no_opt}
lags_no_opt}
ide.debug_menu.vm_disable_optimization.vm_disable_opt_all=No Optimization
ide.meta_vm_disable_opt_all.sentence=Disable compiler optimization for all sources:- Project, Library and Platform.
ide.meta_vm_disable_opt_all.comment=After switching between 'No Optimization' and other optimization values, please click "Solution Clean" or switch off (or cycle) 'vMicro>Compiler>Shared Cache For Cores'. NOTE: Changing optimization settings can cause build errors or result in overly large programs.
opt}
o_opt}
}
ide.appid=arduino16x
location.sketchbook=D:\Arduino
runtime.vm.boardinfo.name=MegaCoreX-master_4809
runtime.vm.boardinfo.desc=ATmega4809                                                                                             (MegaCoreX-master_4809)
runtime.vm.boardinfo.src_location=C:\Program Files (x86)\Arduino\hardware\MegaCoreX-master\megaavr
build.core.path=C:\Program Files (x86)\Arduino\hardware\MegaCoreX-master\megaavr\cores\coreX-corefiles
vm.core.include=arduino.h
vm.boardsource.path=C:\Program Files (x86)\Arduino\hardware\MegaCoreX-master\megaavr
runtime.platform.path=C:\Program Files (x86)\Arduino\hardware\MegaCoreX-master\megaavr
vm.platformname.name=megaavr
build.arch=MEGAAVR
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=true
runtime.vm.ide.platforms.path=c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\myyayyzu.5gf\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.intermediate_output_path=D:\Arduino_2\[ [ATmega480X_Experiment_files] ]\4809\Blink_4809\Blink_4809\Blink_4809\obj\x64\Debug\
vm.runtime.build.intermediate_output_enabled=false
vm.runtime.build.final_output_path=D:\Arduino_2\[ [ATmega480X_Experiment_files] ]\4809\Blink_4809\Blink_4809\Blink_4809\bin\x64\Debug\
compiler.always_include_sketchfolder=true
compiler.always_include_sharedprojectfolders=true
vm.runtime.compiler.auto_discover_includes=true
vm.runtime.compiler.auto_discover_includes_shallow=true
vm.runtime.compiler.allow_library_debugging=false
vm.sketch_ino_cpp_name=Blink_4809.cpp
serial.port.file=COM9
serial.port=COM9
serial.port.num=9
port.caption=COM9   - Silicon Labs CP210x USB to UART Bridge
Caption=Silicon Labs CP210x USB to UART Bridge (COM9)
ClassGuid={4d36e978-e325-11ce-bfc1-08002be10318}
CompatibleID.value0=USB\Class_FF
ConfigManagerErrorCode=0
ConfigManagerUserConfig=False
CreationClassName=Win32_PnPEntity
Description=Silicon Labs CP210x USB to UART Bridge
DeviceID=USB\VID_10C4&PID_EA60\0001
HardwareID.value0=USB\VID_10C4&PID_EA60
Manufacturer=Silicon Labs
Name=Silicon Labs CP210x USB to UART Bridge (COM9)
PNPClass=Ports
PNPDeviceID=USB\VID_10C4&PID_EA60\0001
Present=True
Service=silabser
Status=OK
SystemCreationClassName=Win32_ComputerSystem
SystemName=DESKTOP-H25S2VF
vid=0x10C4
pid=0xEA60
vidpid=10C4EA60
vid_pid=0x10C4_0xEA60
iserial=0001
extra.time.local=1683116925
extra.time.utc=1683131325
extra.time.dst=-14400
extra.time.zone=14400
serial.port.caption=COM9   - Silicon Labs CP210x USB to UART Bridge
serial.Caption=Silicon Labs CP210x USB to UART Bridge (COM9)
serial.ClassGuid={4d36e978-e325-11ce-bfc1-08002be10318}
serial.CompatibleID.value0=USB\Class_FF
serial.ConfigManagerErrorCode=0
serial.ConfigManagerUserConfig=False
serial.CreationClassName=Win32_PnPEntity
serial.Description=Silicon Labs CP210x USB to UART Bridge
serial.DeviceID=USB\VID_10C4&PID_EA60\0001
serial.HardwareID.value0=USB\VID_10C4&PID_EA60
serial.Manufacturer=Silicon Labs
serial.Name=Silicon Labs CP210x USB to UART Bridge (COM9)
serial.PNPClass=Ports
serial.PNPDeviceID=USB\VID_10C4&PID_EA60\0001
serial.Present=True
serial.Service=silabser
serial.Status=OK
serial.SystemCreationClassName=Win32_ComputerSystem
serial.SystemName=DESKTOP-H25S2VF
serial.vid=0x10C4
serial.pid=0xEA60
serial.vidpid=10C4EA60
serial.vid_pid=0x10C4_0xEA60
serial.iserial=0001
serial.port.iserial=0001
build.project_name=Blink_4809.ino
build.project_path=D:\Arduino_2\[ [ATmega480X_Experiment_files] ]\4809\Blink_4809\Blink_4809\Blink_4809
sketch_path=D:\Arduino_2\[ [ATmega480X_Experiment_files] ]\4809\Blink_4809\Blink_4809\Blink_4809
ProjectDir=D:\Arduino_2\[ [ATmega480X_Experiment_files] ]\4809\Blink_4809\Blink_4809\Blink_4809\
r_4809\Debug
vm.runtime.compile.skip_library_file_if_exists_in_project=true
vm.runtime.compiler.auto_discover_includes_cache=true
debug.tool=no_debug
bootloader.OSCCFG=0x01
build.oscillator=
build.f_cpu=16000000L
bootloader.BODCFG=0x54
bootloader.eesave_bit=1
build.variant=40pin-standard
build.compat=
bootloader.SYSCFG0=0b1100100{bootloader.eesave_bit}
upload.maximum_size=49152
upload.extra_params=
build.text_section_start=.text=0x0
build.export_merged_output=false
bootloader.file=empty/empty.hex
bootloader.BOOTEND=0x00
build.architecture=7.3.0-atmel3.6.1-arduino7
\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\
ols\avr-gcc\7.3.0-atmel3.6.1-arduino7
build.vm.build.vmdebug=0
build.vm.build.isgdb=0
build.vm.build.optimised=1
X-master_4809\Debug



Compiling 'Blink_4809' for 'ATmega4809                                                                                             (MegaCoreX-master_4809)'
Build Folder: 4809/Debug"
Summary: Header=1 Prototypes=1 Imports=0
Additional Defines: 
Architecture Tools: avr-gcc//7.3.0-atmel3.6.1-arduino7/bin/"
Api: 2.2023.0220-5
Sketch Book: "file:///D:/Arduino"
User Libraries: "file:///D:/Arduino/libraries"
Board Support Urls: "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32..."
Core Include Paths
Include Path res/coreX-corefiles"
Include Path riants/40pin-standard"
 
Deep search for libraries ...
\7.3.0-atmel3.6.1-arduino7\bin\avr-g++" -c -g -Os -w -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -mrelax -w -x c++ -E -CC -mmcu=atmega4809   -DF_CPU=16000000L -DARDUINO=108012 -DARDUINO_AVR_ATmega4809 -DARDUINO_ARCH_MEGAAVR "-IC:\\Program Files deprecated" -I"C:\\Program Files (x86)\\Arduino\\hardware\\MegaCoreX-master\\megaavr\\cores\\coreX-corefiles" -I"C:\\Program Files (x86)\\Arduino\\hardware\\MegaCoreX-master\\megaavr\\variants\\40pin-standard" 4809\\Debug\\Blink_4809.cpp" -o "nul"
 

 
Extracting .ino prototypes ...
\7.3.0-atmel3.6.1-arduino7\bin\avr-g++" -c -g -Os -w -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -mrelax -w -x c++ -E -CC -mmcu=atmega4809   -DF_CPU=16000000L -DARDUINO=108012 -DARDUINO_AVR_ATmega4809 -DARDUINO_ARCH_MEGAAVR "-IC:\\Program Files deprecated" -I"C:\\Program Files (x86)\\Arduino\\hardware\\MegaCoreX-master\\megaavr\\cores\\coreX-corefiles" -I"C:\\Program Files (x86)\\Arduino\\hardware\\MegaCoreX-master\\megaavr\\variants\\40pin-standard" 4809\\Debug\\Blink_4809.cpp.ansi-gcc-e.cpp" -o 4809\\Debug\\.vmpreproc\\sketch-gcc-e.cpp"
"c:\\program files (x86)\\microsoft visual studio\\2019\\community\\common7\\ide\\extensions\\myyayyzu.5gf\\Micro Platforms\\visualmicro\\tools\\ctags/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives 4809\\Debug/.vmpreproc/sketch-gcc-e-clean.cpp.filtered.cpp"
setup      809\\Debug/.vmpreproc/D:\\Arduino_2\\[ [ATmega480X_Experiment_files] ]\\4809\\Blink_4809\\Blink_4809\\Blink_4809\\Blink_4809.ino      /^void setup()$/;"      kind:function      line:12      signature:()      returntype:void
loop      809\\Debug/.vmpreproc/D:\\Arduino_2\\[ [ATmega480X_Experiment_files] ]\\4809\\Blink_4809\\Blink_4809\\Blink_4809\\Blink_4809.ino      /^void loop()$/;"      kind:function      line:24      signature:()      returntype:void

     Required: True, Prototype: void setup();, Function: setup, Kind: function, Line: 12, Signature: (),  File: D:\Arduino_2\[ [ATmega480X_Experiment_files] ]\4809\Blink_4809\Blink_4809\Blink_4809\Blink_4809.ino, Code: void setup() 
     Required: True, Prototype: void loop();, Function: loop, Kind: function, Line: 24, Signature: (),  File: D:\Arduino_2\[ [ATmega480X_Experiment_files] ]\4809\Blink_4809\Blink_4809\Blink_4809\Blink_4809.ino, Code: void loop() 
 
Building variant ...
  Using previously compiled variant
 
Building core ...
 
Building project code ...
\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mrelax -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=108012 -DARDUINO_AVR_ATmega4809 -DARDUINO_ARCH_MEGAAVR "-IC:\\Program Files deprecated" -I"D:\\Arduino_2\\[ [ATmega480X_Experiment_files] ]\\4809\\Blink_4809\\Blink_4809\\Blink_4809" -I"C:\\Program Files (x86)\\Arduino\\hardware\\MegaCoreX-master\\megaavr\\cores\\coreX-corefiles" -I"C:\\Program Files (x86)\\Arduino\\hardware\\MegaCoreX-master\\megaavr\\variants\\40pin-standard" 4809\\Debug\\Blink_4809.cpp" -o 4809\\Debug\\Blink_4809.cpp.o"
 
Error compiling project sources
Build failed for project 'Blink_4809'
Blink_4809.ino: In function void setup()
 
Blink_4809.ino: 14:5: error: 'Serial3' was not declared in this scope
   Serial3.begin(115200)
   ^~~~~~~
Blink_4809.ino:14: note  suggested alternative  Serial2
   Serial3.begin(115200)
   ^~~~~~~
   Serial2
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2728
Joined: Feb 13th, 2019
Re: Atmega4809 Serial3
Reply #3 - May 3rd, 2023 at 4:42pm
Print Post  
Can you attach the full output as a plain text file?

This ensures the forum remains readable and also ensures everything remains correctly formatted/readable.

I suspect there is a hint to the issue in the compiler error message. It appears as though the author of the core is suggesting that with the board options you have set you might need to use Serial2. Please view the vMicro menu and the Options the board provides for you. Here is the error message and hint from the output posted previously.

Blink_4809.ino: 14:5: error: 'Serial3' was not declared in this scope
   Serial3.begin(115200)
   ^~~~~~~
Blink_4809.ino:14: note  suggested alternative  Serial2
   Serial3.begin(115200)
   ^~~~~~~
   Serial2

« Last Edit: May 3rd, 2023 at 6:48pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Mike Brian
Newbies
*
Offline


Posts: 3
Location: Canada
Joined: Dec 31st, 2019
Re: Atmega4809 Serial3
Reply #4 - May 4th, 2023 at 12:43am
Print Post  
I contacted MCUDude, and they sent a reply that explains the problem: 
Reply says:
"Core Include Paths
Include Path res/coreX-corefiles"
Include Path riants/40pin-standard"
You're building for the 40pin-standard variant, but the 40-pin chip doesn't have a fourth serial port, only Serial0, Serial1, and Serial2. Try building for the the 48-pin standard pinout instead."

There is no way to select the package, I am using the 48 pin package.
Microchip datasheet "DS40002173C.pdf" shows the package variants.

Mike B
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2728
Joined: Feb 13th, 2019
Re: Atmega4809 Serial3
Reply #5 - May 4th, 2023 at 8:45am
Print Post  
On the Board Options menu you should see an option for Pinout, which I believe should be set to the "48 Pin Standard" value.

We could select this and compile using Serial3 with the latest (v1.1.2) of the board package, using the JSON URL below:
https://mcudude.github.io/MegaCoreX/package_MCUdude_MegaCoreX_index.json
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint