dsp: add uart1 at 31250 baud for midi support

This commit is contained in:
Paul Mathieu
2021-07-26 00:00:26 -07:00
parent b01d6a4873
commit e7bab6e9e6
4 changed files with 55 additions and 25 deletions

View File

@@ -10,12 +10,13 @@ CFLAGS = -I../wave -I../uart
offset = $(shell printf "%d" 0x1100)
test_boot_rom.gen.vhdl: main.o ../uart/uart.o
test_boot_rom.gen.vhdl: bootloader.o ../uart/uart.o
boot_rom.gen.vhdl: bootloader.o ../uart/uart.o
hello.bin: hello.o ../uart/uart.o
synth.bin: main.o ../uart/uart.o
# hello.bin: hello.o ../uart/uart.o
# synth.bin: synth.o ../uart/uart.o
# echo.bin: echo.o ../uart/uart.o
# bootloader.bin: bootloader.o ../uart/uart.o
sim_sources = dsp_test.vhdl test_boot_rom.gen.vhdl
sources = dsp.vhdl ram.vhdl \
@@ -31,7 +32,7 @@ sources = dsp.vhdl ram.vhdl \
../lab/dsp/au_base_project.runs/synth_1/runme.sh
%.bin:
%.bin: %.o ../uart/uart.o
$(LD) -o $@ --offset $(offset) $^
%.gen.vhdl: