Skip to content

Commit

Permalink
Script to build the ROM, generate the sdimg.h file and compile and up…
Browse files Browse the repository at this point in the history
…load the INO
  • Loading branch information
mikedaley committed Dec 18, 2019
1 parent 2275713 commit 2e7ba69
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build_smartlink_rom.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2e7ba69

Please sign in to comment.