mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
28aed3cb97
This splits up the clock configs. It allows CPU_FAM based file sourcing and also common CPU_FAMs. The dependancies are also included in wildcards would be used for the CPU_FAM macro. This should be much more readable. This also takes into account the HSE speeds in order to match the make/header resolution. Some hidden symbols were added to make sorting many CPU_SERIES dependencies easier.
34 lines
902 B
Plaintext
34 lines
902 B
Plaintext
# Copyright (c) 2020 Inria
|
|
#
|
|
# 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.
|
|
#
|
|
|
|
config CPU_FAM_F7
|
|
bool
|
|
select CPU_STM32
|
|
select CPU_CORE_CORTEX_M7
|
|
select HAS_BACKUP_RAM
|
|
select HAS_CPU_STM32F7
|
|
select HAS_CORTEXM_MPU
|
|
select HAS_PERIPH_FLASHPAGE
|
|
select HAS_PERIPH_GPIO_LL
|
|
select HAS_PERIPH_GPIO_LL_IRQ
|
|
select HAS_PERIPH_GPIO_LL_IRQ_LEVEL_TRIGGERED_HIGH
|
|
select HAS_PERIPH_GPIO_LL_IRQ_LEVEL_TRIGGERED_LOW
|
|
select HAS_PERIPH_HWRNG
|
|
select HAS_PERIPH_RTC_MEM
|
|
select HAS_PERIPH_VBAT
|
|
select HAS_PERIPH_WDT
|
|
select HAS_BOOTLOADER_STM32
|
|
select HAVE_CLOCK_ALT_48MHZ
|
|
|
|
config CPU_FAM
|
|
default "f7" if CPU_FAM_F7
|
|
|
|
config HAS_CPU_STM32F7
|
|
bool
|
|
help
|
|
Indicates that the cpu being used belongs to the 'stm32f7' family.
|