RTEMS: bsps/arm/stm32f4/include/bsp.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
bsp.h
Go to the documentation of this file.
1
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#ifndef LIBBSP_ARM_STM32F4_BSP_H
22#define LIBBSP_ARM_STM32F4_BSP_H
23
34#include <bspopts.h>
35#include <bsp/default-initial-extension.h>
36
37#include <rtems.h>
38
39#ifdef __cplusplus
40extern "C" {
41#endif /* __cplusplus */
42
43#define BSP_FEATURE_IRQ_EXTENSION
44
45#define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT (13 << 4)
46
47#define BSP_ARMV7M_SYSTICK_PRIORITY (14 << 4)
48
49#define BSP_ARMV7M_SYSTICK_FREQUENCY STM32F4_HCLK
50
51#ifdef __cplusplus
52}
53#endif /* __cplusplus */
54
58#endif /* LIBBSP_ARM_STM32F4_BSP_H */
default-initial-extension.h
DEFAULT_INITIAL_EXTENSION Support.
rtems.h