1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

W55RP20-EVB-Picoを使ってみよう~C/C++編~

Posted at

W55RP20-EVB-PicoをVisualStudio Codeで使用してみましょう。

VSCodeに拡張機能を追加する

VisualStudioCode拡張機能追加 します。
RaspberryPiPicoインストール します。
image.png
発行元を信頼&インストールクリック します。
image.png
許可クリック します。
image.png
表示⇒コマンドパレット⇒新しいターミナルを作成する⇒Command Prompt選択 します。
image.png
image.png
image.png
ターミナルに以下を入力します。

git clone --recurse-submodules https://github.com/WIZnet-ioNIC/WIZnet-PICO-C.git

image.png
フォルダーを開くクリック します。
image.png
ダウンロードフォルダ-を選択し フォルダーの選択クリック します。
image.png

親フォルダ―user内のすべてのファイルの作成者を信頼しますチェック を入れ
はい、作成者を信頼しますクリック します。
image.png
import project Yesクリック します。
image.png
Basic SettingsLocationSDK Version選択Importクリック します。
image.png

コンパイラ検索

Picoコンパイラ選択 します。
image.png

CMakerKists

CMakerKists を開き、使用するボードを指定します。

# Set board
set(BOARD_NAME XXXXXX)

image.png
この状態で F7 または Run ボタンを押すことでコンパイルが始まります。
image.png

SDKを変更する方法

Pico SDKクリック します。
image.png
インストールしたいバージョンを指定します。
image.png
Yesクリック します。
image.png
インストール後 Reload Windowクリック します。
image.png

ファームの書込み

ボードのBOOTSELボタンとRUNボタンを同時に押し、RUNボタンを先に離すことで書き込みモードにし
UF2ファイルを書き込みます。
image.png
image.png

image.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?