[PATCH] c-user: Add application config info directives

Chris Johns chrisj at rtems.org
Tue Oct 4 07:04:40 UTC 2022


On 30/9/2022 11:34 pm, Sebastian Huber wrote:
> On 17/09/2022 09:31, Chris Johns wrote:
>>> +rtems_get_version_string()
>>> +--------------------------
>>> +
>>> +Gets the RTEMS version string.
>>> +
>>> +.. rubric:: CALLING SEQUENCE:
>>> +
>>> +.. code-block:: c
>>> +
>>> +    const char *rtems_get_version_string( void );
>>> +
>>> +.. rubric:: RETURN VALUES:
>>> +
>>> +Returns the pointer to the RTEMS version string.
>> Is the version string subject to change across releases or do as set this string
>> format?
>>
>> Is it worth discussing the revision values and what they mean?
> 
> The version string contains a lot of stuff:
> 
> const char _RTEMS_version[] =
>   "rtems-" RTEMS_VERSION " (" CPU_NAME "/" CPU_MODEL_NAME "/"
>   RTEMS_XSTRING( RTEMS_BSP ) ")";
> 
> I don't know if we should specify a particular format.
> 

I agree. We should say it may change and parsing it may break.

Chris


More information about the devel mailing list