Forum Discussion
AJama4
Occasional Contributor
7 years agoDeclarations 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 abou...
EBERLAZARE_I_Intel
Regular Contributor
7 years agoHi,
You may find the alt_retarget_gnu.c file here in your Quartus Installation file:
"\intelFPGA\18.1\embedded\ip\altera\hps\altera_hps\hwlib\src\utils"
The C file contains minimal re target support to make printf function over UART for the GNU compiler.
Can you check your C file contains the UART_MAX_LEN, log_buf declarations?
Regards.