FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2012 Threads] Doubt: code directory structurePosted 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 structurePosted 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 structurePosted 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 structurePosted 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 structurePosted 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 structurePosted by Richard on October 11, 2012 Yes.
RE: Doubt: code directory structurePosted 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 structurePosted 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 structurePosted by lisa_sangu on October 12, 2012 somebody can say YES / NO :))) ??
RE: Doubt: code directory structurePosted by Richard on October 12, 2012 Yes.
Regards.
RE: Doubt: code directory structurePosted by lisa_sangu on October 12, 2012 superb .. richard, i would love to see ur replies
-Lisa
RE: Doubt: code directory structurePosted 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
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|