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

Native code interop


  • Please log in to reply
4 replies to this topic

#1 timothyp

timothyp

    Member

  • Members
  • PipPip
  • 24 posts

Posted 27 January 2015 - 04:02 AM

HI,

 

Does the netduino firmware support any kind of native code interop.

I've seen some references and promises on the forum but those date back to years ago.

 

Side question: Is the netduino firmware still under active development? 

 

 



#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 27 January 2015 - 12:21 PM

Does the netduino firmware support any kind of native code interop.

I've seen some references and promises on the forum but those date back to years ago.

 

Side question: Is the netduino firmware still under active development? 

 

The NETMF classes have to call native code in order to talk to the microcontroller and so there is an interface available.  I think you would be expected to bind your native code into the firmware though in order to call it.  Frank Zhao has written an article on the Adafruit web site about how to write a native extension to the firmware to control Neopixels.

 

The firmware is still under development, check out the Technical Preview forum.

 

Hope this helps,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#3 timothyp

timothyp

    Member

  • Members
  • PipPip
  • 24 posts

Posted 28 January 2015 - 02:50 AM

This looks quite promising! I was a bit put off by the fact that he says C# is interpreted but I'll write that down to a language barrier :-)

We've already compiled the netduino firmware and put it on an empty STM chip, so it should be a small step from there.

 

Thank you!



#4 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 28 January 2015 - 07:21 AM

... C# is interpreted but I'll write that down to a language barrier :-)

 

 

That is correct, in the current implementation of .NET Micro Framework, managed code (CIL) is interpreted (there is no JIT).



#5 timothyp

timothyp

    Member

  • Members
  • PipPip
  • 24 posts

Posted 28 January 2015 - 08:50 AM

That is correct, in the current implementation of .NET Micro Framework, managed code (CIL) is interpreted (there is no JIT).

 

Wow! I had no idea. My mistake :)






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.