LoginSignup
1
0

More than 1 year has passed since last update.

STM B-L4S5I-IOT01A上でThreadXのサンプルを動作させる

Posted at

B-L4S5I-IOT01A評価ボードを準備

IMG_3724.jpg

開発環境 STM32 Cube IDEをインストール

ThreadXのサンプルをダウンロード

SamplesのSTM32CubeIDEをクリック
image.png

STM32 cube ideを起動

File -> import -> Existing Projects into Workspace
image.png

先ほどDownloadしたThreadXのサンプルのb-l4s5i-iot01a\stm32cubeideフォルダを選択
image.png

インポートが完了した状態。複数のプロジェクトがインポートされています。この中で、sample_threadxプロジェクトを利用します。
image.png

WIFIのIDとパスワードを設定

sample_threadxプロジェクトのcommon_hardware_code/board_setup.cファイルを開きます。
wifi_nameとwifi_passwordをご自分の環境に合わせて変更します。
image.png

評価ボードに書き込んで実行

PCとB-L4S5I-IOT01A評価ボードをUSB-microBケーブルで接続します。

IMG_3725.jpg

ビルドします。
image.png

デバッグ実行します
image.png

image.png

thread_0_counterの値が増加しています。
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