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

One more abstraction layer is required #3

Open
ceremcem opened this issue Oct 14, 2020 · 0 comments
Open

One more abstraction layer is required #3

ceremcem opened this issue Oct 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ceremcem
Copy link
Owner

Currently we are assigning roles (analog input, digital output, PWM, etc...) to pins. However, as we could switch to another MCU while keeping the MCU - board interface intact, we should declare our hardware intention with Pin names and its configuration, and then this configuration should be applied to an MCU.

Benefit of this approach is that when we select a new MCU, those configurations would be applied to new pins without making the detailed pin configuration again. This will save time and prevent human errors.

If we select the MCU first and then configure pins, the upper abstraction (pinNames vs. configuration) should be automatically separated.

@ceremcem ceremcem added the enhancement New feature or request label Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant