How to build the AzureRTOS ThreadX for iMXRT1170

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

How to build the AzureRTOS ThreadX for iMXRT1170

Jump to solution
1,379 Views
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.

Labels (1)
0 Kudos
1 Solution
1,341 Views
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

View solution in original post

0 Kudos
5 Replies
151 Views
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 Kudos
121 Views
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 Kudos
114 Views
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 Kudos
1,349 Views
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. 

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

1,342 Views
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 Kudos