Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

C# cross compiler for STM32F2


  • Please log in to reply
1 reply to this topic

#1 miltonkbenjamin

miltonkbenjamin

    Member

  • Members
  • PipPip
  • 22 posts

Posted 23 December 2013 - 12:55 PM

All,

 

There are many manufacturers of micro controllers and also likely many instruction sets.

 

How does one tell Visual C# which micro controller it should produce object code for? 

 

Is there some standard ?

 

I am using a Netduino 2Plus which has STM32F2 CPU?

 

Thanks,

 

Milt



#2 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 23 December 2013 - 02:14 PM

The code produced by Visual C# is Common Intermediate Language, bytecode that is executed by .NET virtual machine (CLR), which is a part of .NET Micro Framework. Unlike its 'bigger brother' (desktop version of .NET Framework), .NET Micro Framework does not have Just-in-Time compiler, the CIL instructions are interpreted, so there is no microcontroller-specific code emitted in runtime; you just need the CLR compiled for a particular microcontroller/architecture. The .NET Micro Framework source contains code to support several microcontroller variants, such as Atmel AT91SAM7X, ST Microelectronics STM32F, NXP LPC, Freescale iMXS, Renesas SH7x series and also x86 (the emulator), board vendors use cross-compilers to produce "the firmware" (TinyCLR).






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.