mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2024-12-21 09:29:52 +00:00
Update build scripts to generate .bin files for programming using OpenOCD on a Pi
Change-Id: I39909acc3a1fe4504d5e4c2d20d11b23e3878058
This commit is contained in:
parent
246cb88e72
commit
58978d3e05
@ -30,6 +30,7 @@ build: $(TARGET).mcs
|
||||
|
||||
$(TARGET).mcs: $(TARGET).bit
|
||||
promgen -u 0 $(TARGET).bit -o $(TARGET).mcs -p mcs -w -spi -s 8192
|
||||
promgen -u 0 $(TARGET).bit -o $(TARGET).bin -p bin -w -spi -s 8192
|
||||
rm -f $(TARGET).cfi $(TARGET).prm
|
||||
|
||||
working/$(PROJECT).bit:
|
||||
|
@ -16,6 +16,9 @@ NAME=${DIR}/icemulti
|
||||
|
||||
mkdir -p ${DIR}
|
||||
|
||||
for FORMAT in mcs bin
|
||||
do
|
||||
|
||||
promgen \
|
||||
-u 0 loader/MultiBootLoader.bit \
|
||||
-u 54000 unknown/UnknownAdapter.bit \
|
||||
@ -23,6 +26,8 @@ promgen \
|
||||
-u FC000 icez80/icez80.bit \
|
||||
-u 150000 ice65c02/ice65c02.bit \
|
||||
-u 1A4000 ice6809/ice6809.bit \
|
||||
-o $NAME.mcs -p mcs -w -spi -s 8192
|
||||
-o $NAME.$FORMAT -p $FORMAT -w -spi -s 8192
|
||||
|
||||
done
|
||||
|
||||
rm -f $NAME.cfi $NAME.prm
|
||||
|
Loading…
Reference in New Issue
Block a user