Skip to content

[DeviceStruct] Add setting for Allowed Serial Ports#5593

Open
tonhuisman wants to merge 2 commits into
letscontrolit:megafrom
tonhuisman:feature/DeviceStruct-add-allowed-serial-config
Open

[DeviceStruct] Add setting for Allowed Serial Ports#5593
tonhuisman wants to merge 2 commits into
letscontrolit:megafrom
tonhuisman:feature/DeviceStruct-add-allowed-serial-config

Conversation

@tonhuisman

Copy link
Copy Markdown
Contributor

Features:

  • Add a configuration item SerialPortsAllowed to DeviceStruct so the allowed serial ports (HW Serial, SW Serial, I2C Serial, (HW)CDC Serial) can be limited to what's technically feasible. When not set, all types of serial ports are available (as it was until now).
  • [P054] Limit to serial ports that use on-chip GPIO pins (HW & SW Serial).
  • [P065] Don't allow (HW)CDC Serial port selection.
  • [P077] Only HW Serial ports allowed.
  • [P159] Don't allow (HW)CDC Serial port selection.

TODO:

  • Testing
  • Update documentation where needed

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.

1 participant