source: rtems/bsps/shared/rtems-version.c

Last change on this file was 58840ffb, checked in by Sebastian Huber <sebastian.huber@…>, on 07/25/23 at 06:48:55

rtems: Add files to Doxygen groups

Provide basic Doxygen comments.

Update #3706.
Update #3707.

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[58840ffb]1/**
2 * @file
3 *
4 * @ingroup RTEMSImplClassic
5 *
6 * @brief This source file contains the implementation of
7 *   rtems_board_support_package() and the definition of ::_RTEMS_version.
8 */
9
[434b8ea1]10/*
11 *  COPYRIGHT (c) 2003, Ralf Corsepius, Ulm, Germany.
12 *  COPYRIGHT (c) 2003, On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
[c499856]16 *  http://www.rtems.org/license/LICENSE.
[434b8ea1]17 */
18
[20d472d]19#include <rtems/version.h>
[479b2bf]20#include <rtems/score/copyrt.h>
21#include <rtems/score/cpu.h>
[434b8ea1]22
[4f0dca3a]23#include <bspopts.h>
24
[434b8ea1]25#ifndef RTEMS_VERSION
26#error "Missing RTEMS_VERSION"
27#endif
28#ifndef CPU_NAME
29#error "Missing CPU_NAME"
30#endif
31#ifndef CPU_MODEL_NAME
32#error "Missing CPU_MODEL_NAME"
33#endif
34#ifndef RTEMS_BSP
35#error "Missing RTEMS_BSP"
36#endif
37
38const char _RTEMS_version[] =
[4f0dca3a]39  "rtems-" RTEMS_VERSION " (" CPU_NAME "/" CPU_MODEL_NAME "/"
40  RTEMS_XSTRING( RTEMS_BSP ) ")";
[20d472d]41
42const char *rtems_board_support_package( void )
43{
44  return RTEMS_XSTRING( RTEMS_BSP );
45}
Note: See TracBrowser for help on using the repository browser.