17

.NET nanoFramework taps C# for embedded systems

 4 years ago
source link: https://www.infoworld.com/article/3604055/net-nanoframework-taps-c-for-embedded-systems.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

.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.

By Paul Krill

Editor at Large,

InfoWorld | Jan 19, 2021 12:18 pm PST

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.

[ Also on InfoWorld: What’s new in Microsoft .NET 5? ]

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:

Volume 0%
Loading ad
  • Runs on resource-constrained devices with as little as 256kB of flash and 64kB of RAM.
  • Runs directly on bare metal. At present, ARM Cortex-M and ESP32 devices are supported.
  • Supports common embedded peripherals and interconnects such as GPIO, UART, SPI, I2C, and USB.
  • Native multithreading support.
  • Support for energy efficient operation such as devices running on batteries.
  • Interop code support lets developers write libraries that have both managed (C#) and native code (C/C++).
  • Inclusion of a mark-and-sweep garbage collector means there is no manual memory management.
  • Execution constrains to catch device lockups 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.


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK