You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this fails on make ispload due to the way the get_isp_port variable is handled.
I have a workaround by changing:
# Returns the ISP port (first wildcard expansion) if it exists, otherwise it errors.
get_isp_port = $(if $(wildcard $(ISP_PORT)),$(firstword $(wildcard $(ISP_PORT))),$(if $(findstring Xusb,X$(ISP_PORT)),$(ISP_PORT),$(error ISP port $(ISP_PORT) not found!)))
to:
# Returns the ISP port (first wildcard expansion) if it exists, otherwise it errors.
get_isp_port = $(if $(wildcard $(ISP_PORT)),$(firstword $(wildcard $(ISP_PORT))),$(if $(findstring Xusb,X$(ISP_PORT)),$(ISP_PORT),$(error ISP port $(ISP_PORT) not found!)))
# append :/dev/gpiochip to isp_port
ifeq ($(strip $(ISP_PROG)),$(filter $(ISP_PROG), linuxspi))
get_isp_port := $(strip $(get_isp_port)):$(strip $(ISP_GPIO))
endif
could this be added to the next release please?
The text was updated successfully, but these errors were encountered:
Hi,
I have a patched version of avrdude with linuxspi. The latest patch uses the format:
this fails on make ispload due to the way the get_isp_port variable is handled.
I have a workaround by changing:
to:
could this be added to the next release please?
The text was updated successfully, but these errors were encountered: