Declarations for UART_MAX_LEN and log_buf (Cyclone V) missing while compiling
Hello Folks,
I am stuck in a problem since last week
Does anybody have a hint where can I find the header file that contains these declarations: UART_MAX_LEN, log_buf
Compiler is giving error about about UART_MAX_LEN undeclared, similarly log_buf, they both happen to appear in a function int_write in src/utils/alt_retarget_gnu.c.
I have used the linker script :"host_tools\mentor\gnu\arm\baremetal\arm-altera-eabi\lib\cycloneV-dk-ram-hosted.ld" to access some of the host's functionality to print.
My compiler output:
../src/utils/alt_retarget_gnu.c:88:20: error: 'UART_MAX_LEN' undeclared (first use in this function)
../src/utils/alt_retarget_gnu.c:88:20: note: each undeclared identifier is reported only once for each function it appears in
../src/utils/alt_retarget_gnu.c:93:14: error: 'log_buf' undeclared (first use in this function)
P.S. Project is attached with preloader for reproduction of error.