aboutsummaryrefslogtreecommitdiff
path: root/tests/script
diff options
context:
space:
mode:
authorPieter du Preez <pdupreez@gmail.com>2018-09-15 14:31:39 +0200
committerPieter du Preez <pdupreez@gmail.com>2018-09-15 14:31:39 +0200
commit62d23d66a2f9326235022bfd8711c62e015c0bc8 (patch)
tree28371db5c558406a4718c23b9110707ff131c5cd /tests/script
parente44540043edb15c0ab7eab2a8d0cb3241933ce8e (diff)
Moved the BOARDS_TXT section and stop if BOARDS_TXT is not a file.
The section of Arduino.mk that calculates BOARDS_TXT was moved to just before the point where it gets used for the first time (a call to PARSE_BOARD). An error gets generated if BOARDS_TXT is not pointing to a valid file, directly after the BOARDS_TXT calculation. In addition, the PARSE_BOARD macro will now be bypassed if the BOARDS_TXT variable points to a non-existing file. If a user makefile uses PARSE_BOARD before including Arduino.mk, and the BOARDS_TXT is wrong, the error will only be caught in the Arduino.mk file, which is probably acceptable.
Diffstat (limited to 'tests/script')
0 files changed, 0 insertions, 0 deletions