Menu
.NET nanoFramework taps C# for embedded systems

.NET nanoFramework taps C# for embedded systems

Follow-up to .NET Micro Framework brings IoT, wearables and robotics development to .NET developers and Visual Studio

Credit: Dreamstime

A .NET Foundation open source project has emerged for using C# to write embedded applications, letting developers leverage familiar Microsoft technologies to build software for small devices.

Called the .NET nanoFramework, the project lets developers use the Visual Studio IDE and C# to write managed code applications for embedded systems without having to worry about the low-level intricacies of a microcontroller. The platform is suitable for projects ranging from IoT sensors and wearables to robotics and industrial equipment.

The .NET nanoFramework includes a reduced version of the .NET Common Language Runtime and a subset of the .NET base class libraries as well as common APIs included in the Universal Windows Platform, enabling reuse of code from desktop applications, IoT Core applications, .NET code examples, and open source projects.

Specific features cited for .NET nanoFramework include runs on resource-constrained devices with as little as 256kB of flash and 64kB of RAM and runs directly on bare metal - at present, ARM Cortex-M and ESP32 devices are supported.

Other features include support for common embedded peripherals and interconnects such as GPIO, UART, SPI, I2C, and USB, in addition to native multithreading support and support for energy efficient operation such as devices running on batteries.

Delving deeper, Interop code support lets developers write libraries that have both managed (C#) and native code (C/C++), while inclusion of a mark-and-sweep garbage collector means there is no manual memory management, as well as execution constrains to catch device lock-ups and crashes.

.NET nanoFramework picks up where .NET Micro Framework for embedded application development left off and uses some of its building blocks, the project developers said. Many components were completely rewritten, others improved, and others reused.

Most core team members and contributors to .NET nanoFramework are embedded systems enthusiasts, according to the project’s GitHub repo.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags open sourceMicrosoftvisual studio

Featured

Slideshows

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

Hundreds of leaders from the New Zealand IT industry gathered at the Hilton in Auckland on 17 November to celebrate the finest female talent in the Kiwi channel and recognise the winners of the Reseller News Women in ICT Awards (WIICTA) 2020.

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards
Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

The leading female front runners of the New Zealand ICT industry joined together for the annual Reseller News Women in ICT Awards event at the Hilton in Auckland, during which hundreds of guests celebrated 13 outstanding individuals who won awards, chosen from more than 50 finalists representing over 30 organisations.

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards
Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners

More than 500 channel leaders gathered in Auckland on 21 October at the ​Reseller News Innovation Awards ​2020 to celebrate the achievements of the New Zealand technology industry's top partners, start-ups, vendors, distributors and individuals.

Channel gathers to celebrate the Reseller News Innovation Awards 2020 winners
Show Comments