简体   繁体   English

编译适用于x86的.NET Micro

[英]Compile .NET Micro for x86

I'm totally at a loss about the build process in the .NET micro source code. 我对.NET微型源代码中的构建过程完全不知所措。 How am I suppose to build the source? 我应该如何构建源代码? There are project files that are not compatible with VS and the "BuildLauncher.exe" has no clear directions as to how I should be using it? 有些项目文件与VS不兼容,并且“ BuildLauncher.exe”没有明确说明我应该如何使用它?

I want to try and see how hard it would be to compile a runtime for embedding .NET in a native desktop application. 我想尝试看看编译用于将.NET嵌入本机桌面应用程序的运行库将有多么困难。

The .NET Micro Framework is built for embedded devices (ie. micro controllers), not embedding in normal desktop applications. .NET Micro Framework是为嵌入式设备 (即微控制器)构建的,而不是嵌入到普通的桌面应用程序中。 The project showcase should give you a good example of what NETMF is capable of. 项目展示会为您提供NETMF功能的一个很好的例子。

The OP's comment to JohnD is confusing because it references C++ on a desktop and C# on an 8-Bit CPU. OP对JohnD的评论令人困惑,因为它引用了台式机上的C ++和8位CPU上的C#。 If the OP could clarify the actual end goal, there might be a more specific answer to their question. 如果OP可以澄清实际的最终目标,那么他们的问题可能会有更具体的答案。 Although I think this information may be helpful. 尽管我认为这些信息可能会有所帮助。

The .NET Micro Framework requires a 32-bit MicroController, see https://netmf.codeplex.com/documentation at the bottom is the "Porting Kit Datasheet". .NET Micro Framework需要一个32位MicroController,请参阅https://netmf.codeplex.com/documentation ,底部的“ Porting Kit数据表”。

Currently the framework runs on these 32-bit processor cores. 当前,该框架在这些32位处理器内核上运行。

ARM v4, ARM Thumb, Thumb-2, Blackfin, SH2/2A ARM v4,ARM Thumb,Thumb-2,Blackfin,SH2 / 2A

Also not many 8-Bit MicroControllers have enough memory. 同样,没有多少8位微控制器具有足够的内存。 The memory requirements for the .NET Micro Framework depend entirely on which features you use. .NET Micro Framework的内存要求完全取决于您使用的功能。 In its smallest form, the framework requires 64 Kb of RAM and 256 Kb of flash memory. 该框架以最小的形式需要64 Kb的RAM和256 Kb的闪存。

In order to port the MicroFramework to a currently unsupported MicroController see the previously mentioned document and the "HowTo Manual for PKStudio" on the same page. 为了将MicroFramework移植到当前不支持的MicroController上,请参阅前面提到的文档和同一页面上的“ HowTo Manual for PKStudio”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM