Closed sdiekstra closed 5 years ago
Please don't try a custom config file until you know how to use it.
Just followed the wiki about editing the platformio.ini file, and it worked fine, before the errors started...
Fix this section in my_user_config.h which you appear to have changed to include "user_config.h"
#ifdef USE_CONFIG_OVERRIDE
#include "user_config_override.h" // Configuration overrides for my_user_config.h
#endif
As per my previous post please do not use custom config file until you know how to use it.
For now ignore the user config override and just make changes in my_user_config.h - Do this until you understand how user config override fits into the equation.
Github Issues is not intended for providing you with a basic understanding of how to compile code. It is for bug and feature request tracking and management.
Please note that GitHub Issues are for reporting bugs and requesting additional features.
Please search the Wiki for the information you require or visit Discord Chat where general questions and answers are handled.
See Wiki for more information. See Chat for more user experience.
IMPORTANT NOTICE If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
Make sure these boxes are checked [x] before submitting your issue - Thank you!
status 0
: don't know what this meansYesterday I've received my Wemos D1 Mini clone and I followed the Wiki to install Tasmota on it, which worked like a charm. I was able to install Tasmota succesfully and went back and forth to adjust the code, compile it and upload it to the board without problems. After spending some time at the webgui I wanted to update the code and compile it again, which resulted in lots of errors during the build. I think Atom and PlatformIO were updated in the background, nothing else was changed.
After the problems started I tried several things, reinstalling Atom, reinstalling PlatformIO, clearing out the cache and lib directories (there are a lot of those...). I even tried compiling it on my Mac, which led to the exact same issues. Problem is that I have a (somewhat) working Wemos, but are not able to recompile the code, so I can't make any changes are program other Wemos boards.
This it the output I get; ` Processing wemos-d1-mini (platform: espressif8266; board: esp01_1m; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01_1m.html PLATFORM: Espressif 8266 > Espressif Generic ESP8266 ESP-01 1M HARDWARE: ESP8266 80MHz 80KB RAM (1MB Flash)(...)
Compiling .pioenvs\wemos-d1-mini\src\core_esp8266_timer.c.o Compiling .pioenvs\wemos-d1-mini\src\core_esp8266_wiring_digital.c.o Compiling .pioenvs\wemos-d1-mini\src\core_esp8266_wiring_pwm.c.o Compiling .pioenvs\wemos-d1-mini\src\sonoff.ino.cpp.o
Generating LD script .pioenvs\wemos-d1-mini\ld\eagle.app.v6.common.ld Compiling .pioenvs\wemos-d1-mini\libfae\PubSubClient-EspEasy-2.6.09\PubSubClient.cpp.o Compiling .pioenvs\wemos-d1-mini\libc42\SPI\SPI.cpp.o Compiling .pioenvs\wemos-d1-mini\lib9e8\NeoPixelBus-2.2.9\internal\HsbColor.cpp.o In file included from D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino:32:0: sonoff\my_user_config.h:47:0: warning: "CFG_HOLDER" redefined [enabled by default]
define CFG_HOLDER 4617 // [Reset 1] Change this value (max 32000) to load SECTION1 configuration parameters to flash
^ In file included from C:\users\sander.platformio\packages\framework-arduinoespressif8266\tools\sdk\include/osapi.h:29:0, from C:\users\sander.platformio\packages\framework-arduinoespressif8266\cores\esp8266/pgmspace.h:11, from C:\users\sander.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:256, from c:\users\sander\appdata\local\temp\tmpw02juw:1: sonoff/user_config.h:47:0: note: this is the location of the previous definition
define CFG_HOLDER 4620 // [Reset 1] Change this value (max 32000) to load SECTION1 configuration parameters to flash
^ In file included from D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino:32:0: sonoff\my_user_config.h:58:0: warning: "WIFI_GATEWAY" redefined [enabled by default]
define WIFI_GATEWAY "192.168.1.1" // [IpAddress2] If not using DHCP set Gateway IP address
^ In file included from C:\users\sander.platformio\packages\framework-arduinoespressif8266\tools\sdk\include/osapi.h:29:0, from C:\users\sander.platformio\packages\framework-arduinoespressif8266\cores\esp8266/pgmspace.h:11, from C:\users\sander.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:256, from c:\users\sander\appdata\local\temp\tmpw02juw:1: sonoff/user_config.h:58:0: note: this is the location of the previous definition
define WIFI_GATEWAY "192.168.2.254" // [IpAddress2] If not using DHCP set Gateway IP address
^ In file included from D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino:32:0: sonoff\my_user_config.h:60:0: warning: "WIFI_DNS" redefined [enabled by default]
define WIFI_DNS "192.168.1.1" // [IpAddress4] If not using DHCP set DNS IP address (might be equal to WIFI_GATEWAY)
^ In file included from C:\users\sander.platformio\packages\framework-arduinoespressif8266\tools\sdk\include/osapi.h:29:0, from C:\users\sander.platformio\packages\framework-arduinoespressif8266\cores\esp8266/pgmspace.h:11, from C:\users\sander.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:256, from c:\users\sander\appdata\local\temp\tmpw02juw:1: sonoff/user_config.h:60:0: note: this is the location of the previous definition
define WIFI_DNS "192.168.2.27" // [IpAddress4] If not using DHCP set DNS IP address (might be equal to WIFI_GATEWAY)
^ In file included from D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino:32:0: sonoff\my_user_config.h:62:0: warning: "STA_SSID1" redefined [enabled by default]
(...)
Compiling .pioenvs\wemos-d1-mini\lib9e8\NeoPixelBus-2.2.9\internal\HslColor.cpp.o Archiving .pioenvs\wemos-d1-mini\libc42\libSPI.a Compiling .pioenvs\wemos-d1-mini\lib9e8\NeoPixelBus-2.2.9\internal\HtmlColor.cpp.o Archiving .pioenvs\wemos-d1-mini\libfae\libPubSubClient-EspEasy-2.6.09.a Compiling .pioenvs\wemos-d1-mini\lib9e8\NeoPixelBus-2.2.9\internal\HtmlColorNameStrings.cpp.o D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino: In function 'void MqttDataHandler(char, byte, unsigned int)': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino:1000:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < data_len; i++) { ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino: In function 'void setup()': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/sonoff.ino:2553:8: warning: unused variable 'idx' [-Wunused-variable] byte idx; ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_01_webserver.ino: In function 'void HandleUploadLoop()': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_01_webserver.ino:1547:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (result > upload.currentSize) { ^ Compiling .pioenvs\wemos-d1-mini\lib9e8\NeoPixelBus-2.2.9\internal\HtmlColorNames.cpp.o D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_04_light.ino: In function 'boolean LightCommand()': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_04_light.ino:1121:158: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_COMMAND_INDEX_NVALUE, command, XdrvMailbox.index, round(light_current_color[XdrvMailbox.index -1] / 2.55)); ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_04_light.ino:1295:16: warning: unused variable 'HSB' [-Wunused-variable] uint16_t HSB[3]; ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_06_snfbridge.ino: In function 'ssize_t rf_find_hex_record_start(uint8_t, size_t)': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_06_snfbridge.ino:57:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < size; i++) { ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_06_snfbridge.ino: In function 'ssize_t rf_find_hex_record_end(uint8_t, size_t)': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_06_snfbridge.ino:67:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (ssize_t i = 0; i < size; i++) { ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_07_domoticz.ino: In function 'void MqttPublishDomoticzPowerState(byte)': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_07_domoticz.ino:82:161: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] Settings.domoticz_relay_idx[device -1], (power & (1 << (device -1))) ? 1 : 0, (light_type) ? sdimmer : "", DomoticzBatteryQuality(), DomoticzRssiQuality()); ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_08_serial_bridge.ino: In function 'void SerialBridgeInput()': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_08_serial_bridge.ino:50:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((serial_in_byte_counter < sizeof(serial_bridge_buffer) -1) && (serial_in_byte != Settings.serial_delimiter)) { // add char to string if it still fits ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_08_serial_bridge.ino: In function 'boolean SerialBridgeCommand()': D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_08_serial_bridge.ino:119:103: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'int' [-Wformat=] snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_COMMAND_LVALUE, command, Settings.sbaudrate 1200); ^ D:/Downloads/Sonoff/Sonoff-Wemos/sonoff/xdrv_09_timers.ino: In function 'void DuskTillDawn(uint8_t, uint8_t, uint8_t, uint8_t*)':
(...)
Compiling .pioenvs\wemos-d1-mini\liba90\OneWire-2.3.3.06\OneWire.cpp.o Archiving .pioenvs\wemos-d1-mini\lib3dd\libESP8266WiFi.a Archiving .pioenvs\wemos-d1-mini\lib1a4\libArduinoJson.a Compiling .pioenvs\wemos-d1-mini\libf78\ESP8266HTTPClient\ESP8266HTTPClient.cpp.o lib\OneWire-2.3.3.06\OneWire.cpp: In member function 'uint8_t OneWire::reset()': lib\OneWire-2.3.3.06\OneWire.cpp:165:24: warning: unused variable 'reg' [-Wunused-variable] volatile IO_REG_TYPE *reg IO_REG_BASE_ATTR = baseReg;
^ lib\OneWire-2.3.3.06\OneWire.cpp: In member function 'void OneWire::write_bit(uint8_t)': lib\OneWire-2.3.3.06\OneWire.cpp:199:24: warning: unused variable 'reg' [-Wunused-variable] volatile IO_REG_TYPE reg IO_REG_BASE_ATTR = baseReg; ^ lib\OneWire-2.3.3.06\OneWire.cpp: In member function 'uint8_t OneWire::read_bit()': lib\OneWire-2.3.3.06\OneWire.cpp:227:24: warning: unused variable 'reg' [-Wunused-variable] volatile IO_REG_TYPE reg IO_REG_BASE_ATTR = baseReg; ^ Archiving .pioenvs\wemos-d1-mini\liba90\libOneWire-2.3.3.06.a Compiling .pioenvs\wemos-d1-mini\lib1da\I2Cdevlib-Core\I2Cdev.cpp.o Archiving .pioenvs\wemos-d1-mini\libd9e\libArduinoOTA.a Archiving .pioenvs\wemos-d1-mini\lib49a\libESP8266mDNS.a Compiling .pioenvs\wemos-d1-mini\lib9f0\I2Cdevlib-ADS1115\ADS1115.cpp.o Compiling .pioenvs\wemos-d1-mini\lib5cc\DNSServer\DNSServer.cpp.o Archiving .pioenvs\wemos-d1-mini\libf78\libESP8266HTTPClient.a Archiving .pioenvs\wemos-d1-mini\lib1da\libI2Cdevlib-Core.a Compiling .pioenvs\wemos-d1-mini\lib722\Adafruit-GFX-Library-1.2.9\Adafruit_GFX.cpp.o Compiling .pioenvs\wemos-d1-mini\lib722\Adafruit-GFX-Library-1.2.9\Adafruit_SPITFT.cpp.o lib\I2Cdevlib-ADS1115\ADS1115.cpp: In member function 'void ADS1115::showConfigRegister()': lib\I2Cdevlib-ADS1115\ADS1115.cpp:606:14: warning: unused variable 'configRegister' [-Wunused-variable] uint16_t configRegister =buffer[0]; ^ lib\I2Cdevlib-ADS1115\ADS1115.cpp: In member function 'float ADS1115::getMilliVolts(bool)': lib\I2Cdevlib-ADS1115\ADS1115.cpp:263:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ lib\I2Cdevlib-ADS1115\ADS1115.cpp: In member function 'float ADS1115::getMvPerCount()': lib\I2Cdevlib-ADS1115\ADS1115.cpp:299:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Archiving .pioenvs\wemos-d1-mini\lib5cc\libDNSServer.a Archiving .pioenvs\wemos-d1-mini\lib9f0\libI2Cdevlib-ADS1115.a Compiling .pioenvs\wemos-d1-mini\lib722\Adafruit-GFX-Library-1.2.9\glcdfont.c.o Compiling .pioenvs\wemos-d1-mini\lib1d9\Adafruit_LED_Backpack-1.1.6\Adafruit_LEDBackpack.cpp.o In file included from C:\users\sander.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:256:0, from lib\Adafruit-GFX-Library-1.2.9\Adafruit_GFX.h:5, from lib\Adafruit-GFX-Library-1.2.9\Adafruit_GFX.cpp:34: lib\Adafruit-GFX-Library-1.2.9\Adafruit_GFX.cpp: In member function 'void Adafruit_GFX::drawChar(int16_t, int16_t, unsigned char, uint16_t, uint16_t, uint8_t)': ` As you can see, there are a lot of syntax and library errors, looks like something isn't loaded correctly, but what...
This is the platformio.ini is use: ` ; PlatformIO Project Configuration File ; ; Build options: build flags, source filter, extra scripting ; Upload options: custom port, speed and extra flags ; Library options: dependencies, extra library storages ; ; Please visit documentation for the other options and examples ; http://docs.platformio.org/en/stable/projectconf.html
[platformio] src_dir = sonoff
; *** Uncomment one of the lines below to build/upload only one environment ;env_default = sonoff ;env_default = sonoff-minimal ;env_default = sonoff-basic ;env_default = sonoff-classic ;env_default = sonoff-knx ;env_default = sonoff-sensors ;env_default = sonoff-display ;env_default = sonoff-BG ;env_default = sonoff-BR ;env_default = sonoff-CN ;env_default = sonoff-CZ ;env_default = sonoff-DE ;env_default = sonoff-ES ;env_default = sonoff-FR ;env_default = sonoff-GR ;env_default = sonoff-HE ;env_default = sonoff-HU ;env_default = sonoff-IT ;env_default = sonoff-NL ;env_default = sonoff-PL ;env_default = sonoff-PT ;env_default = sonoff-RU ;env_default = sonoff-TR ;env_default = sonoff-TW ;env_default = sonoff-UK env_default = wemos-d1-mini
[common] ; **** ; Esp8266 core for Arduino version 2.3.0 platform = espressif8266@1.5.0 ; Esp8266 core for Arduino version 2.4.2 ;platform = espressif8266@1.8.0 ; Esp8266 core for Arduino version Core 2.5.0 beta tested for Tasmota ;platform = https://github.com/Jason2866/platform-espressif8266.git#Tasmota ; Esp8266 core for Arduino version latest beta ;platform = https://github.com/platformio/platform-espressif8266.git#feature/stage ; *** Esp8266 core for Arduino current version (located in %USERPROFILE%.platformio\platforms\espressif8266) ;platform = espressif8266
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 = ; if using esp8266 core 2.5.0 (stage) or up ; -Wl,-Tesp8266.flash.1m.ld -Wl,-Map,firmware.map ; if using esp8266 core < 2.5.0 -Wl,-Tesp8266.flash.1m0.ld -Wl,-Map,firmware.map -mtarget-align ; -DUSE_CONFIG_OVERRIDE ; lwIP 1.4 (Default) ; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH ; 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
; *** Upload Serial reset method for Wemos and NodeMCU 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
; *** Upload file to OTA server using SCP ;upload_port = user@host:/path ;extra_scripts = pio/strip-floats.py, pio/sftp-uploader.py
; *** Upload file to OTA server using HTTP ;upload_port = domus1:80/api/upload-arduino.php ;extra_scripts = pio/strip-floats.py, pio/http-uploader.py
; *****
[env:sonoff] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-minimal] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DBE_MINIMAL monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-basic] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DUSE_BASIC monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-classic] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DUSE_CLASSIC monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-knx] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DUSE_KNX_NO_EMULATION monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-sensors] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DUSE_SENSORS monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-display] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DUSE_DISPLAYS monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-BG] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-BR] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-BR monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-CN] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-CN monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-CZ] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=cs-CZ monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-DE] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-ES] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=es-AR monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-FR] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=fr-FR monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-GR] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=el-GR monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-HE] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=he-HE monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-HU] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=hu-HU monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-IT] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=it-IT monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-NL] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-PL] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=pl-PL monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-PT] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-PT monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-RU] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=ru-RU monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-TR] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=tr-TR monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-TW] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-TW monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:sonoff-UK] platform = ${common.platform} framework = ${common.framework} board = ${common.board} board_build.flash_mode = ${common.board_build.flash_mode} board_build.f_cpu = ${common.board_build.f_cpu} build_unflags = ${common.build_unflags} build_flags = ${common.build_flags} -DMY_LANGUAGE=uk-UK monitor_speed = ${common.monitor_speed} upload_port = ${common.upload_port} upload_resetmethod = ${common.upload_resetmethod} upload_speed = ${common.upload_speed} extra_scripts = ${common.extra_scripts}
[env:wemos-d1-mini] platform = espressif8266 framework = arduino board = esp01_1m board_build.flash_mode = dout build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON extra_scripts = pio/strip-floats.py
; Serial Monitor options monitor_speed = 115200 ; Upload Serial reset method for Wemos and NodeMCU upload_resetmethod = nodemcu upload_speed = 115200 ;upload_port = COM6 ; Upload file to OTA server using SCP ;upload_port = user@host:/path ;extra_scripts = pio/strip-floats.py, pio/sftp-uploader.py ; Upload file to OTA server using HTTP ;upload_port = domus1:80/api/upload-arduino.php ;extra_scripts = pio/strip-floats.py, pio/http-uploader.py`
To be honest, I'm out of options, I've tried all things I could think of and could find on the forums, anyone an idea?