source: rtems/bsps/arm/stm32f4/include/bsp.h

Last change on this file was ba619b7f, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:38:20

bsps/arm/: Scripted embedded brains header file clean up

Updates #4625.

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