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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,009件の閲覧回数
sushmasan
Contributor II

Hello Team,

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

Regards,
San

0 件の賞賛
返信
3 返答(返信)

932件の閲覧回数
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 件の賞賛
返信

915件の閲覧回数
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 件の賞賛
返信

979件の閲覧回数
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 件の賞賛
返信