Page 1 of 1

程序本身并没有返回参数,为什么会报错

Posted: Thu Jul 11, 2019 2:59 am
by fishman
错误日志

E (150) FreeRTOS: FreeRTOS Task "startup_initial" should not return, Aborting now!
abort() was called at PC 0x40085a53 on core 1
0x40085a53: vPortTaskWrapper at /home/yejianhui/esp/esp-idf/components/freertos/port.c:403


Backtrace: 0x40088444:0x3ffb8960 0x4008866d:0x3ffb8980 0x40085a53:0x3ffb89a0
0x40088444: invoke_abort at /home/yejianhui/esp/esp-idf/components/esp32/panic.c:707

0x4008866d: abort at /home/yejianhui/esp/esp-idf/components/esp32/panic.c:707

0x40085a53: vPortTaskWrapper at /home/yejianhui/esp/esp-idf/components/freertos/port.c:403

Re: 程序本身并没有返回参数,为什么会报错

Posted: Thu Jul 11, 2019 9:44 am
by ESP_morris
task退出前有没有调用 ` vTaskDelete` 呢?