Search found 15 matches
- Sun Feb 09, 2020 1:14 pm
- Forum: General Discussion and Questions
- Topic: Esp32 Firmware v1.12 Bug (Neopixel Glitches)
- Replies: 9
- Views: 4738
Re: Esp32 Firmware v1.12 Bug (Neopixel Glitches)
The only way to get rid of the memory requirements would be to completely write the neopixel driver in C with a live-calculation of the pulses as has been done in FastLED: https://github.com/FastLED/FastLED/blob/master/platforms/esp/32/clockless_rmt_esp32.h The downside to that is that you can't use...
- Thu Feb 06, 2020 8:52 pm
- Forum: Development of MicroPython
- Topic: Floating point division in native .mpy modules
- Replies: 2
- Views: 2080
Re: Floating point division in native .mpy modules
It's for the ESP32/xtensawin, latest git version compiled on MacOS.
That's the error for a division:
And that's a comparison:
That's the error for a division:
Code: Select all
LinkError: build/mylib.o: undefined symbol: __divsf3
Code: Select all
LinkError: build/mylib.o: undefined symbol: __extendsfdf2
- Thu Feb 06, 2020 8:16 pm
- Forum: Development of MicroPython
- Topic: Floating point division in native .mpy modules
- Replies: 2
- Views: 2080
Floating point division in native .mpy modules
Anytime I want to do a division or comparison with floats, I get an undefined symbol error by the linker. How can I include them?
- Tue Jan 28, 2020 2:42 pm
- Forum: General Discussion and Questions
- Topic: Esp32 Firmware v1.12 Bug (Neopixel Glitches)
- Replies: 9
- Views: 4738
Re: Esp32 Firmware v1.12 Bug (Neopixel Glitches)
See https://github.com/micropython/micropython/issues/5157.
TL;DR; Use the latest micropython version and use the RMT implementation by nevercast: https://gist.github.com/nevercast/9c485 ... 4a22062795
TL;DR; Use the latest micropython version and use the RMT implementation by nevercast: https://gist.github.com/nevercast/9c485 ... 4a22062795
- Wed Jul 25, 2018 6:19 pm
- Forum: ESP32 boards
- Topic: recursive clock uopdate - ESP32
- Replies: 6
- Views: 4109
Re: recursive clock uopdate - ESP32
It won't cause problems with official uasyncio as it does not use the RTC as its timebase. But if your own code checks for a time of (say) 3.10.00 to trigger an event, you could have a problem. Say the RTC time was 3.09.55 and an update caused it to be corrected to 3.10.05 the time of 3.10.00 would...
- Tue Jul 24, 2018 11:09 am
- Forum: ESP32 boards
- Topic: recursive clock uopdate - ESP32
- Replies: 6
- Views: 4109
Re: recursive clock uopdate - ESP32
However you do have to be careful about updating a clock which is being used to schedule events. This is because your clock no longer increments in a monotonic fashion: it can jump forwards or backwards by an arbitrary amount. Without care this can cause events to be scheduled twice or to be omitte...
- Thu May 03, 2018 10:07 pm
- Forum: ESP32 boards
- Topic: Integrate filesystem into image
- Replies: 3
- Views: 3001
Re: Integrate filesystem into image
In this MicroPython port you can prepare file system image and flash it to your board. Thanks! Edit: So. I ended up using my own fat image (macOS: brew install dosfstools, most likely included in most Linux distributions): $ dd if=/dev/zero of=test.img bs=1m count=2 $ mkfs.fat -S 4096 -f 1 -s 1 tes...
- Thu May 03, 2018 3:19 pm
- Forum: ESP32 boards
- Topic: Integrate filesystem into image
- Replies: 3
- Views: 3001
Integrate filesystem into image
Hi,
is there an easy way to integrate files into the image (apart from frozen modules)? E.g. supplying my own filesystem image.
Thanks,
Carsten
is there an easy way to integrate files into the image (apart from frozen modules)? E.g. supplying my own filesystem image.
Thanks,
Carsten
- Mon Dec 25, 2017 2:10 am
- Forum: ESP32 boards
- Topic: MicroPython on ESP32 with SPIRAM support
- Replies: 463
- Views: 544174
Re: MicroPython on ESP32 with SPIRAM support
I would be interested if you can give me some example application where uasyncio is better suited then threads. I guess I can only give the obvious answers. It keeps the code a little simpler, I don't have to make it thread safe, memory footprint is smaller. I have routines that control neopixel in...
- Sun Dec 24, 2017 3:05 pm
- Forum: ESP32 boards
- Topic: MicroPython on ESP32 with SPIRAM support
- Replies: 463
- Views: 544174
Re: MicroPython on ESP32 with SPIRAM support
Hi, so right now I cant get uasyncio working with your firmware... I'll look into it in detail when I have time, but maybe you've already come across this: >>> loop.run_forever() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "uasyncio/core.py", line 138, in run_forever ...