Altera_Forum
Honored Contributor
16 years agoOverriding HAL functions
Hi,
I'm using the NIOS II SDT 9.1 and I find I need to change the implementation of a HAL function. Can anyone point me at the correct way of doing this? - if I make modify the function directly in the generated BSP everything works but my modified files are overwritten if I regenerate the BSP - if I use the same modified files into my application they build OK don't appear to work correctly I'm not sure if it's important but the files I'm trying to modify are altera_avalog_jtag_uart_write.c and altera_avalon_jtag_uart_read.c - they don't use the ALT_PEND_FLAGS() macro to avoid wasting time while waiting for a character unless __ucosii__ is defined - which is annoying if you're using an RTOS other than uCosII! Thanks, Darren.