瀏覽代碼

[version.sh]add BT-6710

balbekova 5 年之前
父節點
當前提交
32c84f45a5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      projects/gcc/tools/version.sh

+ 3 - 0
projects/gcc/tools/version.sh

@@ -13,6 +13,9 @@ SRC=$'#define HARDWARE_BT6707 1\r\n#include <stdio.h>\r\n#include "common_config
 elif [ "$1" = "bt6709" ];
 then
 SRC=$'#define HARDWARE_BT6709 1\r\n#include <stdio.h>\r\n#include "common_config.h"\r\n'
+elif [ "$1" = "bt6710" ];
+then
+SRC=$'#define HARDWARE_BT6710 1\r\n#include <stdio.h>\r\n#include "common_config.h"\r\n'
 fi
 SRC+=$'int main(int argc, char *argv[]) {printf("%s", VERSION);}'
 echo "$SRC" > $BIN.c