Quality RTOS & Embedded Software

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




Loading

STM32F407 Cortex M4 Keil porting

Posted by Dario on May 9, 2012
Hello everybody,

Quick question ... I have to use FreeRTOS on a Cortex-M4 STM32f407ZG processor and the Keil compiler. Could somebody tell me which startup file .S I have to use for Keil? I checked one of the demos for IAR but it looks tailored for IAR only.
Thanks for any help in advance,
Regards,

RE: STM32F407 Cortex M4 Keil porting

Posted by Richard on May 9, 2012
Create a new project in Keil that targets the hardware you want to use. Then copy the start up files and linker script settings from that. You will have to populate the vector table with the FreeRTOS interrupt handlers, or add the following lines to FreeRTOSConifg.h (if they are not already there).

#define vPortSVCHandler SVC_Handler
#define xPortPendSVHandler PendSV_Handler
#define xPortSysTickHandler SysTick_Handler


Regards.

RE: STM32F407 Cortex M4 Keil porting

Posted by Dario on May 9, 2012
I really appreciate your help. I love this OS but I am missing some details about porting and setting this particular files. Actually I checked the demo CORTEX_M4F_STM32F407ZG-SK which is for the exactly the same board I use, but Keil as compiler this time. I will try to set it as you mentioned and get back to you in case I can not make it works.
For the time being, thanks.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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