Installed S32G FreeRTOS Module Unavailable in S32DS

cancel
Showing results for 
Search instead for 
Did you mean: 

Installed S32G FreeRTOS Module Unavailable in S32DS

Jump to solution
411 Views
tony-atlismv
Contributor III

 

I am trying to compile and use the S32G FreeRTOS project example in S32DS. I am using S32DS version 3.4 and have the FreeRTOS for S32G, version 1.0.0 module installed. But, when I bring up the Peripherals under the S32DS config tools in the drop-down menu, I don’t see the OS layer under the MCAL and Drivers layers in the left-hand column. If I click on the “+” button to add a component, the FreeRTOS is not shown in the peripheral selection list.

Also, if I right click on the project in the Project Explorer window, select S32 Configuration Tools->Manage SDK Components, I do not see the FreeRTOS option in the OS column.

I did try the S32K3xx FreeRTOS example project and was able to compile it. I also did see the FreeRTOS options available for the S32K3xx in both the S32DS config tools and in the Manage SDK Components list.

So, not sure if I am missing a step, or if the S32DS doesn’t recognize the installed FreeRTOS for S32G, version 1.0.0 module?

Thanks.

0 Kudos
1 Solution
330 Views
bpe
NXP TechSupport
NXP TechSupport

As it has already been explained, you are seeing empty folders and other problems because you did not install RTD package of the compatible version or did it in a wrong way. Please do follow the suggestions in my previous post in this thread to uninstall conflicting plugins and install what is required, in the proper order. You have to remove the broken FreeRTOS demo project as well. If after that the example does not compile, you have a completely broken S32DS installation. Uninstall S32DS, remove any FreeRTOS demo project folders, install everything anew, follow the installation instructions given in FreeRTOS plugin Release Notes strictly.

On my machine, FreeRTOS directory is not empty:

rtd_1_0_0_FreeRTOS_dir.JPG

 

 

 

 

 

and the demo project builds successfully:

 

rtd_1_0_0_freertos_demo_build_ok.JPG

 

 

 

 

Best Regards,
Platon

 

 

View solution in original post

0 Kudos
4 Replies
375 Views
bpe
NXP TechSupport
NXP TechSupport

It is normal and as expected that S32G2 FreeRTOS extension plugin for S32DS does not display as an SDK, as long as you can see it in the Extensions and Plugins list:

freertos_installed.png

You can start your FreeRTOS-based project by customizing the existing demo. The demo is available as a "Project from Example" template in S32DS:

 

image008.png

 

 

 

 

 

 

 

 

 

Note that FreeRTOS for S32G2 requires Relatime Drivers (RTD) package of 1_0_0 version:

rtd_valid_ver.png

 

 

 

 

If you have another RTD version installed, or don't have it installed it at all, the demo may fail at build time or may not display all components properly in the configuration tools. If that is the case, make sure you followed S32G2 FreeRTOS plugin Release Notes strictly: uninstall both FreeRTOS and the unmatching RTD, then install in that order: RTD 1_0_0, then FreeRTOS.

Hope this helps,
Platon

 

 

0 Kudos
366 Views
tony-atlismv
Contributor III

Hi Platon,

Thanks for your response. Please note that I did the following below prior to this posting. The problem is, the S32DS S32Gxx FreeRTOS example project DOES NOT include the FreeRTOS source code folder. This is because the example project has no affiliation with the FreeRTOS S32DS installed module. In looking at the S32K3xx FreeRTOS example project, there is a FreeRTOS folder containing the source code. 

So, the disconnect for the S32DS S32Gxx FreeRTOS example project is that it needs to be linked to the S32DS S32Gxx installed FreeRTOS module. Since it's not linked, could you please provide me a tutorial for this project?

Regards,

Tony

0 Kudos
331 Views
bpe
NXP TechSupport
NXP TechSupport

As it has already been explained, you are seeing empty folders and other problems because you did not install RTD package of the compatible version or did it in a wrong way. Please do follow the suggestions in my previous post in this thread to uninstall conflicting plugins and install what is required, in the proper order. You have to remove the broken FreeRTOS demo project as well. If after that the example does not compile, you have a completely broken S32DS installation. Uninstall S32DS, remove any FreeRTOS demo project folders, install everything anew, follow the installation instructions given in FreeRTOS plugin Release Notes strictly.

On my machine, FreeRTOS directory is not empty:

rtd_1_0_0_FreeRTOS_dir.JPG

 

 

 

 

 

and the demo project builds successfully:

 

rtd_1_0_0_freertos_demo_build_ok.JPG

 

 

 

 

Best Regards,
Platon

 

 

View solution in original post

0 Kudos
317 Views
tony-atlismv
Contributor III

Thanks, I just didn't realize that the RTOS required an older RTD version. Sorry, I missed that. It would be nice if the S32G2 demos kept up with the RTD releases though. 

Regards,

Tony

0 Kudos