From 2e7ba69a835b527a7e217944583e01b2d8eb328e Mon Sep 17 00:00:00 2001 From: Mike Daley Date: Wed, 18 Dec 2019 15:43:46 +0000 Subject: [PATCH] Script to build the ROM, generate the sdimg.h file and compile and upload the INO --- build_smartlink_rom.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 build_smartlink_rom.sh diff --git a/build_smartlink_rom.sh b/build_smartlink_rom.sh new file mode 100755 index 0000000..31a7042 --- /dev/null +++ b/build_smartlink_rom.sh @@ -0,0 +1,9 @@ +#!/bin/bash +cd targets/spectrum/smartcard/ +pasmoNext --alocal smartcard_rom.asm smartlink.rom +cp smartlink.rom ../../../Tools/VirtualSDImage +cd ../../../Tools/VirtualSDImage +./smartsd smartlink.rom sdimg.h +cp sdimg.h ../../duino/smartlink/ +cd ../../duino/smartlink +/Applications/Arduino.app/Contents/MacOS/Arduino --upload smartlink.ino