1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

Merge pull request #17727 from jeandudey/2022_03_01-stm32l1-line

cpu/stm32: Add STM32_LINE cases for STM32L1xxx6
This commit is contained in:
benpicco 2022-03-03 17:28:56 +01:00 committed by GitHub
commit 6ddcfc07fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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))