pioarduino / platform-espressif32

Espressif 32: pioarduino community platform for PlatformIO
https://github.com/espressif/arduino-esp32
Apache License 2.0
147 stars 17 forks source link

Compilation errros related to FS.h #54

Open IB-AST opened 3 hours ago

IB-AST commented 3 hours ago

Compilation stops with following error: ...libraries/FS/src/FS.h:49:17: error: expected '{' before ';' token

Function call _p() in FS.h expects two parameters, but just one is given: File(FileImplPtr p = FileImplPtr()) : _p(p) { _timeout = 0; }

Thanks a lot in advance for any hint or debug suggestions.

Jason2866 commented 2 hours ago

Please post your Platformio.ini I don't know which branch or version you are using.

IB-AST commented 2 hours ago

Thanks for your reply. I tried those two:

;platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.07/platform-espressif32.zip

platform = https://github.com/pioarduino/platform-espressif32.git#develop

Jason2866 commented 1 hour ago

CI examples do compile without any errors. There are examples which uses FS. Check your code.