RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bsp.h
Go to the documentation of this file.
1
9/*
10 * Copyright (c) 2008-2013 embedded brains GmbH. All rights reserved.
11 *
12 * embedded brains GmbH
13 * Obere Lagerstr. 30
14 * 82178 Puchheim
15 * Germany
16 * <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#ifndef LIBBSP_ARM_LPC176X_BSP_H
24#define LIBBSP_ARM_LPC176X_BSP_H
25
36#include <bspopts.h>
37
38#define LPC176X_PCLK ( LPC176X_CCLK / LPC176X_PCLKDIV )
39#define LPC176X_MPU_REGION_COUNT 8u
40
41#define BSP_FEATURE_IRQ_EXTENSION
42#define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT ( 29u << 3u )
43#define BSP_ARMV7M_SYSTICK_PRIORITY ( 30u << 3u )
44#define BSP_ARMV7M_SYSTICK_FREQUENCY LPC176X_CCLK
45
46#ifndef ASM
47
48#include <rtems.h>
50
51#ifdef __cplusplus
52extern "C" {
53#endif /* __cplusplus */
54
55struct rtems_bsdnet_ifconfig;
56
77void*bsp_idle_thread( uintptr_t ignored );
78
79#define BSP_CONSOLE_UART_BASE 0x4000C000U
80
85void bsp_restart( const void *addr );
86
87#ifdef __cplusplus
88}
89#endif /* __cplusplus */
90
91#endif /* ASM */
92
95#endif /* LIBBSP_ARM_LPC176X_BSP_H */
DEFAULT_INITIAL_EXTENSION Support.
void bsp_restart(const void *addr)
Restarts the bsp with "addr" address.
Definition: restart.c:25
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition: bspidle.c:26