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++

BeMicro SDK Superloop

Altera_Forum
Honored Contributor II
1,144 Views
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
423 Views

Has no one tried superloop on BeMicro SDK?

0 Kudos
Altera_Forum
Honored Contributor II
423 Views

IT works from the command line interface.  

 

There is a problem with importing it directly into eclipse
0 Kudos
Altera_Forum
Honored Contributor II
423 Views

I got it working. 

 

The application runs directly from the command shell no problem. My issue was I was trying to import it directly into Eclipse.  

 

Looking in ./create-this-bsp there is this code # we actually want to replace the HAL version of alt_syscall.h with the version# out of the interniche library for uCOS-II 

echo "" 

echo "Replacing alt_syscall.h with version from interniche library..." 

echo "" 

cp --remove-destination ${SOPC_KIT_NIOS2}/components/altera_iniche/UCOSII/inc/os/alt_syscall.h HAL/inc/os/ 

 

 

When I imported the bsp into eclipse and generated the BSP, the way I had the BSP editor configured caused the alt_syscall.h with version from interniche library to be overwritten again with the file from the generated HAL version.  

 

Therefore I just disabled the generation of this file in the eclipse BSP editor (BEFORE generating BSP) and then built the application.  

 

 

When you download the zip be prepared to battle with some file permissions.  

 

You may well, as I did, require to use the DOS command  

 

attrib -R /S /D . 

 

From 

 

http://www.altera.com/support/kdb/solutions/rd11082006_826.html 

 

Well that was a crash course for a beginner in bash scripting :)
0 Kudos
Reply