I want to work with some FFTs and found the micropython-fourier library https://github.com/peterhinch/micropython-fourier
before i clone the repo and copy all the files to my esp32 individually: is there a upip-package? If so: what is it called? if not: any ideas how to create it?
Bonus question: is there a list of all packages that are available via upip?
Micropython-Fourier as upip package? / Upip in general
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Micropython-Fourier as upip package? / Upip in general
It is not on PyPi. Nor will it run on the ESP32 as it is written in ARM assembler. The library is strictly for STM devices such as the Pyboard.
I'm not aware of an index for PyPi but packages on there are generally prefixed micropython. Many user-contributed drivers are not on PyPi. The best way to find them is by a forum search and by looking in the wiki.
I'm not aware of an index for PyPi but packages on there are generally prefixed micropython. Many user-contributed drivers are not on PyPi. The best way to find them is by a forum search and by looking in the wiki.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Micropython-Fourier as upip package? / Upip in general
thanks. are you aware of any other fft library for esp32 micropython?
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Micropython-Fourier as upip package? / Upip in general
No. You could use one of the Python routines in algorithms.py in my repo, but even the "fast" non-recursive one will be ~100 times slower than one written in assembler.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.