Skip to content

Commit

Permalink
Merge pull request #82 from K-Society/experimental
Browse files Browse the repository at this point in the history
Experimental
  • Loading branch information
maniglia authored Nov 24, 2023
2 parents efba8d1 + 66d6ab2 commit fb74800
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 4 deletions.
Binary file added Programmer/x64/libcrypto-1_1-x64.dll
Binary file not shown.
Binary file added Programmer/x64/libssl-1_1-x64.dll
Binary file not shown.
Binary file added Programmer/x86/libcrypto-1_1.dll
Binary file not shown.
Binary file added Programmer/x86/libssl-1_1.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# KSociety.SharpCubeProgrammer

KSociety.SharpCubeProgrammer is a wrapper for CubeProgrammer_API v2.14.0.
KSociety.SharpCubeProgrammer is a wrapper for CubeProgrammer_API v2.15.0.

It makes use of several 3rd party tools:

Expand Down
15 changes: 14 additions & 1 deletion docs/KSociety.SharpCubeProgrammer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ It makes use of several 3rd party tools:

## Introduction

This is a C# wrapper for STM32 CubeProgrammer_API v2.14.0 (not fully tested).
This is a C# wrapper for STM32 CubeProgrammer_API v2.15.0 (not fully tested).
This package does not contain any C/C++ runtimes (MSVC), and is meant to run on Windows operating systems only (for now).
Please make sure you have updated the firmware of your ST-LINK V2 / V3, you can do this using STM32CubeProgrammer.
The STM32 CubeProgrammer_API is a C-library, created by ST for ST-Link access to micro-controllers
Expand Down Expand Up @@ -57,6 +57,19 @@ You can get KSociety.SharpCubeProgrammer by [grabbing the latest NuGet package](
- FastRomInitOptionBytesInterface
- ObDisplay

## Prerequisites

- Visual Studio 2022 (17.7.6 or higher) with the following installed:

| Workloads |
| :-------- |
| .NET desktop development |
| Desktop development with C++ |

| Individual components |
| :-------------------- |
| MSVC v143 - VS 2022 C++ x64/x86 |

## Get Started

- Register SharpCubeProgrammer as service with Autofac IoC:
Expand Down
2 changes: 1 addition & 1 deletion src/01/Samples/DummyLibrary/DummyLibrary.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KSociety.SharpCubeProgrammer" Version="0.1.38">
<PackageReference Include="KSociety.SharpCubeProgrammer" Version="0.1.42">

</PackageReference>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/01/Samples/Programming/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private static void Main(string[] args)
// currentItem.sectorsTypeNbr);
//}

var stLinkList = CubeProgrammerApi.GetStLinkList();
var stLinkList = CubeProgrammerApi.GetStLinkEnumerationList();
if (stLinkList.Any())
{
var stLink = (DebugConnectParameters)stLinkList.First().Clone();
Expand Down

0 comments on commit fb74800

Please sign in to comment.