Skip to content

arduino-cli compile does not output correctly when using --show-properties and --format json #1628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
umbynos opened this issue Jan 19, 2022 · 0 comments · Fixed by #2035
Closed
Assignees
Labels
conclusion: resolved Issue was resolved topic: CLI Related to the command line interface topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@umbynos
Copy link
Contributor

umbynos commented Jan 19, 2022

Bug Report

Current behavior

arduino-cli compile -b arduino:samd:mkrwan1310 ~/getdeveui/ -v --show-properties --format json

The produced output is not fully in json

_id=mkrwan1310
archive_file_path={build.path}/{archive_file}
arduinoota.extraflags=
bootloader.file=mkrwan1300/samd21_sam_ba_arduino_mkrwan1310.bin
bootloader.tool=openocd
bootloader.tool.default=openocd
build.arch=SAMD
build.board=SAMD_MKRWAN1310
build.core=arduino
build.core.path=/home/umberto/.arduino15/packages/arduino/hardware/samd/1.8.12/cores/arduino
build.extra_flags=-DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ {build.usb_flags} -DUSE_BQ24195L_PMIC -DVERY_LOW_POWER
build.f_cpu=48000000L
build.fqbn=arduino:samd:mkrwan1310
build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
build.library_discovery_phase=0
build.mcu=cortex-m0plus
build.openocdscript=openocd_scripts/arduino_zero.cfg
build.path=/tmp/arduino-sketch-6631A0D1FB86504F68374499C713AA5D
build.pid=0x8059
build.preferred_out_format=bin
build.project_name=getdeveui.ino
build.source.path=/home/umberto/getdeveui
build.system.path=/home/umberto/.arduino15/packages/arduino/hardware/samd/1.8.12/system
build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} -DUSBCON '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
build.usb_manufacturer="Arduino LLC"
build.usb_product="Arduino MKR WAN 1310"
build.variant=mkrwan1300
build.variant.path=/home/umberto/.arduino15/packages/arduino/hardware/samd/1.8.12/variants/mkrwan1300
build.vid=0x2341
build.warn_data_percentage=75
compiler.S.cmd=arm-none-eabi-gcc
compiler.S.extra_flags=
compiler.S.flags=-mcpu={build.mcu} -mthumb -c -g -x assembler-with-cpp -MMD
compiler.ar.cmd=arm-none-eabi-ar
compiler.ar.extra_flags=
compiler.ar.flags=rcs
compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Include/" "-I{runtime.tools.CMSIS-Atmel-1.2.0.path}/CMSIS/Device/ATMEL/"
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-4.5.0.path}/CMSIS/Lib/GCC/" -larm_cortexM0l_math
compiler.c.cmd=arm-none-eabi-gcc
compiler.c.elf.cmd=arm-none-eabi-g++
compiler.c.elf.extra_flags=
compiler.c.elf.flags={compiler.optimization_flags} -Wl,--gc-sections -save-temps
compiler.c.extra_flags=
compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.optimization_flags} {compiler.warning_flags} -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD
compiler.cpp.cmd=arm-none-eabi-g++
compiler.cpp.extra_flags=
compiler.cpp.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.optimization_flags} {compiler.warning_flags} -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD
compiler.define=-DARDUINO=
compiler.elf2hex.bin.flags=-O binary
compiler.elf2hex.cmd=arm-none-eabi-objcopy
compiler.elf2hex.extra_flags=
compiler.elf2hex.hex.flags=-O ihex -R .eeprom
compiler.ldflags=-mcpu={build.mcu} -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align
compiler.libraries.ldflags=
compiler.objcopy.cmd=arm-none-eabi-objcopy
compiler.objcopy.eep.flags=-O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0
compiler.optimization_flags=-Os
compiler.optimization_flags.debug=-Og -g3
compiler.optimization_flags.release=-Os
compiler.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
compiler.readelf.cmd=arm-none-eabi-readelf
compiler.size.cmd=arm-none-eabi-size
compiler.warning_flags=-w
compiler.warning_flags.all=-Wall -Wextra
compiler.warning_flags.default=
compiler.warning_flags.more=-Wall
compiler.warning_flags.none=-w
debug.executable={build.path}/{build.project_name}.elf
debug.server=openocd
debug.server.openocd.path={runtime.tools.openocd-0.10.0-arduino7.path}/bin/openocd
debug.server.openocd.script={runtime.platform.path}/variants/{build.variant}/{build.openocdscript}
debug.server.openocd.scripts_dir={runtime.tools.openocd-0.10.0-arduino7.path}/share/openocd/scripts/
debug.toolchain=gcc
debug.toolchain.path={runtime.tools.arm-none-eabi-gcc-7-2017q4.path}/bin/
debug.toolchain.prefix=arm-none-eabi-
extra.time.dst=0
extra.time.local=1642591768
extra.time.utc=1642588168
extra.time.zone=3600
ide_version=10607
name=Arduino MKR WAN 1310
pid.0=0x8059
pid.1=0x0059
pluggable_discovery.required.0=builtin:serial-discovery
pluggable_discovery.required.1=builtin:mdns-discovery
pluggable_monitor.required.serial=builtin:serial-monitor
preproc.macros.flags=-w -x c++ -E -CC
recipe.S.o.pattern="{compiler.path}{compiler.S.cmd}" {compiler.S.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.S.extra_flags} {build.extra_flags} {compiler.arm.cmsis.c.flags} "-I{build.core.path}/api/deprecated" "-I{build.core.path}/api/deprecated-avr-comp" {includes} "{source_file}" -o "{object_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}"  "-L{build.path}" {compiler.c.elf.flags} {compiler.c.elf.extra_flags} "-T{build.variant.path}/{build.ldscript}" "-Wl,-Map,{build.path}/{build.project_name}.map" --specs=nano.specs --specs=nosys.specs {compiler.ldflags} -o "{build.path}/{build.project_name}.elf" {object_files} {compiler.libraries.ldflags} -Wl,--start-group {compiler.arm.cmsis.ldflags} -lm "{build.path}/{archive_file}" -Wl,--end-group
recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.c.extra_flags} {build.extra_flags} {compiler.arm.cmsis.c.flags} "-I{build.core.path}/api/deprecated" "-I{build.core.path}/api/deprecated-avr-comp" {includes} "{source_file}" -o "{object_file}"
recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {compiler.arm.cmsis.c.flags} "-I{build.core.path}/api/deprecated" "-I{build.core.path}/api/deprecated-avr-comp" {includes} "{source_file}" -o "{object_file}"
recipe.objcopy.bin.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.bin.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
recipe.output.save_file={build.project_name}.{build.variant}.{build.preferred_out_format}
recipe.output.tmp_file={build.project_name}.{build.preferred_out_format}
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
recipe.size.regex=^(?:\.text|\.data|)\s+([0-9]+).*
recipe.size.regex.data=^(?:\.data|\.bss)\s+([0-9]+).*
runtime.hardware.path=/home/umberto/.arduino15/packages/arduino/hardware/samd
runtime.ide.path=/home/linuxbrew/.linuxbrew/Cellar/arduino-cli/0.20.2/bin
runtime.ide.version=10607
runtime.os=linux
runtime.platform.path=/home/umberto/.arduino15/packages/arduino/hardware/samd/1.8.12
runtime.tools.CMSIS-4.5.0.path=/home/umberto/.arduino15/packages/arduino/tools/CMSIS/4.5.0
runtime.tools.CMSIS-Atmel-1.2.0.path=/home/umberto/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0
runtime.tools.CMSIS-Atmel.path=/home/umberto/.arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0
runtime.tools.CMSIS.path=/home/umberto/.arduino15/packages/arduino/tools/CMSIS/4.5.0
runtime.tools.arduinoOTA-1.2.1.path=/home/umberto/.arduino15/packages/arduino/tools/arduinoOTA/1.2.1
runtime.tools.arduinoOTA-1.3.0.path=/home/umberto/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0
runtime.tools.arduinoOTA.path=/home/umberto/.arduino15/packages/arduino/tools/arduinoOTA/1.2.1
runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/home/umberto/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4
runtime.tools.arm-none-eabi-gcc.path=/home/umberto/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4
runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/home/umberto/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5
runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/home/umberto/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7
runtime.tools.avr-gcc.path=/home/umberto/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7
runtime.tools.avrdude-6.3.0-arduino17.path=/home/umberto/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17
runtime.tools.avrdude.path=/home/umberto/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17
runtime.tools.bossac-1.7.0-arduino3.path=/home/umberto/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3
runtime.tools.bossac-1.9.1-arduino2.path=/home/umberto/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2
runtime.tools.bossac.path=/home/umberto/.arduino15/packages/arduino/tools/bossac/1.7.0-arduino3
runtime.tools.ctags-5.8-arduino11.path=/home/umberto/.arduino15/packages/builtin/tools/ctags/5.8-arduino11
runtime.tools.ctags.path=/home/umberto/.arduino15/packages/builtin/tools/ctags/5.8-arduino11
runtime.tools.dfu-util-0.10.0-arduino1.path=/home/umberto/.arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1
runtime.tools.dfu-util.path=/home/umberto/.arduino15/packages/arduino/tools/dfu-util/0.10.0-arduino1
runtime.tools.mdns-discovery-0.9.2.path=/home/umberto/.arduino15/packages/builtin/tools/mdns-discovery/0.9.2
runtime.tools.mdns-discovery-1.0.2.path=/home/umberto/.arduino15/packages/builtin/tools/mdns-discovery/1.0.2
runtime.tools.mdns-discovery.path=/home/umberto/.arduino15/packages/builtin/tools/mdns-discovery/1.0.2
runtime.tools.mklittlefs-3.0.4-gcc10.3-1757bed.path=/home/umberto/.arduino15/packages/esp8266/tools/mklittlefs/3.0.4-gcc10.3-1757bed
runtime.tools.mklittlefs.path=/home/umberto/.arduino15/packages/esp8266/tools/mklittlefs/3.0.4-gcc10.3-1757bed
runtime.tools.mkspiffs-3.0.4-gcc10.3-1757bed.path=/home/umberto/.arduino15/packages/esp8266/tools/mkspiffs/3.0.4-gcc10.3-1757bed
runtime.tools.mkspiffs.path=/home/umberto/.arduino15/packages/esp8266/tools/mkspiffs/3.0.4-gcc10.3-1757bed
runtime.tools.openocd-0.10.0-arduino7.path=/home/umberto/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7
runtime.tools.openocd-0.11.0-arduino2.path=/home/umberto/.arduino15/packages/arduino/tools/openocd/0.11.0-arduino2
runtime.tools.openocd.path=/home/umberto/.arduino15/packages/arduino/tools/openocd/0.10.0-arduino7
runtime.tools.python3-3.7.2-post1.path=/home/umberto/.arduino15/packages/esp8266/tools/python3/3.7.2-post1
runtime.tools.python3.path=/home/umberto/.arduino15/packages/esp8266/tools/python3/3.7.2-post1
runtime.tools.rp2040tools-1.0.2.path=/home/umberto/.arduino15/packages/arduino/tools/rp2040tools/1.0.2
runtime.tools.rp2040tools.path=/home/umberto/.arduino15/packages/arduino/tools/rp2040tools/1.0.2
runtime.tools.serial-discovery-1.2.1.path=/home/umberto/.arduino15/packages/builtin/tools/serial-discovery/1.2.1
runtime.tools.serial-discovery-1.3.0-rc1.path=/home/umberto/.arduino15/packages/builtin/tools/serial-discovery/1.3.0-rc1
runtime.tools.serial-discovery-1.3.1.path=/home/umberto/.arduino15/packages/builtin/tools/serial-discovery/1.3.1
runtime.tools.serial-discovery.path=/home/umberto/.arduino15/packages/builtin/tools/serial-discovery/1.3.1
runtime.tools.serial-monitor-0.9.1.path=/home/umberto/.arduino15/packages/builtin/tools/serial-monitor/0.9.1
runtime.tools.serial-monitor.path=/home/umberto/.arduino15/packages/builtin/tools/serial-monitor/0.9.1
runtime.tools.xtensa-lx106-elf-gcc-3.0.4-gcc10.3-1757bed.path=/home/umberto/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed
runtime.tools.xtensa-lx106-elf-gcc.path=/home/umberto/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed
software=ARDUINO
tools.arduino-preprocessor.cmd.path={path}/arduino-preprocessor
tools.arduino-preprocessor.path={runtime.tools.arduino-preprocessor.path}
tools.arduino-preprocessor.pattern="{cmd.path}" "{source_file}" "{codecomplete}" -- -std=gnu++11
tools.arduino_ota.cmd={runtime.tools.arduinoOTA.path}/bin/arduinoOTA
tools.arduino_ota.upload.field.password=Password
tools.arduino_ota.upload.field.password.secret=true
tools.arduino_ota.upload.pattern="{cmd}" -address "{upload.port.address}" -port 65280 -username arduino -password "{upload.field.password}" -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b {arduinoota.extraflags}
tools.avrdude.cmd={path}/bin/avrdude
tools.avrdude.config.path={path}/etc/avrdude.conf
tools.avrdude.path={runtime.tools.avrdude.path}
tools.avrdude.upload.network_pattern="{tools.arduino_ota.cmd}" -address {serial.port} -port 65280 -username arduino -password "{network.password}" -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b
tools.avrdude.upload.params.noverify=-V
tools.avrdude.upload.params.quiet=-q -q
tools.avrdude.upload.params.verbose=-v -v
tools.avrdude.upload.pattern="{cmd}" "-C{config.path}" {upload.verbose} -p{build.emu.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} "-Uflash:w:{build.path}/{build.project_name}.hex:i"
tools.avrdude_remote.upload.pattern="openocd --version 2>&1 | grep 2016 && if opkg update; then opkg upgrade openocd; exit 1; else echo 'Please connect your board to the Internet in order to upgrade tools' >&2; exit 1; fi || /usr/bin/run-avrdude /tmp/sketch.hex"
tools.bossac.cmd=bossac
tools.bossac.cmd.windows=bossac.exe
tools.bossac.path={runtime.tools.bossac-1.7.0-arduino3.path}
tools.bossac.upload.network_pattern="{tools.arduino_ota.cmd}" -address {serial.port} -port 65280 -username arduino -password "{network.password}" -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b {arduinoota.extraflags}
tools.bossac.upload.params.quiet=
tools.bossac.upload.params.verbose=-i -d
tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -U {upload.native_usb} -i -e -w -v "{build.path}/{build.project_name}.bin" -R
tools.bossacI.cmd=bossac
tools.bossacI.cmd.windows=bossac.exe
tools.bossacI.path={runtime.tools.bossac-1.7.0-arduino3.path}
tools.bossacI.upload.network_pattern="{tools.arduino_ota.cmd}" -address {serial.port} -port 65280 -username arduino -password "{network.password}" -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b
tools.bossacI.upload.params.quiet=
tools.bossacI.upload.params.verbose=-i -d
tools.bossacI.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -I -U {upload.native_usb} -i -e -w "{build.path}/{build.project_name}.bin" -R
tools.bossacI_remote.upload.pattern=/usr/bin/run-bossac {upload.verbose} --port=ttyATH0 -U {upload.native_usb} -e -w -v /tmp/sketch.bin -R
tools.bossac_remote.upload.pattern=/usr/bin/run-bossac {upload.verbose} --port=ttyATH0 -U {upload.native_usb} -e -w -v /tmp/sketch.bin -R
tools.ctags.cmd.path={path}/ctags
tools.ctags.path={runtime.tools.ctags.path}
tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
tools.openocd-withbootsize.bootloader.params.quiet=-d0
tools.openocd-withbootsize.bootloader.params.verbose=-d2
tools.openocd-withbootsize.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; init; halt; at91samd bootloader 0; program {{runtime.platform.path}/bootloaders/{bootloader.file}} verify reset; shutdown"
tools.openocd-withbootsize.cmd=bin/openocd
tools.openocd-withbootsize.cmd.windows=bin/openocd.exe
tools.openocd-withbootsize.erase.params.quiet=-d0
tools.openocd-withbootsize.erase.params.verbose=-d3
tools.openocd-withbootsize.erase.pattern=
tools.openocd-withbootsize.path={runtime.tools.openocd-0.10.0-arduino7.path}
tools.openocd-withbootsize.program.params.quiet=-d0
tools.openocd-withbootsize.program.params.verbose=-d2
tools.openocd-withbootsize.program.pattern="{path}/{cmd}" {program.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; program {{build.path}/{build.project_name}.elf} verify reset; shutdown"
tools.openocd-withbootsize.upload.params.quiet=-d0
tools.openocd-withbootsize.upload.params.verbose=-d2
tools.openocd-withbootsize.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f "{runtime.platform.path}/variants/{build.variant}/{build.openocdscript}" -c "telnet_port disabled; program {{build.path}/{build.project_name}.bin} verify reset {bootloader.size}; shutdown"
tools.openocd.bootloader.params.quiet=-d0
tools.openocd.bootloader.params.verbose=-d2
tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/share/openocd/scripts/" -f "interface/{protocol}" -c "set telnet_port 0" {extra_params} -f "target/at91samdXX.cfg" -c "telnet_port disabled; init; halt; at91samd bootloader 0; program {{runtime.platform.path}/bootloaders/{bootloader.file}} verify reset; shutdown"
tools.openocd.cmd=bin/openocd
tools.openocd.cmd.windows=bin/openocd.exe
tools.openocd.erase.params.quiet=-d0
tools.openocd.erase.params.verbose=-d3
tools.openocd.erase.pattern=
tools.openocd.path={runtime.tools.openocd-0.10.0-arduino7.path}
tools.openocd.program.params.quiet=-d0
tools.openocd.program.params.verbose=-d2
tools.openocd.program.pattern="{path}/{cmd}" {program.verbose} -s "{path}/share/openocd/scripts/" -f "interface/{protocol}" -c "set telnet_port 0" {extra_params} -f "target/at91samdXX.cfg" -c "telnet_port disabled; program {{build.path}/{build.project_name}.hex} verify reset; shutdown"
tools.openocd.upload.network_pattern={tools.arduino_ota.cmd} -address {serial.port} -port 65280 -username arduino -password "{network.password}" -sketch "{build.path}/{build.project_name}.bin" -upload /sketch -b
tools.openocd.upload.params.quiet=-d0
tools.openocd.upload.params.verbose=-d2
tools.openocd.upload.pattern="{path}/{cmd}" {upload.verbose} -s "{path}/share/openocd/scripts/" -f "interface/{protocol}" -c "set telnet_port 0" {extra_params} -f "target/at91samdXX.cfg" -c "telnet_port disabled; program {{build.path}/{build.project_name}.bin} verify reset 0x2000; shutdown"
upload.maximum_data_size=32768
upload.maximum_size=262144
upload.native_usb=true
upload.protocol=sam-ba
upload.tool=bossac
upload.tool.default=bossac
upload.tool.network=arduino_ota
upload.use_1200bps_touch=true
upload.wait_for_upload_port=true
upload_port.0.pid=0x8059
upload_port.0.vid=0x2341
upload_port.1.pid=0x0059
upload_port.1.vid=0x2341
upload_port.2.board=mkrwan1310
version=1.8.12
vid.0=0x2341
vid.1=0x2341
{
  "compiler_out": "Using board 'mkrwan1310' from platform in folder: /home/umberto/.arduino15/packages/arduino/hardware/samd/1.8.12\nUsing core 'arduino' from platform in folder: /home/umberto/.arduino15/packages/arduino/hardware/samd/1.8.12\n",
  "compiler_err": "",
  "builder_result": {
    "build_path": "/tmp/arduino-sketch-6631A0D1FB86504F68374499C713AA5D"
  },
  "success": true
}

Expected behavior

the output should be in json

Arduino CLI version

Original report

0.20.0

Last verified with

b3e8f8a

Operating system

  • Linux
  • Windows

Operating system version

  • Ubuntu 18.04
  • Windows 11
@umbynos umbynos added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project topic: CLI Related to the command line interface labels Jan 19, 2022
@umbynos umbynos self-assigned this Jan 19, 2022
@per1234 per1234 assigned per1234 and unassigned umbynos Jan 18, 2023
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jan 18, 2023
@per1234 per1234 closed this as completed Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: CLI Related to the command line interface topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
2 participants