Giter VIP home page Giter VIP logo

Comments (3)

terjeio avatar terjeio commented on July 21, 2024

You should not modify driver.c to enable any plugin, enable by uncommenting relevant lines in my_machine.h instead.

Enabling both the plasma and OpenPNP plugin at the same time is a bit odd - what do you want to achieve?
Also, the plasma plugin requires (and claims) a number of input and output ports, not many boards has the pins (or code available) for that. If not available the plugin will fail to add itself:

image

The OpenPNP plugin is a bit different when it comes to additional outputs as it does not require (or claim) any. However the M46 gcode requires at least one to be available (M46 is just a synonym for the standard M62 and M63 commands).

Use the $I command to get information about the configuration, plugins will show up in the output if enabled as will then number of extra inputs and outputs available (if any).

Eg: [AUX IO:3,1,0,0] is reported when 3 digital inputs, 1 digital output and no analog inputs or outputs are available. Note that any I/O claimed by plugins will not show up here.

Here is the $I output when both plugins are enabled and the tinyg board map is selected:

image

No plasma plugin or aux I/O shown as the required aux I/O pins are not available.

If you want to add aux I/O to the tinyg map then take a look at the end of the Ramps map for how it is done. Note that driver.c only has support for adding a finite number of aux I/O pins.

from core.

MARIOBASZ avatar MARIOBASZ commented on July 21, 2024

I didn't want to enable plasma.
Just clone SAM3X8E to my Github desktop.
Result, at least for SAM3X8E:
Openpnp folder appears and also plasma folder:
verify: plasma is just the name, inside it has the openpnp files; remove plasma to resolve the conflict.
I also undo my writing in driver.c
Nice to be able to modify acceleration!
(I have not added pin for M46, only interested in driving acceleration)
In a short time I will use it in my cnc.
Thanks.
PS: Later I will need analog / digital inputs and outputs, I will probably continue to bother.

from core.

terjeio avatar terjeio commented on July 21, 2024

Openpnp folder appears and also plasma folder:

Sorry, I did not get that as everything was ok on my side (I am keeping the master code locally in Subversion). Fixed now.

from core.

Related Issues (20)

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.