diff --git a/run.bat b/scripts/build.bat similarity index 51% rename from run.bat rename to scripts/build.bat index 5e6f004..be78cfe 100644 --- a/run.bat +++ b/scripts/build.bat @@ -1,3 +1,2 @@ arduino-cli compile main --profile orca -u -p COM3 -cargo build --release -"./target/release/orca-iot" \ No newline at end of file +cargo build --release \ No newline at end of file diff --git a/run.sh b/scripts/build.sh similarity index 100% rename from run.sh rename to scripts/build.sh diff --git a/scripts/run.bat b/scripts/run.bat new file mode 100644 index 0000000..8243ae5 --- /dev/null +++ b/scripts/run.bat @@ -0,0 +1 @@ +"./target/release/orca-iot" \ No newline at end of file diff --git a/scripts/run.sh b/scripts/run.sh new file mode 100644 index 0000000..0208bc0 --- /dev/null +++ b/scripts/run.sh @@ -0,0 +1,2 @@ +stty -F /dev/ttyACM0 speed 115200 -ignbrk -ignpar +"./target/release/orca-iot"