Forum Discussion
CAlex
Contributor
3 years agoHWlib baremetal project issue: How to devide the codes.
Hi, forgive me to ask a foolish question: How to devide the codes in the project. I devided the codes into FPGA part and HPS part. As you can see both header files contain "alt_printf.h" an...
tehjingy_Altera
Regular Contributor
3 years agoHi Alex
Including the same header multiple time would not be a problem.
In the header files there are header guards.
Could you share me what are the error that you are seeing?
Regards
Jingyang, Teh
CAlex
Contributor
3 years agoHi,
I deleted the project but the issue is
alt_printf.c and alt_clock-manager.h have multiple definition.
Now I wrote these codes in one file using GNU.