undefined reference to `_mem_alloc_system'

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

undefined reference to `_mem_alloc_system'

787 次查看
kcw
Contributor III

MQX 4.1

I am getting a  undefined reference to `_mem_alloc_system' in GPIO1_Init(PE auto generated code).

This code is autogenerated.....

Any Ideas?

标记 (3)
0 项奖励
回复
2 回复数

652 次查看
danielchen
NXP TechSupport
NXP TechSupport

HI

how to reproduce your issue?

I guess you need to enable memory allocation in PE  properties view.


Have a great day,
Daniel

652 次查看
kcw
Contributor III

1) Create a project in KDS using PE.

2) add MQX OS in PE

3) add GPIO_LDD  in PE

4) Generated the Processor expert code

5) Compile.

I am getting an compile error in GPIO1_init. undefined reference to _mem_alloc_system.

0 项奖励
回复