Search found 23 matches
- Sun Feb 20, 2022 2:00 pm
- Forum: ESP32 boards
- Topic: Using idf.py monitor
- Replies: 1
- Views: 876
Re: Using idf.py monitor
As it usually goes, talking about stuff gives you ideas... So for future reference: just creating a symbolic link from build-GENERIC to build is enough to pacify the monitory. I get a nice stack trace, see: MicroPython v1.18-146-g7e4995a71-dirty on 2022-02-20; ESP32 module with ESP32 Type "help()" f...
- Sun Feb 20, 2022 1:52 pm
- Forum: ESP32 boards
- Topic: Using idf.py monitor
- Replies: 1
- Views: 876
Using idf.py monitor
I'm building extensions for the MCPWM and PCNT facilities of the ESP32. While this works in principle, I get a stack trace when using code that IMHO should work. Concretely this works: class LargeCounter: def __init__(self, qdec): self._qdec = qdec qdec = esp32.PCNT(0, Pin(19), Pin(18)) counter = La...
- Thu May 28, 2020 5:30 pm
- Forum: ESP32 boards
- Topic: mdns support
- Replies: 5
- Views: 3808
Re: mdns support
But how can I locate the device then? I know how to register and look for concrete services (e.g. ssh) via avahi-browse etc, but I don't find the ESP even though it's on the same network.
- Sun May 24, 2020 2:02 pm
- Forum: ESP32 boards
- Topic: mdns support
- Replies: 5
- Views: 3808
mdns support
Hi, I'm aware of the existing discussions about mDNS in this forum (e.g. https://forum.micropython.org/viewtopic.php?t=3027) - but this is not about 3rd-party mDNS support. I took a look into the ESP32 port and found this: https://github.com/micropython/micropython/blob/master/ports/esp32/modnetwork...
- Fri Sep 28, 2018 3:03 pm
- Forum: ESP32 boards
- Topic: Qr Code Generator
- Replies: 1
- Views: 2110
Re: Qr Code Generator
If you have code in C, why don't you just translate it? It should be pretty straight forward.
- Fri Sep 28, 2018 2:27 pm
- Forum: ESP32 boards
- Topic: ws2811/2812 Programs very slow
- Replies: 23
- Views: 14933
Re: ws2811/2812 Programs very slow
What about them? Put the code into a function and try for yourself. The result doesn't change. I don't know what stackoverflow article suggests that there is an optimisation. I just checked, it is actually optimised for the simple case in CPython, but statements about optimizations can't be generali...
- Fri Sep 28, 2018 2:22 pm
- Forum: ESP32 boards
- Topic: ws2811/2812 Programs very slow
- Replies: 23
- Views: 14933
Re: ws2811/2812 Programs very slow
Shouldn’t “b” point to the same int object in memory? Same principle c = (255,0,0) d = (255,0,0) Maybe my understanding is wrong. Idk. Send me a link to read if I’m wrong. It is wrong. There are optimizations for smallish integers to point to the same ram, but generally speaking objects are not agg...
- Sun Sep 16, 2018 10:54 am
- Forum: ESP32 boards
- Topic: Multi Core Support for C module
- Replies: 3
- Views: 2831
Re: Multi Core Support for C module
I doubt it. I've got no problem running native multi core apps. The configuration of the ESP32 port is what makes this specific.
- Sat Sep 15, 2018 7:37 pm
- Forum: ESP32 boards
- Topic: Multi Core Support for C module
- Replies: 3
- Views: 2831
Re: Multi Core Support for C module
One insight: the define portNUM_PROCESSORS is depending on CONFIG_FREERTOS_UNICORE which is in turn set by sdkconfig.h in the esp32 port. Removing CONFIG_FREERTOS_UNICORE builds uP, but then I get an endless reset-cycle with this output: /home/deets/softwarets Jun 8 2016 00:22:57 rst:0x8 (TG1WDT_SYS...
- Sat Sep 15, 2018 7:07 pm
- Forum: ESP32 boards
- Topic: Multi Core Support for C module
- Replies: 3
- Views: 2831
Multi Core Support for C module
I'm a happy ESP32/MicroPython user. I know that uP currently does not support multi-threading, and don't want to change this. But for my current project I could use a bit of extra CPU cycles on the second core for a MPU sensor fusion algorithm. So I thought I create a task bound to core 1 to just do...