diff --git a/include/Macro.h b/include/Macro.h index 19651b91..bf1fe7ce 100644 --- a/include/Macro.h +++ b/include/Macro.h @@ -4,4 +4,6 @@ // //#ifdef esp32_4mb //#pragma message STR(esp32_4mb) -//#endif \ No newline at end of file +//#endif + +//Serial.println(STR(esp32_4mb)); \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index d61bb3a2..a74a9eca 100644 --- a/platformio.ini +++ b/platformio.ini @@ -11,7 +11,7 @@ ;Please use one of definition: ;esp8266_1mb , esp8266_4mb , esp32_4mb [platformio] -default_envs = esp32_4mb +default_envs = esp8266_4mb @@ -32,7 +32,7 @@ lib_deps_internal = [env:esp8266_4mb] -build_flags = -Desp8266_1mb="esp8266_4mb" +build_flags = -Desp8266_4mb="esp8266_4mb" framework = arduino board = nodemcuv2 board_build.ldscript = eagle.flash.4m1m.ld diff --git a/src/Tests.cpp b/src/Tests.cpp index 1e6c305e..6b1d9cad 100644 --- a/src/Tests.cpp +++ b/src/Tests.cpp @@ -5,15 +5,6 @@ void testsPerform() { Serial.println("====some tests section===="); - - #ifdef esp32_4mb - Serial.println("esp32_4mb defined"); - #endif - #ifdef esp8266_1mb - Serial.println("esp32_4mb defined"); - #endif - - //Serial.println(STR(esp32_4mb)); - + Serial.println("==========end============"); } \ No newline at end of file