1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

cpu/stm32_common: add info-stm32 make target

This commit is contained in:
Vincent Dupont 2018-05-04 15:27:50 +02:00
parent 51dcf27904
commit 4e86e12247

View File

@ -17,6 +17,12 @@ export INCLUDES += -I$(RIOTCPU)/stm32_common/include
include $(RIOTCPU)/stm32_common/stm32_mem_lengths.mk
info-stm32:
@$(COLOR_ECHO) "CPU: $(CPU_MODEL)"
@$(COLOR_ECHO) "\tPin count:\t$(STM32_PINCOUNT)"
@$(COLOR_ECHO) "\tROM size:\t$(ROM_LEN)"
@$(COLOR_ECHO) "\tRAM size:\t$(RAM_LEN)"
ifneq (,$(CCMRAM_LEN))
LINKFLAGS += $(LINKFLAGPREFIX)--defsym=_ccmram_length=$(CCMRAM_LEN)
endif