From 42c6417e465f035f5b7d5d39858ba27a690c7aa1 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 11 May 2025 12:36:33 +0800 Subject: [PATCH] incorporate rach mirgations into net --- services/net/Cargo.toml | 2 ++ services/net/src/main.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/services/net/Cargo.toml b/services/net/Cargo.toml index 3c0e755ec..6bb4cf310 100644 --- a/services/net/Cargo.toml +++ b/services/net/Cargo.toml @@ -27,6 +27,8 @@ trng = { path = "../trng" } com_rs = { git = "https://github.com/betrusted-io/com_rs", rev = "891bdd3ca8e41f81510d112483e178aea3e3a921" } modals = { path = "../modals" } locales = { path = "../../locales" } +precursor-hal = { path = "../../libs/precursor-hal" } + utralib = { version = "0.1.25", optional = true, default-features = false } # for automatic SSID management and AP list storage diff --git a/services/net/src/main.rs b/services/net/src/main.rs index 71b55f013..fc45b7067 100644 --- a/services/net/src/main.rs +++ b/services/net/src/main.rs @@ -1098,9 +1098,9 @@ fn main() -> ! { log::info!("Network config acquired: {:?}", config); log::info!( "{}NET.OK,{:?},{}", - xous::BOOKEND_START, + precursor_hal::board::BOOKEND_START, std::net::IpAddr::from(config.addr), - xous::BOOKEND_END + precursor_hal::board::BOOKEND_END ); net_config = Some(config); // update a static variable that tracks this, useful for e.g. UDP bind