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

STM32 PORT for ROWLEY

Posted by Essaid on June 12, 2008
Hi,

I am working on a stm32 project using freeRtos and corssworks environement. I have trouble converting the existing stm32 ports to crosswork environement.

i started by converting the existing stm32 iar port and the primer port but my code won t compile .

I tried a diffrent approach by using a working demo in rowley from the stm32 package. and then add the freertos sources and fucntionnality but i get the same compilation errors all the time.
the compiler messagfe is:

expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'



#ifndef __crossworks_H
#define __crossworks_H

#if defined(__CROSSWORKS)
#define __SIZE_T unsigned
#define __PTRDIFF_T int
typedef unsigned char *__va_list;
#pragma intrinsic(__va_base)
#elif defined(__CROSSWORKS_ARM)
#define __SIZE_T unsigned long
#define __PTRDIFF_T int
*****> typedef __builtin_va_list __va_list; <**************

pointing to the line above in __crossworks.h file.


can you help me find what s going on?

RE: STM32 PORT for ROWLEY

Posted by woops_ on June 12, 2008
looks like its not found def for __va_list. Could be order in which include files are loaded. What was the source code or file that was added before this error came up.

Maybe ask Rowley support?

RE: STM32 PORT for ROWLEY

Posted by Essaid on June 12, 2008
The file port .c from freertos seems to be the one that does the call.

RE: STM32 PORT for ROWLEY

Posted by Essaid on June 16, 2008
Has any one used freeRtos with an stm32 port?
i tried even the rowley LM35102 port as is, but that does not compile . says missing linker script for memory map.
Thanks for your help.

RE: STM32 PORT for ROWLEY

Posted by Richard on June 16, 2008
Have you installed the Rowley package for the LM3S? This is downloaded separately from the CrossStudio IDE.

Regards.

RE: STM32 PORT for ROWLEY

Posted by Essaid on June 16, 2008
Hi Richard,

Thanks to your suggestion. i think that what's i was missing.

Do you have an idea for my troubles with the stm32 port in rowley maunly the problems with the typedef __builtin_va_list __va_list in crosswirks.h file.

any help is appreciated as i got stuck because of it.

Thanks

RE: STM32 PORT for ROWLEY

Posted by Essaid on June 18, 2008
Nobody is working on stm32 and freertos?

RE: STM32 PORT for ROWLEY

Posted by Rémi Lagacé on June 20, 2008
Hi,

I have used FreeRTOS with the STM32 in Rowley using the version 4.7.2. If nothing changed since then, all you have to do is define GCC_ARMCM3 since Rowley use the GCC compiler, so you must use the GCC port instead of the IAR port.

Regards

RE: STM32 PORT for ROWLEY

Posted by Essaid on June 20, 2008
Thanks a lot Remi for your reply, but i did use the GCC_ARMCM3 define. are there any uther settings in Rwley that i am missing? I ll try to use the 4.7.2 Version and see wether i get the same behavior.
Thanks.

RE: STM32 PORT for ROWLEY

Posted by Rémi Lagacé on June 20, 2008
Hi,

I think there is no other settings to setup. I tried to include the __crossworks.h in my project since I didn't use that file and it compile correctly. I'm using Rowley version 1.7 build 8 with the STM32 package version 1.5.

Regards

RE: STM32 PORT for ROWLEY

Posted by slawc on June 24, 2008
Can someone check if latest port for STM32 and GCC (RIDE) can be compiled? I don't have RIDE so I can't check it for myself.

I'm trying to use this port (with some changes of course) with Rowley and the build process stops at assert line (in . Searching though sources shows no assert definition. It's defined for KEIL and IAR though.


[ 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