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

Building on ESP8266 via PlatformIO resulted in error #33

Open
byteinsight opened this issue May 30, 2022 · 0 comments
Open

Building on ESP8266 via PlatformIO resulted in error #33

byteinsight opened this issue May 30, 2022 · 0 comments

Comments

@byteinsight
Copy link

I installed iniFile via PlatformIO (V1.3) for my ESP8266 project. Building resulted in the following error at line 389:

error invalid conversion from char to uint8 t aka unsigned char

line 389 = size_t bytesRead = file.read(buffer, len);

but adding an OR that included the ESP8266 define at line 386 seems to have fixed it.

line 386 = #if (defined(ARDUINO_ARCH_ESP32) || defined(ESP8266)) && !defined(PREFER_SDFAT_LIBRARY)

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