Skip to content

Instantly share code, notes, and snippets.

View magnate3's full-sized avatar
🎯
Focusing

magnate3

🎯
Focusing
View GitHub Profile
@magnate3
magnate3 / LinuxCNC-Ethercat.md
Created September 1, 2021 06:28 — forked from Bouni/LinuxCNC-Ethercat.md
Linux CNC + EtherCat + RPi 4 Setup

The folowing is a writup from Hakans forum post!

RPi Setup

  1. Download & Write image to SD card: www.linuxcnc.org/iso/linuxcnc-2.8.1-pi4.zip
  2. Configure Wifi via wpa_supplicant.conf
  3. Put SD card into RPi and verify that RT-PREEMT Kernel is running: uname -a
  4. Update everything and reboot: sudo apt update && sudo apt upgrade && sudo reboot
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/queue.h>
#include <unistd.h>
#include <rte_byteorder.h>
#include <rte_common.h>
#include <rte_debug.h>