summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-07-30 10:24:36 +0700
committerGitHub <[email protected]>2019-07-30 10:24:36 +0700
commit1e7f1de4d766e846ec43d5b345a7dc545d98335b (patch)
treee09333dd599e92d0686ca5e2bcf928b1cf60165a /tools
parent1ee9ef4f2b7c6acfab6c398a4f57ca22036958f7 (diff)
parent00a9e492cdf04ea17379218996d2713bcaaaff51 (diff)
Merge pull request #89 from hathach/develop
resolve #35 (vendor class), implement #86 (webusb)
Diffstat (limited to 'tools')
-rw-r--r--tools/build_all.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/build_all.py b/tools/build_all.py
index 93bdef4c1..b34edffaf 100644
--- a/tools/build_all.py
+++ b/tools/build_all.py
@@ -12,7 +12,16 @@ success_count = 0
fail_count = 0
exit_status = 0
-all_device_example = ["cdc_msc_hid", "hid_generic_inout", "midi_test", "msc_dual_lun"]
+all_examples = [];
+for entry in os.scandir("examples/device"):
+ if entry.is_dir():
+ all_examples.append(entry.name)
+
+# mynewt has its own example repo
+all_examples.remove("cdc_msc_hid_mynewt")
+
+# TODO update freeRTOS example to work with all boards (only nrf52840 now)
+all_examples.remove("cdc_msc_hid_freertos")
all_boards = []
for entry in os.scandir("hw/bsp"):
@@ -25,7 +34,7 @@ def build_example(example, board):
total_time = time.monotonic()
-for example in all_device_example:
+for example in all_examples:
for board in all_boards:
start_time = time.monotonic()
build_result = build_example(example, board)