Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Creating static library without bsp

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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 ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.