Compile .NET Micro for x86

扶醉桌前 提交于 2019-12-12 04:46:10

问题


I'm totally at a loss about the build process in the .NET micro source code. 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?

I want to try and see how hard it would be to compile a runtime for embedding .NET in a native desktop application.


回答1:


The OP's comment to JohnD is confusing because it references C++ on a desktop and C# on an 8-Bit CPU. If the OP could clarify the actual end goal, there might be a more specific answer to their question. 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".

Currently the framework runs on these 32-bit processor cores.

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

Also not many 8-Bit MicroControllers have enough memory. The memory requirements for the .NET Micro Framework depend entirely on which features you use. In its smallest form, the framework requires 64 Kb of RAM and 256 Kb of flash memory.

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.




回答2:


The .NET Micro Framework is built for embedded devices (ie. micro controllers), not embedding in normal desktop applications. The project showcase should give you a good example of what NETMF is capable of.



来源:https://stackoverflow.com/questions/26476054/compile-net-micro-for-x86

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!