source: rtems/c/src/lib/libbsp/arm/tms570/include/bsp.h @ 94a4865

5
Last change on this file since 94a4865 was e56090ef, checked in by Joel Sherrill <joel@…>, on 03/29/16 at 18:10:50

arm/tms570: Remove include of <rtems/console.h> from <bsp.h> and fix warnings

  • Property mode set to 100644
File size: 1017 bytes
Line 
1/**
2 * @file bsp.h
3 *
4 * @ingroup tms570
5 *
6 * @brief Global BSP definitions.
7 */
8
9/*
10 * Copyright (c) 2014 Premysl Houdek <kom541000@gmail.com>
11 *
12 * Google Summer of Code 2014 at
13 * Czech Technical University in Prague
14 * Zikova 1903/4
15 * 166 36 Praha 6
16 * Czech Republic
17 *
18 * Based on LPC24xx and LPC1768 BSP
19 *
20 * The license and distribution terms for this file may be
21 * found in the file LICENSE in this distribution or at
22 * http://www.rtems.org/license/LICENSE.
23 */
24
25#ifndef LIBBSP_ARM_TMS570_BSP_H
26#define LIBBSP_ARM_TMS570_BSP_H
27
28#include <bspopts.h>
29
30#define BSP_FEATURE_IRQ_EXTENSION
31
32#ifndef ASM
33
34#include <rtems.h>
35#include <bsp/default-initial-extension.h>
36
37#define BSP_OSCILATOR_CLOCK 8000000
38#define BSP_PLL_OUT_CLOCK 160000000
39
40/** Define operation count for Tests */
41#define OPERATION_COUNT 4
42
43#ifdef __cplusplus
44extern "C" {
45#endif /* __cplusplus */
46
47struct rtems_bsdnet_ifconfig;
48
49/** @} */
50
51#ifdef __cplusplus
52}
53#endif /* __cplusplus */
54
55#endif /* ASM */
56
57#endif /* LIBBSP_ARM_TMS570_BSP_H */
Note: See TracBrowser for help on using the repository browser.