cancel
Showing results for 
Search instead for 
Did you mean: 

hi, I am new with the CubeProgrammer_API, I saw that there is a C implementation of this API , is there a C# implementation / Wrapper ? are there any examples of using the CubeProgrammer from dotnet C# ?

Gberl.1
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
Houda GHABRI
ST Employee

Hi @Gberl.1​ 

The only examples we provide are C/C++.

in addition to C++, the API is used by STM32CubeProgrammer GUI throw a JNA wrapper, only thoses implementations are tested.

Houda

View solution in original post

6 REPLIES 6
Pavel A.
Evangelist III

If you googled, and found nothing, you can be sure that it does not exist.

-- pa

Gberl.1
Associate II

Pavel, if I googled something and it's not found it doesn't mean it is not somewhere else, maybe someone implemented it and care to share?

Houda GHABRI
ST Employee

Hi @Gberl.1​ 

The only examples we provide are C/C++.

in addition to C++, the API is used by STM32CubeProgrammer GUI throw a JNA wrapper, only thoses implementations are tested.

Houda

Gberl.1
Associate II

the PInvoke method is known and common, the problem is that this code has many structures and pointer that should be marshaled, I wonder if any one has done it for this code and cares to share or should I do that work myself.

Mipoter
Associate II

Hi @Gberl.1,

Recently, you can find a C# wrapper on nuget.

I think it's still in preview, this is the link.

Regards