Skip to content

[NuTool - PinConfigure] Feature request: add ability to configure GPIO pins #5

@jaydcarlson

Description

@jaydcarlson

Right now, PinConfigure is basically just for wiggling the MFP bits to enable peripheral pin muxing. It would be nice if the tool added GPIO pin mode configuration, which would generate lightweight C code to program all the GPIO registers en masse.

When you click on a pin, you could either select its special function (say UART0 TX or PWM1), but you could also choose the GPIO mode. An additional view on the left would show all the configured GPIO pins and further allow you to select their pin mode, slew rate, interrupt, etc.

I know the Nuvoton BSP has methods for doing this, but it seems more logical to have this done as generated init code, which is similar to other platforms that use code-gen tools. It is very common for an EE who designed the board to configure all the pins for the software engineer before handing off the project, so doing that in the GUI tool would be fantastic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions