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

Last change on this file was 479b2bf, checked in by Sebastian Huber <sebastian.huber@…>, on May 11, 2020 at 6:25:32 AM

rtems: Remove _Copyright_Notice from API header

Close #3981.

  • Property mode set to 100644
File size: 849 bytes
Line 
1/*
2 *  COPYRIGHT (c) 2003, Ralf Corsepius, Ulm, Germany.
3 *  COPYRIGHT (c) 2003, On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#include <rtems/version.h>
11#include <rtems/score/copyrt.h>
12#include <rtems/score/cpu.h>
13
14#include <bspopts.h>
15
16#ifndef RTEMS_VERSION
17#error "Missing RTEMS_VERSION"
18#endif
19#ifndef CPU_NAME
20#error "Missing CPU_NAME"
21#endif
22#ifndef CPU_MODEL_NAME
23#error "Missing CPU_MODEL_NAME"
24#endif
25#ifndef RTEMS_BSP
26#error "Missing RTEMS_BSP"
27#endif
28
29const char _RTEMS_version[] =
30  "rtems-" RTEMS_VERSION " (" CPU_NAME "/" CPU_MODEL_NAME "/"
31  RTEMS_XSTRING( RTEMS_BSP ) ")";
32
33const char *rtems_board_support_package( void )
34{
35  return RTEMS_XSTRING( RTEMS_BSP );
36}
Note: See TracBrowser for help on using the repository browser.