diff --git a/platformio.ini b/platformio.ini index 7babe2c5..d36894c4 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1068,20 +1068,24 @@ upload_speed = 460800 ;115200 board_build.f_cpu = 160000000L ;; we want 160Mhz (default = 80Mhz) build_flags = ${common.build_flags_esp8266} -D WLED_RELEASE_NAME=esp8266_4MB_M - -D WLED_MAX_USERMODS=5 ; default only 4-6 -D WLED_DISABLE_ALEXA -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_LOXONE ; -D USERMOD_AUDIOREACTIVE ; -UWLED_USE_MY_CONFIG - -D USERMOD_PIRSWITCH - -D USERMOD_DALLASTEMPERATURE ;; disabled because it hangs during usermod setup on -S3 (autodetect broken?) - -D USERMOD_MULTI_RELAY + ; -D USERMOD_PIRSWITCH + ; -D USERMOD_DALLASTEMPERATURE ;; disabled because it hangs during usermod setup on -S3 (autodetect broken?) + ; -D USERMOD_MULTI_RELAY -D USE_ALT_DISPLAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI + -D WLED_MAX_USERMODS=5 ; default only 4 on ESP8266 -D USERMOD_FOUR_LINE_DISPLAY -D USERMOD_MPU6050_IMU ; gyro/accelero for USERMOD_GAMES (ONLY WORKS IF USERMOD_FOUR_LINE_DISPLAY NOT INCLUDED - I2C SHARING BUG) -D USERMOD_GAMES ; WLEDMM usermod -D USERMOD_ARTIFX + -D USERMOD_BATTERY ;; enable Battery usermod + -D USERMOD_BATTERY_USE_LIPO ;; use new "decharging curve" for LiPo cells + -D WLED_DEBUG_HOST='"192.168.x.x"' ;; to send debug messages over network to host 192.168.x.y - FQDN is also possible + -D WLED_DEBUG_PORT=1768 ;; port for network debugging. default = 7868 ; -D WLED_DEBUG monitor_filters = esp8266_exception_decoder lib_deps = ${esp8266.lib_deps} diff --git a/wled00/json.cpp b/wled00/json.cpp index b437c852..44c2d280 100644 --- a/wled00/json.cpp +++ b/wled00/json.cpp @@ -898,7 +898,6 @@ void serializeInfo(JsonObject root) #endif root[F("lwip")] = 0; //deprecated root[F("totalheap")] = ESP.getHeapSize(); //WLEDMM - root[F("getflash")] = ESP.getFlashChipSize(); //WLEDMM and Athom #else root[F("arch")] = "esp8266"; root[F("core")] = ESP.getCoreVersion(); @@ -908,6 +907,7 @@ void serializeInfo(JsonObject root) #endif root[F("lwip")] = LWIP_VERSION_MAJOR; #endif + root[F("getflash")] = ESP.getFlashChipSize(); //WLEDMM and Athom, works for both ESP32 and ESP8266 root[F("freeheap")] = ESP.getFreeHeap(); //WLEDMM: conditional on esp32 diff --git a/wled00/wled.h b/wled00/wled.h index ff2b0624..9d5bf400 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2304071 +#define VERSION 2304072 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG