source: rtems/c/src/lib/libbsp/arm/stm32f4/include/bsp.h @ 78c9fe8

5
Last change on this file since 78c9fe8 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/**
2 * @file
3 * @ingroup arm_stm34f4
4 * @brief Global BSP definitions.
5 */
6
7/*
8 * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
9 *
10 *  embedded brains GmbH
11 *  Obere Lagerstr. 30
12 *  82178 Puchheim
13 *  Germany
14 *  <rtems@embedded-brains.de>
15 *
16 * The license and distribution terms for this file may be
17 * found in the file LICENSE in this distribution or at
18 * http://www.rtems.org/license/LICENSE.
19 */
20
21/**
22 * @defgroup arm_stm32f4 STM32F4 Support
23 * @ingroup bsp_arm
24 * @brief STM32f4 Support Package
25 * @{
26 */
27
28#ifndef LIBBSP_ARM_STM32F4_BSP_H
29#define LIBBSP_ARM_STM32F4_BSP_H
30
31#include <bspopts.h>
32#include <bsp/default-initial-extension.h>
33
34#include <rtems.h>
35#include <rtems/console.h>
36#include <rtems/clockdrv.h>
37
38#ifdef __cplusplus
39extern "C" {
40#endif /* __cplusplus */
41
42#define BSP_FEATURE_IRQ_EXTENSION
43
44#define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT (13 << 4)
45
46#define BSP_ARMV7M_SYSTICK_PRIORITY (14 << 4)
47
48#define BSP_ARMV7M_SYSTICK_FREQUENCY STM32F4_HCLK
49
50/** @} */
51
52#ifdef __cplusplus
53}
54#endif /* __cplusplus */
55
56#endif /* LIBBSP_ARM_STM32F4_BSP_H */
Note: See TracBrowser for help on using the repository browser.