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
the current master of Arduino-Makefile computes the variable ARDUINO_VERSION in a way which makes it hard to use it together with ATTinyCore (see: SpenceKonde/ATTinyCore#389).
With the latest Arduino verision this results in the number 1810, which then gets compared to 10810, which then fails.
I am not sure if this needs to be addressed here, or for what kind of things this variable is being used. If you want to change it, here's one way to do it:
which selects the wrong branch of the if statement since the Arduino makefile sed expression converts 1.8.13+dfsg1-2 from version.txt to four digit 1813.
My sed expression to fix that first fills in the missing zeroes in one-digit version components (s/\.\([0-9]\)\>/.0\1/g), then strips the periods:
ARDUINO_VERSION := $(shell cat $(ARDUINO_DIR)/lib/version.txt | \
sed 's/^[0-9]://;s/\.\([0-9]\)\>/.0\1/g;s/\.//g;s/\+.*$$//')
Hello,
the current master of Arduino-Makefile computes the variable
ARDUINO_VERSION
in a way which makes it hard to use it together with ATTinyCore (see: SpenceKonde/ATTinyCore#389).Here's the culprit:
With the latest Arduino verision this results in the number
1810
, which then gets compared to10810
, which then fails.I am not sure if this needs to be addressed here, or for what kind of things this variable is being used. If you want to change it, here's one way to do it:
I myself fixed this by just setting the variable
ARDUINO_VERSION
in my Makefile to010810
, see TLINDEN/attinycore-makefile-tests@5e2e360.And many thanks for the framework, I love it, since it allows me to use my beloved emacs!
The text was updated successfully, but these errors were encountered: