update .gitignore and makefile

This commit is contained in:
Konarak 2025-04-22 23:56:26 +05:30
parent 33fd9ef6b2
commit 2fdfe24793
Signed by: konarak
GPG Key ID: DE5E99432B548849
2 changed files with 4 additions and 4 deletions

3
.gitignore vendored
View File

@ -7,8 +7,9 @@
*.dblite *.dblite
*.hack *.hack
*.vm *.vm
*.img
*.backup
*.history *.history
.* .*
out.asm out.asm
out.hack out.hack
baseimage

View File

@ -2,7 +2,7 @@ PYTHON = ~/.pyenv/shims/python
rom = 06_IO_Devices/00_HACK/ROM rom = 06_IO_Devices/00_HACK/ROM
bootloader = 06_IO_Devices/05_GO/bootloader bootloader = 06_IO_Devices/05_GO/bootloader
warez = 06_IO_Devices/01_UartTX/hello warez = 06_IO_Devices/01_UartTX/motd
bitstream = 06_IO_Devices/00_HACK/hardware bitstream = 06_IO_Devices/00_HACK/hardware
upload = Nand2Tetris.img upload = Nand2Tetris.img
@ -17,8 +17,7 @@ read:
write: write:
flashrom.exe --progress -p buspirate_spi:dev=COM12 -w $(upload) flashrom.exe --progress -p buspirate_spi:dev=COM12 -w $(upload)
build: build: build-rom build-warez build-bitstream
build-rom build-warez build-bitstream
build-rom: build-rom:
$(PYTHON) tools/Assembler/assembler.pyc $(bootloader).asm $(PYTHON) tools/Assembler/assembler.pyc $(bootloader).asm