From 498c5b697c48fbffd07c0ca121850983fd1f58c3 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 23 Sep 2019 18:27:35 -0700 Subject: [PATCH 1/3] Update README.md --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index 6f6ff49..fe73630 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,32 @@ # STM32CubeIDE-TouchGFX-Fix Patches project files generated by CubeMX for STM32CubeIDE to work with TouchGFX + +## Background + +When generating TouchGFX projects using CubeMX and the STM32CubeIDE application, it will clobber a bunch of settings in the project XML that require you to configure each time. Super annoying, and since ST/TouchGFX team can't get around to fixing this in a timely manner this patch was created. + +## Usage +It's a .NET Core application, so if you're building from source: + +### Run a pre-built release + +Download the latest release, and run as follows: + +```ps +STM32CubeIDE-TouchGFX-Fix -p C:\MyTouchGFXProjectLocation +``` + +or + +### Build from source + +```ps +dotnet build +dotnet publish -c Release -r win10-x64 +``` + +or optionally build it / run in Visual Studio. + +### Notes + +It will patch the .cproject XML file to set the appropriate includes/source values required for building with TouchGFX. From 2f51ea0dd913351710f88812e183730c49b6f595 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 23 Sep 2019 18:44:38 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fe73630..63ee7bc 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ It's a .NET Core application, so if you're building from source: ### Run a pre-built release -Download the latest release, and run as follows: +Download the [latest release](https://github.com/replaysMike/STM32CubeIDE-TouchGFX-Fix/releases), and run as follows: ```ps STM32CubeIDE-TouchGFX-Fix -p C:\MyTouchGFXProjectLocation From 5fa32dc6fe9ab81c4e81ca10c6c8eb9c6a26a03e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 23 Sep 2019 19:53:16 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63ee7bc..f0eab33 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Patches project files generated by CubeMX for STM32CubeIDE to work with TouchGFX When generating TouchGFX projects using CubeMX and the STM32CubeIDE application, it will clobber a bunch of settings in the project XML that require you to configure each time. Super annoying, and since ST/TouchGFX team can't get around to fixing this in a timely manner this patch was created. ## Usage -It's a .NET Core application, so if you're building from source: +It's a .NET Core application which you can run from the command line (Windows 10). After running the utility, you should be able to refresh your project (Right-click your project, choose Refresh) and build afterwards. ### Run a pre-built release