[ECOS] ST STM3210E EVAL board and the POSIX layer

medamine medamine.ecos@gmail.com
Fri Apr 6 09:05:00 GMT 2012


On 04/05/2012 05:16 PM, Fabrizio Carrai wrote:
> Hi,
> it looks like that something has not been defined. Can you post the
> limits.h file ?
>
> I do not use the STM32F1 MCU, but I will try to support anyhow.
>
> Bye
> F.
>
> Il 05 aprile 2012 15:58, medamine<medamine.ecos@gmail.com>  ha scritto:
>> Hi every body,
>>
>> we use the STM32F1, so i upload the template ST STM3210E EVAL board
>>
>> when I tried to build the system with the configuration tool. I included all
>> the functionnality of the ISO C and POSIX infrastructure especially for
>> Limits. But, i got these errors
>>
>> In file included from
>> /home/st/ecos/ecos-3.0/packages/infra/current/src/diag.cxx:63:
>> /home/st/config/POSIX_all_install/include/limits.h:175:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:183:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:191:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> /home/st/config/POSIX_all_install/include/limits.h:199:11: error: #include
>> expects "FILENAME" or<FILENAME>
>> make[1]: Leaving directory `/home/st/config/POSIX_all_build/infra/current'
>> make[1]: *** [src/diag.o.d] Error 1
>> make: Leaving directory `/home/st/config/POSIX_all_build'
>> make: *** [build] Error 2
>>
>> If some one has an idea for the source of these errors.
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>

What I mean is that I checked all the Options in the ISO C and POSIX 
infrastructure specially for Limits:

OPEN_MAX implementation header
LINK_MAX implementation header
NAME_MAX implementation header
PATH_MAX implementation header

for the default template STM3210, these options are unchecked, we need 
to ckeck these options and build the eCos library, we got the errors

we have the save errors fot other options like memcpy() implementation 
header, try to check it also and we will see the same think


                  from 
/home/st/ecos/ecos-3.0/packages/infra/current/src/eprintf.c:70:
/home/st/config/Posix_F4_functionning_install/include/string.h:82:11: 
error: #include expects "FILENAME" or <FILENAME>
make[1]: *** [src/eprintf.o.d] Error 1
make: *** [build] Error 2

Thanks for your help.

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list