From 3d50c87c9db4b7a658bfd8a605e78c2712be3d58 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Mon, 27 Aug 2018 02:18:10 -0300 Subject: [PATCH] Added Optional Configurations --- platformio.ini | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 4551a164d..6730270e6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -52,14 +52,28 @@ framework = arduino board = esp01_1m board_build.flash_mode = dout +; set CPU frequency to 80MHz (default) or 160MHz +board_build.f_cpu = 80000000L +;board_build.f_cpu = 160000000L + ; *** Fix espressif8266@1.7.0 induced undesired all warnings build_unflags = -Wall build_flags = -Wl,-Tesp8266.flash.1m0.ld - -DVTABLES_IN_FLASH +; -DUSE_CONFIG_OVERRIDE +; lwIP 1.4 (Default) -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH -; -DUSE_CONFIG_OVERRIDE +; lwIP 2 - Low Memory +; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY +; lwIP 2 - Higher Bandwitdh +; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH +; VTABLES in Flash (default) + -DVTABLES_IN_FLASH +; VTABLES in Heap +; -DVTABLES_IN_DRAM +; VTABLES in IRAM +; -DVTABLES_IN_IRAM ; *** Serial Monitor options monitor_speed = 115200 @@ -68,6 +82,7 @@ monitor_speed = 115200 upload_speed = 115200 upload_resetmethod = nodemcu upload_port = COM5 + ; *** Fix Esp/Arduino core 2.4.x induced Tasmota unused floating point includes extra_scripts = pio/strip-floats.py