Browse Source

update build script

hathach 7 years ago
parent
commit
d204ae27fa
1 changed files with 6 additions and 0 deletions
  1. 6 0
      tools/build_all.py

+ 6 - 0
tools/build_all.py

@@ -11,3 +11,9 @@ for example in all_device_example:
     for board in all_boards:
         subprocess.run("make -j2 -C examples/device/{} BOARD={} clean".format(example, board), shell=True)
         subprocess.run("make -j2 -C examples/device/{} BOARD={} all".format(example, board), shell=True)
+
+# FreeRTOS example
+example = 'cdc_msc_hid_freertos'
+board = 'pca10056'
+subprocess.run("make -j2 -C examples/device/{} BOARD={} clean".format(example, board), shell=True)
+subprocess.run("make -j2 -C examples/device/{} BOARD={} all".format(example, board), shell=True)