Skip to content

Commit 65ee5fc

Browse files
committed
Copy pico-vscode.cmake
1 parent b59e415 commit 65ee5fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/genExamples.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@
9696
)
9797
os.system(f"rm {toolchain_url.split('/')[-1]}")
9898

99+
# Copy pico-vscode.cmake to ~/.pico-sdk/cmake/pico-vscode.cmake
100+
shutil.copy(
101+
f"{os.path.dirname(os.path.realpath(__file__))}/pico-vscode.cmake",
102+
os.path.expanduser("~/.pico-sdk/cmake/pico-vscode.cmake"),
103+
)
104+
99105
if BUILD_TOOLS:
100106
# Clone pico-sdk
101107
try:

0 commit comments

Comments
 (0)