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

Suggestion: Add USART Handler Abstraction for More Flexible Integration #13

Closed
Robinsssson opened this issue Jan 23, 2025 · 1 comment
Closed

Comments

@Robinsssson
Copy link

Currently, the STM32 ATC library assumes that USART transmission and initialization are implemented using the HAL library. While this approach works well for users relying on HAL, it creates compatibility issues for those using alternative libraries such as the Standard Peripheral Library (Std library).

To address this, I suggest introducing a USART handler abstraction, similar to how the cJSON library allows users to customize malloc and free functions. This would make it possible for developers to define their own USART send, receive, and initialization functions without being tied to HAL.

@nimaltd
Copy link
Owner

nimaltd commented Jan 28, 2025

hi, ok. i will see

@nimaltd nimaltd closed this as completed Jan 28, 2025
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