Forum Discussion
Altera_Forum
Honored Contributor
9 years agoThis only talks about Nios II IDE...I am looking for build settings for HPS...I think I finally got it but in case anyone else wants to try, here is what you have to do:
1. Under project properties C/C++ build settings 1.1 Change command to arm-linux-gnueabihf-gcc 1.2 Define device family in the preprocessor (e.g. soc_cv_av) 1.3 Include /ip/altera/hps/altera_hps/hwlib and /ip/altera/hps/altera_hps/hwlib/<device family> 2. Set the linker command to arm-linux-gnueabihf-gcc 3. Add ds-5\sw\gcc\arm-linux-gnueabihf\bin and ds-5\sw\gcc\bin to the PATH variable under environment. This should do it. Let me know if there are any issues.