1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/stm32f7/include/cpu_conf.h

55 lines
1.3 KiB
C
Raw Normal View History

2017-04-13 14:32:34 +02:00
/*
* Copyright (C) 2017 Freie Universität Berlin
* 2017 Inria
2017-04-13 14:32:34 +02:00
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License v2.1. See the file LICENSE in the top level directory for more
* details.
*/
/**
* @defgroup cpu_stm32f7 STM32F7
* @brief STM32F7 specific code
* @ingroup cpu
* @{
*
* @file
* @brief Implementation specific CPU configuration options
*
* @author Hauke Petersen <hauke.pertersen@fu-berlin.de>
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
2017-04-13 14:32:34 +02:00
*/
#ifndef CPU_CONF_H
#define CPU_CONF_H
2017-04-13 14:32:34 +02:00
#include "cpu_conf_common.h"
2018-06-19 11:55:56 +02:00
#include "vendor/stm32f7xx.h"
2017-04-13 14:32:34 +02:00
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief ARM Cortex-M specific CPU configuration
* @{
*/
#define CPU_DEFAULT_IRQ_PRIO (1U)
2018-06-19 11:55:56 +02:00
#if defined(CPU_LINE_STM32F746xx)
2017-04-13 14:32:34 +02:00
#define CPU_IRQ_NUMOF (98U)
2018-06-19 11:55:56 +02:00
#elif defined(CPU_LINE_STM32F767xx) || defined(CPU_LINE_STM32F769xx)
2017-05-12 16:00:07 +02:00
#define CPU_IRQ_NUMOF (110U)
#elif defined(CPU_LINE_STM32F722xx) || defined(CPU_LINE_STM32F723xx)
#define CPU_IRQ_NUMOF (104U)
2017-05-12 16:00:07 +02:00
#endif
#define CPU_FLASH_BASE FLASH_BASE
2017-04-13 14:32:34 +02:00
/** @} */
#ifdef __cplusplus
}
#endif
#endif /* CPU_CONF_H */
2017-04-13 14:32:34 +02:00
/** @} */