[FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531)
* Assets: move assets compilation to separate Makefile. Move all scripts to scripts folder. Add scripts ReadMe. Add precompiled assets. * Split assets.py into separate entities. Option bytes for FL-1289 and checker/setter. * Cli: explicitly initialize variable befor use in api_hal_vcp_rx_with_timeout * Rename ob_check script to ob.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
ASSETS_DIR := $(PROJECT_ROOT)/assets
|
||||
ASSETS_COMPILLER := $(ASSETS_DIR)/assets.py
|
||||
ASSETS_OUTPUT_DIR := $(ASSETS_DIR)/output
|
||||
ASSETS_COMPILLER := $(PROJECT_ROOT)/scripts/assets.py
|
||||
ASSETS_COMPILED_DIR := $(ASSETS_DIR)/compiled
|
||||
ASSETS_SOURCE_DIR := $(ASSETS_DIR)/icons
|
||||
|
||||
ASSETS_SOURCES += $(shell find $(ASSETS_SOURCE_DIR) -type f -iname '*.png' -or -iname 'frame_rate')
|
||||
ASSETS += $(ASSETS_OUTPUT_DIR)/assets_icons.c
|
||||
ASSETS += $(ASSETS_COMPILED_DIR)/assets_icons.c
|
||||
|
||||
CFLAGS += -I$(ASSETS_OUTPUT_DIR)
|
||||
C_SOURCES += $(ASSETS_OUTPUT_DIR)/assets_icons.c
|
||||
CFLAGS += -I$(ASSETS_COMPILED_DIR)
|
||||
C_SOURCES += $(ASSETS_COMPILED_DIR)/assets_icons.c
|
||||
|
||||
Reference in New Issue
Block a user