aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-06-26 00:37:20 +0200
committerGuilhem Moulin <guilhem@fripost.org>2019-06-26 01:04:41 +0200
commit556f6d19a315775a366755061aa218c6909ca775 (patch)
tree8f0b07d21c22212465d7055fe1db582fe82a866d /Makefile
parent931806b02c4531e3629ee92a8854abc9614739c5 (diff)
Add script to apply color maps.
Once again, credits to algernon for the maps: https://git.madhouse-project.org/algernon/Model01-Sketch/src/branch/master/tools/colormap
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index de05a90..ec992ae 100644
--- a/Makefile
+++ b/Makefile
@@ -32,3 +32,8 @@ AVRDUDE_CONF = /etc/avrdude.conf
#MONITOR_PORT = $(firstword $(wildcard /dev/serial/by-id/usb-keyboardio_Model_01_*))
include $(ARDMK_DIR)/Arduino.mk
+
+apply-colormap: ./src/palette ./src/colormap.map
+ DEVICE=$(DEVICE_PATH) ./tools/apply-colormap $^
+
+.PHONY: apply-colormap