обычно .sh
например:
Код
#! /bin/sh
cd D:/qdesigns60/Vadim/Preprocessor2/software/hello_led_0/hello_led_0/Debug
# Creating .flash file for the FPGA configuration
$SOPC_KIT_NIOS2/bin/sof2flash --epcs --input=D:/qdesigns60/Vadim/Preprocessor2/Preprocessor2.sof --output=Preprocessor2.flash
# Programming flash with the FPGA configuration
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='ByteBlasterMV [LPT1]' --device=1 --epcs --base=0x00004800 Preprocessor2.flash
# Creating .flash file for the project
$SOPC_KIT_NIOS2/bin/elf2flash --epcs --after=Preprocessor2.flash --input=hello_led_0.elf --output=epcs_controller.flash --boot=$SOPC_KIT_NIOS2/components/altera_nios2/boot_loader_epcs.srec
# Programming flash with the project
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='ByteBlasterMV [LPT1]' --device=1 --epcs --base=0x00004800 epcs_controller.flash
обратите внимание на
Цитата
#! /bin/sh
- это не комментарий!