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

fishman
Posts: 13
Joined: Mon May 20, 2019 8:46 am

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

Postby fishman » Thu Jul 11, 2019 2:59 am

错误日志

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

ESP_morris
Posts: 290
Joined: Wed Sep 05, 2018 6:23 am

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

Postby ESP_morris » Thu Jul 11, 2019 9:44 am

task退出前有没有调用 ` vTaskDelete` 呢?

Who is online

Users browsing this forum: No registered users and 170 guests