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 1111 All text above, and the splash screen below must be included in
1212 any redistribution
1313*********************************************************************/
14- #include < Adafruit_CircuitPlayground.h>
1514#include < Adafruit_LittleFS.h>
1615#include < InternalFileSystem.h>
1716#include < bluefruit.h>
1817#include < BLEAdafruitService.h>
18+ #include < Adafruit_CircuitPlayground.h>
1919
2020// BLE Service
2121BLEDfu bledfu; // OTA DFU service
Original file line number Diff line number Diff line change @@ -67,7 +67,11 @@ def build_examples(variant):
6767 for sketch in glob .iglob ('libraries/**/*.ino' , recursive = True ):
6868 start_time = time .monotonic ()
6969
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 )):
7175 success = "skipped"
7276 else :
7377 # TODO - preferably, would have STDERR show up in **both** STDOUT and STDERR.
You can’t perform that action at this time.
0 commit comments