Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

undifined reference to mp_thread_clean #1

Open
Mungio opened this issue May 3, 2017 · 4 comments
Open

undifined reference to mp_thread_clean #1

Mungio opened this issue May 3, 2017 · 4 comments

Comments

@Mungio
Copy link

Mungio commented May 3, 2017

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'

@danicampora
Copy link
Contributor

danicampora commented May 3, 2017 via email

@Mungio
Copy link
Author

Mungio commented May 3, 2017

You enabled static allocation menuconfig

I do not know. I just follow this guide. I've change anything in menuconfig.

@Mungio
Copy link
Author

Mungio commented May 4, 2017

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.

@Mungio
Copy link
Author

Mungio commented May 4, 2017

An easiest solution is to add
void mp_thread_clean(void *tbc){}

in a .c file of the example project.

iwahdan88 pushed a commit that referenced this issue Jan 22, 2019
…t module

    1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
    2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222
    3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222

    The #1 and #2 occurs random.
    The #3 bug occurs in certain scenario:
    	1. If Wifi start softap and BLE is working
    	2. If wifi start station, but do not use normal station operation, such
    		as just use espnow, while BLE is working
    	3. Any other scenario, that wifi works without use software coexist
    		operation, while BLE is working(such as do advertising and ...)

    4. update libcoexist.a version to v1.1.2
iwahdan88 pushed a commit that referenced this issue Apr 30, 2019
…t module

    1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
    2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222
    3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222

    The #1 and #2 occurs random.
    The #3 bug occurs in certain scenario:
    	1. If Wifi start softap and BLE is working
    	2. If wifi start station, but do not use normal station operation, such
    		as just use espnow, while BLE is working
    	3. Any other scenario, that wifi works without use software coexist
    		operation, while BLE is working(such as do advertising and ...)

    4. update libcoexist.a version to v1.1.2
catalinio pushed a commit to catalinio/pycom-esp-idf that referenced this issue Jun 28, 2019
…t module

    1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
    2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222
    3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222

    The pycom#1 and pycom#2 occurs random.
    The pycom#3 bug occurs in certain scenario:
    	1. If Wifi start softap and BLE is working
    	2. If wifi start station, but do not use normal station operation, such
    		as just use espnow, while BLE is working
    	3. Any other scenario, that wifi works without use software coexist
    		operation, while BLE is working(such as do advertising and ...)

    4. update libcoexist.a version to v1.1.2
catalinio pushed a commit to catalinio/pycom-esp-idf that referenced this issue Jun 28, 2019
…t module

    1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
    2. Fix BLE assert(512) or assert(1536)  in rwble.c at line 222
    3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222

    The pycom#1 and pycom#2 occurs random.
    The pycom#3 bug occurs in certain scenario:
    	1. If Wifi start softap and BLE is working
    	2. If wifi start station, but do not use normal station operation, such
    		as just use espnow, while BLE is working
    	3. Any other scenario, that wifi works without use software coexist
    		operation, while BLE is working(such as do advertising and ...)

    4. update libcoexist.a version to v1.1.2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants