[platform-stm32f4xx] Updata chip defenition

This commit is contained in:
luka177
2022-07-21 19:19:31 +03:00
parent 126abea100
commit 17a2af5ceb

View File

@@ -14,16 +14,16 @@ ARM_CPU := cortex-m4
# TODO: integrate better with platform/stm32f4xx/CMSIS/stm32f4xx.h
ifeq ($(STM32_CHIP),stm32f407)
GLOBAL_DEFINES += STM32F40_41xxx
GLOBAL_CFLAGS=-DSTM32F40_41xxx=1
FOUND_CHIP := true
endif
ifeq ($(STM32_CHIP),stm32f417)
FOUND_CHIP := true
GLOBAL_DEFINES += STM32F40_41xxx
GLOBAL_CFLAGS=-DSTM32F40_41xxx=1
endif
ifeq ($(STM32_CHIP),stm32f429)
FOUND_CHIP := true
GLOBAL_DEFINES += STM32F429_439xx
GLOBAL_CFLAGS=-DSTM32F429_439xx=1
endif
ifeq ($(FOUND_CHIP),)