07-11-2017 07:42 AM
I am trying to do http://www.wiki.xilinx.com/Linux+CAN+driver tutorial but I don't know how to install zynq_canutils.rar into my Petalinux projects?
I tried to do the "Including Prebuilt Libraries" steps from ug1144 but It was not clear to me how to include canutilis into my Linux build.
Any ideas?
07-11-2017 01:11 PM
II got it to work:
In my petalinux project I created an application with template autoconf :
Open my app directory /components/apps/can-utils/can-utils-0.1
Delete all files in "can-utilscan-utils-0.1" directory except the for "config.h.in"
Download can-utils source code:
Copy all files from the download git and put them into can-utilscan-utils-0.1
petalinux-build -c rootfs/can-utils -x build
petalinux-build -c rootfs/can-utils -x install
07-11-2017 01:11 PM
II got it to work:
In my petalinux project I created an application with template autoconf :
Open my app directory /components/apps/can-utils/can-utils-0.1
Delete all files in "can-utilscan-utils-0.1" directory except the for "config.h.in"
Download can-utils source code:
Copy all files from the download git and put them into can-utilscan-utils-0.1
petalinux-build -c rootfs/can-utils -x build
petalinux-build -c rootfs/can-utils -x install
02-05-2019 08:27 AM