From 9af72977db26f40540635eea3c1505d06fc00c95 Mon Sep 17 00:00:00 2001 From: Jason2866 Date: Thu, 6 Dec 2018 08:48:20 +0100 Subject: [PATCH] Update platformio.ini Support for enable / disable exceptions code in firmware for esp8266 core 2.5.0 (stage) or up --- platformio.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/platformio.ini b/platformio.ini index bb68e981f..0a9bb65b9 100644 --- a/platformio.ini +++ b/platformio.ini @@ -80,6 +80,15 @@ build_flags = ; VTABLES in IRAM ; -DVTABLES_IN_IRAM +; if using esp8266 core 2.5.0 (stage) or up +; enable one option set -> No exception recommended +; No exception code in firmware +; -fno-exceptions +; -lstdc++-nox +; Exception code in firmware /needs much space! 90k +; -fexceptions +; -lstdc++ + ; *** Serial Monitor options monitor_speed = 115200