From b4ba566ef5e50c81a68fde159bb8107cdf43bdbe Mon Sep 17 00:00:00 2001 From: "Jasper v. Blanckenburg" Date: Tue, 23 May 2023 23:51:34 +0200 Subject: [PATCH] Make simulator compile under Linux --- .../tools/imageconvert/build/linux/imageconvert.out | Bin TouchGFX/config/gcc/app.mk | 2 +- TouchGFX/steering-wheel.touchgfx | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 Middlewares/ST/touchgfx/framework/tools/imageconvert/build/linux/imageconvert.out diff --git a/Middlewares/ST/touchgfx/framework/tools/imageconvert/build/linux/imageconvert.out b/Middlewares/ST/touchgfx/framework/tools/imageconvert/build/linux/imageconvert.out old mode 100644 new mode 100755 diff --git a/TouchGFX/config/gcc/app.mk b/TouchGFX/config/gcc/app.mk index 1b0337d..c8bb301 100644 --- a/TouchGFX/config/gcc/app.mk +++ b/TouchGFX/config/gcc/app.mk @@ -5,4 +5,4 @@ touchgfx_path := ../Middlewares/ST/touchgfx # Location of the TouchGFX Environment touchgfx_env := C:/TouchGFX/4.21.2/env # Optional additional compiler flags -user_cflags := -DUSE_BPP=16 -std=gnu++1z -Wno-cast-qual -Wno-missing-declarations +user_cflags := -DUSE_BPP=16 -std=gnu++1z -Wno-cast-qual -Wno-missing-declarations -Wno-format-truncation diff --git a/TouchGFX/steering-wheel.touchgfx b/TouchGFX/steering-wheel.touchgfx index df27ebd..cf2d87e 100644 --- a/TouchGFX/steering-wheel.touchgfx +++ b/TouchGFX/steering-wheel.touchgfx @@ -1544,6 +1544,7 @@ "GenerateAssetsCommand": "make -f simulator/gcc/Makefile assets -j8", "GenerateAssetsCommandOverride": "make -f simulator/gcc/Makefile assets -j2", "PostGenerateCommand": "touchgfx update_project --project-file=simulator/msvs/Application.vcxproj", + "PostGenerateCommandOverride": "", "PostGenerateTargetCommand": "touchgfx update_project", "PostGenerateTargetCommandOverride": "", "CompileSimulatorCommand": "make -f simulator/gcc/Makefile -j8",