Rename config.h.dist to something with a .h suffix.
This eases working with colouring text editors and is more consistent with all those board-specific configs.
This commit is contained in:
parent
f2fea37eb8
commit
b7cd9859c4
6
Makefile
6
Makefile
|
|
@ -147,9 +147,9 @@ size: $(PROGRAM).elf
|
|||
@$(OBJDUMP) -h $^ | perl -MPOSIX -ne '/.(data|bss)\s+([0-9a-f]+)/ && do { $$a += eval "0x$$2" }; END { printf " RAM : %5d bytes %3d%% %3d%% %3d%% %3d%%\n", $$a, ceil($$a * 100 / (1 * 1024)), ceil($$a * 100 / (2 * 1024)),ceil($$a * 100 / (4 * 1024)), ceil($$a * 100 / (8 * 1024)) }'
|
||||
@$(OBJDUMP) -h $^ | perl -MPOSIX -ne '/.(eeprom)\s+([0-9a-f]+)/ && do { $$a += eval "0x$$2" }; END { printf " EEPROM: %5d bytes %3d%% %3d%% %3d%% %3d%%\n", $$a, ceil($$a * 100 / (1 * 1024)), ceil($$a * 100 / (2 * 1024)), ceil($$a * 100 / (2 * 1024)), ceil($$a * 100 / (4 * 1024)) }'
|
||||
|
||||
config.h: config.h.dist
|
||||
@echo "Please review config.h, as config.h.dist is more recent."
|
||||
@echo "To view the differences, run: diff -bBEu config.h config.h.dist"
|
||||
config.h: config.default.h
|
||||
@echo "Please review config.h, as config.default.h is more recent."
|
||||
@echo "To view the differences, run: diff -bBEu config.h config.default.h"
|
||||
@false
|
||||
|
||||
doc: Doxyfile *.c *.h
|
||||
|
|
|
|||
4
README
4
README
|
|
@ -155,8 +155,8 @@ Pin mappings and helper functions for various atmegas
|
|||
*** clock.[ch]
|
||||
Regular functions that run in main loop rather than an interrupt
|
||||
|
||||
*** config.h.dist, config.h, config.*.h
|
||||
Configuration for your electronics and hardware. Copy config.h.dist to config.h, edit config.h to suit
|
||||
*** config.h, config.*.h
|
||||
Configuration for your electronics and hardware and a bunch of templates to create your own. Copy the template closest to your hardware to config.h and edit it further
|
||||
|
||||
*** copier.[ch]
|
||||
A totally untested and currently unused chunk of code for copying firmware to another identical chip
|
||||
|
|
|
|||
Loading…
Reference in New Issue