Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3862

General • Re: Pico2 easy upgrade or nightmare?

$
0
0
I've order a Pico2 so now I need to modify the cmake file to see if it will build for the pico2 the only thing is this

Code:

cmake_minimum_required(VERSION 3.13)set(PICO_BOARD vgaboard)#include build functions from Pico SDKinclude(/tmp/pico-sdk/external/pico_sdk_import.cmake)include(/tmp/pico-extras/external/pico_extras_import.cmake)project(pico-pt52-lua C CXX ASM)set(BINARY "pt52-lua")set(CMAKE_C_STANDARD 11)set(CMAKE_CXX_STANDARD 17)--SNIP--
I don't quite understand how to tell it to build for the rp2350 and not the rp2040. I'm a little confused what I need to add.

Statistics: Posted by DarkElvenAngel — Thu Aug 29, 2024 1:35 am



Viewing all articles
Browse latest Browse all 3862

Trending Articles