summaryrefslogtreecommitdiff
path: root/bsp/raspberry-pico/SConscript
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2021-01-28 19:59:31 +0800
committerguozhanxin <[email protected]>2021-01-28 19:59:59 +0800
commit6d36d384c243012918e97eb7e9529b2de4b50357 (patch)
treeb46f5eec4ccfb1c0e9f9359e978a99078c8c7ae6 /bsp/raspberry-pico/SConscript
parentfdb270c6f4cd6e9cd6335199d13d8a8e6e2a7dfb (diff)
add raspberry-pico bsp
Diffstat (limited to 'bsp/raspberry-pico/SConscript')
-rw-r--r--bsp/raspberry-pico/SConscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/bsp/raspberry-pico/SConscript b/bsp/raspberry-pico/SConscript
new file mode 100644
index 0000000000..0992612410
--- /dev/null
+++ b/bsp/raspberry-pico/SConscript
@@ -0,0 +1,12 @@
+from building import *
+
+cwd = GetCurrentDir()
+objs = []
+list = os.listdir(cwd)
+
+for d in list:
+ path = os.path.join(cwd, d)
+ if os.path.isfile(os.path.join(path, 'SConscript')):
+ objs = objs + SConscript(os.path.join(d, 'SConscript'))
+
+Return('objs')