From 33140234542234af58c9efb39980ec98cb278a81 Mon Sep 17 00:00:00 2001 From: Maximilian Gerhardt Date: Mon, 11 Jan 2021 17:51:25 +0100 Subject: [PATCH] Fix invalid macro name 1. Macro name was invalid since there must never ever be a `-` in the name of a macro 2. Macro name was wrong because Arduino-ESP32 uses `-DARDUINO_TWatch` as can be seen in https://github.com/espressif/arduino-esp32/blob/2452c1fb539246e47a715b74a3ad25b8a7ebbec7/boards.txt#L4537-L4550 and https://github.com/espressif/arduino-esp32/blob/2452c1fb539246e47a715b74a3ad25b8a7ebbec7/platform.txt#L75 --- boards/ttgo-t-watch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/ttgo-t-watch.json b/boards/ttgo-t-watch.json index a47a4a07d..f94904feb 100644 --- a/boards/ttgo-t-watch.json +++ b/boards/ttgo-t-watch.json @@ -4,7 +4,7 @@ "ldscript": "esp32_out.ld" }, "core": "esp32", - "extra_flags": "-DARDUINO_T-Watch -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue", + "extra_flags": "-DARDUINO_TWatch -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio",