mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
standardize BAUD_RATE location
also slow down pre-emption timer a bit, on a slower system like ours 100Hz is less overhead
This commit is contained in:
parent
e770249f0a
commit
775726af23
1 changed files with 5 additions and 2 deletions
|
|
@ -22,8 +22,11 @@ pub mod pubkeys;
|
||||||
/// into the "official" list
|
/// into the "official" list
|
||||||
pub const BAOCHIP_1X_UF2_FAMILY: u32 = 0xa7d7_6373;
|
pub const BAOCHIP_1X_UF2_FAMILY: u32 = 0xa7d7_6373;
|
||||||
|
|
||||||
// system preemption interval
|
/// system preemption interval
|
||||||
pub const SYSTEM_TICK_INTERVAL_MS: u32 = 1;
|
pub const SYSTEM_TICK_INTERVAL_MS: u32 = 10;
|
||||||
|
|
||||||
|
/// standard baud rate
|
||||||
|
pub const UART_BAUD: u32 = 1_000_000;
|
||||||
|
|
||||||
/// Constants used by both emulation and hardware implementations
|
/// Constants used by both emulation and hardware implementations
|
||||||
pub const PERCLK: u32 = 100_000_000;
|
pub const PERCLK: u32 = 100_000_000;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue