Hello,
Since you are using a third party BSP, you need to consult inventron for this issue. judging from the error, it looks like the problem is caused by code modified by inventron, or it could be due to your source code being incomplete.

Best Regards,
Zhiming