TinyCLR OS Introduction
TinyCLR OS is our path forward that started with the .NET Micro Framework to enable managed .NET development using Microsoft's Visual Studio on embedded devices -- including debugging features! All you need to get started is Visual Studio, a TinyCLR device, and a USB cable.
TinyCLR OS is still an alpha so there is still a lot more to come!
TinyCLR OS is made for .NET developers. Threading, memory management, timers, event handlers, and many more exist in TinyCLR OS just like they do on full .NET.
For interacting with hardware, TinyCLR OS has an API similar to the Windows 10 IoT Core Extensions API that you may already be familiar with. GPIO, UART, SPI, I2C, ADC, DAC, PWM, and more are all available for you to interact with the embedded world.
Better yet, all libraries are available through NuGet. Because of this, there will be no SDK to install or machines to lock to specific versions. Simply use NuGet to download any needed version of any needed library on a per-project basis.
To set a system to use TinyCLR OS:
- If you don't already have Visual Studio 2017, download and install the freely available Visual Studio Community 2017.
- Make sure to select the
.NET desktop developmentworkload when installing Visual Studio.
- Download and install the newest TinyCLR OS Visual Studio extension.
- Connect your device to your PC using a USB cable. Don't have a TinyCLR OS device yet? There are many supported boards.
- Start Visual Studio and create a new
C# > TinyCLR. New to Visual Studio or C#? Take a look at the getting started guide from Microsoft.
- Add some code and press
F5to deploy and begin debugging your application!
- Since TinyCLR OS is still so new, we haven't yet uploaded any packages to NuGet, so make sure to download the newest libraries, extract the archive, and place them in a local NuGet feed.
- Do not forget to update the firmware on your board.
- You are now ready to get started with TinyCLR! Take a look at the tutorials to get going.
If you're an existing user of NETMF and still want to use it in addition to TinyCLR OS, don't worry. TinyCLR OS is completely independent of NETMF and works side-by-side with no issues.
Interested in running TinyCLR OS on your own device? Take a look at the porting guide for information on how to get started.