Page 1 of 1

Error when compiling native modules ESP32

Posted: Mon Jun 14, 2021 5:46 pm
by John12
Hello,

I tried to compile the example "factorial"
http://docs.micropython.org/en/latest/d ... atmod.html

The compilation succeed when using ARCH = x64 (the .mpy file was created)
but it failed when using ARCH = xtensawi

the error is :

Code: Select all

CC factorial.c
make: xtensa-esp32-elf-gcc: Command not found
../../../py/dynruntime.mk:129: recipe for target 'build/factorial.o' failed
make: *** [build/factorial.o] Error 127
Thank you for your help !

Re: Error when compiling native modules ESP32

Posted: Tue Jun 15, 2021 6:03 pm
by John12
Solved !

i followed the steps mentioned in this tuto :

https://lemariva.com/blog/2020/03/tutor ... python-v20