Browse Source

Merge branch 'master' of https://code.google.com/p/ardupilot-mega

mission-4.1.18
Jason Short 14 years ago
parent
commit
0c847a43f3
  1. 6
      libraries/AP_Common/Arduino.mk

6
libraries/AP_Common/Arduino.mk

@ -330,6 +330,12 @@ ifeq ($(UPLOAD_PROTOCOL),) @@ -330,6 +330,12 @@ ifeq ($(UPLOAD_PROTOCOL),)
UPLOAD_PROTOCOL := $(shell grep $(BOARD).upload.protocol $(BOARDFILE) | cut -d = -f 2)
endif
# Adding override for mega since boards.txt uses stk500 instead of
# arduino on 22 release
ifeq ($(BOARD),mega)
UPLOAD_PROTOCOL := arduino
endif
ifeq ($(MCU),)
$(error ERROR: Could not locate board $(BOARD) in $(BOARDFILE))
endif

Loading…
Cancel
Save