[bsp][raspberry-pico]: adjust file structure

This commit is contained in:
CYFS
2026-06-08 15:22:45 +08:00
committed by Rbb666
parent baed882d37
commit e219bfa136
27 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ os.chdir(ocwd)
objs.extend(SConscript(os.path.join(os.getcwd(), 'board', 'ports', 'SConscript')))
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'libraries', 'Drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)
+1 -1
View File
@@ -36,7 +36,7 @@ else:
os.system("scons")
os.chdir(ocwd)
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'Drivers', 'SConscript')))
objs.extend(SConscript(os.path.join(os.getcwd(), '..', 'libraries', 'Drivers', 'SConscript')))
# make a building
DoBuilding(TARGET, objs)
+2 -2
View File
@@ -6,6 +6,6 @@ def dist_do_building(BSP_ROOT, dist_dir):
print("=> copy raspberry-pico drivers")
bsp_copy_files(
os.path.join(os.path.dirname(BSP_ROOT), 'Drivers'),
os.path.join(os.path.dirname(dist_dir), 'Drivers'),
os.path.join(os.path.dirname(BSP_ROOT), 'libraries', 'Drivers'),
os.path.join(os.path.dirname(dist_dir), 'libraries', 'Drivers'),
)