HOWTO: Create FreeRTOS project in S32 Design Studio

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

HOWTO: Create FreeRTOS project in S32 Design Studio

HOWTO: Create FreeRTOS project in S32 Design Studio

This document describes, how to create FreeRTOS project for S32K144 microcontroller using S32 Design Studio v1.3 ARM and S32K144_SDK_gcc 1.0.0 RTM. Be sure, you have correctly installed all available updates.

S32 Design Studio for Arm v1.3 - Update 1 available 

S32 Design Studio for Arm v1.3 - Update 2 available 

S32 Design Studio for Arm v1.3 - Update 3 & 4 available 

1) Create new project. Choose S32K144 microcontroller. Click Next.

pastedImage_2.png

2) Choose NewLib Nano Library, and choose S32K144_SDK_gcc RTM 1.0.0. Click Finish.

pastedImage_6.png

pastedImage_7.png

pastedImage_8.png

3) Open project properties and click Target Processor tab. For Float ABI, choose FP instructions (hard).

pastedImage_9.png

4) Open Component Library, right click FreeRTOS component and add this component to project.

pastedImage_10.png

5) Last, Generate Processor Expert Code and compile project.

pastedImage_11.png

Now, you can use FreeRTOS component in your project.

Another way is to create FreeRTOS proejct from example. Click New S32DS Project from Example. Choose freertos in S32K144 RTM SDK v1.0.0 Example Projects folder.

pastedImage_12.png

Best Regards,

Martin

Labels (1)
Attachments
Comments

Thank you!!

Hello, could you please also share a HOWTO about creating FreeRTOS project in S32 Design Studio for Power v1.2 - Windows/Linux?  S32 v1.3 is not available for MPC5748g. It looks like there's very limited resource about freeRTOS on MPC5748g, Thanks!

Hi

I am not much familiar with RTOS,I have a project developed on S32k144 with out using any SDKs.In the existing implementation delta time is used to run different tasks periodically.Now  I need help to add RTOS functionality to the existing project with  minimal changes. 

Thanks in Advance 

Vishakh

Add RTOS Functionality... with minimal changes

Good luck! Depending on how you wrote your code that's either going to be easy or really hard.

Check out the pdf guides here to find out more about FreeRTOS and how to implement it Free RTOS Book and Reference Manual 

James, Did you got Free RTOS project created for MPC5748G?

I was able to create and got running with S32 V1.2 for MPC5748G. 

1. Create New Project from Example - select example "freertos_mpc5748g".

2. Once project is created - Project - Generate Processor Expert Code.

3. After code generation you can build and debug the same on hardware.

4. once this project is running you can edit main.c file to add your intended tasks and required peripheral initialization. 

Udit

Hello,

When creating a new project, why do we need to create it with the NewLib_Nano library? Why can't we use the EWL library?

-Su

Sucheta,

For Power PC its EWL library used.

In the screenshots its shown NewLib_Nano but the project mentioned their is

for ARM.

hope this clarifies your doubt.

Udit

No ratings
Version history
Last update:
‎07-11-2017 01:42 AM
Updated by: