-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from vroland/waveforms
Vendor Waveforms and Library Refactoring
- Loading branch information
Showing
114 changed files
with
150,118 additions
and
79,552 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Rules for generating waveform and font headers from raw data. | ||
|
||
SUPPORTRED_DISPLAYS := ED060SC4 ED097OC4 ED097TC2 ED047TC1 ED133UT2 | ||
|
||
# Generate 16 grascale update waveforms + epdiy special waveforms | ||
EXPORTED_MODES ?= 1,2,5,16,17 | ||
|
||
# Generate waveforms in room temperature range | ||
EXPORT_TEMPERATURE_RANGE ?= 15,35 | ||
|
||
# the default headers that should come with the distribution | ||
default: \ | ||
$(patsubst %,src/epd_driver/waveforms/epdiy_%.h,$(SUPPORTRED_DISPLAYS)) | ||
|
||
clean: | ||
rm src/epd_driver/waveforms/epdiy_*.h | ||
rm src/epd_driver/waveforms/eink_*.h | ||
|
||
src/epd_driver/waveforms/epdiy_%.h: src/epd_driver/waveforms/epdiy_%.json | ||
python3 scripts/waveform_hdrgen.py \ | ||
--export-modes $(EXPORTED_MODES) \ | ||
--temperature-range $(EXPORT_TEMPERATURE_RANGE) \ | ||
epdiy_$* < $< > $@ | ||
|
||
src/epd_driver/waveforms/eink_%.h: src/epd_driver/waveforms/eink_%.json | ||
python3 scripts/waveform_hdrgen.py \ | ||
--export-modes $(EXPORTED_MODES) \ | ||
--temperature-range $(EXPORT_TEMPERATURE_RANGE) \ | ||
eink_$* < $< > $@ | ||
|
||
src/epd_driver/waveforms/epdiy_%.json: | ||
python3 scripts/epdiy_waveform_gen.py $* > $@ | ||
|
||
.PHONY: default |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.