chore: add sample apps as submodules

master
Sean McBride 4 years ago
parent e2462c2c62
commit 9b2b9ad47c

15
.gitmodules vendored

@ -13,4 +13,17 @@ path = runtime/thirdparty/jsmn
url = https://github.com/gwsystems/jsmn.git url = https://github.com/gwsystems/jsmn.git
[submodule "runtime/tests/gocr"] [submodule "runtime/tests/gocr"]
path = runtime/tests/gocr path = runtime/tests/gocr
url = https://github.com/gwsystems/gocr url = https://github.com/gwsystems/gocr.git
branch = sledge
[submodule "runtime/tests/TinyEKF"]
path = runtime/tests/TinyEKF
url = https://github.com/gwsystems/TinyEKF.git
branch = sledge
[submodule "runtime/tests/CMSIS_5_NN"]
path = runtime/tests/CMSIS_5_NN
url = https://github.com/gwsystems/CMSIS_5_NN.git
branch = sledge
[submodule "runtime/tests/sod"]
path = runtime/tests/sod
url = https://github.com/gwsystems/sod.git
branch = sledge

@ -0,0 +1 @@
Subproject commit 07ae6121fd8effdfed1faadec0a240346706a98d

@ -6,14 +6,31 @@ TESTSRT=$(TESTS:%=%_rt)
.PHONY: all clean rttests .PHONY: all clean rttests
all: rttests all: rttests tinyekf cifar10 gocr sod
@echo "Compilation done!" @echo "Compilation done!"
rttests: $(TESTSRT) rttests: $(TESTSRT)
clean: clean:
@rm -rf ${TMP_DIR} @rm -rf ${TMP_DIR}
#@rm -f ${BIN_DIR}/*_wasm.so @rm -rf ${SLEDGE_BIN_DIR}/*_wasm.so
tinyekf:
make clean all -C ./TinyEKF/extras/c/ -f makefile.wasm
cp ./TinyEKF/extras/c/gps_ekf_fn.aso ${SLEDGE_BIN_DIR}/ekf_wasm.so
cifar10:
make clean all -C ./CMSIS_5_NN/ -f Makefile
cp ./CMSIS_5_NN/tmp/cifar10.awsm.so ${SLEDGE_BIN_DIR}/cifar10_wasm.so
gocr:
make clean all -C ./gocr/src/ -f makefile.wasm
cp ./gocr/src/gocr.aso ${SLEDGE_BIN_DIR}/gocr_wasm.so
sod:
make clean all samples samples.wasm -C ./sod/
cp ./sod/bin/license_plate_detection.awsm /sledge/runtime/bin/lpd_wasm.so
cp ./sod/bin/resize_image.awsm /sledge/runtime/bin/resize_wasm.so
%_rt: %_rt:
@mkdir -p ${TMP_DIR} @mkdir -p ${TMP_DIR}

@ -0,0 +1 @@
Subproject commit fe59ef0e551746aee4d007e4516321bfbe65fe74

@ -0,0 +1 @@
Subproject commit c6d88a8ab23bd7787d22eaa3ce9e65bbd957d62a

@ -0,0 +1 @@
Subproject commit 8df9f4d8a3fd80f06d38cae50362d507f5878ebf
Loading…
Cancel
Save