Skip to content

Devtronic CNC Controller support #149

Description

@nickshl

Hi @terjeio, I would like to add support for this board: grblHAL/core#406

The listed changes cannot be added to the current map file without breaking backwards compatibility, so you will have to add a new one.

The question is: Do we even need old configuration? Is anyone but me used it?

Making the safety door input default in the Web Builder is currently not possible. However you may force it by undefining/defining SAFETY_DOOR_ENABLE 1 in the map file.

Again, force it the map file by undefining/defining SPINDLE_SYNC_ENABLE 1.

I don't like this idea. Defining SAFETY_DOOR_ENABLE or SPINDLE_SYNC_ENABLE in map file will make those settings in Web Builder useless, which will be confusing. If it isn't possible right not - that is fine.

Either force FRAM in the map file or set it as default in the entry for the board in [driver.json]

I would like to do it via json file.

Add it to the new map file.

I created map file: Devtronic_CNC_Controller_map.zip
It also contains this:

#if MPG_MODE == 1
#define MPG_MODE_PORT           GPIOA
#define MPG_MODE_PIN            10
#define MPG_POLARITY            1 // High - need to switch to MPG mode
#define MPG_MODE_POOLING        // Pooling mode - no iterrupt used to switch MPG mode
#define MPG_MODE_NOINIT         // Do not initialize hardware(shared with UART RX pin)
#endif

Which should be used in conjunction with changes I described in this issue: grblHAL/core#327 (comment)
I don't see any option for MPG_MODE in Web Builder. For this configuration it should be set 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions