1f761d7fbb
* maxim crc function * one wire template device and ds1990 classes * 3 fields for addr * cyfral emulator lib * add cyfral read mode, refract rendering and events * add ADC1_IN14, add adc interrupt * cyfral read mode * rename and move api-hal includes folder * build onewire libs only if we build app * start in mode 0
22 lines
631 B
Makefile
22 lines
631 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/api-hal-include
|
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
include $(PROJECT_ROOT)/make/rules.mk
|