Skip to content

Commit

Permalink
Merge pull request RIOT-OS#18296 from vacore/stm32g0b1re
Browse files Browse the repository at this point in the history
cpu/stm32: support for B subfamily of g0 to determine the ram length
  • Loading branch information
aabadie authored Jul 6, 2022
2 parents 1e17aae + 9304e2b commit 1c8116b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cpu/stm32/stm32_mem_lengths.mk
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ ifeq ($(STM32_TYPE), F)
endif
else ifeq ($(STM32_TYPE), G)
ifeq ($(STM32_FAMILY), 0)
ifneq (, $(filter $(STM32_MODEL2), 7))
ifneq (, $(filter $(STM32_MODEL2), B))
RAM_LEN = 144K
else ifneq (, $(filter $(STM32_MODEL2), 7))
RAM_LEN = 36K
else ifneq (, $(filter $(STM32_MODEL2), 3))
RAM_LEN = 8K
Expand Down

0 comments on commit 1c8116b

Please sign in to comment.