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] [June 2008 Threads] STM32 PORT for ROWLEYPosted 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 ROWLEYPosted 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 ROWLEYPosted 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 ROWLEYPosted 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 ROWLEYPosted 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 ROWLEYPosted 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 ROWLEYPosted by Essaid on June 18, 2008 Nobody is working on stm32 and freertos?
RE: STM32 PORT for ROWLEYPosted 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 ROWLEYPosted 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 ROWLEYPosted 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 ROWLEYPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|