How to build the AzureRTOS ThreadX for iMXRT1170

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

How to build the AzureRTOS ThreadX for iMXRT1170

跳至解决方案
3,488 次查看
t-sen-developer
Contributor II

Hi, community.

I want to work the AzureRTOS ThreadX (AMP) on iMXRT1170.

I found out the AzureRTOS supported the cortex M7.

Is Cortex M4 core supported AzureRTOS ?

If M4 supported AzureRTOS, please tell me how to build.

 

[Eva board]

iMXRT1170-EVM

[SDK]

MCUXpresso SDK 2.10.1 (MIMXRT1170-EVM.zip)

[IDE]

MCUXpresso IDE v11.4.1 Build 6260

 

Best regards, 

Takeo.

标签 (1)
0 项奖励
回复
1 解答
3,450 次查看
t-sen-developer
Contributor II

Hi, Felipe. 

Thank you for reply. I understand. 

iMXRT1176 has a M7 and M4, so I was considering to use M4 for real time-control, M7 for ML(machine-learning) such as eIQ.

Thanks, 

Takeo

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,260 次查看
Rongrong
Contributor I

I create iMXRT1176 ThreadX project using MCUXpressioIDE. But it does not contain azure-rtos->config fold and tx_user.h file. So build fail with error message: "MIMXRT1176_Project_ThreadX_M7\azure-rtos\threadx\ports\cortex_m7\gnu\inc/tx_port.h:78:10: fatal error: tx_user.h: No such file or directory".

Is it MCUXpressoIDE issue? How to fix it?

 

0 项奖励
回复
2,230 次查看
t-sen-developer
Contributor II
Hi Rongrong,

I don't remember exactly when I was working on this case as it was several years ago.
I looked in my computer directory and found that the tx_user_sample.h file was stored under.
"<SDK_2_10_1_MIMXRT1170-EVK>\rtos\azure-rtos\threadx\common\inc"

I may have renamed this sample to tx_user.h and used it.
You might try searching for tx_user_sample.h in the SDK directory.

Regards,
Takeo
0 项奖励
回复
2,223 次查看
Rongrong
Contributor I

Hi t-sen-developer:

I use MCUXpressionIDE 11.9.1. I check the IDE ThreadX example and find that azure-rtos/config/tx_user.h. For some reason the new project has no config fold. After I copy config fold to the new project under azure-rtos and reimport this project, then compile successfully.

I wonder why the IDE fail to create config fold in the project. May be it is an issue.

 

Thanks

Rong

 

0 项奖励
回复
3,458 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi Takeo,

M4 is supported by Azure RTOS, unfortunately, we do not have examples of AMP or M4 implemented in our SDK. We will be collecting feedback to see if this is a scenario we should add in future SDK releases.

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. 

------------------------------------------------------------------------------ 

3,451 次查看
t-sen-developer
Contributor II

Hi, Felipe. 

Thank you for reply. I understand. 

iMXRT1176 has a M7 and M4, so I was considering to use M4 for real time-control, M7 for ML(machine-learning) such as eIQ.

Thanks, 

Takeo

0 项奖励
回复