Switched to jbboric's version of the rammap.

This commit is contained in:
M4x1m3
2020-01-04 20:49:54 +01:00
parent ae06bb0d81
commit bcda0d71e3
3 changed files with 85 additions and 52 deletions

View File

@@ -20,11 +20,8 @@ $(eval $(call rule_for, \
with_local_version \
))
$(eval $(call rule_for, \
RAMSIZE, %_ram_map.png, %.$$(EXE), \
$$(PYTHON) build/device/ram_map.py $$< $$@, \
with_local_version \
))
%_ram_map: %.$(EXE)
$(PYTHON) build/device/ram_map.py $(BUILD_DIR)/$<
.PHONY: %_size
%_size: $(BUILD_DIR)/%.$(EXE)
@@ -83,4 +80,4 @@ binpack: $(BUILD_DIR)/flasher.light.bin $(BUILD_DIR)/epsilon.onboarding.two_bina
cp $(BUILD_DIR)/flasher.light.bin $(BUILD_DIR)/binpack
cp $(BUILD_DIR)/epsilon.onboarding.internal.bin $(BUILD_DIR)/epsilon.onboarding.external.bin $(BUILD_DIR)/binpack
cd $(BUILD_DIR) && for binary in flasher.light.bin epsilon.onboarding.internal.bin epsilon.onboarding.external.bin; do shasum -a 256 -b binpack/$${binary} > binpack/$${binary}.sha256;done
cd $(BUILD_DIR) && tar cvfz binpack-$(MODEL)-`git rev-parse HEAD | head -c 7`.tgz binpack/*
cd $(BUILD_DIR) && tar cvfz binpack-$(MODEL)-`git rev-parse HEAD | head -c 7`.tgz binpack/*