added the serial library

This commit is contained in:
ZennDev1337 2023-09-20 16:39:36 +02:00
parent 65db708e61
commit 5dbe66e910
8 changed files with 235 additions and 1 deletions

View file

@ -5,7 +5,8 @@ set option=%1
if [%option%]==[] (
powershell -Command "cargo build -p game --release; cp ./target/arduboy/release/libgame.a ./arduboy-rust/Wrapper-Project/lib/libgame.a; cd arduboy-rust/Wrapper-Project/; pio run -v -t upload; cp ./.pio/build/arduboy/firmware.hex ./build/game.hex; pio run -t clean; rm lib/libgame.a; cd ../../"
goto :eof
) else if %option%==doc (
)
if %option%==doc (
powershell -Command "cargo doc -p arduboy-rust; rm -r ./docs/doc/; cp -r ./target/arduboy/doc ./docs/"
goto :eof
) else if %option%==eeprom-byte (