Hello, friends!
I have completed my boiler etc ..
And now I'm on my way of building automatics. The electric part is done 100%. I have got stuck with building the project.
I'm using WEMOS D1 mini , so I have decided to recompile version 0.5. But the configuration itself is typical -one heater, one pump, one sensor. I'm not new to microcontrollers, but I have never delt with VS Code + platformio. So I started with some help videos,
installed everything and ... then I've got 400+ errors.
I assume the problem is somwhere in depth configuration but I have no idea where to got.
Please, give me a hand )
Some output (terminated after some errors) is below:
Executing task: C:\Users\User\.platformio\penv\Scripts\platformio.exe run <
Processing wemosd1mini (platform: espressif8266@~2.6.2; board:
d1_mini; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION:
Redirecting...
PLATFORM: Espressif 8266 (2.6.3) > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif8266 3.20704.0 (2.7.4)
- tool-esptool 1.413.0 (4.13)
- tool-esptoolpy 1.30000.201119 (3.0.0)
- toolchain-xtensa 2.40802.200502 (4.8.2)
LDF: Library Dependency Finder ->
Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <ArduinoJson> 6.10.0
|-- <EEPROM> 1.0
|-- <OneWire> 2.3.5
|-- <PID_AutoTune_v0>
|-- <PID_v1>
|-- <ArduinoOTA> 1.0
| |-- <ESP8266WiFi> 1.0
| |-- <ESP8266mDNS> 1.2
| | |-- <ESP8266WiFi> 1.0
|-- <ESP8266mDNS> 1.2
| |-- <ESP8266WiFi> 1.0
|-- <ESP8266WiFi> 1.0
|-- <ESPAsyncTCP> 1.1.3
| |-- <ESP8266WiFi> 1.0
|-- <ESP Async WebServer> 1.2.2
| |-- <ESPAsyncTCP> 1.1.3
| | |-- <ESP8266WiFi> 1.0
| |-- <Hash> 1.0
| |-- <ESP8266WiFi> 1.0
| |-- <ArduinoJson> 6.10.0
|-- <Hash> 1.0
|-- <LittleFS(esp8266)> 0.1.0
|-- <EspSoftwareSerial> 6.8.5
|-- <Wire> 1.0
|-- <ESP8266HTTPUpdateServer> 1.0
| |-- <ESP8266WebServer> 1.0
| | |-- <ESP8266WiFi> 1.0
| |-- <ESP8266WiFi> 1.0
|-- <ESP8266WebServer> 1.0
| |-- <ESP8266WiFi> 1.0
|-- <ESP8266HTTPClient> 1.2
| |-- <ESP8266WiFi> 1.0
|-- <ESP8266httpUpdate> 1.3
| |-- <ESP8266HTTPClient> 1.2
| | |-- <ESP8266WiFi> 1.0
| |-- <ESP8266WiFi> 1.0
|-- <DNSServer> 1.1.1
| |-- <ESP8266WiFi> 1.0
|-- <PCF8574 - library for ESP8266> 1.0.0
| |-- <Wire> 1.0
|-- <ESP8266_SSD1306> 4.0.0
| |-- <Wire> 1.0
|-- <LiquidCrystal_I2C_V3-master>
| |-- <Wire> 1.0
Building in release mode
Compiling .pio\build\wemosd1mini\src\BackupService.cpp.o
Compiling .pio\build\wemosd1mini\src\BrewManiac.cpp.o
Compiling .pio\build\wemosd1mini\src\BrewManiacEx.cpp.o
Compiling .pio\build\wemosd1mini\src\BrewManiacWeb.cpp.o
Compiling .pio\build\wemosd1mini\src\ESP32HTTPUpdateServer.cpp.o
Compiling .pio\build\wemosd1mini\src\ESPUpdateServer.cpp.o
Compiling .pio\build\wemosd1mini\src\EmbeddedFiles.cpp.o
Compiling .pio\build\wemosd1mini\src\FsEeprom.cpp.o
Compiling .pio\build\wemosd1mini\src\HttpUpdateHandler.cpp.o
Compiling .pio\build\wemosd1mini\src\TimeKeeper.cpp.o
In file included from src\BrewManiac.cpp:34:0:
src\BrewLogger.h:556:19: error: storage class specified for 'brewLogger'
extern BrewLogger brewLogger;
^
src\BrewLogger.h:556:19: error: field 'brewLogger' has incomplete type
src\BrewManiac.cpp:337:6: error: 'void BrewLogger::setEventMask(byte)'
cannot be overloaded
void setEventMask(byte mask)
^
src\BrewManiac.cpp:137:6: error: with 'void BrewLogger::setEventMask(byte)'
void setEventMask(byte);
^
In file included from src\BrewManiac.cpp:346:0:
src\buzz.h:41:65: error: section attribute not allowed for
'_soundIdTemperatureReached'
const byte _soundIdTemperatureReached[] PROGMEM ={5,10,3,10,3,10};
^
src\buzz.h:42:70: error: section attribute not allowed for '_soundIdCountDown'
const byte _soundIdCountDown[] PROGMEM
={9,20,20,20,20,20,20,20,20,40}; // 5 seconds
^
src\buzz.h:44:98: error: section attribute not allowed for '_soundIdAddHop'
const byte _soundIdAddHop[] PROGMEM
={19,30,10,30,10,30,10,30,10,30,10,30,10,30,10,30,10,30,10,40}; // 10
seconds
^
src\buzz.h:45:59: error: section attribute not allowed for
'_soundIdWaitUserInteraction'
const byte _soundIdWaitUserInteraction[] PROGMEM ={2,10,30};
^
src\buzz.h:46:46: error: section attribute not allowed for '_soundIdBrewEnd'
const byte _soundIdBrewEnd[] PROGMEM ={2,37,7};
^
src\buzz.h:52:16: error: section attribute not allowed for '_sounds'
_soundIdBrewEnd};
^
In file included from src\BrewManiac.cpp:351:0:
src\resources.h:28:23: error: section attribute not allowed for 'C_IpAddress'
StringConst(IpAddress,"IP:");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:29:31: error: section attribute not allowed for
'C_HS_Session_Number'
StringConst(HS_Session_Number,"HS Session");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:30:22: error: section attribute not allowed for 'C_HS_Start'
StringConst(HS_Start,"Start HS");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:31:21: error: section attribute not allowed for 'C_HS_Keep'
StringConst(HS_Keep,"Keep HS");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:32:19: error: section attribute not allowed for 'C_PBH_x'
StringConst(PBH_x,"PBH #");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:34:17: error: section attribute not allowed for 'C_min'
StringConst(min,"min");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\config.h:201:25: error: section attribute not allowed for 'C_welcome'
#define BME8266_VERSION "0.5"
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:22:34: note: in expansion of macro '_makeVERSION_INFORMATION'
#define _makeVERSION_indirect(v) _makeVERSION_INFORMATION(v)
^
src\resources.h:23:30: note: in expansion of macro '_makeVERSION_indirect'
#define VERSION_INFORMATION _makeVERSION_indirect(BME8266_VERSION)
^
src\resources.h:23:52: note: in expansion of macro 'BME8266_VERSION'
#define VERSION_INFORMATION _makeVERSION_indirect(BME8266_VERSION)
^
src\resources.h:36:22: note: in expansion of macro 'VERSION_INFORMATION'
StringConst( welcome,VERSION_INFORMATION);
^
src\resources.h:38:29: error: section attribute not allowed for
'C_Initialization'
StringConst( Initialization,"Connecting..");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:39:27: error: section attribute not allowed for 'C_SetupNetwork'
StringConst( SetupNetwork,"Setup Network");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:42:30: error: section attribute not allowed for
'C_To_be_started_in'
StringConst(To_be_started_in,"To be started in");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:43:28: error: section attribute not allowed for
'C_Setting_Delay'
StringConst( Setting_Delay,"Setting Delay");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:44:26: error: section attribute not allowed for 'C_Delay_Start'
StringConst( Delay_Start,"Delay Start?");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:47:29: error: section attribute not allowed for
'C_No_Delay_Start'
StringConst( No_Delay_Start,"No Delay Start");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:49:29: error: section attribute not allowed for
'C_Resume_Process'
StringConst( Resume_Process,"Resume Process?");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:51:23: error: section attribute not allowed for 'C_In_Pause'
StringConst( In_Pause,"In Pause");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:52:26: error: section attribute not allowed for 'C_IODINE_TEST'
StringConst( IODINE_TEST,"IODINE TEST");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:53:29: error: section attribute not allowed for
'C_AutomaticMode'
StringConst( AutomaticMode, "AUTOMATIC MODE");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:54:26: error: section attribute not allowed for 'C_Pump_Prime'
StringConst( Pump_Prime, "Pump Prime");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:55:26: error: section attribute not allowed for 'C_Auto_Label'
StringConst( Auto_Label, "AUTO -->");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:70:33: error: section attribute not allowed for
'C_TemperatureReached'
StringConst( TemperatureReached,"Temp. Reached!");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:71:23: error: section attribute not allowed for 'C_Add_Malt'
StringConst(Add_Malt, "Add Malt");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:72:26: error: section attribute not allowed for 'C_Remove_Malt'
StringConst(Remove_Malt, "Remove Malt");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:75:28: error: section attribute not allowed for
'C_Skip_Or_Extend'
StringConst(Skip_Or_Extend,"Extend, or Skip?");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:82:27: error: section attribute not allowed for
'C_START_COOLING'
StringConst(START_COOLING,"START COOLING");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:83:23: error: section attribute not allowed for 'C_WHIRLPOOL'
StringConst(WHIRLPOOL,"WHIRLPOOL");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:84:31: error: section attribute not allowed for
'C_Timeing_Whirlpool'
StringConst(Timeing_Whirlpool,"Timing Whirlpool");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:86:29: error: section attribute not allowed for
'C_Brewing_Process'
StringConst(Brewing_Process,"Brewing Process");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:87:22: error: section attribute not allowed for 'C_Finished'
StringConst(Finished,"Finished");
^
src\resources.h:15:57: note: in definition of macro 'StringConst'
#define StringConst(v,c) const char C_##v [] PROGMEM = c
^
src\resources.h:92:39: error: section attribute not allowed for
'BtnLabel_x_x_Quit_Go'
DefineButtonLabel( x_x_Quit_Go, " Quit Go",0);
^
src\resources.h:18:99: note: in definition of macro 'DefineButtonLabel'
#define DefineButtonLabel(N,S,v) const byte BtnLabelId_##N=v; const
char BtnLabel_##N[] PROGMEM = S
^
src\resources.h:94:39: error: section attribute not allowed for
'BtnLabel_x_x_x_Ok'
DefineButtonLabel( x_x_x_Ok, "--- --- --- Ok",1);
^
src\resources.h:18:99: note: in definition of macro 'DefineButtonLabel'
#define DefineButtonLabel(N,S,v) const byte BtnLabelId_##N=v; const
char BtnLabel_##N[] PROGMEM = S
^
*** [.pio\build\wemosd1mini\src\HttpUpdateHandler.cpp.o] Build interrupted.
*** [.pio\build\wemosd1mini\src\FsEeprom.cpp.o] Build interrupted.
*** [.pio\build\wemosd1mini\src\TimeKeeper.cpp.o] Build interrupted.
*** [.pio\build\wemosd1mini\src\ESPUpdateServer.cpp.o] Build interrupted.
*** [.pio\build\wemosd1mini\src\BrewManiac.cpp.o] Build interrupted.
*** [.pio\build\wemosd1mini\src\BrewManiacWeb.cpp.o] Build interrupted.
*** [.pio\build\wemosd1mini\src\EmbeddedFiles.cpp.o] Build interrupted.
*** [.pio\build\wemosd1mini\src\BrewManiacEx.cpp.o] Build interrupted.
Error: Aborted by user