Forum Discussion
Hi
I just tried out the flow for building the application and did not met any error in the process.
Let me share the steps I have done.
1. Download the compiler toolchain.
tar xf gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf.tar.xz
rm gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf.tar.xz
export PATH=`pwd`/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf/bin:$PATH
export CROSS_COMPILE=arm-none-linux-gnueabihf-
2. Download the hwlibs. Starting from 20.1 quartus version it is no longer added together with quartus. (https://www.rocketboards.org/foswiki/Documentation/HWLib#SoC_Abstraction_Layer_40SoCAL_41)
git clone https://github.com/altera-opensource/intel-socfpga-hwlib
cd intel-socfpga-hwlib/tools
./install_linaro.sh
3. Make changes to the make file to point to the new hwlib directory. I have attached the copy I am using.
4. Make should run without error. Attached the application that compiled by me. I have not tested out, could you try it out on your device?