Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
773 Views

BeMicro SDK Superloop

0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
52 Views

Has no one tried superloop on BeMicro SDK?

Altera_Forum
Honored Contributor I
52 Views

IT works from the command line interface.  

 

There is a problem with importing it directly into eclipse
Altera_Forum
Honored Contributor I
52 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 :)
Reply