mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
make the app uart configurable
so processes other than swap can use it
This commit is contained in:
parent
d1835f8e4b
commit
b66b60497b
1 changed files with 21 additions and 18 deletions
|
|
@ -429,6 +429,8 @@ pub fn userspace_maps(cfg: &mut BootConfig) {
|
||||||
|
|
||||||
udma_uart.write(b"APP UART INIT OK\n\r");
|
udma_uart.write(b"APP UART INIT OK\n\r");
|
||||||
|
|
||||||
|
#[cfg(feature = "userspace-swap-debug")]
|
||||||
|
{
|
||||||
// map the debug UART HW page
|
// map the debug UART HW page
|
||||||
cfg.map_page_32(
|
cfg.map_page_32(
|
||||||
root,
|
root,
|
||||||
|
|
@ -447,4 +449,5 @@ pub fn userspace_maps(cfg: &mut BootConfig) {
|
||||||
FLG_R | FLG_W | FLG_U | FLG_VALID,
|
FLG_R | FLG_W | FLG_U | FLG_VALID,
|
||||||
SWAPPER_PID,
|
SWAPPER_PID,
|
||||||
);
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue