Direct C++ with C#'s drivers
#1
Posted 26 November 2010 - 03:18 AM
#2
Posted 26 November 2010 - 03:36 AM
#3
Posted 11 May 2011 - 06:11 AM
#4
Posted 11 May 2011 - 06:39 AM
You can write C++ code--and then create C# wrappers to call it. You can also write C++ code that runs behind the scenes (via IRQs, FIQs, completions, etc.)Hi Chris,
So how would I go about doing this? I get your Netduino firmware project and then write some C++ classes which I have to include in the firmware somehow?
Thanks.
Here's a good example/tutorial:
http://adeneo-embedd...-framework.html
Chris
#5
Posted 11 May 2011 - 07:33 AM
You can write C++ code--and then create C# wrappers to call it. You can also write C++ code that runs behind the scenes (via IRQs, FIQs, completions, etc.)
Here's a good example/tutorial:
http://adeneo-embedd...-framework.html
Chris
Cool - I'll have a look at the example/tutorial. Thank you very much.
#6
Posted 11 May 2011 - 08:33 AM
You might also want to check out Steve Maillet's Using Interop in the .NET Micro Framework V3.0, and Adding Features to the .NET Micro Framework by Interoperating with Unmanaged Code chapter in the Porting Kit documentation.Cool - I'll have a look at the example/tutorial.
Additionally, several interop projects with complete source code have been already published in the forum (BitBanger by sweetlilmre, OneWire, Corey Kosak's famous Fluent Interop 1.6/1.4/1.2/1.0, and others).
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users