source: rtems/c/src/lib/libbsp/lm32/milkymist/include/bsp.h @ 03d184d0

4.11
Last change on this file since 03d184d0 was 03d184d0, checked in by Toma <radustoma@…>, on Dec 24, 2013 at 9:58:18 PM

lm32_milkymist: improve doxygen

Add doxygen to the header files in the /lm32/milymist/include directory.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lm32_milkymist
5 *
6 * @brief Global BSP definitions.
7 */
8
9/*  bsp.h
10 *
11 *  This include file contains all board IO definitions.
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.com/license/LICENSE.
16 *
17 *  COPYRIGHT (c) 2011 Sebastien Bourdeauducq
18 */
19
20#ifndef _BSP_H
21#define _BSP_H
22
23#include <stdint.h>
24#include <bspopts.h>
25#include <bsp/default-initial-extension.h>
26
27#include <rtems.h>
28#include <rtems/console.h>
29#include <rtems/clockdrv.h>
30
31/**
32 * @defgroup lm32_milkymist Milkymist Support
33 *
34 * @ingroup bsp_lm32
35 *
36 * @brief Milkymist support package.
37 */
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43#define BSP_HAS_FRAME_BUFFER 1
44
45/*
46 * lm32 requires certain aligment of mbuf because unaligned uint32_t
47 * accesses are not handled properly.
48 */
49
50#define CPU_U32_FIX
51
52#if defined(RTEMS_NETWORKING)
53#include <rtems/rtems_bsdnet.h>
54struct rtems_bsdnet_ifconfig;
55extern int rtems_minimac_driver_attach (struct rtems_bsdnet_ifconfig *config,
56                                        int attaching);
57#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_minimac_driver_attach
58#define RTEMS_BSP_NETWORK_DRIVER_NAME "minimac0"
59#endif
60
61#ifdef __cplusplus
62}
63#endif
64
65#endif
Note: See TracBrowser for help on using the repository browser.