Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't compile - Arduino Ide 2.3.3 - need bin file for Esp32 Dev Wifi #68

Open
ronehorn opened this issue Oct 27, 2024 · 0 comments
Open

Comments

@ronehorn
Copy link

C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp: In function 'uint16_t fileCnt(uint8_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp:143:26: error: cannot convert 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
143 | while ( file.openNext( &aDir[level] ) ) {
| ^~~~~~~~~~~~
| |
| SdBaseFile* {aka FsBaseFile*}
In file included from c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatVolume.h:27,
from c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatLib.h:28,
from c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/SdFat.h:32,
from C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp:13:
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:613:26: note: initializing argument 1 of 'bool FatFile::openNext(FatFile*, oflag_t)'
613 | bool openNext(FatFile* dirFile, oflag_t oflag = O_RDONLY);
| ~~~~~~~~~^~~~~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp: In function 'boolean updateFilesBtn()':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp:171:27: error: cannot convert 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
171 | if ( ! file.openNext( &aDir[dirLevel] ) ) { // ouvre le prochain fichier dans le répertoire courant ; en cas d'erreur, retour à la page info avec un message d'erreur
| ^~~~~~~~~~~~~~~
| |
| SdBaseFile* {aka FsBaseFile*}
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:613:26: note: initializing argument 1 of 'bool FatFile::openNext(FatFile*, oflag_t)'
613 | bool openNext(FatFile* dirFile, oflag_t oflag = O_RDONLY);
| ~~~~~~~~~^~~~~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp:185:27: error: cannot convert 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
185 | if ( ! file.openNext( &aDir[dirLevel] ) ) {
| ^~~~~~~~~~~~~~~
| |
| SdBaseFile* {aka FsBaseFile*}
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:613:26: note: initializing argument 1 of 'bool FatFile::openNext(FatFile*, oflag_t)'
613 | bool openNext(FatFile* dirFile, oflag_t oflag = O_RDONLY);
| ~~~~~~~~~^~~~~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp: In function 'boolean setFileToRead(uint8_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\menu_file.cpp:261:18: error: no matching function for call to 'File32::open(SdBaseFile*, char [50], int)'
261 | fileToShow.open( &aDir[dirLevel] , fileToShowName, O_READ ) ; // open the current file for browsing
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:505:8: note: candidate: 'bool FatFile::open(FatVolume*, const char*, oflag_t)'
505 | bool open(FatVolume* vol, const char* path, oflag_t oflag = O_RDONLY);
| ^~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:505:24: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatVolume*'
505 | bool open(FatVolume* vol, const char* path, oflag_t oflag = O_RDONLY);
| ~~~~~~~~~~~^~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:519:8: note: candidate: 'bool FatFile::open(FatFile*, uint16_t, oflag_t)'
519 | bool open(FatFile* dirFile, uint16_t index, oflag_t oflag = O_RDONLY);
| ^~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:519:22: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
519 | bool open(FatFile* dirFile, uint16_t index, oflag_t oflag = O_RDONLY);
| ~~~~~~~~~^~~~~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:531:8: note: candidate: 'bool FatFile::open(uint16_t, oflag_t)'
531 | bool open(uint16_t index, oflag_t oflag = O_RDONLY);
| ^~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:531:8: note: candidate expects 2 arguments, 3 provided
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:577:8: note: candidate: 'bool FatFile::open(FatFile*, const char*, oflag_t)'
577 | bool open(FatFile* dirFile, const char* path, oflag_t oflag = O_RDONLY);
| ^~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:577:22: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
577 | bool open(FatFile* dirFile, const char* path, oflag_t oflag = O_RDONLY);
| ~~~~~~~~~^~~~~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:587:8: note: candidate: 'bool FatFile::open(const char*, oflag_t)'
587 | bool open(const char* path, oflag_t oflag = O_RDONLY);
| ^~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:587:8: note: candidate expects 2 arguments, 3 provided
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1047:8: note: candidate: 'bool FatFile::open(FatFile*, FatLfn_t*, oflag_t)'
1047 | bool open(FatFile* dirFile, FatLfn_t* fname, oflag_t oflag);
| ^~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1047:22: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
1047 | bool open(FatFile* dirFile, FatLfn_t* fname, oflag_t oflag);
| ~~~~~~~~~^~~~~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1048:8: note: candidate: 'bool FatFile::open(FatFile*, FatSfn_t*, oflag_t)'
1048 | bool open(FatFile* dirFile, FatSfn_t* fname, oflag_t oflag);
| ^~~~
c:\Users\roneh\OneDrive\Documents\Arduino\libraries\SdFat\src/FatLib/FatFile.h:1048:22: note: no known conversion for argument 1 from 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'
1048 | bool open(FatFile* dirFile, FatSfn_t* fname, oflag_t oflag);
| ~~~~~~~~~^~~~~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\com.cpp: In function 'void sendFromString()':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\com.cpp:564:13: error: 'gcvt' was not declared in this scope
564 | gcvt(savedWposXYZA[2], 3, floatToString); // convert float to string
| ^~~~
In file included from C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.h:52,
from C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\config.h:247,
from C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\grbl_controller_esp32.ino:71:
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.c: In function 'void dc_callback(spi_transaction_t*)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:126:22: error: 'GPIO' was not declared in this scope
126 | #define DC_D GPIO.out_w1ts = (1 << TFT_DC)//;GPIO.out_w1ts = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.c:676:28: note: in expansion of macro 'DC_D'
676 | if ((bool)spi_tx->user) {DC_D;}
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.c:677:9: note: in expansion of macro 'DC_C'
677 | else {DC_C;}
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::begin_tft_write()':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:162:22: error: 'GPIO' was not declared in this scope
162 | #define CS_L GPIO.out1_w1tc.val = (1 << (TFT_CS - 32)); GPIO.out1_w1tc.val = (1 << (TFT_CS - 32))
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:59:5: note: in expansion of macro 'CS_L'
59 | CS_L;
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::end_tft_write()':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:163:22: error: 'GPIO' was not declared in this scope
163 | #define CS_H GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))//;GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:78:7: note: in expansion of macro 'CS_H'
78 | CS_H;
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::begin_tft_read()':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:162:22: error: 'GPIO' was not declared in this scope
162 | #define CS_L GPIO.out1_w1tc.val = (1 << (TFT_CS - 32)); GPIO.out1_w1tc.val = (1 << (TFT_CS - 32))
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:99:5: note: in expansion of macro 'CS_L'
99 | CS_L;
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::end_tft_read()':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:163:22: error: 'GPIO' was not declared in this scope
163 | #define CS_H GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))//;GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:330:7: note: in expansion of macro 'CS_H'
330 | CS_H;
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::writecommand(uint8_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:802:3: note: in expansion of macro 'DC_C'
802 | DC_C;
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::writedata(uint8_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:126:22: error: 'GPIO' was not declared in this scope
126 | #define DC_D GPIO.out_w1ts = (1 << TFT_DC)//;GPIO.out_w1ts = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:821:3: note: in expansion of macro 'DC_D'
821 | DC_D; // Play safe, but should already be in data mode
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'uint8_t TFT_eSPI::readcommand8(uint8_t, uint8_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:858:3: note: in expansion of macro 'DC_C'
858 | DC_C; tft_Write_8(0xD9);
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'uint16_t TFT_eSPI::readPixel(int32_t, int32_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:163:22: error: 'GPIO' was not declared in this scope
163 | #define CS_H GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))//;GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:1014:3: note: in expansion of macro 'CS_H'
1014 | CS_H;
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::readRectRGB(int32_t, int32_t, int32_t, int32_t, uint8_t*)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:163:22: error: 'GPIO' was not declared in this scope
163 | #define CS_H GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))//;GPIO.out1_w1ts.val = (1 << (TFT_CS - 32))
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:1790:3: note: in expansion of macro 'CS_H'
1790 | CS_H;
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::setWindow(int32_t, int32_t, int32_t, int32_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:2884:3: note: in expansion of macro 'DC_C'
2884 | DC_C; tft_Write_8(TFT_CASET);
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'void TFT_eSPI::readAddrWindow(int32_t, int32_t, int32_t, int32_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:2922:3: note: in expansion of macro 'DC_C'
2922 | DC_C; tft_Write_8(TFT_CASET);
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp: In member function 'virtual void TFT_eSPI::drawPixel(int32_t, int32_t, uint32_t)':
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:3002:5: note: in expansion of macro 'DC_C'
3002 | DC_C; tft_Write_8(TFT_CASET);
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:3009:5: note: in expansion of macro 'DC_C'
3009 | DC_C; tft_Write_8(TFT_PASET);
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\Processors\TFT_eSPI_ESP32.h:125:22: error: 'GPIO' was not declared in this scope
125 | #define DC_C GPIO.out_w1tc = (1 << TFT_DC)//;GPIO.out_w1tc = (1 << TFT_DC)
| ^~~~
C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\TFT_eSPI_ms\TFT_eSPI.cpp:3014:3: note: in expansion of macro 'DC_C'
3014 | DC_C; tft_Write_8(TFT_RAMWR);
| ^~~~
In file included from C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\browser.cpp:11:
In member function 'size_t WebServer::streamFile(T&, const String&, int) [with T = File32]',
inlined from 'void DownloadFile(String)' at C:\Users\roneh\Downloads\grbl_controller_esp32--master\grbl_controller_esp32--master\grbl_controller_esp32\browser.cpp:495:26:
C:\Users\roneh\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.5\libraries\WebServer\src/WebServer.h:224:43: error: call to 'StreamFile<FatFile, long unsigned int>::name' declared with attribute error: use getName(name, size)
224 | _streamFileCore(file.size(), file.name(), contentType, code);
| ~~~~~~~~~^~

exit status 1

Compilation error: cannot convert 'SdBaseFile*' {aka 'FsBaseFile*'} to 'FatFile*'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant