Skip to content

ESP8266 Library request #123

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
SteveRMann opened this issue Jun 24, 2021 · 7 comments
Closed

ESP8266 Library request #123

SteveRMann opened this issue Jun 24, 2021 · 7 comments

Comments

@SteveRMann
Copy link

Glad I found this simulator.
Any chance of adding the ESP8266 and ESP8266WiFi libraries?

@urish
Copy link
Contributor

urish commented Jun 24, 2021

Thank you for the comment!

You mean full ESP8266 simulation?

@SteveRMann
Copy link
Author

Almost everything I do with the Android IDE is on ESP devices (Wemos D1, D1 mini, NodeMCU and various Sonoff devices).
I only use the Uno to test code segments.
I can appreciate that it would be a challenge to simulate WiFi, but maybe a terminal-like interface? At least enough to compile without error.

A downside I've realized is that the simulator doesn't tell me what or where my coding errors are.

@urish
Copy link
Contributor

urish commented Jun 24, 2021

I can appreciate that it would be a challenge to simulate WiFi, but maybe a terminal-like interface? At least enough to compile without error.

It is, indeed - but there's an initial, work-in-progress implementation for the Nano RP2040 Connect chip.

The challenge is that ESP8266 uses a totally different architecture (called Xtensa), and implementing a new architecture is literally months of work. I'm now working on the RP2040 (for the new Pi Pico), and it's been going on since January. If you are interested, there's a playlist where you can see how the RP2040 simulation implemented.

A downside I've realized is that the simulator doesn't tell me what or where my coding errors are.

It should tell you - so if it doesn't this is definitely a bug. Can you share an example where it doesn't tell you about an error?

@sutaburosu
Copy link

I certainly see errors, but no warnings are emitted. arduino-cli defaults to no warnings.

@urish urish changed the title Library request ESP8266 Library request Jun 28, 2021
@lemakavely
Copy link

soo we cant add the library for ESP8266WiFi?

@urish
Copy link
Contributor

urish commented Jan 10, 2022

You can add the library itself, but we don't have an ESP8266 part, so it probably won't be very useful...

@urish
Copy link
Contributor

urish commented Jan 27, 2022

Closing as we have ESP32 with WiFi.

There's also an open request for ESP-01 WiFi AT MODEM in #169

@urish urish closed this as completed Jan 27, 2022
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

4 participants