Build: fix case of "com3" and add Arduino path override

This commit is contained in:
Randy Mackay 2013-03-08 16:59:35 +09:00
parent 66a4f6a1ec
commit 0bf6a52f7a
1 changed files with 4 additions and 1 deletions

View File

@ -10,10 +10,13 @@ configure:
@echo >> $(SKETCHBOOK)/config.mk
@echo \# The communication port used to communicate with the APM. >> $(SKETCHBOOK)/config.mk
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
@echo PORT = com3 >> $(SKETCHBOOK)/config.mk
@echo PORT = COM3 >> $(SKETCHBOOK)/config.mk
else
@echo PORT = /dev/ttyACM0 >> $(SKETCHBOOK)/config.mk
endif
@echo >> $(SKETCHBOOK)/config.mk
@echo \# uncomment and fill in the path to Arduino if installed in an exotic location >> $(SKETCHBOOK)/config.mk
@echo \# ARDUINO = /path/to/Arduino >> $(SKETCHBOOK)/config.mk
@echo >> $(SKETCHBOOK)/config.mk
@echo \# PX4 app build: uncomment and fill in the path to PX4 Firmware repository: >> $(SKETCHBOOK)/config.mk
@echo \# PX4_ROOT = /path/to/Firmware >> $(SKETCHBOOK)/config.mk