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

cpu/stm32: Add STM32_LINE cases for STM32L1xxx6

This commit is contained in:
Jean-Pierre De Jesus DIAZ 2022-03-01 17:20:16 +01:00
parent a17ff53ecf
commit 919d1b5094
No known key found for this signature in database
GPG Key ID: E8A81A5DC532BFC3

View File

@ -113,7 +113,13 @@ ifeq (L,$(STM32_TYPE))
endif
ifeq (1,$(STM32_FAMILY)) # STM32L1
ifneq (,$(filter $(STM32_MODEL), 100 151 152 162))
ifneq (,$(filter $(STM32_ROMSIZE), C))
ifneq (,$(filter $(STM32_ROMSIZE), 6))
ifneq (,$(filter $(STM32_RAMMOD), _A))
CPU_LINE = STM32L$(STM32_MODEL)xBA
else
CPU_LINE = STM32L$(STM32_MODEL)xB
endif
else ifneq (,$(filter $(STM32_ROMSIZE), C))
CPU_LINE = STM32L$(STM32_MODEL)xC
else ifneq (,$(filter $(STM32_ROMSIZE), B))
ifneq (,$(filter $(STM32_RAMMOD), _A))