mirror of
https://github.com/stasenso/rp_pico_display_engine.git
synced 2026-06-26 21:32:41 +03:00
Add board selection to quick start
This commit is contained in:
@@ -77,6 +77,10 @@ Create the root `CMakeLists.txt`:
|
||||
```bash
|
||||
cat > CMakeLists.txt <<'EOF'
|
||||
cmake_minimum_required(VERSION 3.18.4)
|
||||
|
||||
# Change to `pico` for RP2040-based boards or keep `pico2` for Pico 2 / RP2350.
|
||||
set(PICO_BOARD pico2 CACHE STRING "Pico SDK target board")
|
||||
|
||||
include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
|
||||
|
||||
project(my_app C CXX ASM)
|
||||
|
||||
Reference in New Issue
Block a user