Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Code In NETMF Operating System Does Not Transfer to C# DLL's #541

@patrickmealey

Description

@patrickmealey

Having a problem in which I have enabled code for a micro SD card on a port of NETMF to the STM32 F7 Nucleo. This port was originally done by CW2 and did not include micro SD support.

The code is correctly compiled and loaded into the NETMF interpreter and, via GDB, onto the Nucleo board. Can set breakpoints and single step.

The corresponding DLL, however, does not have a table entry for the routine. Or rather, it has an empty (RVA=0xFFFF) entry.

So my question is, which tool parses the interpreter code and generates the DLL's? I have examined the build log (msbuild.log) and note that "metadataprocessor.exe" is called around the time that the DLL's are generated, but he precise methodology escapes me.

And a related question is, how does one create a new routine, callable from C#, in the C++ domain? The name must be correctly mangled. I noticed for Microsoft.Spot.IO.NativeIO there is reference to a tool which generated the file "spot_io_native_Microsoft_SPOT_IO_NativeIO.h". Which tool is that and how do I use it?

Thanks in advance for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions