Browse Source

build: default to APM2 build

master
Andrew Tridgell 12 years ago
parent
commit
f0dfcc1126
  1. 5
      mk/Arduino.mk

5
mk/Arduino.mk

@ -122,6 +122,11 @@ ifeq ($(PORT),) @@ -122,6 +122,11 @@ ifeq ($(PORT),)
$(error ERROR: could not locate $(SKETCHBOOK)/config.mk, please run 'make configure' first)
endif
# default to APM2
ifeq ($(HAL_BOARD),)
HAL_BOARD = HAL_BOARD_APM2
endif
HARDWARE ?= arduino
ifeq ($(BOARD),)
$(error ERROR: must set BOARD before including this file)

Loading…
Cancel
Save