From 5aef57b9d5a041d0bf6faae540c885cada6c84db Mon Sep 17 00:00:00 2001 From: Andelf Date: Fri, 16 Aug 2024 13:52:25 +0800 Subject: [PATCH] fix(build): sdk path --- hpm-data-gen/src/sysctl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hpm-data-gen/src/sysctl.rs b/hpm-data-gen/src/sysctl.rs index 1585181..2f2a8e3 100644 --- a/hpm-data-gen/src/sysctl.rs +++ b/hpm-data-gen/src/sysctl.rs @@ -14,7 +14,7 @@ const SYSCTL_RESOURCE_LINKABLE_START: u32 = 256; static HPM_SDK_BASE: LazyLock = LazyLock::new(|| { std::env::var("HPM_SDK_BASE") .map(PathBuf::from) - .unwrap_or_else(|_| std::env::current_dir().unwrap().join("../hpm_sdk")) + .unwrap_or_else(|_| std::env::current_dir().unwrap().join("./hpm_sdk")) }); static HPM5300_SYSCTL: LazyLock = LazyLock::new(|| {