Add a common definition for NUM_IRQS in arch/arm/core/Kconfig and arch/riscv/Kconfig. That way, the type doesn't have to be given for NUM_IRQS in all the Kconfig.defconfig files. Trying to get rid of unnecessary "full" symbol definitions in Kconfig.defconfig files, to make the organization clearer. It can also help with finding unused symbols. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
26 lines
347 B
Text
26 lines
347 B
Text
# Kconfig - ST STM32F746XG MCU configuration options
|
|
#
|
|
# Copyright (c) 2018 Yurii Hamann
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if SOC_STM32F746XX
|
|
|
|
config SOC
|
|
default "stm32f746xx"
|
|
|
|
if GPIO_STM32
|
|
|
|
config GPIO_STM32_PORTJ
|
|
default y
|
|
|
|
config GPIO_STM32_PORTK
|
|
default y
|
|
|
|
endif # GPIO_STM32
|
|
|
|
config NUM_IRQS
|
|
default 98
|
|
|
|
endif # SOC_STM32F746XX
|