-
-
Notifications
You must be signed in to change notification settings - Fork 40.6k
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
Fix typo in uart.c backport and add 32A "support" #8219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine when targeting coseyfannitutti/mysterium.
@tzarc coseyfannitutti/mysterium doesnt build |
Only the iWRAP and V-USB makefiles reference uart.c - but if you try setting
|
My point was more "if it's not in the list of compiled files, have we really tested it on the 32a in the mysterium"? |
And my point was "no, we have not" 😄 |
Oh for sure, there's no need for uart on this board. |
Description
Slight correction to #7628 (
UCSRB
->UCSRnB
andUDR0
->UDRn
), and adding the 32A to the defines (untested) The 32A is a bit odd as the high byte of the baud rate registerUBRR
shares the same memory location as the control/status register C (UCSRC
). The MSBURSEL
is used to choose between them. I'm doubtful those top three bits are really used so I just switched the define to use the low byte.Types of Changes
Issues Fixed or Closed by This PR
Checklist