Guest User

platformio teensy 4.0compile error

a guest
Oct 15th, 2021
23
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > Executing task in folder spi tests: C:\Users\warpi\.platformio\penv\Scripts\platformio.exe run <
  2.  
  3. Processing teensy40 (platform: teensy; board: teensy40; framework: arduino)
  4. ----------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
  5. CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy40.html
  6. PLATFORM: Teensy (4.13.1) > Teensy 4.0
  7. HARDWARE: IMXRT1062 600MHz, 512KB RAM, 1.94MB Flash
  8. DEBUG: Current (jlink) External (jlink)
  9. PACKAGES:
  10. - framework-arduinoteensy 1.154.0 (1.54)
  11. - tool-teensy 1.154.210805 (1.54)
  12. - toolchain-gccarmnoneeabi 1.50401.190816 (5.4.1)
  13. LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
  14. LDF Modes: Finder ~ chain, Compatibility ~ soft
  15. Found 95 compatible libraries
  16. Scanning dependencies...
  17. Dependency Graph
  18. |-- <LittleFS> 1.0.0
  19. | |-- <SPI> 1.0
  20. |-- <SPI> 1.0
  21. Building in release mode
  22. Archiving .pio\build\teensy40\lib77b\libSPI.a
  23. Compiling .pio\build\teensy40\libe3d\LittleFS\LittleFS.cpp.o
  24. Compiling .pio\build\teensy40\libe3d\LittleFS\LittleFS_NAND.cpp.o
  25. Compiling .pio\build\teensy40\FrameworkArduino\CrashReport.cpp.o
  26. Compiling .pio\build\teensy40\FrameworkArduino\DMAChannel.cpp.o
  27. Compiling .pio\build\teensy40\FrameworkArduino\EventResponder.cpp.o
  28. Compiling .pio\build\teensy40\FrameworkArduino\HardwareSerial.cpp.o
  29. Compiling .pio\build\teensy40\FrameworkArduino\HardwareSerial1.cpp.o
  30. Compiling .pio\build\teensy40\FrameworkArduino\HardwareSerial2.cpp.o
  31. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:0:
  32. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:31:1: error: expected class-name before '{' token
  33. {
  34. ^
  35. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:60:31: error: 'DateTimeFields' has not been declared
  36. virtual bool getCreateTime(DateTimeFields &tm){
  37. ^
  38. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:65:31: error: 'DateTimeFields' has not been declared
  39. virtual bool getModifyTime(DateTimeFields &tm){
  40. ^
  41. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:71:35: error: 'DateTimeFields' does not name a type
  42. virtual bool setCreateTime(const DateTimeFields &tm) {
  43. ^
  44. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:80:35: error: 'DateTimeFields' does not name a type
  45. virtual bool setModifyTime(const DateTimeFields &tm) {
  46. ^
  47. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::getCreateTime(int&)':
  48. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:63:20: error: 'breakTime' was not declared in this scope
  49. breakTime(mdt, tm);
  50. ^
  51. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::getModifyTime(int&)':
  52. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:68:20: error: 'breakTime' was not declared in this scope
  53. breakTime(mdt, tm);
  54. ^
  55. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::setCreateTime(const int&)':
  56. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:72:10: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  57. if (tm.year < 80 || tm.year > 207) return false;
  58. ^
  59. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:72:26: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  60. if (tm.year < 80 || tm.year > 207) return false;
  61. ^
  62. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:74:29: error: 'makeTime' was not declared in this scope
  63. uint32_t mdt = makeTime(tm);
  64. ^
  65. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::setModifyTime(const int&)':
  66. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:81:10: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  67. if (tm.year < 80 || tm.year > 207) return false;
  68. ^
  69. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:81:26: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  70. if (tm.year < 80 || tm.year > 207) return false;
  71. ^
  72. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:83:29: error: 'makeTime' was not declared in this scope
  73. uint32_t mdt = makeTime(tm);
  74. ^
  75. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual File LittleFSFile::openNextFile(uint8_t)':
  76. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:192:51: error: no matching function for call to 'File::File(LittleFSFile*)'
  77. return File(new LittleFSFile(lfs, f, pathname));
  78. ^
  79. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  80. from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:
  81. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  82. File(const File &file) {
  83. ^
  84. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  85. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  86. File(File *file) {
  87. ^
  88. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  89. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  90. constexpr File() : f(nullptr) { }
  91. ^
  92. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  93. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:0:
  94. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:199:51: error: no matching function for call to 'File::File(LittleFSFile*)'
  95. return File(new LittleFSFile(lfs, d, pathname));
  96. ^
  97. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  98. from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:
  99. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  100. File(const File &file) {
  101. ^
  102. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  103. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  104. File(File *file) {
  105. ^
  106. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  107. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  108. constexpr File() : f(nullptr) { }
  109. ^
  110. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  111. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:0:
  112. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:31:1: error: expected class-name before '{' token
  113. {
  114. ^
  115. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:60:31: error: 'DateTimeFields' has not been declared
  116. virtual bool getCreateTime(DateTimeFields &tm){
  117. ^
  118. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:65:31: error: 'DateTimeFields' has not been declared
  119. virtual bool getModifyTime(DateTimeFields &tm){
  120. ^
  121. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:71:35: error: 'DateTimeFields' does not name a type
  122. virtual bool setCreateTime(const DateTimeFields &tm) {
  123. ^
  124. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:80:35: error: 'DateTimeFields' does not name a type
  125. virtual bool setModifyTime(const DateTimeFields &tm) {
  126. ^
  127. Compiling .pio\build\teensy40\FrameworkArduino\HardwareSerial3.cpp.o
  128. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:0:
  129. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual File LittleFS::open(const char*, uint8_t)':
  130. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:264:56: error: no matching function for call to 'File::File(LittleFSFile*)'
  131. return File(new LittleFSFile(&lfs, file, filepath));
  132. ^
  133. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  134. from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:
  135. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  136. File(const File &file) {
  137. ^
  138. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  139. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  140. File(File *file) {
  141. ^
  142. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  143. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  144. constexpr File() : f(nullptr) { }
  145. ^
  146. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  147. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:0:
  148. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:271:55: error: no matching function for call to 'File::File(LittleFSFile*)'
  149. return File(new LittleFSFile(&lfs, dir, filepath));
  150. ^
  151. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::getCreateTime(int&)':
  152. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:63:20: error: 'breakTime' was not declared in this scope
  153. breakTime(mdt, tm);
  154. ^
  155. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::getModifyTime(int&)':
  156. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:68:20: error: 'breakTime' was not declared in this scope
  157. breakTime(mdt, tm);
  158. ^
  159. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  160. from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:
  161. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  162. File(const File &file) {
  163. ^
  164. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  165. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  166. File(File *file) {
  167. ^
  168. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  169. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  170. constexpr File() : f(nullptr) { }
  171. ^
  172. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  173. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:0:
  174. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:294:55: error: no matching function for call to 'File::File(LittleFSFile*)'
  175. return File(new LittleFSFile(&lfs, file, filepath));
  176. ^
  177. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  178. from .pio\libdeps\teensy40\LittleFS\src\LittleFS_NAND.cpp:24:
  179. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  180. File(const File &file) {
  181. ^
  182. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  183. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  184. File(File *file) {
  185. ^
  186. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  187. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  188. constexpr File() : f(nullptr) { }
  189. ^
  190. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  191. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::setCreateTime(const int&)':
  192. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:72:10: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  193. if (tm.year < 80 || tm.year > 207) return false;
  194. ^
  195. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:72:26: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  196. if (tm.year < 80 || tm.year > 207) return false;
  197. ^
  198. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:74:29: error: 'makeTime' was not declared in this scope
  199. uint32_t mdt = makeTime(tm);
  200. ^
  201. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual bool LittleFSFile::setModifyTime(const int&)':
  202. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:81:10: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  203. if (tm.year < 80 || tm.year > 207) return false;
  204. ^
  205. *** [.pio\build\teensy40\libe3d\LittleFS\LittleFS_NAND.cpp.o] Error 1
  206. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:81:26: error: request for member 'year' in 'tm', which is of non-class type 'const int'
  207. if (tm.year < 80 || tm.year > 207) return false;
  208. ^
  209. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:83:29: error: 'makeTime' was not declared in this scope
  210. uint32_t mdt = makeTime(tm);
  211. ^
  212. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual File LittleFSFile::openNextFile(uint8_t)':
  213. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:192:51: error: no matching function for call to 'File::File(LittleFSFile*)'
  214. return File(new LittleFSFile(lfs, f, pathname));
  215. ^
  216. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  217. from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:
  218. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  219. File(const File &file) {
  220. ^
  221. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  222. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  223. File(File *file) {
  224. ^
  225. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  226. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  227. constexpr File() : f(nullptr) { }
  228. ^
  229. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  230. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:0:
  231. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:199:51: error: no matching function for call to 'File::File(LittleFSFile*)'
  232. return File(new LittleFSFile(lfs, d, pathname));
  233. ^
  234. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  235. from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:
  236. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  237. File(const File &file) {
  238. ^
  239. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  240. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  241. File(File *file) {
  242. ^
  243. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  244. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  245. constexpr File() : f(nullptr) { }
  246. ^
  247. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  248. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:0:
  249. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h: In member function 'virtual File LittleFS::open(const char*, uint8_t)':
  250. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:264:56: error: no matching function for call to 'File::File(LittleFSFile*)'
  251. return File(new LittleFSFile(&lfs, file, filepath));
  252. ^
  253. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  254. from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:
  255. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  256. File(const File &file) {
  257. ^
  258. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  259. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  260. File(File *file) {
  261. ^
  262. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  263. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  264. constexpr File() : f(nullptr) { }
  265. ^
  266. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  267. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:0:
  268. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:271:55: error: no matching function for call to 'File::File(LittleFSFile*)'
  269. return File(new LittleFSFile(&lfs, dir, filepath));
  270. ^
  271. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  272. from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:
  273. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  274. File(const File &file) {
  275. ^
  276. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  277. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  278. File(File *file) {
  279. ^
  280. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  281. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  282. constexpr File() : f(nullptr) { }
  283. ^
  284. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  285. In file included from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:0:
  286. .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:294:55: error: no matching function for call to 'File::File(LittleFSFile*)'
  287. return File(new LittleFSFile(&lfs, file, filepath));
  288. ^
  289. In file included from .pio\libdeps\teensy40\LittleFS\src/LittleFS.h:25:0,
  290. from .pio\libdeps\teensy40\LittleFS\src\LittleFS.cpp:24:
  291. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: candidate: File::File(const File&)
  292. File(const File &file) {
  293. ^
  294. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:62:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'const File&'
  295. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: candidate: File::File(File*)
  296. File(File *file) {
  297. ^
  298. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:52:2: note: no known conversion for argument 1 from 'LittleFSFile*' to 'File*'
  299. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate: constexpr File::File()
  300. constexpr File() : f(nullptr) { }
  301. ^
  302. C:\Users\warpi\.platformio\packages\framework-arduinoteensy\cores\teensy4/FS.h:51:12: note: candidate expects 0 arguments, 1 provided
  303. *** [.pio\build\teensy40\libe3d\LittleFS\LittleFS.cpp.o] Error 1
RAW Paste Data Copied