Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Azure Sphere - PlatformIO

  • Version 2.0.4 ( look here, if there is something new )
  • OS Windows 10 ( preferably )
    • Sysroot 3+Beta1909
    • Sysroot 2+Beta1905
    • Arduino HighLevel applications
    • Linux HighLevel applications
    • Mediatek Cortex-M4 applications
    • Baremetal Cortex-M4 applications
  • Full API (NEW)
  • Experimental mode for libc and libwolfssl (NEW beta in process)
  • It is very beta version - may be bugs yet

Arduino part

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

Wiring part ( Arduino for M4F core )

  • Arduino base core
  • HardwareSerial (in progress)
  • GPIO (NEW all gpio)
  • ADC

Mediatek part ( M4 )

Linux & Baremetal parts

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

SDK 19.10/11 workaroud

Fast Uninstal

goto C:\Users\USER_NAME.platformio\platforms

  • delete folder azure ( builders )
  • delete folder framework-azure ( sources )
  • delete folder tool-azure ( azsphere )
  • delete folder toolchain-arm-poky-linux-musleabi-hf (compiler )

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
  • Project platformio.ini example:
[env:avnet_aesms_mt3620]
platform = azure
board = avnet_aesms_mt3620
framework = arduino
monitor_port = COM6
monitor_speed = 115200

;board_build.sdk = C:/Program Files (x86)/Microsoft Azure Sphere SDK ; path to ...
;board_build.sysroot = 2+Beta1806  ; default is max version, 3+Beta1909
;board_build.delete = all ; default is all applications, or = current 

;board_build.copy =  filename.1 filename.2 
;    copy files from project SRC to image-package, as certificates, settings, etc
;    path is /mnt/APP-GUID/filename ... Storage_GetAbsolutePathInImagePackage()

;board_build.ex_mode = enable ; empty key: disabled ; experimental mode for libc, libwolfssl...
;board_build.verbose = enable ; verbose for azsphere 

;build_flags = -D ANY_FLAG

Manual upload

Thanks to:

Project

Project

IF YOU WANT HELP / SUPPORT paypal