Forum Discussion
KAT1
New Contributor
2 years agoDE1-SOC 'My_First_HPS' -- Hello World!
Hi, I have made my way through 'My_First_HPS' tutorial targeting the DE1-SOC board. However, when I execute the downloaded my_first_hps executable on my DE1-SOC board, instead of seeing the 'Hello ...
tehjingy_Altera
Regular Contributor
2 years agoHi
Could you please try downloading the linaro toolchain with the command below:
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
Once finish please try the make command again this time with
make
arm-none-linux-gnueabihf-gcc -g -Wall -Dsoc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/soc_cv_av -IC:/intelFPGA/20.1/embedded/ip/altera/hps/altera_hps/hwlib/include/ -c main.c -o main.o
arm-eabi-gcc -g -Wall main.o -o my_first_hps
instead of the the arm-eabi-gcc or arm-linux-gnueabihf-gcc
Regards
Jingyang, Teh