STM32L4: add more chips to Kconfig

(This also removes DPFPU/DTCM/ITCM features again, fixing a
recent git history hickup.)
This commit is contained in:
Juha Niskanen 2017-05-05 11:03:49 +03:00
parent a5e9724224
commit 71accfc57b

View File

@ -36,6 +36,70 @@ config ARCH_CHIP_STM32L442KC
---help---
STM32 L4 Cortex M4, AES, 256 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L433CB
bool "STM32L433CB"
select STM32L4_STM32L433XX
select STM32L4_FLASH_CONFIG_B
select STM32L4_IO_CONFIG_C
---help---
STM32 L4 Cortex M4, 128 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L433CC
bool "STM32L433CC"
select STM32L4_STM32L433XX
select STM32L4_FLASH_CONFIG_C
select STM32L4_IO_CONFIG_C
---help---
STM32 L4 Cortex M4, 256 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L433RB
bool "STM32L433RB"
select STM32L4_STM32L433XX
select STM32L4_FLASH_CONFIG_B
select STM32L4_IO_CONFIG_R
---help---
STM32 L4 Cortex M4, 128 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L433RC
bool "STM32L433RC"
select STM32L4_STM32L433XX
select STM32L4_FLASH_CONFIG_C
select STM32L4_IO_CONFIG_R
---help---
STM32 L4 Cortex M4, 256 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L433VC
bool "STM32L433VC"
select STM32L4_STM32L433XX
select STM32L4_FLASH_CONFIG_C
select STM32L4_IO_CONFIG_V
---help---
STM32 L4 Cortex M4, 256 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L443CC
bool "STM32L443CC"
select STM32L4_STM32L443XX
select STM32L4_FLASH_CONFIG_C
select STM32L4_IO_CONFIG_C
---help---
STM32 L4 Cortex M4, AES, 256 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L443RC
bool "STM32L443RC"
select STM32L4_STM32L443XX
select STM32L4_FLASH_CONFIG_C
select STM32L4_IO_CONFIG_R
---help---
STM32 L4 Cortex M4, AES, 256 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L443VC
bool "STM32L443VC"
select STM32L4_STM32L443XX
select STM32L4_FLASH_CONFIG_C
select STM32L4_IO_CONFIG_V
---help---
STM32 L4 Cortex M4, AES, 256 Kb FLASH, 64 Kb SRAM
config ARCH_CHIP_STM32L451CC
bool "STM32L451CC"
select STM32L4_STM32L451XX
@ -221,9 +285,6 @@ config STM32L4_STM32L4X3
bool
default n
select ARCH_HAVE_FPU
select ARCH_HAVE_DPFPU # REVISIT
select ARMV7M_HAVE_ITCM
select ARMV7M_HAVE_DTCM
select STM32L4_HAVE_USART1
select STM32L4_HAVE_USART2
select STM32L4_HAVE_USART3 if !(STM32L4_L432XX || STM32L4_L442XX)
@ -236,6 +297,7 @@ config STM32L4_STM32L4X3
config STM32L4_STM32L4X5
bool
default n
select ARCH_HAVE_FPU
select STM32L4_HAVE_USART1
select STM32L4_HAVE_USART2
select STM32L4_HAVE_USART3
@ -264,9 +326,6 @@ config STM32L4_STM32L4X6
bool
default n
select ARCH_HAVE_FPU
select ARCH_HAVE_DPFPU # REVISIT
select ARMV7M_HAVE_ITCM
select ARMV7M_HAVE_DTCM
select STM32L4_HAVE_USART1
select STM32L4_HAVE_USART2
select STM32L4_HAVE_USART3