#!/bin/sh
#
# This file was automatically generated by the Nios II IDE Flash Programmer.
#
# It will be overwritten when the flash programmer options change.
#

cd /afs/ualberta.ca/home/q/i/qingyue/ece492/capstone_accel_trial/software/hello_ucosii_0/Debug

# Creating .flash file for the project
"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x01400000 --end=0x17fffff --reset=0x1400000 --input="hello_ucosii_0.elf" --output="cfi_flash_0.flash" --boot="/opt/altera/10.1sp1/ip/altera/nios2_ip/altera_nios2/boot_loader_cfi.srec"

# Programming flash with the project
"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x01400000  "cfi_flash_0.flash"

