ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

RK3588+xenomai3+ethercat搭建

RK3588+xenomai3+ethercat搭建

说明:

使用的RK3588的分支版本是linux-6.1-stan-rkr6
内核版本是6.1.99
把瑞芯微的SDK更新到linux-6.1-stan-rkr6这个版本即可,ethercat的源码是已经适配过的,直接拿过来用就行了。

编译ethercat

./configure --prefix=/home/yangx/linux2/yangx/RK3588/IAC-RK3588-MB-kernel-6.1/ethercat/build/ --host=aarch64-none-linux-gnu --enable-kernel --with-linux-dir=${KERNEL_SRC} --enable-8139too=no --enable-stmmac-pci=yes --enable-generic=no --enable-wildcards=yes  --enable-rtdm --with-xenomai-dir=${xenomaiinstalldir}

编译的时候发现rtdm是在ec_master里面。

返回列表