Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists