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

setup with options #14

Open
IngmarEckhardt opened this issue Mar 22, 2024 · 0 comments
Open

setup with options #14

IngmarEckhardt opened this issue Mar 22, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@IngmarEckhardt
Copy link
Owner

IngmarEckhardt commented Mar 22, 2024

Description:
The current setup of the MCU in the setupMcu function could be enhanced by providing more readability, flexibility and configurability. Instead of using defines in the CMakeLists to enable or disable the low-frequency watch quartz functionalities, these could be passed as function parameters to setupMcu. This would allow for easier and more dynamic configuration changes. Additionally, the implementation should be designed to easily add other options in the future. For clarity and readability, numerical values should be represented using defines or enums.

Furthermore, setting up stdout is a common requirement, often used for unit testing or debugging. Even if it's not utilized in the final version of the software, it's beneficial during the development phase. Therefore, integrating the setup of stdout with the uart_helper into the setupMcu function as an option or a separate function would be advantageous.

User Story:
As a developer, I need the setupMcu function to accept configuration options such as enabling or disabling low-frequency watch quartz functionalities, and to set up stdout using the uart_helper during MCU setup for simpler debugging and testing.

@IngmarEckhardt IngmarEckhardt added enhancement New feature or request good first issue Good for newcomers labels Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant