Fix stupid fucking bug with generating code

This commit is contained in:
2024-06-10 16:29:01 +02:00
parent 3f7d87ec0a
commit 1d56e5a865
2 changed files with 13 additions and 0 deletions

View File

@ -6,3 +6,9 @@ touchgfx_path := ../Middlewares/ST/touchgfx
touchgfx_env := C:/TouchGFX/4.22.0/env
# Optional additional compiler flags
user_cflags := -DUSE_BPP=16 -std=gnu++1z -Wno-cast-qual -Wno-missing-declarations -Wno-format-truncation -Wno-unused-variable
# MINGW is annoying and for some reason replaces /z/path with z:/path in
# ADDITIONAL_SOURCES. Since TouchGFXDesigner completely overwrites the generated
# Makefile, we can't fix it there -- but the generated makefile includes this
# file, so we can fix it here.
ADDITIONAL_SOURCES := $(call subst_drivename,$(ADDITIONAL_SOURCES))