From c6662696703569e9b7040a57f4848022450fd8f7 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 11 Nov 2020 01:21:10 +0100 Subject: [PATCH] scripts --- .../01make_client_makefile.sh | 4 ++++ .../02a_run_test_lua_makefile.sh | 3 +++ .../02b_run_test_py_grabber_cmake.sh | 7 +++++++ .../02b_run_test_py_makefile.sh | 7 +++++++ 4 files changed, 21 insertions(+) create mode 100755 client/experimental_client_with_swig/01make_client_makefile.sh create mode 100755 client/experimental_client_with_swig/02a_run_test_lua_makefile.sh create mode 100755 client/experimental_client_with_swig/02b_run_test_py_grabber_cmake.sh create mode 100755 client/experimental_client_with_swig/02b_run_test_py_makefile.sh diff --git a/client/experimental_client_with_swig/01make_client_makefile.sh b/client/experimental_client_with_swig/01make_client_makefile.sh new file mode 100755 index 000000000..93ab04ca2 --- /dev/null +++ b/client/experimental_client_with_swig/01make_client_makefile.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd .. +make -j diff --git a/client/experimental_client_with_swig/02a_run_test_lua_makefile.sh b/client/experimental_client_with_swig/02a_run_test_lua_makefile.sh new file mode 100755 index 000000000..bc19e7dfe --- /dev/null +++ b/client/experimental_client_with_swig/02a_run_test_lua_makefile.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +../proxmark3 /dev/ttyACM0 -c "script run testembedded.lua" diff --git a/client/experimental_client_with_swig/02b_run_test_py_grabber_cmake.sh b/client/experimental_client_with_swig/02b_run_test_py_grabber_cmake.sh new file mode 100755 index 000000000..2f13a6628 --- /dev/null +++ b/client/experimental_client_with_swig/02b_run_test_py_grabber_cmake.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +#/usr/local/lib/python3/dist-packages/pm3.py +#/usr/lib/python3/dist-packages/pm3.py + +# need access to pm3.py +PYTHONPATH=../src ../build/proxmark3 /dev/ttyACM1 -c "script run testembedded_grab.py" -i diff --git a/client/experimental_client_with_swig/02b_run_test_py_makefile.sh b/client/experimental_client_with_swig/02b_run_test_py_makefile.sh new file mode 100755 index 000000000..838331382 --- /dev/null +++ b/client/experimental_client_with_swig/02b_run_test_py_makefile.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +#/usr/local/lib/python3/dist-packages/pm3.py +#/usr/lib/python3/dist-packages/pm3.py + +# need access to pm3.py +PYTHONPATH=../src ../proxmark3 /dev/ttyACM0 -c "script run testembedded.py"