-
Notifications
You must be signed in to change notification settings - Fork 13.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
Configurable serial ports v2 #10337
Merged
Merged
Configurable serial ports v2 #10337
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
9a3d4ca
cmake configs: minor cleanup for hott telemetry
bkueng 33baa49
sf0x: add -d param to pass the serial port
bkueng 1305d30
param: add 'param touch <param_name>' command
bkueng 9cb4ef7
Tools/serial: add script to generate ROMFS serial startup logic & ser…
bkueng b9fb5f2
cmake: add serial param & ROMFS generation to the build system
bkueng 36c4cda
px4_cli: add px4_get_parameter_value CLI helper method
bkueng 88c616b
pwm.cpp: use px4_get_parameter_value
bkueng 3729e4d
micrortps_client: use px4_get_parameter_value for baudrate
bkueng c1a6584
mavlink_main: use px4_get_parameter_value for baudrate, datarate and …
bkueng 98b4776
gpssim: remove unused uart_path
bkueng 4c2b849
boards: remove GPS_DEFAULT_UART_PORT
bkueng 63090e3
px_process_params.py: fix default argument for --inject-xml
bkueng 54602e8
Tools/validate_yaml: add schema validation for module yaml config files
bkueng 6552a12
sf0x: avoid reopening the UART on startup
bkueng 19cba1b
module_schema.yaml: add parameter definitions
bkueng 883749a
module_schema.yaml: move from test/ to validation/
bkueng 6c2032d
px4_module.h: remove unnecessary ;
bkueng 15d993a
params: remove unused SENS_EN_* params
bkueng aadd938
Tools/serial: use per-module serial port config params, instead of pe…
bkueng 8be6a4c
serial drivers/modules: add yaml config files
bkueng b0c0285
SYS_COMPANION: deprecate this param
bkueng 4657334
rc.serial.jinja: remove 'param touch' for baudrates
bkueng b3d1af9
shellcheck: ignore SC2154 on NuttX
bkueng 3bb734e
serial generate config add 10 generic serial ports
dagar 69b098b
Jenkins: add module config validation to CI
bkueng 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.
It's worth getting rid of all cmake globbing to avoid possible surprises with incremental builds.
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.
Absolutely. This was just the quickest way to achieve it. Essentially I want to tell cmake 'give me all module configs for all possible modules'. And adding a new config with all modules does not seem right for that.