From 5758d31ac8e1f00d0fb506363db20b4e6427514e Mon Sep 17 00:00:00 2001 From: Alexandre TORGUE Date: Thu, 23 Mar 2017 11:09:06 +0100 Subject: ARM: configs: stm32: Set CPU_V7M_NUM_IRQ to max value stm32_defconfig is used for several STM32 MCU: STM32F429, STM32F469, STM32F746 and now STM32H743. Each of MCU listed have different interrupts number mapped on NVIC. STM32F429: 81, STM32F469: 92, STM32F746: 97 and STM32H743: 149. I could set CPU_V7M_NUM_IRQ to 149 but in order to avoid forgetting to update this value for next STM32 MCU I prefer to set it to max value: 240. Signed-off-by: Alexandre TORGUE Signed-off-by: Arnd Bergmann --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/configs/stm32_defconfig') diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index a9d8e3c9b487..7c9c1578a13e 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -20,6 +20,7 @@ CONFIG_EMBEDDED=y # CONFIG_MMU is not set CONFIG_ARM_SINGLE_ARMV7M=y CONFIG_ARCH_STM32=y +CONFIG_CPU_V7M_NUM_IRQ=240 CONFIG_SET_MEM_PARAM=y CONFIG_DRAM_BASE=0x90000000 CONFIG_FLASH_MEM_BASE=0x08000000 -- cgit v1.2.3 From 0899cd2a5fba6573decf5baad0757502fef86885 Mon Sep 17 00:00:00 2001 From: M'boumba Cedric Madianga Date: Fri, 31 Mar 2017 14:14:53 +0200 Subject: ARM: configs: stm32: Add I2C support This patch adds I2C support for STM32 default configuration Signed-off-by: M'boumba Cedric Madianga Signed-off-by: Alexandre TORGUE --- arch/arm/configs/stm32_defconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/configs/stm32_defconfig') diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index a9d8e3c9b487..2a5c5dc379bb 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -47,6 +47,9 @@ CONFIG_SERIAL_NONSTANDARD=y CONFIG_SERIAL_STM32=y CONFIG_SERIAL_STM32_CONSOLE=y # CONFIG_HW_RANDOM is not set +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_STM32F4=y # CONFIG_HWMON is not set CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y -- cgit v1.2.3