SDK Manegement adds extra heap management files

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

SDK Manegement adds extra heap management files

Jump to solution
723 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Solution
642 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
643 Views
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 Kudos