FreeRTOS build failure in Release configuration (MCUXpresso IDE v24.9.25)

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

FreeRTOS build failure in Release configuration (MCUXpresso IDE v24.9.25)

211 Views
sushmasan
Contributor II

Hello Team,

Can someone please help me what might cause FREERTOS component to fail only in release configuration?

Regards,
San

0 Kudos
Reply
3 Replies

134 Views
sushmasan
Contributor II

Hi @EdwinHz ,

The error is with this component,

make -r -j16 all
make[1]: *** No rule to make target '../freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c', needed by 'freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.o'. Stop.


Surprisingly I am not seeing the issue now.

These are the steps followed,

- Created a new workspace folder(C:/Test/ws) and while launching the MCU Xpresso IDE provided this as a workspace path

- Copied the Free RTOS code to Test folder

- While trying to build using Debug/Release configuration, Debug is PASS, Release is FAIL.

Now I made few changes,

- Created a new workspace folder(C:/Test/new_ws) and while launching the MCU Xpresso IDE provided this as a workspace path

- Copied the Free RTOS code to new_ws folder

- While trying to build using Debug/Release configuration, now both are PASS.

 

I am wondering if there is an issue with path or something, then in the first scenario both debug and release has to fail. But only Release configuration build has failed.

Any idea?

 

Regards,
San

0 Kudos
Reply

117 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @sushmasan,

It was probably a porting issue that caused the '../freertos/freertos-kernel/portable/GCC/ARM_CM33_NTZ/non_secure/portasm.c' to not be copied correctly into the first workspace. Then with the second one, it was likely copied correctly, which is why it worked on a second try.

BR,
Edwin.

0 Kudos
Reply

181 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @sushmasan,

What component are you seeing fail? How is it failing (i.e. hardfault, halting, etc.)? Does it only happen with release build or also with debug build? What MCU, SDK and IDE versions are you using?

BR,
Edwin.

0 Kudos
Reply