Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThis is my - now working - version of the test_bashrc (Quartus 14.0 Webedition, win7 64bit):
As mentioned above the file has to be saved with unix style line endings. dos2unix does the job of converting line endings if your editor saves windows style only. Maybe nios2-download also has to be converted using dos2unix. Change /cygdrive/c/altera/14.0 to your correct location. -- snip --# file: nios2_sdk_shell_bashrc# # 2004.03.15 dvb# # +------------------------------------------------# | This is the Nios II Kit SDK Shell rc file# |# | It calls the standard SOPC Builder rc file, first, and# | then patches a few things up to do with replicated# | scripts and revisions, so that the ones provided# | with Nios II take precedence.# | # |# | call the SOPC Builder standard script# | . "$QUARTUS_ROOTDIR/sopc_builder/bin/nios_bash" # |# | Alias things we like very much# | alias nb=nios2-build alias nios-build=nios2-build alias nr=nios2-run alias nios-run=nios2-run alias nd=nios2-debug alias nios-debug=nios2-debug alias nc=nios2-console alias nios-console=nios2-console path=$path:/cygdrive/c/altera/14.0/nios2eds/bin:/cygdrive/c/altera/14.0/nios2eds/bin/gnu/h-x86_64-mingw32/bin:/cygdrive/c/altera/14.0/quartus/bin32:/cygdrive/c/altera/14.0/quartus/bin32 nios2-download DE0_Nano.elf -c USB-Blaster[USB-0] -r -g nios2-terminal -c USB-Blaster[USB-0] # remove exit # End of file