Forum Discussion

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

Disable HAL UART drivers NIOS II.

Hi!

I've got custom make file. I want to disable some HAL drivers and use my driver implementation. I've tried this command
nios2-bsp hal $(BSP_FILE) $(SOPC_FILE) --cmd set_driver none uart

Unfortunately it removes altera_avalon_uart_regs.h from bsp project.

3 Replies

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

    Thank you for you reply. Yes I know about that. But I'm looking for more portable way.

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

    The altera software is assuming that if you don't need the driver you aren't using the device. You have your choice. Neither is portable, that's the way it is sometimes.