Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Doubt: code directory structure

Posted by lisa_sangu on October 11, 2012
in code directory stricture , in the folder Source\portable\GCC , there are 2 folders
ARM_CM3 and ARM_CM3_MPU . What is the difference between these two ?

Regards
Lisa

RE: Doubt: code directory structure

Posted by Richard on October 11, 2012
One does not use the MPU (memory protection unit) and runs all the tasks in privileged mode. The other does use the MPU and tasks can be created in privileged or unprivileged mode.

http://www.freertos.org/FreeRTOS-MPU-memory-protection-unit.html

Regards.

RE: Doubt: code directory structure

Posted by lisa_sangu on October 11, 2012
So porting "every" arm cortex-m3 microcontroller running on gcc compilor should use portable\GCC\ARM_CM3 folder ? ( if MPU is not needed)

RE: Doubt: code directory structure

Posted by Richard on October 11, 2012
Yes. The code in that directory is the code to use for *all* Cortex-M3 ports that don't use the MPU, and *all* Cortex-M4 ports that don't use either the MPU or FPU.

Regards.

RE: Doubt: code directory structure

Posted by lisa_sangu on October 11, 2012
A little confused again... I am sorry for that ...

TI has arm cortex M3 based microcontroller
Atmel also has arm cortex M3 based controller

so both of these micro controller running on gcc compiler should use code from portable\GCC\ARM_CM3 folder ?

-Lisa

RE: Doubt: code directory structure

Posted by Richard on October 11, 2012
Yes.

RE: Doubt: code directory structure

Posted by lisa_sangu on October 11, 2012
I understood . :) richardbarry thank you for your immediate response.
i have sent a message to you. hope u see it

RE: Doubt: code directory structure

Posted by lisa_sangu on October 11, 2012
Based on the understanding , let me tell you my setup

*** I am porting Microcontroller Samsung XXXX which is based on ARM cortex-m3 on IAR tools **

1) so i dont have to change anything .because Source\portable\IAR\ARM_CM3 code is already present.
2) and Source folder contains queue.c , list.c,tasks.c files and Source\include folder contains other header files necessary


3) and I will create a demo application inside Demo/CORTEX_SamsungXXX_IAR folder

Is this correct way ?


Regards
Lisa

RE: Doubt: code directory structure

Posted by lisa_sangu on October 12, 2012
somebody can say YES / NO :))) ??

RE: Doubt: code directory structure

Posted by Richard on October 12, 2012
Yes.

Regards.

RE: Doubt: code directory structure

Posted by lisa_sangu on October 12, 2012
superb .. richard, i would love to see ur replies

-Lisa


RE: Doubt: code directory structure

Posted by lisa_sangu on October 15, 2012
i decided to take an already existing demo application and use it.
which DEMO application you suggest for a starter like me ? so that i can do minor modification n reuse it ?
( My set up is mentioned above at reply No 8)

Regards
Lisa


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner