Forum Discussion

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

How to disable RTOS?

Hi!

Our Company is developing soft-processors using Nios I, but due to Nios I is not supported any more, as well as due to more advantageous JTAG use, we have to use Nios II.

The problem we are facing is that certain requirements restrict use of interrupts, including RTOS. The issue is: Is there any possibility to create project without using RTOS, including HAL libraries? The best solution would be creating programs without using HAL functions, but JTAG-debug. In extremes, we would write Makefile by ourselves.

14 Replies

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

    thank U, dsl! but i need to get into NIOS II IDE. If not, I'll have to use NIOS I.

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

    I don't know of any reason why you can't do what you want using the IDE.

    I just have a massive aversion to the straightjacket that IDE put you into.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Artyom,

    you can also take a look to objdump file (clearly previously enabled to be generated) just to understand what still remain in your application.

    Moreover you have also to remember that, all peripheral that you've foreseen in your FPGA design, automatically at compilation of BSP includes proper device driver: therefore

    if you don't want to use them you have to remove from you design or remove device driver within BSP editor.

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

    Thank you everyone for your replies! Really, if not to use HAL functions, they won’t be included into the code (however, they are libraries in Makefile). And my code was big because of periphery drivers. I switched them off in BSP settings and got pure code (around 500 bites). That’s I wished to get. Thanks once again! I think the topic can be closed.