Cristian Maglie

Results 185 comments of Cristian Maglie

AFAIR in Arduino ecosystem `write` has always been blocking, so (at least theoretically) no partial writes are allowed. This means that `write` should return something less than `size` only if...

Changing the default behaviour of Print(..., HEX) is a backward incompatible change, it will suddenly break all existing sketches that relies on the **current** behaviour of Print (i.e. to print...

~~I still need to update documentation, I'll do that after validating the changes.~~

> Should this not be the boards platform (instead of the board's package)? It's the same since the tools are defined at the package level (and referenced at platform level...

Related: ``` $ arduino-cli compile -b alice:avr:alice --show-properties ~/testdata/bare_minimum Warning: Board alice:avr:alice doesn't define a 'build.board' preference. Auto-set to: AVR_ALICE _id=alice build.arch=AVR build.board=AVR_ALICE build.core=arduino build.core.path=/tmp/go-testsuite1676247329/Arduino15/packages/alice/hardware/avr/1.0.0/cores/arduino build.fqbn=alice:avr:alice [...cut...] ``` The output...

``` >>> Running: ../../../arduino-cli core update-index arduino-cli.go:188: Error Trace: /home/runner/work/arduino-cli/arduino-cli/internal/integrationtest/daemon/arduino-cli.go:188 /home/runner/work/arduino-cli/arduino-cli/internal/integrationtest/daemon/arduino-cli.go:150 /home/runner/work/arduino-cli/arduino-cli/internal/integrationtest/daemon/daemon_test.go:38 /home/runner/work/arduino-cli/arduino-cli/internal/integrationtest/daemon/daemon_compile_test.go:100 Error: Received unexpected error: fork/exec ../../../arduino-cli: no such file or directory ``` Once you change the working...

Could you provide a copy of the verbose output of the upload (with the `-v` flag)? Do you know if the same setup working as expected with Arduino IDE 1.8.x?

In your board's platform, the serial port is not used to select the upload target (I guess they use it only for the serial monitor), you can see it because...

@zaphodbe I've implemented a more deterministic tool-selection algorithm here: https://github.com/arduino/arduino-cli/pull/1887 Does it makes things better in your case?