We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3793571 commit 00722b4Copy full SHA for 00722b4
scripts/pico_project.py
@@ -624,6 +624,9 @@ def GenerateCMake(folder, params):
624
if not params['wantExample']:
625
# Prexisting CMake configuration - just adding cmake_header_us
626
file.write(cmake_header_us)
627
+ # If no PICO_BOARD, then add a line for that, defaulting to pico
628
+ if not any(["set(PICO_BOARD" in line for line in lines]):
629
+ file.write(f"set(PICO_BOARD pico CACHE STRING \"Board type\")\n\n")
630
file.write(content)
631
else:
632
if any(["pico_cyw43_arch_lwip_threadsafe_background" in line for line in lines]):
0 commit comments