Skip to content

Improved implementation in terms of creating all Serial objects available, for a given MCU. (#91) #92

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

michpro
Copy link
Contributor

@michpro michpro commented May 13, 2024

No description provided.

@michpro michpro force-pushed the FIX-91_No_Serial_objects branch from f0097ce to c6c920d Compare May 13, 2024 08:07
@@ -67,45 +67,29 @@
#endif /* !HWSERIAL_NONE && SERIAL_UART_INSTANCE */


#if defined(ENABLE_HWSERIAL1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to remove the definition of ENABLE_HWSERIALx here for it to take effect?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, maybe this is a “too fast” workaround,... it would be best to edit all the “variant_CH32xxx.h” files and change the definitions in them '#define SERIAL_UART_INSTANCE 1' to '#define SERIAL_UART_INSTANCE “n”' where “n” is the number of available U(S)ART for a given MCU.

TianpeiLee added a commit that referenced this pull request Jun 5, 2024
1. Modify USART6 to UART6       (#92) 
2. Fix X035 TIM2 interrupt issue  
3. Fix compilation warning issues (#57)
maxint-rd added a commit to maxint-rd/arduino_core_ch32 that referenced this pull request Jul 28, 2024
maxint-rd added a commit to maxint-rd/arduino_core_ch32 that referenced this pull request Jul 28, 2024
atollminsk added a commit to atollminsk/arduino_core_ch32 that referenced this pull request Sep 25, 2024
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

Successfully merging this pull request may close these issues.

2 participants