Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jaydcarlson opened this issue Feb 8, 2022 · 1 comment

Comments

@jaydcarlson
Copy link

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.

@ccma1120
Copy link
Contributor

ccma1120 commented Feb 8, 2022

Thanks for your feedback, we are developing another CodeGen tool to achieve that goal (select their pin mode, slew rate, interrupt, etc). But CodeGen now can only cover a few series (M252, M258, M031, NUC1262). https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1320201020170305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants