From 8b7258fa9e3aab21381158b511120be233f07d6d Mon Sep 17 00:00:00 2001 From: marqs Date: Sat, 31 Jul 2021 18:07:52 +0300 Subject: [PATCH] update Codelite workspace config --- scripts/reprogram.sh | 7 +++++++ software/ossc_sw.project | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100755 scripts/reprogram.sh 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 @@ - +