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

SDK • Re: What is the -D PICO_BOARD for Zero ?

$
0
0
I need to specify the board type for an rp2040-zero. I seems I need to pass something like this to cmake. -DPICO_BOARD=pico_w

I do not seem able to find a board which matches Zero:
https://github.com/raspberrypi/pico-sdk ... ude/boards

Where can I find a list of the available values of this env var ?

TIA.

Waveshare would probably be a good source of advice for a Waveshare product.

Ref: RP2040-Zero, a Pico-like MCU Board - https://www.waveshare.com/rp2040-zero.htm
C/C++, MicroPython support
Comprehensive SDK, dev resources, tutorials to help you easily get started

Also https://www.waveshare.com/wiki/RP2040-Zero
For C/C++, it is recommended to use Pico VS Code for development. This is a Microsoft Visual Studio Code extension designed to make it easier for you to create, develop, and debug projects for the Raspberry Pi Pico series development board. Whether you are a beginner or an experienced professional, this tool can help you confidently and easily develop Pico. Below we will introduce how to install and use the extension.

Official website tutorial: https://www.raspberrypi.com/news/pico-vscode-extension/.
This tutorial is applicable to Raspberry Pi Pico, Pico2, and our company's RP2040 and RP2350 series development boards.


If the answer is not in their Documentation they have a Technical Support contact form: https://service.waveshare.com/

Statistics: Posted by B.Goode — Thu Dec 19, 2024 10:44 am



Viewing all articles
Browse latest Browse all 5940