Closed yesnomaybewtf closed 3 years ago
Which version of TC are you using?
Which version of TC are you using?
Webpage says TasmoCompiler v4.0.0-rc
It looks like there is a bug - in user_config_override.h
file there should be quotations marks around ssid/password/ip/gateway/subnet/dns.
Use previous version of TC until this will be fixed.
Yes, thank you!
OK it's fixed - you can use 4.0.0-rc version via gitpod. For docker images you have to wait a moment.
New images are pushed to docker hub. Try to pull newest and check if it works for you. This is release candidate version and it will be next major version of TasmoCompiler.
Hey, im using Tasmota Compiler in Docker on my RPi, and when i set Wifi Name and Password, the build fails with error. First i thought its because a Dot in my Wifi Name, but it happens also with (for example) testwlan. Im not sure which part of the Logfile is relevant, so here is the complete output.
`Processing firmware (platform: espressif8266 @ 2.6.2; framework: arduino; board: esp01_1m)
Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/esp01_1m.html PLATFORM: Espressif 8266 (2.6.2) > Espressif Generic ESP8266 ESP-01 1M HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash PACKAGES:toolchain-xtensa 2.40802.200502 (4.8.2) Converting tasmota.ino LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 80 compatible libraries Scanning dependencies... Dependency Graph |-- 1.0
|-- 0.6
|-- 1.0.0
| |-- 1.0
|-- 1.0.1
| |-- 1.0
|-- 1.1.2
| |-- 1.0
|-- 1.2.0
| |-- 1.0
|-- 1.0.0
| |-- 1.0.10
| | |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.3.1
| |-- 1.0
|-- 1.5.0
| |-- 1.0
| |-- 1.2
| | |-- 1.0
| |-- 1.0
| |-- <LittleFS(esp8266)> 0.1.0
| |-- <SD(esp8266)> 2.0.0
| | |-- 0.1.0
| | | |-- 1.0
| | | |-- 1.1.0
| | | | |-- 1.0
| |-- 0.1.0
| | |-- 1.0
| | |-- 1.1.0
| | | |-- 1.0
| |-- 1.1.0
| | |-- 1.0
|-- <EEPROM 24C128_256_521>
| |-- 1.0
|--
| |-- 1.0
|-- 1.1.3
|--
| |--
| | |-- 1.0
|-- 0.0.1
| |-- 1.0
|--
| |-- 1.0
|-- 0.9.0
|--
|-- <SD(esp8266)> 2.0.0
| |-- 0.1.0
| | |-- 1.0
| | |-- 1.1.0
| | | |-- 1.0
|-- 1.0
|-- 1.0
|-- 1.0.2
| |-- 1.0
|-- 1.0.1
| |-- 1.0
|-- 1.0.0
|--
| |-- 1.0
|-- 0.0.1
|-- 2.0.4
| |-- 3.1.0
|-- 1.5.6
| |-- 1.0
|-- 1.2.0
| |-- 1.5.6
| | |-- 1.0
| |-- 1.0
|-- 1.1.6
| |-- 1.5.6
| | |-- 1.0
| |-- 1.0
|-- 1.0
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.3.0
| |-- 1.5.6
| | |-- 1.0
| |-- 1.0
| |-- 1.0
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
|-- 1.2.0
| |-- 1.5.6
| | |-- 1.0
| |-- 1.0
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
|--
| |-- 1.0
|-- 0.9.5
| |-- 1.5.6
| | |-- 1.0
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.1.1
| |-- 1.0
|-- 1.2
| |-- 1.0
|-- 1.0
| |-- 1.5.0
| | |-- 1.0
| | |-- 1.2
| | | |-- 1.0
| | |-- 1.0
| | |-- <LittleFS(esp8266)> 0.1.0
| | |-- <SD(esp8266)> 2.0.0
| | | |-- 0.1.0
| | | | |-- 1.0
| | | | |-- 1.1.0
| | | | | |-- 1.0
| | |-- 0.1.0
| | | |-- 1.0
| | | |-- 1.1.0
| | | | |-- 1.0
| | |-- 1.1.0
| | | |-- 1.0
|-- 1.0
| |-- 1.0
|-- 1.3
| |-- 1.2
| | |-- 1.0
| |-- 1.0
|-- 1.2
| |-- 1.0
|-- 1.0.0
| |-- 1.0
|--
| |-- 1.0
|--
| |-- 1.0
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
|-- 1.0.2
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 2.7.14
|-- 1.0
|-- 1.1
|-- 1.0.0
| |-- 1.0
| |-- 1.0
|--
|--
| |-- 1.0
|-- <LittleFS(esp8266)> 0.1.0
|-- 1.4.7
| |-- 1.0
|--
| |-- 1.0
|-- 2.6.0
| |-- 1.0
|-- 1.9.1
|-- 2.3.2
|-- 2.7
|-- 1.0.2
| |-- 1.0
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
|-- 2.6.2
|-- 1.3.3
| |-- 1.0
|-- 1.0
|-- 1.0
|-- 1.0
| |-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| | |-- 1.5.6
| | | |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.2.0
| |-- 3.1.0
|-- 3.1.0
|-- 1.0
|-- 2.0.10
| |-- 1.0
|-- 1.0
|-- 1.1.1
|--
|-- <Waveshare esp 2.9 inch e-paper display driver> 1.0
| |-- 1.5.6
| | |-- 1.0
| |-- 1.0
|-- 0.5.2
| |-- 1.0
| |-- 1.0
| | |-- 1.0
| |-- 1.0
|-- 1.0.0
|--
Building in release mode
use provided user_config_override.h as planned
Use manually specified: COM5
Compiling .pio/build/firmware/src/StackThunk_light.cpp.o
In file included from tasmota/my_user_config.h:904:0,
from tasmota/StackThunk_light.cpp:28:
tasmota/user_config_override.h:4:2: warning: #warning user_config_override.h: Using Settings from this File [-Wcpp]
warning user_config_override.h: Using Settings from this File
^ Compiling .pio/build/firmware/src/WiFiClientSecureLightBearSSL.cpp.o In file included from tasmota/my_user_config.h:904:0, from tasmota/WiFiClientSecureLightBearSSL.cpp:23: tasmota/user_config_override.h:4:2: warning: #warning user_config_override.h: Using Settings from this File [-Wcpp]
warning user_config_override.h: Using Settings from this File
^ Compiling .pio/build/firmware/src/tasmota.ino.cpp.o Generating LD script .pio/build/firmware/ld/local.eagle.app.v6.common.ld Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/BearSSLHelpers.cpp.o Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/CertStoreBearSSL.cpp.o Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/ESP8266WiFi.cpp.o In file included from tasmota/my_user_config.h:904:0, from /tmp/Tasmota/tasmota/tasmota.ino:43: tasmota/user_config_override.h:4:2: warning: #warning user_config_override.h: Using Settings from this File [-Wcpp]
warning user_config_override.h: Using Settings from this File
^ Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/ESP8266WiFiAP.cpp.o Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/ESP8266WiFiGratuitous.cpp.o In file included from /root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0, from /root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63, from /root/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:32, from /tmp/tmpsylhy9dk:1: /tmp/Tasmota/tasmota/settings.ino: In function 'void SettingsDefaultSet2()': tasmota/user_config_override.h:9:19: error: 'testwlan' was not declared in this scope
define STA_SSID1 testwlan
/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:44:238: note: in definition of macro 'PSTRN'
define PSTRN(s,n) (extension({static const char c[] attribute((aligned(n))) attribute((section( "\".irom0.pstr." FILE "." STRINGIZE(LINE) "." STRINGIZE(COUNTER) "\", \"aSM\", @progbits, 1 #"))) = (s); &c[0];}))
/tmp/Tasmota/tasmota/settings.ino:796:36: note: in expansion of macro 'PSTR' SettingsUpdateText(SET_STASSID1, PSTR(STA_SSID1)); ^ /tmp/Tasmota/tasmota/settings.ino:796:41: note: in expansion of macro 'STA_SSID1' SettingsUpdateText(SET_STASSID1, PSTR(STA_SSID1)); ^ tasmota/user_config_override.h:14:19: error: 'testwlan' was not declared in this scope
define STA_PASS1 testwlan
/root/.platformio/packages/framework-arduinoespressif8266/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:44:238: note: in definition of macro 'PSTRN'
define PSTRN(s,n) (extension({static const char c[] attribute((aligned(n))) attribute((section( "\".irom0.pstr." FILE "." STRINGIZE(LINE) "." STRINGIZE(COUNTER) "\", \"aSM\", @progbits, 1 #"))) = (s); &c[0];}))
/tmp/Tasmota/tasmota/settings.ino:798:35: note: in expansion of macro 'PSTR' SettingsUpdateText(SET_STAPWD1, PSTR(STA_PASS1)); ^ /tmp/Tasmota/tasmota/settings.ino:798:40: note: in expansion of macro 'STA_PASS1' SettingsUpdateText(SET_STAPWD1, PSTR(STA_PASS1)); ^ In file included from tasmota/my_user_config.h:904:0, from /tmp/Tasmota/tasmota/tasmota.ino:43: /tmp/Tasmota/tasmota/support_command.ino: In function 'void CmndSsid()': tasmota/user_config_override.h:9:19: error: 'testwlan' was not declared in this scope
define STA_SSID1 testwlan
/tmp/Tasmota/tasmota/support_command.ino:1573:105: note: in expansion of macro 'STA_SSID1' (SC_CLEAR == Shortcut()) ? "" : (SC_DEFAULT == Shortcut()) ? (1 == XdrvMailbox.index) ? STA_SSID1 : STA_SSID2 : XdrvMailbox.data); ^ /tmp/Tasmota/tasmota/support_command.ino: In function 'void CmndPassword()': tasmota/user_config_override.h:14:19: error: 'testwlan' was not declared in this scope
define STA_PASS1 testwlan
/tmp/Tasmota/tasmota/support_command.ino:1587:103: note: in expansion of macro 'STA_PASS1' (SC_CLEAR == Shortcut()) ? "" : (SC_DEFAULT == Shortcut()) ? (1 == XdrvMailbox.index) ? STA_PASS1 : STA_PASS2 : XdrvMailbox.data); ^ /tmp/Tasmota/tasmota/xdrv_01_webserver.ino: At global scope: tasmota/user_config_override.h:9:19: error: expected ',' or ';' before 'testwlan'
define STA_SSID1 testwlan
/tmp/Tasmota/tasmota/xdrv_01_webserver.ino:262:32: note: in expansion of macro 'STA_SSID1' "
" D_AP1_SSID " (" STA_SSID1 ")
" // Need \" instead of ' to be able to use ' in text (#8489) ^ /tmp/Tasmota/tasmota/xdrv_01_webserver.ino: In function 'void WifiSaveSettings()': tasmota/user_config_override.h:9:19: error: 'testwlan' was not declared in this scope<input id='s1' placeholder=\"" STA_SSID1 "\" value=\"%s\">
define STA_SSID1 testwlan
/tmp/Tasmota/tasmota/xdrv_01_webserver.ino:1789:53: note: in expansion of macro 'STA_SSID1'
Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/ESP8266WiFiMulti.cpp.o Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o Compiling .pio/build/firmware/lib4d9/ESP8266WiFi/ESP8266WiFiSTA.cpp.o *** [.pio/build/firmware/src/tasmota.ino.cpp.o] Error 1 ========================= [FAILED] Took 20.38 seconds =========================
Environment Status Duration
firmware FAILED 00:00:20.379 ==================== 1 failed, 0 succeeded in 00:00:20.379 ==================== Finished. Exit code: 1. Welcome stranger!`