Product Details

NativeAOT for STM32

C# / .NET NativeAOT runs natively on high-performance MCUs such as STM32H723. Build embedded systems with a modern language without compromise.

🛒 Buy on Taobao Custom Development

Board Photos and Demos

Real hardware, real runtime, production-oriented engineering demos.

Evaluation board

πŸ–₯️ STM32H723 Board

NativeAOT evaluation board with Ethernet, CAN FD and UART peripherals.

Console output

πŸ“‹ Console Output

C# applications run on STM32 and output console logs.

Disassembly view

πŸ” Disassembly Verification

C# code is compiled into native ARM32 machine code with no JIT or interpreter.

TCP DEMO

🌐 TCP DEMO

System.Net.Sockets works on STM32 for TCP server and client communication.

On-board Web panel

πŸ–±οΈ On-board Web Debug Panel

Kestrel runs directly on STM32 so the browser can configure UART and send CAN FD frames.

Exception handling

πŸ›‘οΈ C# Exception Safety

try/catch/finally and stack traces work on MCU targets.

Core Features

A complete engineering-ready solution from runtime capabilities to peripheral support.

βš™οΈ Runtime Capabilities

  • Full .NET NativeAOT compiled to ARM32 native code without JIT.
  • async / await, Task, CancellationToken and multithreading work on MCUs.
  • Kestrel HTTP server runs directly on the board.
  • SSE pushes CAN FD / UART data to browsers in real time.
  • NLog, Log4Net, ZIP, FTP Server and OpenSSL ecosystem libraries are supported.

πŸ”Œ Peripherals and System

  • UART configuration with RESTful APIs.
  • CAN FD frame format, filters and timing parameters are configurable.
  • GPIO register-level access from unsafe C#.
  • TCP Server / Client and UDP through System.Net.Sockets.
  • Same source code for Windows x64 debugging and ARM32 deployment.

Highlight: On-board Web Debug Panel

STM32H723 + Kestrel + SSE β€” direct browser access for UART and CAN FD debugging

This is not a PC host application. It is a Web debugging tool served directly by the board.

  • UART parameter configuration
  • HEX / ASCII data transmission
  • Real-time receiving area with SSE streaming
  • CAN FD frame sending and receiving
  • JSON RESTful API with decoupled frontend and backend
// Board network configuration #if ARM32 Ics.Initialize(); NetworkConfig.SetIpV4Address("eth0", new byte[] { 10,0,0,2 }); NetworkConfig.IfUp("eth0"); #endif // Kestrel listens on the board var host = new WebHostBuilder() .UseKestrel() .Configure(app => { // CAN FD SSE streaming app.Map("/api/canfd/stream", m => m.Run(async ctx => { })); }) .UseUrls("http://10.0.0.2:10086") .Build(); host.Start();

Sample Projects

Complete projects that actually run on STM32H723.

Web / HTTP

Kestrel_Demo

Web debug panel with Kestrel, SSE and JSON APIs.

Network

TcpServer / TcpClient

async/await TCP server and client examples.

Network

UdpServer

UDP send and receive with System.Net.Sockets.

Peripheral

GpioForCSharpDriver

unsafe C# directly accesses STM32 GPIO registers.

Multithreading

MultipleThread

Task, Thread, lock and Mutex examples on MCU targets.

Timer

Timer

System.Threading.Timer in embedded scenarios.

File / IO

ZipTest

ZIP compression and decompression on MCU file systems.

Service

Zhaobang.FtpServer

FTP server running on MCU.

Security

openssl_test

OpenSSL P/Invoke integration for TLS and crypto.

Interop

PInvokeTest

C# P/Invoke calls native C/C++ libraries.

Logging

Log4NetDemo / NLog

Mainstream .NET logging frameworks on MCU.

Exception

NullReference / GcTest

Validate .NET exception handling and GC correctness.

Application Scenarios

Not just Hello World — deliverable product-grade solutions.

πŸ› οΈ

On-board Debug Tools

Device-hosted Web UI for testing, delivery and field support.

🏭

Industrial Control Gateways

CAN FD + TCP/UDP + REST API for field-bus data integration.

πŸ”—

Protocol Converters

Use C# to manage multiple interfaces and quickly build protocol bridges.

πŸ“¦

Edge Computing Nodes

MCUs with .NET ecosystem and network services for edge processing.

Get an Evaluation Board / Technical Consulting

For NativeAOT for STM32 inquiries, contact Mr. Guo.

🛒 Buy on Taobao

πŸ‘¨β€πŸ’Ό Mr. Guo  13602648765

πŸ“§ Email  ics@icsharptech.com

πŸ“ Shenzhen ICS Technology Co., Ltd.

An error has occurred. Reload πŸ—™

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.