undefined reference to `_mem_alloc_system'

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

undefined reference to `_mem_alloc_system'

666 Views
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?

0 Kudos
Reply
2 Replies

531 Views
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

531 Views
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 Kudos
Reply