We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7804730 commit cbccf6aCopy full SHA for cbccf6a
SampleProjects/TestSomething/test/defines.cpp
@@ -8,6 +8,7 @@ unittest(binary)
8
assertEqual(100, B1100100);
9
}
10
11
+#ifdef __AVR__
12
#define DDRE _SFR_IO8(0x02)
13
14
unittest(SFR_IO8)
@@ -18,5 +19,6 @@ unittest(SFR_IO8)
18
19
// this tests that directly
20
auto foo = &DDRE; // avoid compiler warning by using the result of an expression
21
22
+#endif
23
24
unittest_main()
0 commit comments