-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Labels
arduino mocksCompilation mocks for the Arduino libraryCompilation mocks for the Arduino librarybugSomething isn't workingSomething isn't workingsome archsOnly affects some Arduino architecturesOnly affects some Arduino architectures
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
Metadata
Metadata
Assignees
Labels
arduino mocksCompilation mocks for the Arduino libraryCompilation mocks for the Arduino librarybugSomething isn't workingSomething isn't workingsome archsOnly affects some Arduino architecturesOnly affects some Arduino architectures