Skip to content
PlatformIO for Azure Sphere
Python
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Aug 10, 2019
Examples Signed-off-by: WizIO <the.wizarda@gmail.com> Aug 19, 2019
boards Update avnet_aesms_mt3620.json Aug 18, 2019
builder Add files via upload Aug 18, 2019
README.md Signed-off-by: WizIO <the.wizarda@gmail.com> Aug 19, 2019
platform.json Update platform.json Aug 18, 2019

README.md

Azure Sphere - PlatformIO

  • version 1.0.6 ( look here, if there is something new )
  • OS Windows 10 ( only ) PIO work, GCC can compile for Unix ( tested ) but not have tools...
    • Sysroot 2+Beta1905 ( 2 is removed )
    • Arduino applications
    • Linux HighLevel applications
    • Baremetal applications (NEW)
  • It is very beta version - may be bugs yet

Arduino part

  • Arduino base core ( sources from last Arduino IDE )
  • HardwareSerial
  • GPIO
  • Wire
  • SPI (NEW)
  • wifiClient
  • wifiUDP (NEW)
  • curlClient
  • other in proggress...
  • Examples

Wiring part ( Arduino for M4F core )

  • Arduino base core
  • HardwareSerial (in progress)
  • GPIO
  • ADC

Linux & Baremetal parts

Tested Boards

Demo movies

Project

Documentations, Support, Forums

INSTALL NOTES - READ

Platform Installation

Install VS Code + PlatformIO

PlatformIO - Home - Platforms - Advanced Installation

Paste link: https://github.com/Wiz-IO/platform-azure

Fast Uninstal

  • goto C:\Users\USER_NAME.platformio\platforms delete folder azure
  • goto C:\Users\USER_NAME.platformio\packages delete folder framework-azure

New Project - PlatformIO

PlatformIO - Home - New

  • enter Project Name - Board write-search 'azure' - Select Linux or Arduino
  • you will have basic template project
  • Open 'src/app_manifest.json' and enter your 'Capabilities'
  • Open 'platformio.ini' and edit your settings
  • INI example:
[env:avnet_aesms_mt3620]
platform = azure
board = avnet_aesms_mt3620
framework = arduino
monitor_port = COM6
monitor_speed = 115200
;board_build.sysroot = 2 ; default is max api version

;build_flags = -D MQTT_MAX_PACKET_SIZE=1024 -D MQTT_KEEPALIVE=60 ; any other

Build, Upload ... if uploader work ( tested on Windows 10 ) - nice ... enjoy

Manual upload

azsphere device sideload delete delete old

azsphere device sideload deploy --imagepackage PATH-TO-PROJECT\NAME.pio\build\VARIANT\app.image

IF YOU WANT HELP / SUPPORT - CONNECT ME

paypal

Thanks to:

Project

Project

You can’t perform that action at this time.