Skip to content

SPIFFS writing broken esp-01 #229

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

Closed
spider0404 opened this issue Jun 27, 2018 · 5 comments
Closed

SPIFFS writing broken esp-01 #229

spider0404 opened this issue Jun 27, 2018 · 5 comments

Comments

@spider0404
Copy link

There is a new batch of esp-01 whit different chip, whit them you can't write on SPIFFS, can't upload web-ui. You can upload web-ui with arduino ide but when you try to write on it put macro or something else. Web-ui is gone blank page or page saying you are missing index......gz

There is a patch so everything is working as expected.

esp8266/Arduino#4061 (comment)

This is not ESP3D bug but without this patch ESP3D doesn't work :)

This is written here so somebody else doesn't lose time.

@luc-github
Copy link
Owner

Thanks for pointing out -yes the puya chip is not yet well supported by default

@luc-github
Copy link
Owner

To enable the patch , search for esp.h in core, there is the switch to enable the patch with latest git of the core

#ifndef PUYA_SUPPORT
  #define PUYA_SUPPORT 0
#endif

Change to

#ifndef PUYA_SUPPORT
  #define PUYA_SUPPORT 1
#endif

@luc-github
Copy link
Owner

another solution:
Create platform.local.txt in esp8266 core directory and add these lines:

compiler.c.extra_flags= -DPUYA_SUPPORT=1
compiler.cpp.extra_flags={compiler.c.extra_flags}

like explained here esp8266/Arduino#5504 (comment)

@luc-github
Copy link
Owner

Now patch is enabled in core by default

@luc-github luc-github unpinned this issue Jan 14, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants