Forum Discussion
3 Replies
- AnandRaj_S_Intel
Regular Contributor
Hi,
To create C language software design and run it on ARM SoC.
Use SOC EDS command sell.
- Open SoC EDS command sell
- go to My_First_project folder.(main.c) type "make" or "make main"
- You can see the executable with file name "main"
Refer the link below for more information.
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Best Regards,
Anand Raj Shankar
(This message was posted on behalf of Intel Corporation)
- Abe
Frequent Contributor
For compiling apps on HPS, you should use the embedded shell prompt and not the NIOSII prompt. IF you 've installed SOCEds tool chain you should have an embedded folder, go to that folder and double-click the .bat file to open the ARM embedded command shell.
To fix this, edit the Makefile and change the name of the CROSS_COMPILE := arm-linux-gnueabhif- to CROSS_COMPILE := arm-altera-eabi-
Save and close the file. Now, run the make command and check.
I think thats the Linux app you're trying to run. Instead , untar the HelloWorld Baremetal GNU app. You do not need to modify the Makefile, just run the make command and it will build the files for you.
- Hoang_Anh
New Contributor
I had the same problem, have you found a solution? Please share with me, thank you in advance