File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
libraries/Bluefruit52Lib/examples/Peripheral/cplay_ble Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11
11
All text above, and the splash screen below must be included in
12
12
any redistribution
13
13
*********************************************************************/
14
- #include < Adafruit_CircuitPlayground.h>
15
14
#include < Adafruit_LittleFS.h>
16
15
#include < InternalFileSystem.h>
17
16
#include < bluefruit.h>
18
17
#include < BLEAdafruitService.h>
18
+ #include < Adafruit_CircuitPlayground.h>
19
19
20
20
// BLE Service
21
21
BLEDfu bledfu; // OTA DFU service
Original file line number Diff line number Diff line change @@ -67,7 +67,11 @@ def build_examples(variant):
67
67
for sketch in glob .iglob ('libraries/**/*.ino' , recursive = True ):
68
68
start_time = time .monotonic ()
69
69
70
- if os .path .exists (os .path .dirname (sketch ) + '/.skip' ) or os .path .exists (os .path .dirname (sketch ) + '/.skip.' + variant ):
70
+ # skip if example contains: ".skip" or ".skip.variant"
71
+ # however ".build.variant" file can overwrite ".skip", used to build a specific variant only
72
+ sketchdir = os .path .dirname (sketch )
73
+ if ( (os .path .exists (sketchdir + '/.skip' ) or os .path .exists (sketchdir + '/.skip.' + variant )) and
74
+ not os .path .exists (sketchdir + '/.build.' + variant )):
71
75
success = "skipped"
72
76
else :
73
77
# TODO - preferably, would have STDERR show up in **both** STDOUT and STDERR.
You can’t perform that action at this time.
0 commit comments