source: rtems/c/src/lib/libbsp/arm/lpc24xx/include/bsp.h @ e90329f

4.104.115
Last change on this file since e90329f was e90329f, checked in by Joel Sherrill <joel.sherrill@…>, on 08/26/09 at 13:39:01

2009-08-26 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, preinstall.am, include/bsp.h: Rename BSP specific idle thread to bsp_idle_thread.
  • misc/bspidle.c: New file.
  • include/idle.h, misc/idle.c: Removed.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lpc24xx
5 *
6 * @brief Global BSP variables and functions.
7 */
8
9/*
10 * Copyright (c) 2008
11 * Embedded Brains GmbH
12 * Obere Lagerstr. 30
13 * D-82178 Puchheim
14 * Germany
15 * rtems@embedded-brains.de
16 *
17 * The license and distribution terms for this file may be found in the file
18 * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE.
19 */
20
21#ifndef LIBBSP_ARM_LPC24XX_BSP_H
22#define LIBBSP_ARM_LPC24XX_BSP_H
23
24#include <bspopts.h>
25
26#include <rtems.h>
27#include <rtems/console.h>
28#include <rtems/clockdrv.h>
29
30#ifdef __cplusplus
31extern "C" {
32#endif /* __cplusplus */
33
34#define BSP_FEATURE_IRQ_EXTENSION
35
36#ifndef ASM
37
38/* Network driver configuration */
39
40struct rtems_bsdnet_ifconfig;
41
42int lpc24xx_eth_attach_detach(
43  struct rtems_bsdnet_ifconfig *config,
44  int attaching
45);
46
47#define RTEMS_BSP_NETWORK_DRIVER_ATTACH lpc24xx_eth_attach_detach
48
49#define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
50
51/*
52 *  BSP specific idle thread
53 */
54void *bsp_idle_thread( uint32_t ignored);
55
56#define BSP_IDLE_TASK_BODY bsp_idle_thread
57
58#endif /* ASM */
59
60#ifdef __cplusplus
61}
62#endif /* __cplusplus */
63
64#endif /* LIBBSP_ARM_LPC24XX_BSP_H */
Note: See TracBrowser for help on using the repository browser.