Previously power.c was only implemented for f7, but the same functionality exists in other stm32 devices, thanks to CMSIS defines. This refactors out f7's power.c to platform/stm32/ and adds deps from f7 and f4.
11 lines
167 B
Makefile
11 lines
167 B
Makefile
# Code shared across different stm32 platforms.
|
|
|
|
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
MODULE_SRCS += \
|
|
$(LOCAL_DIR)/power.c
|
|
|
|
include make/module.mk
|