mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-25 04:03:07 +00:00
f05ffddbde
* Power: add portability layer, port to F3. * F3: bq25896 driver stab * GUI: new primary and secondary fonts * F3: bq25896 register map, basic functions * F3: move bq27220 command descritpion to separate file. Code format. * Power: OTG enable/disable * Power: choose more correct profile * F3: pet bq25896 watchdog sometimes
21 lines
619 B
Makefile
21 lines
619 B
Makefile
PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
|
|
PROJECT = firmware
|
|
|
|
CFLAGS += -Werror
|
|
CPPFLAGS += -Werror
|
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
|
include $(PROJECT_ROOT)/assets/assets.mk
|
|
include $(PROJECT_ROOT)/core/core.mk
|
|
include $(PROJECT_ROOT)/make/git.mk
|
|
include $(PROJECT_ROOT)/applications/applications.mk
|
|
include $(PROJECT_ROOT)/lib/lib.mk
|
|
|
|
TARGET ?= f2
|
|
TARGET_DIR = targets/$(TARGET)
|
|
include $(TARGET_DIR)/target.mk
|
|
CFLAGS += -Itargets/Inc
|
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
include $(PROJECT_ROOT)/make/rules.mk
|