URL
https://opencores.org/ocsvn/ae18/ae18/trunk
Subversion Repositories ae18
[/] [ae18/] [trunk/] [sw/] [sdccrom] - Rev 20
Compare with Previous | Blame | View Log
#!/bin/sh
# $Id: sdccrom,v 1.1 2007-04-03 22:09:48 sybreon Exp $
#
#sdcc -mpic16 --optimize-goto --optimize-cmp --optimize-df --obanksel=1 -o rom $@ && \
sdcc -mpic16 -o rom $@ && \
objcopy -I ihex -O binary rom.hex rom.bin && \
hexdump -v -e'1/2 "%.4X\n"' rom.bin > rom.rom && \
mv rom.rom ../sim/ae18_core.rom && \
mv rom.lst sdccrom.lst && \
rm rom.* && \
echo "ROM generated"