Closed
Description
Issue Summary
via #144 (comment)
__AVR__
is normally defined byavr-gcc
, so only for the AVR-based Arduino boards. To emulate other boards (e.g. SAMD / Arduino Zero), I think__AVR__
should not be defined, otherwise libraries etc. will not be genuinely emulated and if they test for__AVR__
they will erronously assume that all kind of AVR-specific stuff is available.
Solution: remove __AVR__
from the hard-coded argument list in cpp_library.rb
and add it to the appropriate board definitions in the default.yml
CI config