Files
rtems/bsps/shared/rtems-version.c
Sebastian Huber 58840ffbb0 rtems: Add files to Doxygen groups
Provide basic Doxygen comments.

Update #3706.
Update #3707.
2023-07-26 07:18:29 +02:00

46 lines
1.0 KiB
C

/**
* @file
*
* @ingroup RTEMSImplClassic
*
* @brief This source file contains the implementation of
* rtems_board_support_package() and the definition of ::_RTEMS_version.
*/
/*
* COPYRIGHT (c) 2003, Ralf Corsepius, Ulm, Germany.
* COPYRIGHT (c) 2003, On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#include <rtems/version.h>
#include <rtems/score/copyrt.h>
#include <rtems/score/cpu.h>
#include <bspopts.h>
#ifndef RTEMS_VERSION
#error "Missing RTEMS_VERSION"
#endif
#ifndef CPU_NAME
#error "Missing CPU_NAME"
#endif
#ifndef CPU_MODEL_NAME
#error "Missing CPU_MODEL_NAME"
#endif
#ifndef RTEMS_BSP
#error "Missing RTEMS_BSP"
#endif
const char _RTEMS_version[] =
"rtems-" RTEMS_VERSION " (" CPU_NAME "/" CPU_MODEL_NAME "/"
RTEMS_XSTRING( RTEMS_BSP ) ")";
const char *rtems_board_support_package( void )
{
return RTEMS_XSTRING( RTEMS_BSP );
}