SDK Manegement adds extra heap management files

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

SDK Manegement adds extra heap management files

跳至解决方案
1,055 次查看
kl
Contributor III

Hi

Using MCUXpresso SDK 2.7.0 and MCUXpresso IDE v11.1.1

Scenario:

  1. Copy example evkmimxrt1064_freertos_hello
  2. Compile, all works
  3. Right click on project root in project explorer, select "SDK Manegement" -> "Refresh SDK components"
    1. Accept warning on FreeRTOS_Config
  4. Compile. Failed
    1. The update adds heap management modules for heap_1, heap_2, heap_3 and heap_useNewlib for no reason.

The same happens if you try to add support for modules like gpt.

But why? Anything done wrong? Workaround?

If I just delete the heap_1.c, heap_2.c, heap_3.c and heap_useNewlib.c files, I can compile. But rerunning "Refresh SDK components" recreates them. So it is not very nice.

BR

Kasper

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
974 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Kasper,

 

This looks like a configuration problem with the Refresh SDK components option. There are a number of heap strategies and you need to define which one you want to use. Presently all are enabled and so the same subroutine is present a number of times so it will fail to link. Unfortunately, I believe deleting the files is the only option to fix this.

 

Please check the below link.

https://www.freertos.org/a00111.html

 

Have a great day,
Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
975 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Kasper,

 

This looks like a configuration problem with the Refresh SDK components option. There are a number of heap strategies and you need to define which one you want to use. Presently all are enabled and so the same subroutine is present a number of times so it will fail to link. Unfortunately, I believe deleting the files is the only option to fix this.

 

Please check the below link.

https://www.freertos.org/a00111.html

 

Have a great day,
Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复