Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

A small tool to launch ECOS config tool

Altera_Forum
Honored Contributor II
1,166 Views

[CODE]A small tool that can make it easy to launch ECOS configuration tool. There are two files. One is nios2_ecos_cfg.bat and another is nios2_ecos_cfg.sh. Please copy their contents and create the two files.

 

nios2_ecos_cfg.bat:

 

bash nios2_ecos_cfg.sh %1

 

 

nios2_ecos_cfg.sh: 

 

#!/bin/sh

#

 

# call the SOPC Builder standard script

. $QUARTUS_ROOTDIR/sopc_builder/bin/nios_bash 

 

rm $TMP/nios2_auto.cdl -f

echo

echo Current path:

pwd

echo Current NIOS II system:

#ls -l $1

ls $1

nios2configtool --ptf=$1 --cpu=cpu 

echo

rm $TMP/nios2_auto.cdl -f

# exit

0 Kudos
0 Replies
Reply