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

Problem in compiling FREERTOS for STM32F207IG

Posted by faizan Shukoor on November 21, 2012
Hi,

I am getting compilation error, when i try to compile FreeRtos with Rowley's Crossworks for STM32F207IG.
I am using version 6.1.0 of freeRtos. I am getting a compilation error in the File "queue.c" & port.c
The error are "undefined reference to vPortSetInterruptMask"

Building “Example” in configuration “THUMB Debug”
Compiling queue.c
Linking Example.elf
THUMB Debug/queue.o: In function `xQueueGenericSendFromISR':
undefined reference to `vPortSetInterruptMask'
undefined reference to `vPortClearInterruptMask'
THUMB Debug/tasks.o: In function `vTaskStartScheduler':
undefined reference to `vPortSetInterruptMask'
THUMB Debug/port.o: In function `vPortEnterCritical':
undefined reference to `vPortSetInterruptMask'
THUMB Debug/port.o: In function `vPortExitCritical':
undefined reference to `vPortClearInterruptMask'
THUMB Debug/port.o: In function `xPortSysTickHandler':
undefined reference to `vPortSetInterruptMask'
undefined reference to `vPortClearInterruptMask'
Build failed

Kindly Oblige

RE: Problem in compiling FREERTOS for STM32F207IG

Posted by Richard on November 21, 2012
Where did the project come from? I'm using FreeRTOS V7.3.0 and there isn't a vPortSetInterruptMask() function or macro in the CM3 GCC port layer.

I just tried compiling the FreeRTOS\Demo\CORTEX_STM32F107_GCC_Rowley demo and didn't get any problems (there were 17 warnings that came from the uIP stack code, but it compiled and linked).

Regards.

RE: Problem in compiling FREERTOS for STM32F207IG

Posted by faizan Shukoor on November 21, 2012
Thanks for the reply, I am using freeRtos V6.1. I have used the source file from other FreeRTOS project Build on Different IDE.
The Project is based on demonstration of building on top of the LwIP (Lightweight IP) TCP/IP stack.

I have also tried & compilied FreeRTOS\Demo\CORTEX_STM32F107_GCC_Rowley demo without any errors, but i cannot use this, as I am using STM32F207IG based Development board.

Kindly oblige.

RE: Problem in compiling FREERTOS for STM32F207IG

Posted by Richard on November 21, 2012
All the Cortex-M3 demos use exactly the same port layer code. FreeRTOS does not care if it is a 107 or a 207, but you will have to change the linker script to have the correct memory layout.

http://www.freertos.org/Creating-a-new-FreeRTOS-project.html
http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html

Regards.


[ 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