これから Azure Sphere で開発する方へ

>100 Views

July 27, 20

スライド概要

2020/7/27 【オンライン】Azure Sphere技術セミナー!最新のIoTセキュリティソリューションとは!
https://algyan.connpass.com/event/183482/

profile-image

SeeedKKの中の人。Microsoft MVP for Internet of Things。

シェア

またはPlayer版

埋め込む »CMSなどでJSが使えない場合

関連スライド

各ページのテキスト
1.

これから Azure Sphere で開発する方へ 2020/7/27 Takashi Matsuoka

2.

Takashi Matsuoka (@matsujirushi12) 2017~ MVP for Windows Development 2020~ for Microsoft Azure Seeed株式会社所属 ソフトウェア担当 在宅勤務 子育て中 「e」3つ

3.

Microsoft Build 2018 BRK3801 https://www.youtube.com/watch?v=yozSfPp_R3k

4.

一般的なMCUアプリの開発 パソコン .c .cpp コンパイラ / リンカ .elf .bin Flashツール プローブ MCU

5.

Azure Sphere の開発 AS3 … Azure Sphere セキュリティサービス MT3620 RDB … MT3620 開発ボード (Reference Development Board) 1 パソコン .c クラウドローディング app_ mani fest azsphere 3 2 gcc AS3 Wi-Fi 4 MT3620 RDB app USB 2 azsphere image package azsphere サイドローディング

6.

①② 開発用パソコン / 開発ツール Ubuntu 18.04LTS or 20.04 LTS Windows 10 16071. Azure Sphere SDK for Windows 1. net-tools, curl 2A. Visual Studio 2019 +Azure Sphere for Visual Studio 2. Azure Sphere SDK for Linux 3. CMake, Ninja 2B. Visual Studio Code +Azure Sphere for VS Code 4. Visual Studio Code +Azure Sphere for VS Code https://docs.microsoft.com/en-us/azure-sphere/install/overview

7.

③ Azure Sphere セキュリティサービス 1 1. マイクロソフトアカウントを登録 azsphere login –newuser <email-address> Azure AD ディレクトリ “azusers.onmicrosoft.com” 2 Azure Sphere テナント 2. Azure Sphere テナントを作成 azsphere tenant create –name <my-tenant>

8.

④ Azure Sphere MCU MT3620開発ボードJP(RDB) $84.90 MT3620 Groveシールド $15.90 MT3620開発キット $49.00 MT3620イーサネットシールド $18.90 MT3620ミニ開発ボード(MDB) $34.90

9.

④ Azure Sphere MCU Cactusphere (アットーマークテクノ) ConverIoT-ASC (カウベルエンジニアリング)

10.

開発の事前準備

11.

クレーム 1 1. マイクロソフトアカウントを登録 azsphere login –newuser <email-address> Azure AD ディレクトリ “azusers.onmicrosoft.com” 2. Azure Sphere テナントを作成 azsphere tenant create –name <my-tenant> 2 3. Azure Sphere デバイスを Azure Sphere テナントに登録 (クレーム) Azure Sphere テナント 3 MT3620 RDB MT3620 RDB azsphere device claim (!) 重要 3.の操作は1回限り。クレームを取り消したり 別のAzure Sphereテナントに変更はできません。

12.

Azure Sphere OSの更新 1. デバイスの Azure Sphere OS を更新 azsphere device recover USB MT3620 RDB

13.

サイドロードの有効化 クラウドローディング azsphere 1. サイドロードを有効化 AS3 Wi-Fi image package サイドローディング MT3620 RDB USB azsphere azsphere device enable-development

14.

コーディング

15.

新規作成 vs コピー 新規作成 コピー Azure Sphere MT3620 の空白 azure-sphere-samples AzureSphereMT3620BlankX Azure Sphere の点滅 AzureSphereBlinkX https://github.com/Azure/azure-sphere-samples コンポーネントIDの変更 app_manifest.json プロジェクト名の変更 app_manifest.json CMakeLists.txt ハードウェア定義のケア CMakeLists.txt, …

16.

開発言語 / ライブラリ C言語 (-std=c11) GCC (8.2.0)

17.

Azure Sphere の開発 パソコン .c AS3 … Azure Sphere セキュリティサービス MT3620 RDB … MT3620 開発ボード (Reference Development Board) クラウドローディング app_ mani fest azsphere AS3 gcc Wi-Fi MT3620 RDB app USB azsphere image package azsphere サイドローディング

18.

開発言語 / ライブラリ Azure Sphere SDK Application Libraries デバイス固有のAPIs デバッグメッセージ / Wi-Fi 設定, ... GPIO / PWM / I2C / SPI, ... アプリケーション libapplibs libazureiot libc libgcc_s … Azure IoT Device SDK for C Azure IoT Hub / Azure IoT Centralへの接続 C POSIX library (musl libc) GCC low-level runtime library

19.

ドキュメント https://docs.microsoft.com/ja-jp/azure-sphere/

20.

サンプルコード https://github.com/Azure/azure-sphere-samples

21.

困ったとき https://docs.microsoft.com/en-us/answers/questions/topics/single/25320.html

22.

宣伝 https://www.slideshare.net/TakashiMatsuoka2 https://matsujirushi.hatenablog.jp/

23.

やってみよう!