You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from sketch/Settings.h:152:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/Display.h: In function 'void tft_begin()':
Display.h:118:45: error: no matching function for call to 'M5Stack::begin(bool, bool, bool, bool, bool)'
M5.begin( true, true, false, false, false ); // don't start Serial
^
In file included from sketch/Display.h:5:0,
from sketch/Settings.h:152,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
/Users/mishamarinenko/Documents/Arduino/libraries/M5Stack-master/src/M5Stack.h:125:14: note: candidate: void M5Stack::begin(bool, bool, bool, bool)
void begin(bool LCDEnable = true, bool SDEnable = true, bool SerialEnable = true, bool I2CEnable = false);
^
/Users/mishamarinenko/Documents/Arduino/libraries/M5Stack-master/src/M5Stack.h:125:14: note: candidate expects 4 arguments, 5 provided
In file included from sketch/Settings.h:152:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/Display.h: At global scope:
Display.h:190:86: error: 'RGBColor' has not been declared
void tft_fillGradientHRect( uint16_t x, uint16_t y, uint16_t width, uint16_t height, RGBColor colorstart, RGBColor colorend ) {
^
Display.h:190:107: error: 'RGBColor' has not been declared
void tft_fillGradientHRect( uint16_t x, uint16_t y, uint16_t width, uint16_t height, RGBColor colorstart, RGBColor colorend ) {
^
sketch/Display.h: In function 'void tft_fillGradientHRect(uint16_t, uint16_t, uint16_t, uint16_t, int, int)':
Display.h:195:18: error: 'class TFT_eSprite' has no member named 'drawGradientHLine'
gradientSprite.drawGradientHLine( 0, 0, width, colorstart, colorend );
^
sketch/Display.h: At global scope:
Display.h:202:86: error: 'RGBColor' has not been declared
void tft_fillGradientVRect( uint16_t x, uint16_t y, uint16_t width, uint16_t height, RGBColor colorstart, RGBColor colorend ) {
^
Display.h:202:107: error: 'RGBColor' has not been declared
void tft_fillGradientVRect( uint16_t x, uint16_t y, uint16_t width, uint16_t height, RGBColor colorstart, RGBColor colorend ) {
^
sketch/Display.h: In function 'void tft_fillGradientVRect(uint16_t, uint16_t, uint16_t, uint16_t, int, int)':
Display.h:207:18: error: 'class TFT_eSprite' has no member named 'drawGradientVLine'
gradientSprite.drawGradientVLine( 0, 0, height, colorstart, colorend );
^
sketch/Display.h: At global scope:
Display.h:214:65: error: 'RGBColor' has not been declared
void tft_drawGradientHLine( uint32_t x, uint32_t y, uint32_t w, RGBColor colorstart, RGBColor colorend ) {
^
Display.h:214:86: error: 'RGBColor' has not been declared
void tft_drawGradientHLine( uint32_t x, uint32_t y, uint32_t w, RGBColor colorstart, RGBColor colorend ) {
^
Display.h:218:65: error: 'RGBColor' has not been declared
void tft_drawGradientVLine( uint32_t x, uint32_t y, uint32_t h, RGBColor colorstart, RGBColor colorend ) {
^
Display.h:218:86: error: 'RGBColor' has not been declared
void tft_drawGradientVLine( uint32_t x, uint32_t y, uint32_t h, RGBColor colorstart, RGBColor colorend ) {
^
In file included from sketch/Settings.h:222:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
ScrollPanel.h:53:5: error: 'RGBColor' does not name a type
RGBColor BGColorStart;
^
ScrollPanel.h:54:5: error: 'RGBColor' does not name a type
RGBColor BGColorEnd;
^
ScrollPanel.h:72:54: error: 'RGBColor' has not been declared
void setupScrollArea(uint16_t TFA, uint16_t BFA, RGBColor colorstart, RGBColor colorend, bool clear = false) {
^
ScrollPanel.h:72:75: error: 'RGBColor' has not been declared
void setupScrollArea(uint16_t TFA, uint16_t BFA, RGBColor colorstart, RGBColor colorend, bool clear = false) {
^
sketch/ScrollPanel.h: In member function 'void ScrollableOutput::setupScrollArea(uint16_t, uint16_t, int, int, bool)':
ScrollPanel.h:73:7: error: 'BGColorStart' was not declared in this scope
BGColorStart = colorstart;
^
ScrollPanel.h:74:7: error: 'BGColorEnd' was not declared in this scope
BGColorEnd = colorend;
^
In file included from sketch/Settings.h:222:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/ScrollPanel.h: In member function 'int ScrollableOutput::scroll(const char*)':
ScrollPanel.h:161:61: error: 'BGColorStart' was not declared in this scope
tft_fillGradientHRect( 0, scrollPosY, width/2, h_tmp, BGColorStart, BGColorEnd );
^
ScrollPanel.h:161:75: error: 'BGColorEnd' was not declared in this scope
tft_fillGradientHRect( 0, scrollPosY, width/2, h_tmp, BGColorStart, BGColorEnd );
^
In file included from sketch/Settings.h:152:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/SDUtils.h: In function 'bool SDSetup()':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/Display.h:26:18: note: in expansion of macro 'BLE_FS'
#define SD_begin BLE_FS.begin
^
sketch/SDUtils.h:9:10: note: in expansion of macro 'SD_begin'
if ( SD_begin() ) {
^
In file included from sketch/Settings.h:224:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/UI.h: In member function 'void UIUtils::init()':
UI.h:205:7: error: 'RGBColor' was not declared in this scope
RGBColor colorstart = { 0x44, 0x44, 0x88 };
^
UI.h:206:16: error: expected ';' before 'colorend'
RGBColor colorend = { 0x22, 0x22, 0x44 };
^
UI.h:210:76: error: 'colorstart' was not declared in this scope
tft_fillGradientHRect( 0, headerHeight, Out.width/2, scrollHeight, colorstart, colorend );
^
UI.h:210:88: error: 'colorend' was not declared in this scope
tft_fillGradientHRect( 0, headerHeight, Out.width/2, scrollHeight, colorstart, colorend );
^
UI.h:232:56: error: 'colorstart' was not declared in this scope
Out.setupScrollArea( headerHeight, footerHeight, colorstart, colorend );
^
UI.h:232:68: error: 'colorend' was not declared in this scope
Out.setupScrollArea( headerHeight, footerHeight, colorstart, colorend );
^
In file included from sketch/Settings.h:224:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/UI.h: In static member function 'static void UIUtils::screenShot()':
UI.h:305:10: error: 'class M5Stack' has no member named 'ScreenShot'
M5.ScreenShot.snap("BLECollector", true);
^
In file included from sketch/Settings.h:152:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/UI.h: In static member function 'static void UIUtils::screenShow(void*)':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/UI.h:316:14: note: in expansion of macro 'BLE_FS'
if( !BLE_FS.exists( (const char*)fileName ) ) {
^
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/UI.h:323:26: note: in expansion of macro 'BLE_FS'
tft.drawJpgFile( BLE_FS, (const char*)fileName, 0, 0, Out.width, Out.height, 0, 0, JPEG_DIV_NONE );
^
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/UI.h:329:31: note: in expansion of macro 'BLE_FS'
File screenshotFile = BLE_FS.open( (const char*)fileName );
^
sketch/DB.h: In member function 'bool DBUtils::init()':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/DB.h:264:12: note: in expansion of macro 'BLE_FS'
if( !BLE_FS.exists( BLEMacsDbFSPath ) ) {
^
sketch/DB.h: In static member function 'static bool DBUtils::checkFile(const char*, size_t)':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/DB.h:325:13: note: in expansion of macro 'BLE_FS'
if( ! BLE_FS.exists( fileName ) ) {
^
sketch/DB.h: In member function 'bool DBUtils::maintain()':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/DB.h:476:14: note: in expansion of macro 'BLE_FS'
if( !BLE_FS.exists( BLEMacsDbFSPath ) ) {
^
In file included from /Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/esp32-hal.h:50:0,
from /Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/Arduino.h:35,
from sketch/ESP32-BLECollector.ino.cpp:1:
sketch/DB.h: In member function 'void DBUtils::loadVendorsToPSRam()':
DB.h:639:99: error: 'rnd' was not declared in this scope
log_i("Testing random vendor mac #%d: %d / %s", random(0, VendorDBSize), VendorPsramCache[rnd]->devid[0], VendorPsramCache[rnd]->vendor );
^
/Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/esp32-hal-log.h:97:72: note: in definition of macro 'log_i'
#define log_i(format, ...) log_printf(ARDUHAL_LOG_FORMAT(I, format), ##__VA_ARGS__)
^
sketch/DB.h: In member function 'void DBUtils::loadOUIToPSRam()':
DB.h:660:88: error: 'rnd' was not declared in this scope
log_i("Testing random mac #%06X: %s / %s", random(0, OUIDBSize), OuiPsramCache[rnd]->mac, OuiPsramCache[rnd]->assignment );
^
/Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/esp32-hal-log.h:97:72: note: in definition of macro 'log_i'
#define log_i(format, ...) log_printf(ARDUHAL_LOG_FORMAT(I, format), ##__VA_ARGS__)
^
In file included from sketch/Settings.h:152:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/DB.h: In member function 'void DBUtils::resetDB()':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/DB.h:808:7: note: in expansion of macro 'BLE_FS'
BLE_FS.remove( BLEMacsDbFSPath );
^
sketch/BLEFileSharing.h: In function 'void FileSharingReceiveFile(const char*)':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/BLEFileSharing.h:402:18: note: in expansion of macro 'BLE_FS'
FileReceiver = BLE_FS.open( filename, FILE_WRITE );
^
sketch/BLEFileSharing.h: In member function 'virtual void FileSharingRouteCallbacks::onWrite(BLECharacteristic*)':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/BLEFileSharing.h:509:21: note: in expansion of macro 'BLE_FS'
File root = BLE_FS.open("/");
^
sketch/BLEFileSharing.h: In function 'void FileSharingSendFile(BLERemoteCharacteristic*, const char*)':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/BLEFileSharing.h:698:25: note: in expansion of macro 'BLE_FS'
File fileToTransfer = BLE_FS.open( filename );
^
sketch/BLE.h: In static member function 'static void BLEScanUtils::rmFileTask(void*)':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/BLE.h:519:14: note: in expansion of macro 'BLE_FS'
if ( BLE_FS.remove( (const char*)param ) ) {
^
In file included from sketch/Settings.h:227:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/BLE.h: In static member function 'static void BLEScanUtils::screenShotTask(void*)':
BLE.h:546:12: error: 'class M5Stack' has no member named 'ScreenShot'
M5.ScreenShot.init( &tft, BLE_FS );
^
In file included from sketch/Settings.h:152:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/BLE.h:546:35: note: in expansion of macro 'BLE_FS'
M5.ScreenShot.init( &tft, BLE_FS );
^
In file included from sketch/Settings.h:227:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
BLE.h:547:12: error: 'class M5Stack' has no member named 'ScreenShot'
M5.ScreenShot.begin();
^
In file included from sketch/Settings.h:152:0,
from /Users/mishamarinenko/Downloads/ESP32-BLECollector-master/ESP32-BLECollector/ESP32-BLECollector.ino:50:
sketch/BLE.h: In static member function 'static void BLEScanUtils::listDirTask(void*)':
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/BLE.h:563:14: note: in expansion of macro 'BLE_FS'
if(! BLE_FS.exists( (const char*)param ) ) {
^
Display.h:17:16: error: 'M5STACK_SD' was not declared in this scope
#define BLE_FS M5STACK_SD // inherited from ESP32-Chimera-Core
^
sketch/BLE.h:569:17: note: in expansion of macro 'BLE_FS'
listDir(BLE_FS, "/", 0, DB.BLEMacsDbFSPath);
^
In file included from /Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/esp32-hal.h:50:0,
from /Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/Arduino.h:35,
from sketch/ESP32-BLECollector.ino.cpp:1:
sketch/BLE.h: In static member function 'static void BLEScanUtils::dumpStats(const char*)':
BLE.h:1100:9: error: 'SelfCacheHit' was not declared in this scope
SelfCacheHit,
^
/Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/cores/esp32/esp32-hal-log.h:97:72: note: in definition of macro 'log_i'
#define log_i(format, ...) log_printf(ARDUHAL_LOG_FORMAT(I, format), ##__VA_ARGS__)
^
Несколько библиотек найдено для "WiFiClient.h"
Используется: /Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
Не используется: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Несколько библиотек найдено для "SD.h"
Используется: /Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SD
Не используется: /Applications/Arduino.app/Contents/Java/libraries/SD
Несколько библиотек найдено для "M5Stack.h"
Используется: /Users/mishamarinenko/Documents/Arduino/libraries/M5Stack-master
Не используется: /Users/mishamarinenko/Documents/Arduino/libraries/ESP32-Chimera-Core-master
Несколько библиотек найдено для "BLEDevice.h"
Используется: /Users/mishamarinenko/Documents/Arduino/libraries/BLE
Не используется: /Users/mishamarinenko/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/BLE
exit status 1
no matching function for call to 'M5Stack::begin(bool, bool, bool, bool, bool)'
The text was updated successfully, but these errors were encountered:
this shows you didn't apply the suggestions for ESP32-Chimera-Core, either delete the M5Stak-master folder or replace any M5Stack.h inclusion by ESP32-Chimera-Core.h
Any followup on this ? I'll close your two other issues so we can dissuss this on a single thread
Current state of the project: I'm testing some fixes accordingly to your feedback (starting with the compilation warnings), and I will push some changes soon on the unstable branch.
File
Display.h
The text was updated successfully, but these errors were encountered: