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

Following Readme doesn't compile. Do this steps TO FIX in ARDUINO #32

Open
JKSniper1 opened this issue Sep 12, 2024 · 1 comment
Open

Comments

@JKSniper1
Copy link

Following each step exactly, with latest Arduino IDE 2.3.2. Install ESP32 boad version 1.0.6. With latest, it won't work, don't even try. I've wasted like few hours before figuring out what was the problem and how to fix it. I was trying both in Arduino and Platformio. In the end Arduino worked.

To make it work:

Delete (or move somewhere else) all other SIMILAR libraries that you might have, as they might have same names and would conflict hard with these!

When you have new libraries inside arduino library folder and you try to compile, it will show:

1st problem. No secrets.h file (to fix, generate or make one with .py, then include in arduino by #include "secrets.h") You can also make new file in Arduino and just add this line into it: #define AP_PASSWORD "password" , where "password" is the pass you need to input when trying to connect to AutoConnectAP SSID. Why this is so complicated, I don't know :)

2nd problem. no defined pins (to fix, go to defines.h tab and uncomment LED, GLITHCHER.... etc.) and comment or delete first line:
// move to defines in platformio.ini

3th problem. SPIFFSEditor.cpp and SPIFFSEditor.h are overwriting as they are defined (probably) in library aswell. To fix this, go in Arduino tabs and delete this two tabs.

Now it should hopefully compile and you can compile and upload, and follow the rest of the Readme steps.

For author: Please update ReadMe to be either for Platformio or Arduino. Not mixed, as nothing works now.

@Kzen-lab
Copy link

Hello, I have the same problems, errors occur while compiling the latest code for Arduino. Could you add a read me edit please?

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

2 participants