Open Mungio opened 7 years ago
You enabled static allocation menuconfig, right? Check the help info on that option which tells you that you are going to have to define that function that you are missing...
On 3 May 2017, at 17:08, Innocenzo Mungiello notifications@github.com wrote:
Hi to everyone. I follow this guide in order to compile the example "getting-started/hello-world" for my ESP32 WiPy 2.0. After the make menuconfig command I try to do make all, but I receive the follow error:
pycom-esp-idf/components/freertos/./tasks.c:4421: undefined reference to `mp_thread_clean'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pycom/pycom-esp-idf/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AHY-1wWXT-lrxnyUoS7gs7WuGTHhPD7kks5r2Jh2gaJpZM4NPils.
You enabled static allocation menuconfig
I do not know. I just follow this guide. I've change anything in menuconfig.
There is a function in pycom-esp-idf/components/freertos/task.c
called portCLEAN_UP_TCB( pxTCB )
; that causes the problem. I've deleted it and everything works.
But I don't think that is a good solution.
An easiest solution is to add
void mp_thread_clean(void *tbc){}
in a .c file of the example project.
Hi to everyone. I follow this guide in order to compile the example "getting-started/hello-world" for my ESP32 WiPy 2.0. After the
make menuconfig
command I try to domake all
, but I receive the follow error:pycom-esp-idf/components/freertos/./tasks.c:4421: undefined reference to `mp_thread_clean'