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

Creating static library without bsp

Altera_Forum
Honored Contributor II
1,254 Views

Hi, 

I need to create a simple static library to be linked with my main NIOS-II application. 

I don't want to have that library be dependent on BSP, because it is purely software logics. 

 

Is there a built-in way to achieve this with NIOS II SBT eclipse? 

 

I'm using NIOS-II SBT 12.0. 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
530 Views

In menu, I think, you get New>library. 

Nios II SBT is designed to be used with material boards. That is why BSP is needed : it matches hardware and software. 

But you can create simple application without NIOS II. 

 

Can you give an example of what you want to do ?
0 Kudos
Altera_Forum
Honored Contributor II
530 Views

New>Library option requires BSP. 

 

My intention is to build a NIOS II application which depends on some utilities which are compiled as static library. These utilities are not hardware based but pure software based. This is why I want it created without the BSP. 

 

An example utility can be something that manages strings.
0 Kudos
Reply