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

ESP8684 WiFi failing with MemoryError #9842

Open
detlevo opened this issue Nov 28, 2024 · 2 comments
Open

ESP8684 WiFi failing with MemoryError #9842

detlevo opened this issue Nov 28, 2024 · 2 comments

Comments

@detlevo
Copy link

detlevo commented Nov 28, 2024

CircuitPython version

Adafruit CircuitPython 9.2.1 on 2024-11-20; ESP8684-DevKitC-02-N4 with ESP32C2

Code/REPL

import wifi

Behavior

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError: Failed to allocate Wifi memory```

### Description

Importing the wifi module fails with a MemoryError. WiFi functionality is non-functional thereafter.

### Additional information

_No response_
@detlevo detlevo added the bug label Nov 28, 2024
@dhalbert dhalbert added this to the 9.2.x milestone Dec 2, 2024
@tannewt
Copy link
Member

tannewt commented Dec 2, 2024

This isn't a high priority for us because the C2 is very limited.

If you want to look yourself, then I'd suggest tweaking the sdkconfig to limit code loaded into RAM to execute. There may be optimization code that can live on flash instead.

@tannewt tannewt modified the milestones: 9.2.x, Long term Dec 2, 2024
@detlevo
Copy link
Author

detlevo commented Dec 4, 2024

As I am not familiar with the CircuitPython code internals I would like to know, what I would have to change in a sdkconfig file to achieve that goal. If it is too complicated I can live with the reported issue for the moment as I was more interested in interfacing my 'eric-ide' to this board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants