AzureRTOS - tips/guides for getting started
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-04 1:47 PM
Hello,
I am trying to start a project with AzureRTOS with the STM32H723 Nucleo board and am looking for some tips, getting started guides, etc.
I have looked at the Fx_NoR_Write_Read_File example project and saw how _tx_initialize_kernel_enter() was structured and that it calls tx_application_define() which calls App_ThreadX_Init() and App_FileX_Init(). Seems like a logical approach.
So I was surprised when the code generated by CubeMX uses a different structure than the examples.
Makes it more difficult to adapt the examples, etc.
Is there a preferred / recommended way to structure AzureRTOS projects?
Thanks,
Mark
Solved! Go to Solution.
- Labels:
-
AzureRTOS
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-08 2:57 AM
Hi @MButsch​ ,
I recommend you to have a look at the following ST wiki:
I hope these resources are helpful for you :)
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-05 8:45 AM
Hello @MButsch​ ,
Have a look at this article How to create a Thread using AzureRTOS and STM32CubeIDE, it contains all steps and a demo code that helps you to use the AZURE-RTOS ThreadX.
You have also this video: Getting Started with X-CUBE-AZRTOS-H7.
Let me know if this helps you. If yes :) so please close this topic by choosing Select as Best. This will help other users find that answer faster.
If you still have issues, don't hesitate to come back to the Community.
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-06 6:01 AM
Hello @Imen DAHMEN​ ,
Thank you for the article link.
I liked how it explains the project folder/file organization.
The detail of the code structure is very helpful as well,
I follwed the example in the article but the code generated by my STM32CubeMX instance does not exactly match that of the example. This was one of the points in my original post.
The code generated in main.c has a call to MX_ThreadX_Init() instead of MX_AZURE_RTOS_Init() and there are other function / code differences as well.
This made it more difficult to match what I am doing with the example, but I think I am getting the hang of it now.
Are there any similar articles for how to use FileX , USBX, etc?
Thank you,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-08 2:57 AM
Hi @MButsch​ ,
I recommend you to have a look at the following ST wiki:
I hope these resources are helpful for you :)
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-08 5:44 AM
Hello,
Thank you for the link to the USBX overview.
I can not find the "USBX STM32 Device Controllers" files in the project generated by CubeMX. I presume this is going to be a problem.
How do you get them into a project?
Thanks,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-08 11:03 AM
OK,
I just noticed where you can select "USBX STM32 Device Controllers" in the Azure RTOS Component selector.
That will probably solve that issue.
