GithubHelp home page GithubHelp logo

thgerner / linuxcnc-pru Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 97 KB

A LinuxCNC component for the BeagleBone Black using the PRU

Makefile 1.35% Batchfile 1.52% C 60.19% Assembly 35.88% Pawn 1.05%
beaglebone beaglebone-black linuxcnc pru cgt

linuxcnc-pru's Introduction

PRU hal Komponenten

This is a PRU component for LinuxCNC running on a BeagleBone Black. It contains a stepgen, an encoder and a pwmgen using a PRU.

Build the component

The asm build needs the latest PRU CGT from TI: https://www.ti.com/tool/PRU-CGT

The hal build needs an installed LinuxCNC development package.

To build on a BeagelBone black type:

PRU_CGT=/usr/share/ti/cgt-pru make

Install the component:

sudo PRU_CGT=/usr/share/ti/cgt-pru make install

The pru code installs to /lib/firmware, the hal component to /usr/lib/linuxcnc/modules

Using the component

loadrt hal_pru_generic prucode=pru_generic-pru1.fw pru=1 num_stepgens=3 step_class=s,s,s

Currently there is no documentaion. Please look at the code.

linuxcnc-pru's People

Contributors

thgerner avatar

Watchers

 avatar  avatar

Forkers

beerlesklopfer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.