summaryrefslogtreecommitdiffstats
path: root/software/pong3/create-this-app
diff options
context:
space:
mode:
Diffstat (limited to 'software/pong3/create-this-app')
-rwxr-xr-xsoftware/pong3/create-this-app16
1 files changed, 8 insertions, 8 deletions
diff --git a/software/pong3/create-this-app b/software/pong3/create-this-app
index 99ab8a0..fe6b3f4 100755
--- a/software/pong3/create-this-app
+++ b/software/pong3/create-this-app
@@ -1,11 +1,11 @@
#!/bin/bash
#
-# This script creates the hello_world application in this directory.
+# This script creates the blank_project application in this directory.
-BSP_DIR=/root/projects/pong3/software/pong3_bsp/
-QUARTUS_PROJECT_DIR=/root/projects/pong3/hardware/
-NIOS2_APP_GEN_ARGS="--elf-name pong3.elf --set OBJDUMP_INCLUDE_SOURCE 1 --src-files hello_world.c"
+BSP_DIR=../pong3_bsp
+QUARTUS_PROJECT_DIR=../../
+NIOS2_APP_GEN_ARGS="--elf-name pong3.elf --no-src --set OBJDUMP_INCLUDE_SOURCE 1"
# First, check to see if $SOPC_KIT_NIOS2 environmental variable is set.
@@ -57,18 +57,18 @@ done
# Now we also need to go copy the sources for this application to the
# local directory.
-find "${SOPC_KIT_NIOS2}/examples/software/hello_world/" -name '*.c' -or -name '*.h' -or -name 'hostfs*' | xargs -i cp -L {} ./ || {
+find "${SOPC_KIT_NIOS2}/examples/software/blank_project/" -name '*.c' -or -name '*.h' -or -name 'hostfs*' | xargs -i cp -L {} ./ || {
echo "failed during copying example source files"
exit 1
}
-find "${SOPC_KIT_NIOS2}/examples/software/hello_world/" -name 'readme.txt' -or -name 'Readme.txt' | xargs -i cp -L {} ./ || {
+find "${SOPC_KIT_NIOS2}/examples/software/blank_project/" -name 'readme.txt' -or -name 'Readme.txt' | xargs -i cp -L {} ./ || {
echo "failed copying readme file"
}
-if [ -d "${SOPC_KIT_NIOS2}/examples/software/hello_world/system" ]
+if [ -d "${SOPC_KIT_NIOS2}/examples/software/blank_project/system" ]
then
- cp -RL "${SOPC_KIT_NIOS2}/examples/software/hello_world/system" . || {
+ cp -RL "${SOPC_KIT_NIOS2}/examples/software/blank_project/system" . || {
echo "failed during copying project support files"
exit 1
}