Search found 7 matches

by smurf
Wed Jun 02, 2021 8:18 pm
Forum: General Discussion and Questions
Topic: ESP32 OTA image shrinkage
Replies: 1
Views: 1001

ESP32 OTA image shrinkage

Hi, I managed to remove ~100KBytes off the ESP32 MicroPython image, which is nice if you want OTA upgrades and a file system that's larger than a megabyte. Also good for 2-MB systems. I did this by removing support for PPP, IPv6, FAT, Ethernet, network loopback, threading, zlib and json. Dropping IP...
by smurf
Wed Jun 02, 2021 1:47 pm
Forum: General Discussion and Questions
Topic: Is it possible to deinit the watchdog (WDT)?
Replies: 10
Views: 5710

Re: Is it possible to deinit the watchdog (WDT)?

You could, however, start a periodic timer that schedules a procedure that feeds your WDT.
by smurf
Wed Jun 02, 2021 1:42 pm
Forum: General Discussion and Questions
Topic: Error in booting from hybrid filesystem (FAT,Littlefs2)
Replies: 4
Views: 2132

Re: Error in booting from hybrid filesystem (FAT,Littlefs2)

Why should micropython boot from the littlefs volume? It looks at the partition, sees that it's FAT, mounts that and is happy.
by smurf
Wed Jun 02, 2021 1:39 pm
Forum: General Discussion and Questions
Topic: MIcropython as MQTT broker
Replies: 14
Views: 11130

Re: MIcropython as MQTT broker

Yes there are pure-python MQTT brokers, hbmqtt for one. The problem is that it's basically unmaintained, and the fork that *is* maintained is based on anyio which hasn't been ported to micropython (yet, it's somewhere on my list of interesting things to do). Also, you will have moments with iffy net...
by smurf
Tue Jun 01, 2021 5:53 pm
Forum: Programs, Libraries and Tools
Topic: microfuse: a multiplexed channel to micropython devices
Replies: 0
Views: 1110

microfuse: a multiplexed channel to micropython devices

Hi, I'd like to share a package that uses a single TCP connection to a ESP32 (tested) / whatever else runs networked MicroPython (untested) device, which carries keepalive and watchdog FUSE and file access commands (FUSE works, the rest is TODO but very simple to add) MQTT messages REPL well … whate...
by smurf
Sun Feb 28, 2021 7:53 pm
Forum: ESP32 boards
Topic: ESP32 Erase_Flash problem
Replies: 2
Views: 1469

Re: ESP32 Erase_Flash problem

Well, it connects OK and says "Detecting chip type... ESP32", so I would assume that yes this is the correct port.

I have the same problem. The solution is to use an up-to-date esptool. Version 3.0 works for me. Debian's 2.65 or 2.8 did not.
by smurf
Thu Sep 12, 2019 4:12 pm
Forum: Programs, Libraries and Tools
Topic: Full domain name required for getaddrinfo?
Replies: 1
Views: 1638

Re: Full domain name required for getaddrinfo?

The default domain is passed to you with DHCP. µPy doesn't seem to handle that. Open an issue …