-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
AP_HAL: clean up UART driver storage/access and legacy ordering #25589
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
3835b17
AP_HAL: use array of UART drivers instead of consecutive variables
tpwrules fe816cb
AP_HAL: move serial re-mapping to driver array initialization
tpwrules dbb32ff
AP_HAL: inline serial accessor function
tpwrules c0f2e03
AP_HAL: constructor now accepts UARTs in SERIALn order
tpwrules 651bca6
AP_HAL: remove references to legacy UART order
tpwrules 53e5893
AP_HAL_ChibiOS: pass UARTs to AP_HAL in SERIALn order
tpwrules a4571db
AP_HAL_Empty: pass UARTs to AP_HAL in SERIALn order
tpwrules 32155f5
AP_HAL_ESP32: pass UARTs to AP_HAL in SERIALn order
tpwrules b62d197
AP_HAL_Linux: pass UARTs to AP_HAL in SERIALn order
tpwrules 82bc8fc
AP_HAL_SITL: pass UARTs to AP_HAL in SERIALn order
tpwrules 31f2cca
AP_HAL_ChibiOS: eliminate legacy UART ordering/references
tpwrules 00ead24
AP_HAL_ChibiOS: remove references to legacy UART order from hwdefs
tpwrules 8410432
AP_HAL_Empty: eliminate legacy UART ordering/references
tpwrules 3a0f527
AP_HAL_ESP32: eliminate legacy UART ordering/references
tpwrules e70abad
AP_HAL_Linux: eliminate internal legacy UART ordering/references
tpwrules e22d651
AP_HAL_SITL: eliminate internal legacy UART ordering/references
tpwrules c136da1
SITL: remove references to legacy UART order incl. sim arguments
tpwrules 13eecc2
Tools: remove references to legacy UART order
tpwrules 4c42442
Tracker: remove references to legacy UART order
tpwrules 087219d
Plane: remove references to legacy UART order
tpwrules 2d7dea9
Rover: remove references to legacy UART order
tpwrules 87a98e3
GCS_MAVLink: correct comment about stream array
tpwrules 6d48866
AP_Scripting: remove references to legacy UART order
tpwrules aac2222
AP_DDS: remove references to legacy UART order
tpwrules 080140f
AP_FETtecOneWire: remove references to legacy UART order
tpwrules bb5193c
AP_SerialManager: clarify comment regarding legacy UART order
tpwrules d78aa8b
AP_HAL_SITL: deprecate and warn on legacy --uartX option use
tpwrules 037e00c
AP_HAL_Linux: deprecate and warn on legacy --uartX option use
tpwrules File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Missed one?
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.
That's the only place that name is referenced in the whole source code. I figured it was unused, so I just removed it.