Quality RTOS & Embedded Software

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


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