diff --git a/scripts/reprogram.sh b/scripts/reprogram.sh new file mode 100755 index 0000000..187080c --- /dev/null +++ b/scripts/reprogram.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +make rv-reprogram + +if [ $# -eq 1 ] && [ $1 = "jtag_uart" ] && [ $(pgrep -c nios2-terminal) = 0 ]; then + nios2-terminal +fi diff --git a/software/ossc_sw.project b/software/ossc_sw.project index 64d3b4f..4d1d241 100644 --- a/software/ossc_sw.project +++ b/software/ossc_sw.project @@ -123,7 +123,7 @@ - + @@ -141,7 +141,7 @@ cd ../sys_controller_bsp && touch bsp_timestamp make clean - make APP_CFLAGS_DEBUG_LEVEL="-DDEBUG" generate_hex + make ENABLE_AUDIO=y APP_CFLAGS_DEBUG_LEVEL="-DDEBUG" generate_hex @@ -165,7 +165,7 @@ - +