Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:05

0001 /**
0002  * @file
0003  * @ingroup RTEMSBSPsARMSTM32F4
0004  * @brief Global BSP definitions.
0005  */
0006 
0007 /*
0008  * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
0009  *
0010  * The license and distribution terms for this file may be
0011  * found in the file LICENSE in this distribution or at
0012  * http://www.rtems.org/license/LICENSE.
0013  */
0014 
0015 #ifndef LIBBSP_ARM_STM32F4_BSP_H
0016 #define LIBBSP_ARM_STM32F4_BSP_H
0017 
0018 /**
0019  * @defgroup RTEMSBSPsARMSTM32F4 STM32F4
0020  *
0021  * @ingroup RTEMSBSPsARM
0022  *
0023  * @brief STM32F4 Board Support Package.
0024  *
0025  * @{
0026  */
0027 
0028 #include <bspopts.h>
0029 #include <bsp/default-initial-extension.h>
0030 
0031 #include <rtems.h>
0032 
0033 #ifdef __cplusplus
0034 extern "C" {
0035 #endif /* __cplusplus */
0036 
0037 #define BSP_FEATURE_IRQ_EXTENSION
0038 
0039 #define BSP_ARMV7M_IRQ_PRIORITY_DEFAULT (13 << 4)
0040 
0041 #define BSP_ARMV7M_SYSTICK_PRIORITY (14 << 4)
0042 
0043 #define BSP_ARMV7M_SYSTICK_FREQUENCY STM32F4_HCLK
0044 
0045 #ifdef __cplusplus
0046 }
0047 #endif /* __cplusplus */
0048 
0049 /** @} */
0050 
0051 
0052 #endif /* LIBBSP_ARM_STM32F4_BSP_H */