Search found 211 matches

by liudr
Wed May 04, 2022 3:09 am
Forum: ESP32 boards
Topic: IDF veteran need some help with custom mp firmware under WSL Ubuntu
Replies: 2
Views: 1436

IDF veteran need some help with custom mp firmware under WSL Ubuntu

I've been thinking about compiling my mp firmware for a while but only got started yesterday. I've just installed WSL Ubuntu and the toolchains for building the micropython firmware for ESP32. Compiling generic and generic_spiram both completed but I have a few issues: 1) I see no /dev/ttyUSB0 under...
by liudr
Mon May 02, 2022 2:46 pm
Forum: ESP32 boards
Topic: ESP32 micropython support of W5500 Ethernet
Replies: 7
Views: 3281

Re: ESP32 micropython support of W5500 Ethernet

That's Great! I noticed your forum handle. Are you anyway related to the lobos firmware that was out around 2018-19?
by liudr
Mon May 02, 2022 5:16 am
Forum: ESP32 boards
Topic: ESP32 micropython support of W5500 Ethernet
Replies: 7
Views: 3281

Re: ESP32 micropython support of W5500 Ethernet

I found this reference: https://docs.micropython.org/en/v1.17/library/network.WIZNET5K.html But when I tried it on my MP 1.17 ESP32, there is no network.WIZNET5K. Here is a blurb: The particular chipset that is supported by the firmware is selected at compile-time via the MICROPY_PY_WIZNET5K option....
by liudr
Mon May 02, 2022 5:05 am
Forum: ESP32 boards
Topic: ESP32 micropython support of W5500 Ethernet
Replies: 7
Views: 3281

ESP32 micropython support of W5500 Ethernet

I've searched around the internet and couldn't find a micropython module that supports W5500 Ethernet adapter. I think it's a necessary component of MP's ecosystem since most MP-compatible boards don't have WiFi like ESP32 does and Ethernet also provides stable networking. The circuitpython module t...
by liudr
Mon May 02, 2022 4:52 am
Forum: ESP32 boards
Topic: ESP 32 - is it possible to use W5500 ?
Replies: 8
Views: 11011

Re: ESP 32 - is it possible to use W5500 ?

Possible with circuitpython library: https://learn.adafruit.com/ethernet-for-circuitpython Do you mean that you have used the circuitpython library and it will work? I've tested it and it didn't work entirely. Got IP address from DHCP but requests module didn't work. I was testing under circuitpyth...
by liudr
Sat Apr 16, 2022 5:54 am
Forum: ESP32 boards
Topic: Does micropython ESP32 support Ethernet?
Replies: 2
Views: 1196

Re: Does micropython ESP32 support Ethernet?

Thanks! I replied to your git issue. I think it's best to have a native mp version of the driver instead of using some wrappers over IDF functions. This way there will be a wider support over all mp board types instead of just for ESP32.
by liudr
Fri Apr 08, 2022 4:31 am
Forum: ESP32 boards
Topic: Does micropython ESP32 support Ethernet?
Replies: 2
Views: 1196

Does micropython ESP32 support Ethernet?

I didn't find any reference on the official doc. I did find this post that uses wiznet chipset over SPI without any reference of the working solution: https://forum.micropython.org/viewtopic.php?f=18&t=11378&p=62493&hilit=ethernet#p62493 I was hoping for the native Ethernet on ESP32 but any external...
by liudr
Sat Apr 02, 2022 9:27 pm
Forum: ESP32 boards
Topic: exec() a string not working on ESP32 under some conditions
Replies: 2
Views: 1036

Re: exec() a string not working on ESP32 under some conditions

Thanks. I'm not familiar with how python handles local or global variables. It's different from C/C++ and from what I've read it's not straightforward. I tried to call exec() by supplying locals() and globals() as parameters but there was no change. My local variables are not accessible by the code ...
by liudr
Wed Mar 30, 2022 2:56 pm
Forum: ESP32 boards
Topic: exec() a string not working on ESP32 under some conditions
Replies: 2
Views: 1036

exec() a string not working on ESP32 under some conditions

Here is what I am trying to do. I'm trying to define a custom routine that takes in some parameters and calculates for a result. I define the parameters and result variable prior to running the custom routine. I save the routine in a string and use exec() to run it. The following example is calculat...
by liudr
Fri Mar 04, 2022 10:34 pm
Forum: ESP32 boards
Topic: IPv6 support on ESP32 boards?
Replies: 0
Views: 9290

IPv6 support on ESP32 boards?

I searched around and found some old posts, seems no go. Any update on that in the 1.18 version, or nightly builds? Thanks.