@ -62,7 +62,7 @@ arduino_env = ARDUINO_DIRECTORIES_USER=$(ARDUINO_DIRECTORIES_USER) \
i f e q ( $( ARDUINO_CLI_PATH ) , )
i f e q ( $( ARDUINO_CLI_PATH ) , )
system_arduino_cli ? = $( shell command -v arduino-cli || true )
system_arduino_cli : = $( shell command -v arduino-cli || true )
i f e q ( $( system_arduino_cli ) , )
i f e q ( $( system_arduino_cli ) , )
export ARDUINO_CLI_PATH ?= $( KALEIDOSCOPE_BIN_DIR) /arduino-cli
export ARDUINO_CLI_PATH ?= $( KALEIDOSCOPE_BIN_DIR) /arduino-cli
@ -104,11 +104,11 @@ _arduino_props := $(shell ${ARDUINO_CLI} compile $(fqbn_arg) --show-properties
_arduino_prop = $( subst $1 = ,,$( subst 🔥, ,$( filter $1 = %,$( _arduino_props) ) ) )
_arduino_prop = $( subst $1 = ,,$( subst 🔥, ,$( filter $1 = %,$( _arduino_props) ) ) )
_arduino_version = $( shell ${ ARDUINO_CLI } version | sed 's/.*Version: \([0-9][0-9\.]*\).*/\1/' )
_arduino_version : = $( shell ${ ARDUINO_CLI } version | sed 's/.*Version: \([0-9][0-9\.]*\).*/\1/' )
export ARDUINO_CLI_VERSION ?= $( _arduino_version)
export ARDUINO_CLI_VERSION ?= $( _arduino_version)
_arduino_build_property_flag = $( shell echo -e " 0.14\n ${ ARDUINO_CLI_VERSION } " | sort -C -t. -k1,1n -k2,2n && echo "YES" )
_arduino_build_property_flag : = $( shell echo -e " 0.14\n ${ ARDUINO_CLI_VERSION } " | sort -C -t. -k1,1n -k2,2n && echo "YES" )
ARDUINO_BUILD_PROP_FLAG := --build-properties
ARDUINO_BUILD_PROP_FLAG := --build-properties
i f e q ( $( _arduino_build_property_flag ) , Y E S )
i f e q ( $( _arduino_build_property_flag ) , Y E S )