5
Last change
on this file since 272d421 was
272d421,
checked in by Joel Sherrill <joel@…>, on 03/29/16 at 18:10:50
|
arm/stm32f4: Remove include of <rtems/console.h> from <bsp.h> and fix warnings
|
-
Property mode set to
100644
|
File size:
1017 bytes
|
Rev | Line | |
---|
[8224d2af] | 1 | /** |
---|
| 2 | * @file |
---|
| 3 | * @ingroup arm_stm34f4 |
---|
| 4 | * @brief Global BSP definitions. |
---|
| 5 | */ |
---|
| 6 | |
---|
[e230fb4] | 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 |
---|
[c499856] | 18 | * http://www.rtems.org/license/LICENSE. |
---|
[e230fb4] | 19 | */ |
---|
| 20 | |
---|
[8224d2af] | 21 | /** |
---|
| 22 | * @defgroup arm_stm32f4 STM32F4 Support |
---|
| 23 | * @ingroup bsp_arm |
---|
| 24 | * @brief STM32f4 Support Package |
---|
| 25 | * @{ |
---|
| 26 | */ |
---|
| 27 | |
---|
[e230fb4] | 28 | #ifndef LIBBSP_ARM_STM32F4_BSP_H |
---|
| 29 | #define LIBBSP_ARM_STM32F4_BSP_H |
---|
| 30 | |
---|
| 31 | #include <bspopts.h> |
---|
[a052181] | 32 | #include <bsp/default-initial-extension.h> |
---|
[e230fb4] | 33 | |
---|
| 34 | #include <rtems.h> |
---|
| 35 | |
---|
| 36 | #ifdef __cplusplus |
---|
| 37 | extern "C" { |
---|
| 38 | #endif /* __cplusplus */ |
---|
| 39 | |
---|
| 40 | #define BSP_FEATURE_IRQ_EXTENSION |
---|
| 41 | |
---|
| 42 | #define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT (13 << 4) |
---|
| 43 | |
---|
| 44 | #define BSP_ARMV7M_SYSTICK_PRIORITY (14 << 4) |
---|
| 45 | |
---|
| 46 | #define BSP_ARMV7M_SYSTICK_FREQUENCY STM32F4_HCLK |
---|
| 47 | |
---|
[8224d2af] | 48 | /** @} */ |
---|
| 49 | |
---|
[e230fb4] | 50 | #ifdef __cplusplus |
---|
| 51 | } |
---|
| 52 | #endif /* __cplusplus */ |
---|
| 53 | |
---|
| 54 | #endif /* LIBBSP_ARM_STM32F4_BSP_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.