From b0a1987f4a1d92ab367f615a122dbfa05ae0d9d1 Mon Sep 17 00:00:00 2001 From: Cornelio Hopmann Date: Thu, 30 Jan 2020 20:35:24 +0100 Subject: [PATCH 1/3] Fixes esp32_out.ld error --- tools/platformio-build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/platformio-build.py b/tools/platformio-build.py index 358f2e6741e..b14635c8ce4 100644 --- a/tools/platformio-build.py +++ b/tools/platformio-build.py @@ -71,7 +71,7 @@ CXXFLAGS=[ "-fno-rtti", "-fno-exceptions", - "-std=gnu++11" + "-std=gnu++17" ], LINKFLAGS=[ @@ -81,7 +81,6 @@ "-Wl,--undefined=uxTopUsedPriority", "-Wl,--gc-sections", "-Wl,-EL", - "-T", "esp32_out.ld", "-T", "esp32.project.ld", "-T", "esp32.peripherals.ld", "-T", "esp32.rom.ld", From 867c777cc9ede74f0fd843e9562ee05196c2ca1f Mon Sep 17 00:00:00 2001 From: Cornelio Hopmann Date: Fri, 31 Jan 2020 11:13:03 +0100 Subject: [PATCH 2/3] Default to gnu++11 --- tools/platformio-build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/platformio-build.py b/tools/platformio-build.py index b14635c8ce4..f884dbc5976 100644 --- a/tools/platformio-build.py +++ b/tools/platformio-build.py @@ -71,7 +71,7 @@ CXXFLAGS=[ "-fno-rtti", "-fno-exceptions", - "-std=gnu++17" + "-std=gnu++11" ], LINKFLAGS=[ From 96e5d165acb3f1f4d78394dcd98c3dbbad32a26d Mon Sep 17 00:00:00 2001 From: Cornelio Hopmann Date: Mon, 17 Feb 2020 14:48:08 +0100 Subject: [PATCH 3/3] Include: sog/dport_reg.h --- cores/esp32/Arduino.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/esp32/Arduino.h b/cores/esp32/Arduino.h index 079510efe37..65952c7165f 100644 --- a/cores/esp32/Arduino.h +++ b/cores/esp32/Arduino.h @@ -35,6 +35,7 @@ #include "esp32-hal.h" #include "esp8266-compat.h" #include "soc/gpio_reg.h" +#include "soc/dport_reg.h" #include "stdlib_noniso.h" #include "binary.h"