Forum Discussion
Hello,
I got the bare-metal application from here: https://github.com/sahandKashani/SoC-FPGA-Design-Guide/tree/master/DE1_SoC/DE1_SoC_demo.
I did following to include the HWlib in my project;
1- I used INCLUDE option of compiler to add the HPS HWlib HEADER FILES in my code.
2- I copied the HPS HWlib SOURCE FILES in my DS-5 project directory from altera/16.0/embedded/ip/altera/hps/altera_hps/hwlib/src.
Can you please describe how to add the HWlib to my project correctly?
- EBERLAZARE_I_Intel7 years ago
Regular Contributor
Hi,
Based on my knowledge, there should be some errors that mentioned some libraries are not included in the eclipse (DS-5)?
I think it displays at the bottom of the screen of the eclipse. Did you notice any errors there?
Even in our HWlibs examples that is in our installation folders (\embedded\examples\software) does sometimes report these missing libraries/headers, but they can be ignored. Because the files are added after running the application.
I suggest you could try our examples first to run a simple application and let me know if these examples results in the same error:
https://www.intel.com/content/www/us/en/programmable/support/support-resources/design-guidance/bare-metal-developer.html
Examples at number 4.
- EBERLAZARE_I_Intel7 years ago
Regular Contributor
Hi,
If you have encounter any issue in our examples, let me know.
Regards.