forked from vedderb/vesc_pkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_res
executable file
·47 lines (37 loc) · 959 Bytes
/
build_res
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
VT=/usr/local/bin/vesc_tool
set -e
# Build all packages here. Note:
# the buildPkg flag has an argument with 4 or 6 comma-separated flags. When
# 4 flags are used the description and name is taken from the existing VESC
# package. When 6 flags are used a markdown-file and a package name can be
# passed. When using 4 flags a package-file must exist beforehand (e.g. by
# creating it from the editor in VESC tool).
# Balance
cd balance/balance/
make clean
make
cd ../
$VT --buildPkg 'balance.vescpkg:balance.lisp:ui.qml:0:README.md:Balance'
cd balance
make clean
cd ../../
# logui
cd logui/
$VT --buildPkg 'logui.vescpkg:logger.lisp:ui.qml:0:README.md:LogUI'
cd ../
## Libraries
# WS2812
cd lib_ws2812/ws2812/
make clean
make
cd ../
$VT --buildPkg 'ws2812.vescpkg:ws2812.lisp::0'
cd ws2812
make clean
cd ../../
# NAU7802
cd lib_nau7802/
$VT --buildPkg 'nau7802.vescpkg:nau7802.lisp::0'
cd ../
rcc -binary res_all.qrc -o vesc_pkg_all.rcc