aboutsummaryrefslogtreecommitdiff
path: root/teensy
diff options
context:
space:
mode:
authorDamien George2014-08-08 22:34:06 +0100
committerDamien George2014-08-08 22:34:06 +0100
commit284efa89ae25f75686754f0b6b8fd06526c05971 (patch)
treec2f86d74a8671dc1129b652416ace92952d811a6 /teensy
parent4b67463be1d1c5e6f02f4c8159ff3fcfca4a2f09 (diff)
stmhal/teensy: Use _ instead of - in source file names.
Trying to move towards consistency, let's use _ exclusively in names of source files (eg .c, .h, .csv).
Diffstat (limited to 'teensy')
-rw-r--r--teensy/Makefile10
-rw-r--r--teensy/mk20dx256_af.csv (renamed from teensy/mk20dx256-af.csv)0
-rw-r--r--teensy/mk20dx256_prefix.c (renamed from teensy/mk20dx256-prefix.c)0
-rw-r--r--teensy/teensy_pins.csv (renamed from teensy/teensy-pins.csv)0
4 files changed, 5 insertions, 5 deletions
diff --git a/teensy/Makefile b/teensy/Makefile
index 5b8e26621..c627f2fa6 100644
--- a/teensy/Makefile
+++ b/teensy/Makefile
@@ -133,13 +133,13 @@ $(BUILD)/%.hex: $(BUILD)/%.elf
$(Q)$(OBJCOPY) -O ihex -R .eeprom "$<" "$@"
MAKE_PINS = make-pins.py
-BOARD_PINS = teensy-pins.csv
-AF_FILE = mk20dx256-af.csv
-PREFIX_FILE = mk20dx256-prefix.c
+BOARD_PINS = teensy_pins.csv
+AF_FILE = mk20dx256_af.csv
+PREFIX_FILE = mk20dx256_prefix.c
GEN_PINS_SRC = $(BUILD)/pins_gen.c
GEN_PINS_HDR = $(HEADER_BUILD)/pins.h
GEN_PINS_QSTR = $(BUILD)/pins_qstr.h
-GEN_PINS_AF_CONST = $(HEADER_BUILD)/pins-af-const.h
+GEN_PINS_AF_CONST = $(HEADER_BUILD)/pins_af_const.h
# Making OBJ use an order-only depenedency on the generated pins.h file
# has the side effect of making the pins.h file before we actually compile
@@ -150,7 +150,7 @@ $(OBJ): | $(HEADER_BUILD)/pins.h
# Use a pattern rule here so that make will only call make-pins.py once to make
# both pins_$(BOARD).c and pins.h
-$(BUILD)/%_gen.c $(HEADER_BUILD)/%.h $(HEADER_BUILD)/%-af-const.h $(BUILD)/%_qstr.h: teensy-%.csv $(MAKE_PINS) $(AF_FILE) $(PREFIX_FILE) | $(HEADER_BUILD)
+$(BUILD)/%_gen.c $(HEADER_BUILD)/%.h $(HEADER_BUILD)/%_af_const.h $(BUILD)/%_qstr.h: teensy_%.csv $(MAKE_PINS) $(AF_FILE) $(PREFIX_FILE) | $(HEADER_BUILD)
$(ECHO) "Create $@"
$(Q)$(PYTHON) $(MAKE_PINS) --board $(BOARD_PINS) --af $(AF_FILE) --prefix $(PREFIX_FILE) --hdr $(GEN_PINS_HDR) --qstr $(GEN_PINS_QSTR) --af-const $(GEN_PINS_AF_CONST) > $(GEN_PINS_SRC)
diff --git a/teensy/mk20dx256-af.csv b/teensy/mk20dx256_af.csv
index 3015c6c7a..3015c6c7a 100644
--- a/teensy/mk20dx256-af.csv
+++ b/teensy/mk20dx256_af.csv
diff --git a/teensy/mk20dx256-prefix.c b/teensy/mk20dx256_prefix.c
index 048b64316..048b64316 100644
--- a/teensy/mk20dx256-prefix.c
+++ b/teensy/mk20dx256_prefix.c
diff --git a/teensy/teensy-pins.csv b/teensy/teensy_pins.csv
index acaef63aa..acaef63aa 100644
--- a/teensy/teensy-pins.csv
+++ b/teensy/teensy_pins.csv