summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCYFS <[email protected]>2026-07-17 15:52:40 +0800
committerRbb666 <[email protected]>2026-07-20 12:01:32 +0800
commit0e0f403cc1d86e2425952a44efc2af0aecc3fada (patch)
tree5446e96cec1c1ff11650136d80d57e4d52cee888
parentc22b3931b61fffa2b92b68ca38c7a7bc58728877 (diff)
bsp: fix GD32VW55x lwIP mem ownership
-rw-r--r--bsp/gd32/risc-v/gd32vw553h-eval/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/bsp/gd32/risc-v/gd32vw553h-eval/SConscript b/bsp/gd32/risc-v/gd32vw553h-eval/SConscript
index 774bafd8d0..993206f76f 100644
--- a/bsp/gd32/risc-v/gd32vw553h-eval/SConscript
+++ b/bsp/gd32/risc-v/gd32vw553h-eval/SConscript
@@ -5,7 +5,6 @@ Import('RTT_ROOT')
from building import *
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
from env_package import find_package_path
-from env_package import is_libraries_package
cwd = str(Dir('#'))
@@ -18,7 +17,7 @@ for d in list:
objs = objs + SConscript(os.path.join(d, 'SConscript'))
wifi_pkg_path = find_package_path(cwd, 'gd32vw55x-wifi-latest')
-if wifi_pkg_path and is_libraries_package(wifi_pkg_path) and GetDepend(['PKG_USING_GD32VW55X_WIFI']):
+if wifi_pkg_path and GetDepend(['PKG_USING_GD32VW55X_WIFI']):
lwip_mem = os.path.join(RTT_ROOT, 'components', 'net', 'lwip', 'lwip-2.1.2', 'src', 'core', 'mem.c')
if os.path.isfile(lwip_mem):