mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
fix visibility of app uart for cramium config
This commit is contained in:
parent
c5af025bb2
commit
0b63979614
1 changed files with 8 additions and 0 deletions
|
|
@ -2,3 +2,11 @@
|
||||||
|
|
||||||
#[cfg(feature = "swap")]
|
#[cfg(feature = "swap")]
|
||||||
pub mod swap;
|
pub mod swap;
|
||||||
|
|
||||||
|
// Locate the hard-wired IFRAM allocations for UDMA
|
||||||
|
#[allow(dead_code)]
|
||||||
|
#[cfg(feature = "cramium-soc")]
|
||||||
|
pub const UART_IFRAM_ADDR: usize = utralib::HW_IFRAM0_MEM + utralib::HW_IFRAM0_MEM_LEN - 4096;
|
||||||
|
#[allow(dead_code)]
|
||||||
|
#[cfg(feature = "cramium-soc")]
|
||||||
|
pub const APP_UART_IFRAM_ADDR: usize = utralib::HW_IFRAM0_MEM + utralib::HW_IFRAM0_MEM_LEN - 3 * 4096;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue