-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test added for reading BuildProperties from ./platform.sketch.txt file
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
compiler.c.extra_flags = -DSKETCH_DEFINED_VALUE=1 | ||
compiler.cpp.extra_flags = -DSKETCH_DEFINED_VALUE=2 |
6 changes: 6 additions & 0 deletions
6
test/sketch_with_platform_sketch_txt/sketch_with_platform_sketch_txt.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef SKETCH_DEFINED_VALUE | ||
#error SKETCH_DEFINED_VALUE was not defined in ./platform.sketch.txt | ||
#endif | ||
|
||
void setup() {} | ||
void loop() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters