From 0ee6fd16d20f2a52e6ae2fa769485205a4afd69f Mon Sep 17 00:00:00 2001 From: zoon81 Date: Wed, 10 Jul 2019 07:29:09 +0200 Subject: [PATCH] Fixed compile errors on 2019r1 toolchain --- Makefile | 3 +++ components/tft/tftspi.c | 1 + 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 8c59e67..9479855 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ PROJECT_NAME := tft_demo EXTRA_CFLAGS += --save-temps +CFLAGS += -Wno-error=tautological-compare \ + -Wno-implicit-fallthrough \ + -Wno-implicit-function-declaration include $(IDF_PATH)/make/project.mk diff --git a/components/tft/tftspi.c b/components/tft/tftspi.c index 090b819..8c31b11 100644 --- a/components/tft/tftspi.c +++ b/components/tft/tftspi.c @@ -14,6 +14,7 @@ #include "freertos/task.h" #include "esp_heap_caps.h" #include "soc/spi_reg.h" +#include "driver/gpio.h" // ====================================================