summaryrefslogtreecommitdiff
path: root/tools/build_all.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_all.py')
-rw-r--r--tools/build_all.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/build_all.py b/tools/build_all.py
new file mode 100644
index 000000000..4b6fa5775
--- /dev/null
+++ b/tools/build_all.py
@@ -0,0 +1,11 @@
+import os
+import shutil
+import sys
+import subprocess
+import time
+
+all_boards = ["metro_m0_express", "metro_m4_express", "pca10056", "stm32f407g_disc1"]
+
+for board in all_boards:
+ subprocess.run("make -j2 -C examples/device/cdc_msc_hid BOARD={} clean".format(board), shell=True)
+ subprocess.run("make -j2 -C examples/device/cdc_msc_hid BOARD={} all".format(board), shell=True)