Open ghost opened 1 year ago
Hello, thanks for your interest in the project.
I don't have pycom boards, the module is written for micropython and not for pycom variant. I have used user c modules, you can read about it at this url
Regards, D.
Hello Damiano,
Thanks so much for your response :smile:
The pycom Lopy 4 runs micropython code, so if I am able to compile the module for mycropython I think I will be able to use it. I only need the .py generated.
The following instructions allow to generate the .py file?
git clone https://github.com/micropython/micropython.git micropython
cd micropython
git submodule update --init
git clone https://github.com/dmazzella/ufastlz.git ports/stm32/boards/PYBD_SF6/cmodules/ufastlz
cd ports/stm32/boards/PYBD_SF6/cmodules/ufastlz
git submodule update --init
cd ../../../../../../
make -j2 -C mpy-cross && make -j2 -C ports/stm32/ BOARD="PYBD_SF6" USER_C_MODULES="$(pwd)/ports/stm32/boards/PYBD_SF6/cmodules"
I tried to generate it but it gave me a dependency problem.
The pycom Lopy 4 runs micropython code, so if I am able to compile the module for mycropython I think I will be able to use it. I only need the .py generated.
The following instructions allow to generate the .py file?
No, this instructions build an stm32 firmware and not a .py
I don't own an ESP32 and have never tried on this architecture, Lopy 4 is based on ESP32, and I can't help you with that. You can ask on the pycom forum how to include an external module in C (build with USER_C_MODULES)
Best regards, D.
Hello,
First of all, congratulations for the project.
Could you tell me how to compile the library to use it on a Pycom Lopy 4? I use Linux and macOS.
Thank you very much for your time.