v923z / micropython-builder

Ready-to-run firmware files with micropython and ulab
MIT License
29 stars 13 forks source link

Installation fails under Arch Linux #30

Open smalacar opened 2 days ago

smalacar commented 2 days ago

Hi guys,

Thanks for sharing your scripts! I encountered a problem while running the following script

./scripts/esp32/generic-c3.sh

I am using an arch-based distribution and when running the script, the espidf toolchain is not installed. The script fails with an output like this:

./scripts/esp32/esp32.sh: line 12: esp-idf/export.sh: No such file or directory

(The espidf toolchain is not installed at all, thats why the script is not found ^^) I assume the problem lies in the install_espidf.sh file, because there some python packages are installed using apt.

I totally understand that you may not want to adapt your scripts for other package managers. Maybe you can add a disclaimer that the builder can only be used with distros using apt.

Cheers to you

v923z commented 2 days ago

I would actually be happy to add support for arch, so if you think that you can install the packages through pacman, then we could just branch off before the package manager is called. This could benefit others, too.