8000 esp8266/Makefile: Remove commented-out unused lines. · neverhover/micropython@9bcdb0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9bcdb0a

Browse files
committed
esp8266/Makefile: Remove commented-out unused lines.
These were copied from the stm32 port (then stmhal) at the very beginning of this port, with the anticipation that the esp8266 port would have board definition files with a list of valid pins and their names. But that has not been implemented and likely won't be, so remove the corresponding lines from the Makefile.
1 parent b90f51f commit 9bcdb0a

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

ports/esp8266/Makefile

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_S:.s=.o))
143143
OBJ += $(addprefix $(BUILD)/, $(EXTMOD_SRC_C:.c=.o))
144144
OBJ += $(addprefix $(BUILD)/, $(LIB_SRC_C:.c=.o))
145145
OBJ += $(addprefix $(BUILD)/, $(DRIVERS_SRC_C:.c=.o))
146-
#OBJ += $(BUILD)/pins_$(BOARD).o
147146

148147
# List of sources for qstr extraction
149148
SRC_QSTR += $(SRC_C) $(EXTMOD_SRC_C) $(LIB_SRC_C) $(DRIVERS_SRC_C)
@@ -195,32 +194,6 @@ ota:
195194
rm -f $(BUILD)/firmware.elf $(BUILD)/firmware.elf*.bin
196195
$(MAKE) LDSCRIPT=esp8266_ota.ld FWBIN=$(BUILD)/firmware-ota.bin
197196

198-
#MAKE_PINS = boards/make-pins.py
199-
#BOARD_PINS = boards/$(BOARD)/pins.csv
200-
#AF_FILE = boards/stm32f4xx_af.csv
201-
#PREFIX_FILE = boards/stm32f4xx_prefix.c
202-
#GEN_PINS_SRC = $(BUILD)/pins_$(BOARD).c
203-
#GEN_PINS_HDR = $(HEADER_BUILD)/pins.h
204-
#GEN_PINS_QSTR = $(BUILD)/pins_qstr.h
205-
#GEN_PINS_AF_CONST = $(HEADER_BUILD)/pins_af_const.h
206-
#GEN_PINS_AF_PY = $(BUILD)/pins_af.py
207-
208-
# Making OBJ use an order-only depenedency on the generated pins.h file
209-
# has the side effect of making the pins.h file before we actually compile
210-
# any of the objects. The normal dependency generation will deal with the
211-
# case when pins.h is modified. But when it doesn't exist, we don't know
212-
# which source files might need it.
213-
#$(OBJ): | $(HEADER_BUILD)/pins.h
214-
215-
# Use a pattern rule here so that make will only call make-pins.py once to make
216-
# both pins_$(BOARD).c and pins.h
217-
#$(BUILD)/%_$(BOARD).c $(HEADER_BUILD)/%.h $(HEADER_BUILD)/%_af_const.h $(BUILD)/%_qstr.h: boards/$(BOARD)/%.csv $(MAKE_PINS) $(AF_FILE) $(PREFIX_FILE) | $(HEADER_BUILD)
218-
# $(ECHO) "Create $@"
219-
# $(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) --af-py $(GEN_PINS_AF_PY) > $(GEN_PINS_SRC)
220-
#
221-
#$(BUILD)/pins_$(BOARD).o: $(BUILD)/pins_$(BOARD).c
222-
# $(call compile_c)
223-
224197
include $(TOP)/py/mkrules.mk
225198

226199
axtls: $(BUILD)/libaxtls.a

0 commit comments

Comments
 (0)
0