Skip to content

Add more baud rates. #165

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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions src/ondisk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8514,9 +8514,23 @@ pub enum BaudRate {
_57600Baud = 7,
#[cfg_attr(feature = "serde", serde(rename = "115200 Baud"))]
_115200Baud = 8,
/// Note: This variant needs a custom AgesaBootloader.
#[cfg_attr(feature = "serde", serde(rename = "230400 Baud"))]
_230400Baud = 9,
/// This variant only got added with Turin.
#[cfg_attr(feature = "serde", serde(rename = "460800 Baud"))]
_460800Baud = 10,
/// This variant only got added with Turin.
#[cfg_attr(feature = "serde", serde(rename = "576000 Baud"))]
_576000Baud = 11,
/// This variant only got added with Turin.
#[cfg_attr(feature = "serde", serde(rename = "921600 Baud"))]
_921600Baud = 12,
/// This variant only got added with Turin.
#[cfg_attr(feature = "serde", serde(rename = "1500000 Baud"))]
_1500000Baud = 13,
/// This variant only got added with Turin.
#[cfg_attr(feature = "serde", serde(rename = "3000000 Baud"))]
_3000000Baud = 9,
_3000000Baud = 14,
}

#[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Copy, Clone)]
Expand Down