Andrew099
New Contributor
2 years agoBSP fails to build for FreeRTOS on a Nios V with UART
I have a Nios V on a Max 10 with a UART (RS-232 Serial Port) Intel FPGA IP (and also JTAG UART). When I opened up the BSP editor, I selected FreeRTOS and went with all the defaults and made a BSP. Ho...
- 1 year ago
In the "freertos/drivers/src/":
- intel_lw_uart_init.c
- line 228~:
if (sp->tx_start == ((sp->tx_end + 1) & ALT_AVALON_UART_BUF_MSK))
{
ALT_FLAG_POST (sp->events,
ALT_UART_WRITE_RDY,
ALT_FLAG_SET);
}
- intel_lw_uart_read.c
- line 205~:
ALT_FLAG_PEND (sp->events,
ALT_UART_READ_RDY,
ALT_FLAG_WAIT_SET_ANY_WITH_CONSUME,
ALT_FLAG_WAIT_MAX_TIMEOUT);
- intel_lw_uart_write.c
- line 192~:
ALT_FLAG_PEND (sp->events,
ALT_UART_WRITE_RDY,
ALT_FLAG_WAIT_SET_ANY_WITH_CONSUME,
ALT_FLAG_WAIT_MAX_TIMEOUT);
- intel_lw_uart_init.c